/* ============================================================
   BACK 2 NOW — techhouse festival
   Visual system pulled from the promo video + B2N logo:
   near-black base, red->orange gradient accent, holographic chrome.
   ============================================================ */

/* Brand display face. Drop Heading Now .woff2 files in assets/fonts/
   and these @font-face rules activate it automatically over Anton. */
@font-face {
  font-family: "Heading Now";
  src: url("../assets/fonts/HeadingNow-38.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Heading Now";
  src: url("../assets/fonts/HeadingNow-31.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg:        #08080c;
  --bg-2:      #0e0e15;
  --ink:       #f6f5f8;
  --ink-dim:   #a7a4b3;
  --line:      rgba(255,255,255,.10);

  --red:       #ff2e2e;
  --orange:    #ff7a18;
  --grad:      linear-gradient(110deg, #ff2e2e 0%, #ff5a1e 50%, #ff9b18 100%);

  /* holographic chrome accents from the video */
  --holo-purple: #7b3fe4;
  --holo-blue:   #3b5bff;
  --holo-teal:   #19e3c2;
  --holo-magenta:#e23bff;

  --display: "Heading Now", "Anton", "Oswald", system-ui, sans-serif;
  --body:    "Oswald", system-ui, -apple-system, sans-serif;

  --maxw: 1120px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- decorative layers ---------- */
.holo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.holo__blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .40;
  mix-blend-mode: screen; will-change: transform;
}
.holo__blob--1 { width: 46vw; height: 46vw; left: -10vw; top: -8vw;
  background: radial-gradient(circle at 30% 30%, var(--holo-purple), transparent 65%);
  animation: drift1 26s ease-in-out infinite; }
.holo__blob--2 { width: 40vw; height: 40vw; right: -12vw; top: 30vh;
  background: radial-gradient(circle at 60% 40%, var(--holo-blue), transparent 62%);
  animation: drift2 32s ease-in-out infinite; }
.holo__blob--3 { width: 38vw; height: 38vw; left: 20vw; bottom: -14vw;
  background: radial-gradient(circle at 50% 50%, var(--holo-teal), transparent 60%);
  animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(8vw,6vh)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-7vw,-5vh)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(5vw,-7vh)} }

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  .holo__blob { animation: none; }
}

/* keep content above decorative layers */
.site-header, .hero, .tickets, .follow, .sticky-cta { position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  padding: .7em 1.5em; border-radius: 999px; cursor: pointer; border: 0;
  font-size: 1rem; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn--ticket { background: var(--grad); color: #120403; box-shadow: 0 6px 30px rgba(255,90,30,.35); }
.btn--ticket:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(255,90,30,.5); filter: saturate(1.1); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--red); color: #fff; }
.btn--lg { font-size: 1.2rem; padding: .85em 2em; }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--pad);
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(8,8,12,.72); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.brand__logo { height: 42px; width: auto; border-radius: 8px; }
.site-nav { display: flex; gap: 26px; margin-left: auto; }
.site-nav a {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  font-size: .95rem; color: var(--ink-dim); transition: color .2s ease;
}
.site-nav a:hover { color: #fff; }
.header__cta { padding: .55em 1.2em; }
@media (max-width: 720px) {
  .site-nav { display: none; }
  .header__cta { margin-left: auto; }
}

/* ---------- hero (generative chrome) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; isolation: isolate;
  overflow: hidden; padding: 90px var(--pad) 40px;
  background: #000;
}
/* hero video: contain so the whole frame is always visible (never cropped);
   the video's own black edges blend into the black hero, so no visible bars */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: contain; background: #000;
}

/* bottom scrim so the date/time + CTA read over the video */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent 50%, rgba(4,5,12,.85) 100%);
}

