/* Video Horde Society home page (on top of /style.css). 80s video-store look, matching the app. */
body.vhs-home {
  background:
    radial-gradient(1000px 520px at 50% -120px, rgba(180, 77, 255, .28), transparent 70%),
    radial-gradient(700px 400px at 85% 30%, rgba(255, 79, 163, .10), transparent 70%),
    var(--bg);
}
.vhs-home .wrap { max-width: 980px; }

/* header: the VHS mark on the left, like the app's top bar */
.vhs-home header.site .wrap { align-items: center; }
.vhs-home .brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.vhs-home .brandmark svg { width: 58px; height: 23.2px; display: block; }
.vhs-home .brandmark span { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.vhs-home .brandmark:hover span { color: var(--ink); }

/* hero: big neon logo */
.vhs-hero { text-align: center; padding: 72px 0 40px; }
.vhs-hero .logo { width: min(380px, 78vw); height: auto; display: block; margin: 0 auto 26px;
  filter: drop-shadow(0 0 18px rgba(255, 79, 163, .45)) drop-shadow(0 0 42px rgba(180, 77, 255, .35)); }
.vhs-hero .name { font-size: clamp(15px, 2.6vw, 19px); font-weight: 800; letter-spacing: .42em; text-transform: uppercase;
  margin: 0 0 18px; padding-left: .42em; color: var(--ink);
  text-shadow: 0 0 10px rgba(255, 138, 43, .7), 0 0 24px rgba(255, 79, 163, .45); }
.vhs-hero .pitch { font-size: clamp(19px, 2.6vw, 23px); color: var(--muted); max-width: 600px; margin: 0 auto 26px; line-height: 1.45; }
.vhs-hero .tag { margin-bottom: 0; text-decoration: none; }
.vhs-hero a.tag:hover { filter: brightness(1.15); }

/* the logo's 8 scan lines, run wide, with VHS cut out of them */
.scanlines { display: block; width: 100%; max-width: 760px; height: auto; margin: 40px auto 0;
  filter: drop-shadow(0 0 10px rgba(255, 79, 163, .35)) drop-shadow(0 0 26px rgba(180, 77, 255, .25)); }

/* sections */
.vhs-section { padding: 56px 0 8px; }
.vhs-section > h2 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); margin: 0 0 18px; font-weight: 800; }
.vhs-home .cards { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); padding-bottom: 0; }
.vhs-home .card { position: relative; overflow: hidden; }
.vhs-home .card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--orange), #ff4fa3 55%, var(--purple)); }
.vhs-home .card h2 { font-size: 19px; }
.vhs-home .card p { font-size: 16px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; padding: 6px 0 0; color: var(--muted); font-size: 16px; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: 40px; font-weight: 900; line-height: 1;
  margin-bottom: 8px; background: linear-gradient(180deg, var(--orange), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 2px; }

/* "be kind, rewind" sign-off */
.rewind { text-align: center; padding: 64px 0 40px; }
.rewind .sign { display: inline-block; border: 2px solid var(--orange); border-radius: 10px; padding: 10px 22px; margin-bottom: 22px;
  font-weight: 900; letter-spacing: .3em; text-transform: uppercase; font-size: 14px; color: var(--orange);
  box-shadow: 0 0 14px rgba(255, 138, 43, .45), inset 0 0 12px rgba(255, 138, 43, .25); text-shadow: 0 0 8px rgba(255, 138, 43, .8); }
.rewind p { color: var(--muted); margin: 0 0 18px; }
.vhs-home .note { max-width: 640px; margin: 28px auto 0; text-align: left; font-size: 14px; }

@media (max-width: 560px) {
  .vhs-hero { padding-top: 48px; }
  .vhs-home .brandmark span { display: none; }
}

/* Support / Privacy: neon signs in the hand-lettered font from Brian's name on humbabwe.com.
   The white "tube" uses a thinned copy of the font (fonts/hum-neon-thin.woff2, made with tools/thin-font.py;
   same SIL Open Font License as Architects Daughter). The red glow sits behind it, cast from the full-weight letters. */
@font-face {
  font-family: "Architects Daughter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/architects-daughter.woff2") format("woff2");
}
@font-face {
  font-family: "Hum Neon Thin"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/hum-neon-thin.woff2") format("woff2");
}
.vhs-home nav.neon a {
  position: relative; z-index: 0;
  font-family: "Hum Neon Thin", "Architects Daughter", cursive; font-variant: small-caps; letter-spacing: .04em;
  color: #fff; text-shadow: 0 0 1px rgba(255, 255, 255, .6);
}
.vhs-home nav.neon a::before {
  content: attr(data-label); content: attr(data-label) / "";
  position: absolute; left: 0; top: 0; z-index: -1; pointer-events: none;
  font-family: "Architects Daughter", cursive; color: transparent;
  text-shadow: 0 0 2px #ff6060, 0 0 6px #ff2a2a, 0 0 12px #ff1a1a, 0 0 22px #e00000, 0 0 36px #b00000;
  transition: text-shadow .2s;
}
/* hover: the sign flickers like an old neon tube. Three flicker loops of different, uneven lengths
   run on top of each other (glow, tube, whole sign), so the pattern doesn't visibly repeat,
   and Support and Privacy use different lengths so they never flicker in step. */
.vhs-home nav.neon a:hover { color: #fff; animation: neon-tube 1.7s step-end infinite, neon-buzz 3.1s step-end infinite; }
.vhs-home nav.neon a:hover::before {
  text-shadow: 0 0 3px #ff7070, 0 0 8px #ff3b3b, 0 0 16px #ff2a2a, 0 0 28px #ff0000, 0 0 44px #c00000;
  animation: neon-flicker 2.3s step-end infinite;
}
.vhs-home nav.neon a:nth-child(2):hover { animation-duration: 1.3s, 3.7s; animation-delay: -.4s, -1.1s; }
.vhs-home nav.neon a:nth-child(2):hover::before { animation-duration: 2.9s; animation-delay: -.8s; }
@keyframes neon-flicker {
  0% { opacity: 1; } 7% { opacity: .2; } 9% { opacity: 1; } 11% { opacity: .1; } 12% { opacity: 1; }
  36% { opacity: .35; } 38% { opacity: 1; } 61% { opacity: .15; } 62% { opacity: .9; } 64% { opacity: .2; } 66% { opacity: 1; }
  87% { opacity: .4; } 89% { opacity: 1; }
}
@keyframes neon-tube {
  0% { color: #fff; } 23% { color: rgba(255, 255, 255, .4); } 26% { color: #fff; }
  58% { color: rgba(255, 255, 255, .55); } 60% { color: #fff; } 81% { color: rgba(255, 255, 255, .35); } 84% { color: #fff; }
}
@keyframes neon-buzz {
  0% { opacity: 1; } 44% { opacity: .5; } 45% { opacity: 1; } 46% { opacity: .3; } 48% { opacity: 1; }
  91% { opacity: .6; } 92% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .vhs-home nav.neon a:hover, .vhs-home nav.neon a:hover::before { animation: none; }
}

/* centered layout for the home page */
.vhs-section { text-align: center; }
.vhs-home .card::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px;
  background: linear-gradient(90deg, var(--orange), #ff4fa3 55%, var(--purple)); }
.vhs-home .note { text-align: center; }

/* small contact section */
.vhs-section.contact p.mod { margin-top: 12px; }
.vhs-home footer.site .wrap { justify-content: center; text-align: center; }
.vhs-section.contact p { margin: 0 auto; max-width: 640px; color: var(--muted); font-size: 16px; }
.vhs-section.contact a { color: var(--orange); }
