/* Mobile-first, single stylesheet for a hacker/cyberpunk landing with frosted glass and zigzag greens */

/* Light reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; color: #e6fffb; background: #050f0a; }

/* Green zigzag background (cyberpunk vibes) */
body {
  background-color: #050f0a;
  background-image:
    linear-gradient(135deg, rgba(0,255,170,.12) 25%, transparent 25%),
    linear-gradient(225deg, rgba(0,255,170,.12) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,255,170,.12) 25%, transparent 25%),
    linear-gradient(45deg, rgba(0,255,170,.12) 25%, transparent 25%);
  background-size: 28px 28px;
  background-position: 0 0, 0 0, 0 0, 0 0;
  background-repeat: repeat;
  color-scheme: dark;
}

/* Layout containers */
main { display: block; padding: 6vh 4vw 4rem; }
.image-frame {
  position: relative;
  width: min(92vw, 1000px);
  margin: 0 auto;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(8, 18, 15, 0.60);
  border: 1px solid rgba(0, 255, 255, 0.28);
  backdrop-filter: blur(8px) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,.65);
  overflow: hidden;
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: 1px solid rgba(0,0,0,.15);
}

/* Frosted glass hero caption (overlay) */
.image-frame::before {
  content: "Darkness Beneath the Lake: A Horror Tale";
  position: absolute;
  top: -1.4rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(16px, 4vw, 26px);
  color: #00e5ff;
  text-shadow: 0 0 8px rgba(0, 229, 255, 0.95);
  background: rgba(0, 0, 0, 0.55);
  letter-spacing: .04em;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(0,255,255,.25);
  box-shadow: 0 0 12px rgba(0,255,255,.5);
}

/* See-through glow line to emphasize hacker vibe on larger screens */
@media (min-width: 600px) {
  .image-frame::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,255,255,.6), transparent);
    filter: saturate(1.5);
    opacity: .8;
  }
}

/* Footer with a prominent CTA card */
footer {
  padding: 1.75rem 0 2rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(0,255,255,.25);
  backdrop-filter: blur(6px);
  margin: 0.75rem auto;
}
.product-ad h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: #a6fff8;
}
.product-ad a {
  display: inline-block;
  background: #00e5ff;
  color: #062626;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, filter .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.product-ad a:focus-visible {
  outline: 3px solid #00ffd4;
  outline-offset: 2px;
}

/* Paragraph text in footer for legal/copyright line */
footer p {
  margin: 0.75rem auto 0;
  font-size: 0.9rem;
  color: #b8fff0;
  opacity: 0.9;
}

/* Focus styles for accessibility on interactive elements */
:focus-visible {
  outline: 3px solid #00ffd0;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  main { padding: 8vh 6vw 4rem; }
  .image-frame { width: min(70vw, 900px); padding: 1.15rem; }
  .image-frame::before { top: -1.6rem; font-size: clamp(18px, 3.5vw, 32px); }
}
@media (min-width: 1024px) {
  main { padding: 9vh 8vw 4rem; }
  .image-frame { width: min(60vw, 900px); padding: 1.25rem; }
  .image-frame::before { top: -1.9rem; font-size: clamp(20px, 3.6vw, 40px); }
}