/* =========================================================
   KYA SCENE — style.css
   Mobile-first · dark cinematic · Gen-Z experience brand
   ========================================================= */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --bg: #07070a;
  --bg-2: #0c0c11;
  --bg-3: #11111a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f4f6;
  --muted: #9d9daa;
  --accent: #c9f31d;
  --accent-2: #ff3d81;
  --accent-3: #7b5cff;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --nav-h: 72px;
  --font-display: "Archivo Black", "Arial Black", system-ui, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--accent); color: #07070a; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- 2. Type helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }

.section-alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg) 70%);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}

.section-note {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 46ch;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}

.section-note strong { color: var(--text); }

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #07070a;
  box-shadow: 0 10px 30px -12px rgba(201, 243, 29, 0.7);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -14px rgba(255, 61, 129, 0.75); }
.btn-primary:hover::after { transform: translateY(0); }
.btn-primary:hover { color: #fff; }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

.btn-outline {
  border: 1px solid rgba(201, 243, 29, 0.5);
  color: var(--accent);
}

.btn-outline:hover { transform: translateY(-3px); color: #07070a; border-color: transparent; }
.btn-outline:hover::after { transform: translateY(0); }

.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.02rem; }
.btn-block { width: 100%; margin-top: auto; }

/* ---------- 4. Navbar ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
  background: rgba(7, 7, 10, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; }

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--accent);
  color: #07070a;
  font-family: var(--font-display);
  font-size: 1.1rem;
  transition: transform 0.4s var(--ease), background 0.4s ease;
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); background: var(--accent-2); color: #fff; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.nav-links {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.25rem 2rem;
  background: rgba(9, 9, 13, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-130%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease), opacity 0.35s ease, visibility 0.35s;
}

.nav-links.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile menu: stack every item vertically, one below another
   (the base rule above sets flex-direction but the panel itself
   stays display:block, so the inline links wrapped side-by-side).
   Desktop (≥1024px) is untouched — it keeps its original layout. */
@media (max-width: 1023px) {
  .nav-links {
    display: flex;
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }
}

.nav-link {
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease, padding-left 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active { color: var(--accent); padding-left: 0.9rem; }

.nav-cta { margin-top: 1rem; align-self: flex-start; }

.nav-toggle {
  display: grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  z-index: 110;
}

.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.nav-toggle.is-active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3rem) 0 0;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: -1; }

.hero-photo {
  position: absolute;
  inset: 0;
  /* REPLACE: real nightlife / crowd photo */
  background:
    radial-gradient(90% 70% at 70% 20%, rgba(123, 92, 255, 0.35), transparent 60%),
    radial-gradient(70% 60% at 15% 80%, rgba(255, 61, 129, 0.28), transparent 60%),
    linear-gradient(160deg, #101018, #07070a 70%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.75) 0%, rgba(7, 7, 10, 0.55) 45%, var(--bg) 96%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
}

.glow {
  position: absolute;
  width: 44vw;
  height: 44vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.4;
  animation: float 14s ease-in-out infinite;
}

.glow-1 { top: -10%; right: -8%; background: rgba(201, 243, 29, 0.35); }
.glow-2 { bottom: -18%; left: -12%; background: rgba(255, 61, 129, 0.4); animation-delay: -7s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -30px, 0) scale(1.08); }
}

.hero-inner { padding-bottom: clamp(3rem, 8vw, 5rem); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 12vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title .line { display: block; }

.hero-copy {
  font-size: clamp(1.02rem, 2.4vw, 1.35rem);
  color: #d6d6de;
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  font-size: 0.84rem;
  color: var(--muted);
  max-width: 52ch;
}

.meta-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 243, 29, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(201, 243, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 243, 29, 0); }
}

/* Ticker */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.ticker span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 244, 246, 0.85);
  white-space: nowrap;
}

.ticker i { color: var(--accent); font-style: normal; }

.ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 6. Events ---------- */
.event-grid {
  display: grid;
  gap: 1.75rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
  transition: transform 0.45s var(--ease), border-color 0.4s ease, box-shadow 0.45s var(--ease);
}

.event-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 243, 29, 0.45);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}

.event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1b1b28, #0d0d14);
  display: grid;
  place-items: center;
}

.event-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
  filter: saturate(0.9) contrast(1.05);
}

.event-card:hover .event-media img { transform: scale(1.07); filter: saturate(1.15); }

