/* Minimal reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaffff;
  background-color: #0a0a0a;
  /* Black low-poly triangle feel with a cyan neon accent */
  background-image:
    linear-gradient(135deg, rgba(0,0,0,.92) 25%, transparent 25%),
    linear-gradient(315deg, rgba(0,0,0,.92) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  justify-items: center;
  /* Subtle glow to enhance hacker vibe on dark theme */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Layout: mobile-first, stacked with generous breathing room */
main { width: 100%; max-width: 1100px; padding: 2rem 1rem 0; display: grid; gap: 1.75rem; }

/* Hero image frame with frosted glass caption and cyan accents */
.image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, .25);
  background: #000;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* slight color punch while keeping dark vibe */
  filter: saturate(1.08) contrast(1.05);
}

/* Frosted-glass caption at bottom of hero (accessible text overlay) */
.image-frame::after {
  content: "Nightmares Unveiled";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  color: #eaffff;
  font-weight: 700;
  font-size: clamp(1rem, 2vw + 0.5rem, 1.25rem);
  letter-spacing: .3px;
  background: linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  /* subtle cyan glow overlay to reinforce cyberpunk feel */
  background: radial-gradient(circle at 10% 10%, rgba(0,255,255,.08), transparent 40%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Footer with frosted glass product ad and copyright */
footer {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 1.75rem 1rem 2rem;
}

/* Frosted glass card for the CTA */
.product-ad {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(0,255,255,.28);
  color: #eaffff;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  text-align: center;
  max-width: 680px;
  width: 100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.product-ad h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 700; letter-spacing: .4px; }
.product-ad a { text-decoration: none; display: inline-block; }
.product-ad a p {
  margin: 0; padding: .75rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  color: #00151a;
  background: linear-gradient(135deg, #00e5ff, #00d0ff);
  border: 1px solid rgba(255,255,255,.55);
  transition: transform .2s ease, box-shadow .2s ease;
  display: inline-block;
}
.product-ad a:hover p,
.product-ad a:focus-visible p {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
footer p { margin: 1rem 0 0; font-size: .92rem; color: #b2d9e8; }

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

/* Responsive tweaks: widen hero and CTA on larger screens */
@media (min-width: 640px) {
  .image-frame { border-radius: 22px; }
  .product-ad { padding: 1rem 1.25rem; }
}
@media (min-width: 900px) {
  main { padding: 2rem 1.25rem 0; }
  .image-frame { aspect-ratio: 21 / 9; }
  .product-ad h3 { font-size: 1.05rem; }
}