/* Minimal reset and color tokens */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; padding: 0; }

/* Theme: navy base with maroon waves, frosted glass look, cyberpunk accents */
:root {
  --bg-navy: #0b1020;
  --bg-navy-deep: #0a1020;
  --maroon: #5a0e12;
  --maroon-dark: #3b0b0f;
  --text: #e8eaf6;
  --muted: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.25);
  --accent: #2ff0ff;
  --cta: #0e1d32;
  --cta2: #1b2a55;
}

/* Maroon waves + subtle navy backdrop (mobile-first) */
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial;
  background: var(--bg-navy);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(90,0,0,.35) 0 20%, transparent 21%),
    radial-gradient(circle at 70% 0%, rgba(60,0,0,.25) 0 22%, transparent 23%),
    linear-gradient(#0a1020 0, #0a0f1f 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Lightweight SVG-like wave overlay for depth (kept small) */
body::before {
  content: "";
  position: fixed;
  left: -20%;
  bottom: -10%;
  width: 140%;
  height: 60vh;
  background:
    radial-gradient(circle at 25% 0, rgba(120,0,0,.55) 0 60px, transparent 61px),
    radial-gradient(circle at 75% 0, rgba(60,0,0,.45) 0 60px, transparent 61px);
  background-repeat: repeat-x;
  background-size: 120px 60px, 120px 60px;
  mix-blend-mode: overlay;
  opacity: .9;
  filter: blur(.2px);
  z-index: -1;
  animation: drift-waves 12s linear infinite;
}
@keyframes drift-waves { to { transform: translateX(-40px); } }

/* Hero container (mobile-first) */
main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: calc(100vh - 120px);
}

/* Frosted glass image frame as hero showcase */
.image-frame {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px) saturate(1.2);
  -webkit-backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  position: relative;
}

/* Image inside frame scales nicely */
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
}

/* Subtle overlaid hero caption (accessible text on image) */
.image-frame::after {
  content: "Night Lockdown: The School That Never Breathed";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: .55rem .85rem;
  border-radius: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .92rem;
  letter-spacing: .3px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Focus styles for accessibility on interactive elements (CTA) */
a:focus-visible {
  outline: 3px solid #6ee7ff;
  outline-offset: 2px;
  border-radius: 6px;
}

/* Product Ad footer section with prominent CTA button look */
footer {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(180deg, rgba(5,8,20,.8), rgba(5,8,20,.6));
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Ad container as a glassy pill */
.product-ad {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  margin: 0 auto 0.75rem;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Ad heading and copy */
.product-ad h3 {
  font-size: 0.95rem;
  margin: 0 0 .25rem;
  line-height: 1.2;
}
.product-ad p { margin: 0; }

/* CTA link styled as a futuristic pill button */
.product-ad a {
  display: inline-block;
  padding: .55rem .95rem;
  border-radius: 999px;
  text-decoration: none;
  color: #eaffff;
  background: linear-gradient(135deg, #0e1830, #1b2a55);
  border: 1px solid rgba(255,255,255,.45);
  box-shadow: 0 6px 14px rgba(0,0,0,.4);
  transition: transform .2s ease, box-shadow .2s ease;
  font-weight: 600;
}

/* Neon glow on hover/focus for cyberpunk vibe */
.product-ad a:hover,
.product-ad a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.5);
  text-shadow: 0 0 6px rgba(0,255,255,.6);
  outline: none;
}

/* Footer typography tweaks for readability */
footer p { margin: .75rem 0 0; font-size: .95rem; }

/* Responsive tweaks (mobile-first) */
@media (min-width: 700px) {
  main { padding: 5rem 2rem; min-height: calc(100vh - 140px); }
  .image-frame { border-radius: 26px; }
  .image-frame::after { font-size: 1rem; left: 1.25rem; bottom: 1rem; }
}

@media (max-width: 600px) {
  /* Ensure the hero scales nicely on very small screens */
  .image-frame { width: calc(100% - 1rem); }
  .image-frame::after { left: .75rem; bottom: .75rem; font-size: .85rem; }
  footer { padding: 1.5rem 1rem; }
}