.event-fallback { font-size: 3rem; opacity: 0.5; }

.event-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.05) 40%, rgba(7, 7, 10, 0.75));
  pointer-events: none;
}

.event-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: #fff;
}

.event-badge--live { background: var(--accent); color: #07070a; }

.event-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.5rem;
  flex: 1;
}

.event-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(201, 243, 29, 0.14);
  color: var(--accent);
  border: 1px solid rgba(201, 243, 29, 0.3);
}

.tag-muted {
  background: var(--surface);
  color: var(--muted);
  border-color: var(--line);
}

.event-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 1.9rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.event-meta { display: grid; gap: 0.5rem; font-size: 0.87rem; color: var(--muted); }

.event-meta li { display: flex; align-items: center; gap: 0.55rem; }

.event-meta svg { flex: none; color: var(--accent); width: 16px; height: 16px; }

.event-note {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: auto;
}

.event-map {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(201, 243, 29, 0.6);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.event-map:hover { color: var(--accent); text-decoration-color: var(--accent); }

.event-desc { font-size: 0.95rem; color: #c3c3cd; }

/* ---------- 7. Experiences ---------- */
.exp-grid { display: grid; gap: 1.25rem; }

.exp-card {
  position: relative;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface-2), transparent);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease, background 0.4s ease;
}

.exp-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.exp-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, 0.25); }
.exp-card:hover::before { transform: scaleX(1); }

.exp-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-size: 1.6rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  margin-bottom: 1.1rem;
  transition: transform 0.45s var(--ease), background 0.4s ease;
}

.exp-card:hover .exp-icon { transform: rotate(-8deg) scale(1.08); background: rgba(201, 243, 29, 0.16); }

.exp-card h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  letter-spacing: 0.01em;
}

.exp-card p { color: var(--muted); font-size: 0.94rem; }

.exp-card-cta {
  background: linear-gradient(140deg, rgba(201, 243, 29, 0.14), rgba(255, 61, 129, 0.12));
  border-color: rgba(201, 243, 29, 0.35);
}

.exp-card-cta .btn { margin-top: 1rem; }

/* ---------- 8. About ---------- */
.about-grid { display: grid; gap: 3rem; align-items: center; }

.about-visual { position: relative; }

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  /* REPLACE: real community photo, e.g. background-image:url('images/community.jpg') */
  background:
    radial-gradient(70% 60% at 30% 25%, rgba(123, 92, 255, 0.5), transparent 65%),
    radial-gradient(60% 60% at 75% 80%, rgba(255, 61, 129, 0.45), transparent 65%),
    linear-gradient(150deg, #16161f, #0a0a10);
  position: relative;
  overflow: hidden;
}

.about-photo::after {
  content: "KYA SCENE";
  position: absolute;
  inset: auto 0 -6% 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.6rem);
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.02em;
}

.about-card {
  position: absolute;
  right: -0.5rem;
  bottom: 1.5rem;
  max-width: 240px;
  padding: 1.1rem 1.3rem;
  border-radius: 16px;
  background: rgba(12, 12, 17, 0.78);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}

.about-quote {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.about-card p { font-weight: 600; font-size: 1rem; margin-top: 0.2rem; }

.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  color: #dcdce4;
  margin-top: 1.6rem;
  max-width: 54ch;
}

.body-copy { color: var(--muted); margin-top: 1.1rem; max-width: 54ch; }

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.8rem;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.about-points span {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(201, 243, 29, 0.3);
  border-radius: 999px;
  background: rgba(201, 243, 29, 0.07);
}

/* ---------- 9. Why join ---------- */
.why-grid { display: grid; gap: 1.25rem; }

.why-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), transparent);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s ease;
}

.why-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 243, 29, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.why-card:hover { transform: translateY(-6px); border-color: rgba(201, 243, 29, 0.4); }
.why-card:hover::after { opacity: 1; }

.why-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.why-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 10. Host ---------- */
.host {
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-3) 50%, var(--bg) 100%);
  border-block: 1px solid var(--line);
}