.hero__overlay {
  position: absolute; z-index: 5; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: clamp(28px, 6vh, 64px); gap: 22px; pointer-events: none;
}
.hero__overlay > * { pointer-events: auto; }
/* hero countdown (line-up reveal) — text only, no pill */
.hero__timer { display: flex; flex-direction: column; align-items: center; gap: .15em; text-align: center; }
.hero__timer-label {
  font-family: "Heading Now", "Oswald", var(--body);
  font-weight: 300; text-transform: uppercase;
  letter-spacing: .34em; padding-left: .34em; /* balance the tracking */
  font-size: clamp(.8rem, 2vw, 1.15rem); color: var(--ink);
}
.hero__timer-clock {
  font-family: "Heading Now", "Oswald", var(--body);
  font-weight: 400; font-variant-numeric: tabular-nums; letter-spacing: .04em;
  font-size: clamp(2.4rem, 8vw, 4.6rem); line-height: 1; color: var(--ink);
}
.hero__timer-clock b { font-weight: inherit; }

.hero__timer-live {
  display: none; font-family: "Heading Now", "Oswald", var(--body); font-weight: 300;
  text-transform: uppercase; letter-spacing: .2em; color: var(--orange); font-size: clamp(1rem, 2.6vw, 1.4rem);
}
.hero__timer.is-live .hero__timer-label,
.hero__timer.is-live .hero__timer-clock { display: none; }
.hero__timer.is-live .hero__timer-live { display: inline; }

.hero__scroll { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; position: relative; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); animation: scrolldot 1.6s ease-in-out infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,14px)} }

@media (prefers-reduced-motion: reduce) {
  .metaball, .iridescence, .streak { animation: none; }
  .chrome--back { filter: blur(8px); }
}

/* ---------- shared section bits ---------- */
.tickets { max-width: 100%; margin: 0 auto; padding: clamp(60px, 10vw, 130px) var(--pad); background: #030408; }
.tickets > * { max-width: var(--maxw); margin-inline: auto; }
.section-head { margin-bottom: 48px; text-align: center; }
.section-head__tag { display: inline-block; font-family: "Heading Now", "Oswald", var(--body); font-weight: 300; text-transform: uppercase; letter-spacing: .3em; font-size: .85rem; color: var(--orange); margin-bottom: 14px; }
.section-head__title { font-family: "Heading Now", "Oswald", var(--body); font-weight: 300; text-transform: uppercase; line-height: 1; font-size: clamp(2.4rem, 7vw, 5rem); letter-spacing: .02em; }
@media (max-width: 720px) { .section-head__tag { font-size: .62rem; letter-spacing: .18em; } }

/* ---------- tickets ---------- */
.tickets__panel { border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, var(--bg-2), rgba(14,14,21,.4)); padding: clamp(28px, 6vw, 60px); text-align: center; }
.eventix-placeholder__title { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; letter-spacing: .04em; margin-bottom: 10px; }
.eventix-placeholder__text { color: var(--ink-dim); max-width: 46ch; margin: 0 auto 26px; }
.tickets__soldout { margin-top: 10px; }
.tickets__soldout-title { font-family: var(--display); text-transform: uppercase; font-size: 2rem; color: var(--red); margin-bottom: 8px; }
.tickets__soldout p { color: var(--ink-dim); margin-bottom: 18px; }

/* ---------- follow us ---------- */
.follow { margin: 0 auto; padding: clamp(60px, 10vw, 120px) var(--pad) clamp(70px, 9vw, 110px); text-align: center; border-top: 1px solid var(--line); background: #030408; }
.follow__title { font-family: "Heading Now", "Oswald", var(--body); font-weight: 300; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1; }
.follow__icons { display: flex; justify-content: center; gap: 22px; margin: 30px 0 28px; }
.follow__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink); background: var(--bg-2);
  transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease;
}
.follow__icon svg { width: 28px; height: 28px; }
.follow__icon:hover { color: #120403; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.follow__icon[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.follow__legal { color: rgba(167,164,179,.55); font-size: .8rem; }

/* ---------- sticky mobile cta ---------- */
.sticky-cta { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; text-align: center; background: var(--grad); color: #120403; font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; padding: 16px; border-radius: 999px; box-shadow: 0 10px 36px rgba(255,90,30,.45); }
@media (max-width: 720px) { .sticky-cta { display: block; } .follow { padding-bottom: 110px; } }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
