/* Hacker neon CSS for Sinister Boarding School landing page */

/* Light reset */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

/* Theme and helpers */
:root {
  --neon: #39ff14;
  --bg: #041a0f;
  --glass: rgba(0,0,0,.32);
  --text: #eafff5;
  --muted: #bfffbf;
  --r: 14px;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               "JetBrains Mono", monospace;
  color: var(--text);
  background-color: #041a0f;
  /* Yellow radial gradient background + green hacker vibe */
  background-image:
    radial-gradient(circle at 15% 12%, rgba(255,223,0,.25) 0%, rgba(255,223,0,.15) 25%, transparent 50%),
    radial-gradient(circle at 85% 25%, rgba(255,255,0,.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(0,255,100,.08) 0%, transparent 60%);
  background-blend-mode: screen, screen, normal;
  min-height: 100vh;
  padding: 0;
}

/* Layout */
main {
  padding: 2rem 1rem;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.image-frame {
  width: min(92vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--r) * 1.2);
  overflow: hidden;
  position: relative;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(0,255,0,.5);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  backdrop-filter: blur(6px) saturate(120%);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Frosted glass HUD label on the image frame */
.image-frame::before {
  content: "Night of Whispers";
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  color: #eaffd9;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(0,255,0,.6);
  backdrop-filter: blur(2px);
  letter-spacing: .5px;
}

/* Subtle glass overlay on frame edges */
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0,255,0,.25);
  pointer-events: none;
}

/* Footer with a prominent CTA-like ad pill */
footer {
  padding: 1.75rem 1rem;
  text-align: center;
  color: #eafff5;
  background: linear-gradient(to top, rgba(0,0,0,.25), rgba(0,0,0,.15));
  border-top: 1px solid rgba(0,255,0,.5);
}

.product-ad {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(0,255,0,.6);
  backdrop-filter: blur(4px);
  margin-bottom: .75rem;
}

.product-ad h3 {
  font-family: ui-monospace, monospace;
  font-size: .95rem;
  color: #d6ffd9;
}

/* CTA button look for the ad link */
.product-ad a {
  display: inline-block;
  text-decoration: none;
}
.product-ad a > p {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b8f4a, #28b35f);
  color: #fff;
  font-weight: 700;
  border: 1px solid rgba(0,255,0,.75);
  box-shadow: 0 0 10px rgba(57,255,20,.6);
  text-shadow: 0 0 2px rgba(0,0,0,.3);
  transition: transform .2s ease;
}

.product-ad a:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}
.product-ad a:hover > p { transform: translateY(-1px); }

/* Global keyboard focus (enhanced accessibility) */
:focus-visible {
  outline: 3px solid var(--neon);
  outline-offset: 2px;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 640px) {
  main { padding-top: 3rem; }
  .image-frame { width: min(88vw, 980px); }
}
@media (min-width: 1024px) {
  .image-frame { width: min(60vw, 1200px); }
}