.host-glow {
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  background: radial-gradient(circle, rgba(255, 61, 129, 0.22), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.host-inner { position: relative; }

.host-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 10vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.host-copy {
  margin: 1.5rem auto 0;
  max-width: 52ch;
  color: #d6d6de;
  font-size: clamp(1rem, 2.4vw, 1.22rem);
}

.host-steps {
  display: grid;
  gap: 1rem;
  margin: 2.6rem auto;
  max-width: 820px;
}

.host-step {
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  backdrop-filter: blur(10px);
}

.host-step span {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.host-step p { font-weight: 600; margin-top: 0.3rem; }

/* ---------- 11. Community CTA ---------- */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 110%, rgba(201, 243, 29, 0.16), transparent 70%),
    radial-gradient(50% 50% at 15% 10%, rgba(123, 92, 255, 0.16), transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 11vw, 6.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.cta-copy {
  margin-top: 1.3rem;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--accent);
  font-weight: 600;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.cta-note { margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted); }

.cta-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-note a:hover { color: var(--accent-2); }

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-top {
  display: grid;
  gap: 2.4rem;
  padding-bottom: 2.5rem;
}

.footer-brand p { color: var(--muted); margin-top: 0.9rem; font-size: 0.95rem; }

.socials { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.3rem; }

.social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, color 0.3s ease;
}

.social svg { width: 17px; height: 17px; }

.social:hover { transform: translateY(-3px); border-color: var(--accent); color: var(--accent); }

.social[data-placeholder],
a[data-placeholder] { border-style: dashed; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.3s var(--ease);
}

.footer-col a:hover { color: var(--text); transform: translateX(5px); }

.footer-hint { color: #6f6f7d; font-size: 0.82rem; margin-top: 0.7rem; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.83rem;
  color: #75758a;
}

/* ---------- 13. Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 14. Responsive ---------- */
@media (min-width: 640px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .host-steps { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (min-width: 768px) {
  .section-head { grid-template-columns: 1.2fr 1fr; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1.2fr; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  .nav-links {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.93rem;
    border-bottom: 0;
    border-radius: 8px;
  }

  .nav-link:hover,
  .nav-link.is-active { padding-left: 0.75rem; background: rgba(255, 255, 255, 0.06); }

  .nav-cta { margin-top: 0; margin-left: 0.6rem; }

  .event-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; }
  .about-card { right: -1.5rem; }
}

/* ---------- 15. Splash intro ---------- */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  animation: splash-out 0.5s var(--ease) 1.5s forwards;
}

.splash-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 25%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 25%, transparent 100%);
}

.splash::after {
  content: "";
  position: absolute;
  width: min(560px, 90vw);
  height: min(560px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 243, 29, 0.2), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.splash-inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  text-align: center;
}

.splash-mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: var(--accent);
  color: #07070a;
  font-family: var(--font-display);
  font-size: 2.8rem;
  box-shadow: 0 0 70px -12px rgba(201, 243, 29, 0.85);
  animation: splash-pop 0.7s var(--ease) both;
}

.splash-word {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: splash-rise 0.7s var(--ease) 0.2s both;
}

.splash-tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  animation: splash-rise 0.6s var(--ease) 0.45s both;
}

.splash-bar {
  width: min(240px, 56vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  animation: splash-rise 0.6s var(--ease) 0.45s both;
}

.splash-bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  animation: splash-fill 1.35s var(--ease) 0.2s forwards;
}

@keyframes splash-pop {
  from { opacity: 0; transform: scale(0.6) rotate(-12deg); }
  to { opacity: 1; transform: none; }
}

@keyframes splash-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@keyframes splash-fill { to { transform: scaleX(1); } }
@keyframes splash-out { to { opacity: 0; visibility: hidden; } }

html.splash-active,
body.splash-active { overflow: hidden; }

/* ---------- 16. Hero typing caret ---------- */
.type-caret {
  display: inline-block;
  width: 0.07em;
  height: 0.72em;
  margin-left: 0.06em;
  vertical-align: -0.02em;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(201, 243, 29, 0.75);
  animation: caret-blink 0.85s steps(1) infinite;
}

@keyframes caret-blink {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* ---------- 17. Event cards (clickable) ---------- */
.event-card { cursor: pointer; }

.event-title a {
  display: inline-block;
  transition: color 0.3s ease;
}

.event-title a:hover { color: var(--accent); }

/* ---------- 18. Event detail page ---------- */
.event-detail {
  position: relative;
  padding: calc(var(--nav-h) + clamp(1.75rem, 5vw, 3.25rem)) 0 clamp(2.5rem, 6vw, 4rem);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 78%);
  border-bottom: 1px solid var(--line);
}

.event-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(85% 75% at 50% 0%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(85% 75% at 50% 0%, #000 30%, transparent 100%);
  pointer-events: none;
}

.event-detail::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -10%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 243, 29, 0.16), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.event-detail > .container {
  position: relative;
  z-index: 1;
  width: min(900px, 100% - 2.5rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
  transition: color 0.25s ease, transform 0.3s var(--ease);
}

.back-link:hover { color: var(--accent); transform: translateX(-4px); }

/* Poster — its own block, never overlapped by text or cards */
.ed-media {
  margin: 0 0 clamp(1.4rem, 3.5vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.ed-media:empty { display: none; }

.ed-media img {
  display: block;
  width: 100%;
  height: auto;
}

.ed-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 6.2vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ed-title-main { display: block; }

/* Second line keeps the poster's handwritten treatment */
.ed-title-sub {
  display: block;
  margin-top: 0.12em;
  font-family: var(--font-body);
  font-weight: 700;
  font-style: italic;
  font-size: 1.18em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

/* ---------- Date + time row ---------- */
.ed-datetime {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
  font-size: clamp(0.96rem, 2.2vw, 1.08rem);
  font-weight: 600;
}

.ed-dt-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ed-dt-item svg {
  flex: none;
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.ed-dt-sep {
  width: 1px;
  height: 1.2em;
  background: var(--line);
}

/* ---------- About the event ---------- */
.ed-about-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.7rem);
}

.ed-about-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(201, 243, 29, 0.55);
  background: rgba(201, 243, 29, 0.1);
  color: var(--accent);
}

.ed-about-icon svg { width: 22px; height: 22px; }

.ed-about-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.4vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.ed-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(1.5rem, 4vw, 2.1rem) 0;
}

/* ---------- Time / location / refreshments ---------- */
.ed-info {
  display: grid;
  gap: 0.9rem;
}

.ed-info li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: clamp(0.96rem, 2.2vw, 1.06rem);
  color: #dcdce4;
}

.ed-info-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  border: 1px solid rgba(201, 243, 29, 0.3);
  background: rgba(201, 243, 29, 0.09);
  color: var(--accent);
}

.ed-info-icon svg { width: 17px; height: 17px; }

.ed-info-text strong { color: var(--text); font-weight: 700; }

.ed-game {
  color: #cfcfd8;
  font-size: clamp(0.99rem, 2.2vw, 1.08rem);
  line-height: 1.75;
}

/* ---------- Book your slots / REGISTER NOW ---------- */
.ed-cta {
  margin-top: clamp(2.2rem, 5vw, 3rem);
  text-align: center;
}

.ed-cta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  margin-bottom: 1.1rem;
}

#edRegister { display: block; }

.ed-cta-line svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.ed-register {
  display: inline-flex;
  width: min(460px, 100%);
  padding: 1.15rem 2rem;
  font-size: 1.04rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ed-cta-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.ed-narrow { width: min(900px, 100% - 2.5rem); }

.ed-section-head { margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }

.ed-about {
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: #dcdce4;
  line-height: 1.7;
}

.info-grid { display: grid; gap: 0.75rem; }

.info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.info-row dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--text);
}

.info-row dd a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-row dd a:hover { color: var(--accent-2); }

.ed-venue {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin-bottom: 1.4rem;
}

.ed-venue-info { display: grid; gap: 0.35rem; }

.ed-venue-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.ed-venue-name {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 2.6vw, 1.4rem);
  text-transform: uppercase;
  line-height: 1.2;
}

.map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 30px 60px -35px rgba(0, 0, 0, 0.9);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ig-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 1.5rem;
  border-radius: 20px;
  background: var(--grad);
  color: #07070a;
  box-shadow: 0 18px 40px -18px rgba(255, 61, 129, 0.7);
}

.ig-icon svg { width: 30px; height: 30px; stroke-width: 2; }

.ig-copy {
  margin: 1.2rem auto 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.2vw, 1.12rem);
}

/* ---------- 19. Motion & reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    /* Inline stagger delays (set by script.js) must go too,
       otherwise revealed elements stay invisible for seconds */
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Reduced motion: splash must never block the page */
@media (prefers-reduced-motion: reduce) {
  .splash { display: none; }
  html.splash-active,
  body.splash-active { overflow: auto; }
  .type-caret { display: none; }
}
