/* ═══════════════════════════════════════════════════════════════════
   APOLLO::RIO — new_home.css  v2.6.0
   Luxury-grade mobile-first 2026 design system
   Works WITH layout-page.js panel engine (body is locked by engine)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  --ff-main: "Space Grotesk", system-ui, sans-serif;
  --ff-mono: "Space Mono", monospace;
  --ff-fun:  "Shrikhand", cursive;

  --bg:        #FFFFFF;
  --bg-deep:   #F5F4F1;
  --bg-card:   #FFFFFF;
  --bg-muted:  #F9F8F6;

  --text:           #0A0A0A;
  --text-secondary: #444444;
  --muted:          #8A8A8A;
  --muted-light:    #BCBCBC;

  --border:       #E2E2E2;
  --border-light: #EEEEEE;
  --border-ultra: #F5F5F5;

  /* Apollo accent = orange (sparingly, via --primary) */
  --primary:      #FF6B35;
  --primary-soft: #FFF1EB;
  --primary-rgb:  255, 107, 53;   /* for rgba() usage */
  --orange:       #FF6B35;
  --orange-soft:  #FFF1EB;

  /* Light-mode palette — dark alpha on white base (matches CDN tokens) */
  --white-1:  rgba(255,255,255,1);
  --white-2:  rgba(0,0,0,0.02);
  --white-3:  rgba(0,0,0,0.04);
  --white-4:  rgba(0,0,0,0.06);
  --white-5:  rgba(0,0,0,0.08);
  --white-6:  rgba(0,0,0,0.10);
  --white-7:  rgba(0,0,0,0.12);
  --white-8:  rgba(0,0,0,0.14);
  --white-9:  rgba(0,0,0,0.16);
  --white-10: rgba(0,0,0,0.18);
  --white-11: rgba(0,0,0,0.20);
  --white-12: rgba(0,0,0,0.22);
  --white-13: rgba(0,0,0,0.24);
  --white-14: rgba(0,0,0,0.26);
  --white-15: rgba(0,0,0,0.28);
  --white-16: rgba(0,0,0,0.30);
  --white-17: rgba(0,0,0,0.32);
  --white-18: rgba(0,0,0,0.34);
  --white-19: rgba(0,0,0,0.36);
  --white-20: rgba(0,0,0,0.38);

  --gray-1:   rgba(0,0,0,0.40);
  --gray-5:   rgba(0,0,0,0.48);
  --gray-10:  rgba(0,0,0,0.58);

  --black-1:  #121214;
  --black-2:  #0f0f11;

  --accent-lime: #C8F135;
  --danger-bg:     #FFF5F5;
  --danger-border: #FFDDDD;

  --radius:    20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.09), 0 8px 20px rgba(0,0,0,0.05);

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top:    env(safe-area-inset-top, 0px);
}


/* ─── BASE ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; corner-shape: round; }
html {
  /* prevent horizontal bleed on mobile */
  overflow-x: hidden;
}
body {
  font-family: var(--ff-main);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* prevent horizontal bleed */
  overflow-x: hidden;
  /* ensure full-width on mobile — fight CDN resets */
  min-height: 100dvh;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; border: none; cursor: pointer; background: none; padding-block: 0; }
[data-panel] { background: var(--bg); }

/* ─── CDN NORMALIZE DEFENSE ──────────────────────────────────────
   Apollo CDN (core.js) injects normalize + design-tokens as
   first-child of <head>. These rules counter CDN resets that
   conflict with this page's layout.
   ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { margin-block: 0; text-box-trim: initial; text-box-edge: initial; text-wrap: initial; }
html, body { text-wrap: initial; }


/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.04em; text-transform: uppercase; }
h1 { font-size: clamp(3rem, 9vw, 7rem); line-height: 0.92; }
h2 { font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1; }
h3 { font-size: 1.25rem; font-weight: 600; }
.font-mono  { font-family: var(--ff-mono); }
.text-xs    { font-size: 0.75rem; }
.text-sm    { font-size: 0.85rem; }
.text-muted { color: var(--muted); }


/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 18px; }
.section { padding: 72px 0;  }
.return-back {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
  .section   { padding: 108px 0; }
}


/* ═══════════════
   NAVBAR — ultra-discreet pill, invisible on hero / refined on scroll
   Compact height — elements inside stay same size, just less padding
   ═══════════════ */
.nh-navbar {
  position: fixed;
  top: calc(10px + var(--safe-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: calc(100% - 28px);
  max-width: 540px;
  max-height: fit-content;
  padding: 1px 2px;         /* absolute minimum — just clips the pill border */
  background: rgba(255,255,255,0.04) !important;
  backdrop-filter: blur(10px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(200%) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: var(--radius-pill) !important;
  corner-shape: round;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .5s var(--ease-smooth), border-color .5s var(--ease-smooth), box-shadow .5s var(--ease-smooth);
  will-change: background, border-color;
}
.nh-navbar.scrolled {
  background: rgba(255,255,255,0.45) !important;
  border-color: var(--border-light) !important;
}
/* Logo = apollo icon only, no text */
.nh-nav-logo {
  max-height: fit-content;
  display: flex;
  align-items: center;
  padding-left: 15px;
  color: rgba(255,255,255,0.9);
  transition: color .4s;
  user-select: none;
  font-size: 1.15rem;
}
.nh-navbar.scrolled .nh-nav-logo { color: var(--white-9); text-shadow: inset 10px 10px 30px rgba(0, 0, 0, 0.8); }
.nh-nav-actions { display: flex; gap: 1px; align-items: center; }
.nh-nav-btn {
  /*
   * Nav action buttons (chat, notif, profile)
   * Base icon: 17px  |  Padding: 3px each side  |  Button: 23px
   * FAB apollicon: 17 × 1.2 = 20px  |  FAB button: 50px (keeps FAB proportions)
   */
  width: 23px !important;
  height: 23px !important;
  min-width: 23px !important;
  min-height: 23px !important;
  max-width: 23px !important;
  max-height: 23px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.78);
  transition: background .3s, color .3s, transform .2s var(--ease-spring);
  position: relative !important; overflow: visible !important;
  font-size: 17px !important;  /* base icon size for Apollo CDN <i> tags */
  padding: 0 !important;
  margin: 4px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.nh-nav-icon { width: 17px; height: 17px; display: block; flex-shrink: 0; }
.nh-navbar.scrolled .nh-nav-btn { background: transparent; color: var(--text-secondary); }
@media (hover: hover) {
  .nh-nav-btn:hover { background: rgba(255,255,255,0.18); transform: scale(1.06); }
  .nh-navbar.scrolled .nh-nav-btn:hover { background: var(--bg-deep); color: var(--text); }
}
.nh-nav-btn:active { transform: scale(0.93)!important; }
.nh-notif-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px; height: 4px;
  background: #ff8c00; border-radius: 50%;
  border: none; pointer-events: none;
  box-shadow: 0 0 5px 1px rgba(255,140,0,0.55), 0 0 12px 3px rgba(255,140,0,0.28);
  animation: nh-pulse-dot 2s ease infinite;
  /* centering is baked into keyframes — do NOT use transform here */
}
.nh-notif-dot[data-notif="false"] { display: none; }
@keyframes nh-pulse-dot {
  0%,100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%     { transform: translate(-50%, -50%) scale(1.9); opacity: 0; }
}


/* ═══════════════
   MENU APP FAB — ALWAYS VISIBLE, fixed bottom-right circle
   Single button. Click opens upward sheet.
   ═══════════════ */
.nh-menu-fab {
  position: fixed !important;
  bottom: calc(22px + var(--safe-bottom)) !important;
  right: 18px !important;
  z-index: 9100 !important;
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 50%;
  background: #0A0A0A;
  color: #ffffff;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px;  /* apollicon: base 17px × 1.2 = 20px */
  line-height: 1;
  box-shadow: 0 4px 22px rgba(0,0,0,0.24), 0 1px 4px rgba(0,0,0,0.10);
  transition: transform .35s var(--ease-spring), background .3s, box-shadow .3s;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
  visibility: visible !important;
}
/* FAB apollicon: 17 × 1.2 = 20px — 20% bigger than nav action icons, difference expressed via button padding */
.nh-menu-fab i,
.nh-menu-fab svg { pointer-events: none; display: block; flex-shrink: 0; transition: transform .3s var(--ease-spring); }
.nh-menu-fab.is-open i,
.nh-menu-fab.is-open svg { transform: rotate(45deg); }
@media (hover: hover) {
  .nh-menu-fab:hover {
    background: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 8px 32px rgba(255,107,53,0.34), 0 2px 6px rgba(0,0,0,0.12);
  }
}
.nh-menu-fab:active { transform: scale(0.91); box-shadow: 0 2px 10px rgba(0,0,0,0.18); }

/* Upward sheet */
/* Menu sheet — monochrome, ultra-clean */
.nh-menu-sheet {
  position: fixed;
  bottom: calc(78px + var(--safe-bottom));
  right: 14px;
  z-index: 9090;
  width: 210px;
  background: var(--text);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.4);
  padding: 6px;
  opacity: 0;
  transform: translateY(14px) scale(0.95);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
}
.nh-menu-sheet.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.nh-sheet-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.84rem; font-weight: 500;
  color: rgba(255,255,255,0.82);
  cursor: pointer;
  transition: background .17s, color .17s;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.nh-sheet-item i { font-size: 15px; color: rgba(255,255,255,0.35); width: 20px; text-align: center; flex-shrink: 0; transition: color .17s; }
@media (hover: hover) {
  .nh-sheet-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .nh-sheet-item:hover i { color: rgba(255,255,255,0.7); }
}
.nh-sheet-item:active { background: rgba(255,255,255,0.08); }
.nh-sheet-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 4px 5px; }
/* Login CTA — accent in dark sheet */
.nh-sheet-item--cta {
  background: rgba(255,255,255,0.1);
  color: #fff;
  margin-top: 2px;
  border: 1px solid rgba(255,255,255,0.12);
}
.nh-sheet-item--cta i { color: rgba(255,255,255,0.5); }
@media (hover: hover) {
  .nh-sheet-item--cta:hover { background: var(--primary); border-color: var(--primary); }
  .nh-sheet-item--cta:hover i { color: rgba(255,255,255,0.9); }
}


/* ═══════════════
   RADIO WIDGET — vertical left sidebar, mix-blend difference
   ═══════════════ */
.nh-radio {
  position: fixed;
  top: 18%; left: 10px; z-index: 8990;
  transform-origin: 0 50%;
  transform: rotate(90deg) translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 8px;
  background: transparent; color: white;
  mix-blend-mode: difference;
  user-select: none; white-space: nowrap; pointer-events: none;
}
.nh-radio-btn {
  pointer-events: all; background: transparent; color: inherit;
  transition: transform .2s; display: flex; align-items: center;
  padding: 0;
}
@media (hover: hover) { .nh-radio-btn:hover { transform: scale(1.25); } }
.nh-radio-btn svg { width: 14px; height: 14px; fill: currentColor; display: block; }
.nh-radio-wave { height: 12px; display: flex; align-items: flex-end; gap: 2px; pointer-events: none; }
.nh-radio-wave span {
  width: 2px; height: 100%; background: currentColor; border-radius: 1px;
  animation: nh-wave 1.3s ease-in-out infinite; transform-origin: bottom;
}
.nh-radio.is-paused .nh-radio-wave span { animation-play-state: paused; height: 3px !important; transition: height .3s; }
.nh-radio-wave span:nth-child(1) { animation-delay: 0s;   height: 25%; }
.nh-radio-wave span:nth-child(2) { animation-delay: .1s;  height: 65%; }
.nh-radio-wave span:nth-child(3) { animation-delay: .2s;  height: 100%; }
.nh-radio-wave span:nth-child(4) { animation-delay: .3s;  height: 70%; }
.nh-radio-wave span:nth-child(5) { animation-delay: .4s;  height: 45%; }
@keyframes nh-wave { 0%,100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.nh-radio-info { display: flex; align-items: baseline; gap: 7px; pointer-events: none; }
.nh-radio-track { font-weight: 700; font-size: 0.72rem; letter-spacing: .07em; text-transform: uppercase; }
.nh-radio-artist { font-size: 0.72rem; opacity: 0.5; }
.nh-radio-time { font-family: var(--ff-mono, 'Courier New', monospace); font-size: 0.60rem; opacity: 0.35; letter-spacing: 0.06em; margin-top: 4px; pointer-events: none; display: block; text-align: center; }
@media (max-width: 480px) { .nh-radio { display: none; } }


/* ═══════════════ HERO ═══════════════ */
.nh-hero {
  position: relative; width: 100%; height: 100dvh; min-height: 560px;
  background: #0A0A0A; overflow: hidden;
}
.nh-hero-vid {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.78;
}
.nh-hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.08) 55%, rgba(0,0,0,0.88) 100%);
}
.nh-hero-overlay::after {
  content: ''; position: absolute; inset: 0; opacity: 0.5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 128px;
}
.nh-hero-content { position: absolute; z-index: 2; left: 20px; bottom: 32px; right: 20px; color: #fff; width: 100%; }
.nh-hero-title { margin: 0 0 14px; font-weight: 800; letter-spacing: -0.05em; }
.nh-hero-sub { margin: 0; color: rgba(255,255,255,0.6); font-weight:200; font-family: var(--ff-main); font-size: 1.65rem; width:100%; max-width: 680px; line-height: 1; }
.nh-scroll-hint {
  position: absolute; bottom: 0; right: 22px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.38);
}
.nh-scroll-hint i { font-size: 17px; }
.nh-scroll-line {
  width: 1px; height: 140px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.44), transparent);
  animation: nh-scroll-anim 2.2s ease-in-out infinite;
}
@keyframes nh-scroll-anim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (min-width: 768px) {
  .nh-hero-content { left: 52px; bottom: 60px; right: 52px; }
  .nh-hero-sub { font-size: 1.65rem; line-height: 1; max-width: 480px; }
  .nh-scroll-hint { bottom: 60px; right: 52px; }
}


/* ═══════════════ MARQUEE ═══════════════ */
.nh-marquee-wrap {
  position: relative; z-index: 1;
  width: 100%; overflow: hidden;
  border-bottom: 1px solid var(--border-ultra);
  padding: 18px 0; background: var(--bg);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.nh-marquee-content {
  display: flex; width: max-content;
  gap: 100px; white-space: nowrap;
  animation: nh-marquee 100s linear infinite;
  will-change: transform;
}
.nh-marquee-item {
  flex-shrink: 0;
  font-family: var(--ff-mono); text-transform: uppercase;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem) !important;
  letter-spacing: -0.02em; line-height: 1;
  display: inline-flex; align-items: center; gap: 16px;
  color: var(--muted); font-weight: 100;
}
.nh-marquee-item i {
  font-size: 1.15em !important;
  flex-shrink: 0;
  opacity: 0.75;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  /* do NOT set width/height — Apollo icon runtime controls mask sizing */
}
@keyframes nh-marquee { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-50%, 0, 0); } }
/* Marquee icon colors: removed — all icons inherit default muted color */
@media (max-width: 767px) {
  .nh-marquee-content { gap: 48px; animation-duration: 32s; }
}


/* ═══════════════ SECTION HEADS ═══════════════ */
.nh-section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; gap: 10px; }
.nh-section-head .grouped-left { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.nh-section-head a, .nh-section-head .link-all {
  font-family: var(--ff-mono); font-size: 0.7rem;
  color: var(--muted); transition: color .25s; letter-spacing: 0.02em;
}
@media (hover: hover) { .nh-section-head a:hover { color: var(--primary); } }

.nh-month-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative; /* anchor for drop-up */
}
.nh-month-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: fit-content;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 12px;
  cursor: pointer;
  font-family: var(--ff-main);
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white-3);
  -webkit-text-stroke: 1px var(--white-15);
  transition: all .3s;
}
@media (hover: hover) {
  .nh-month-trigger:hover {
    color: var(--text);
    -webkit-text-stroke-color: var(--text);
  }
  .nh-month-trigger:hover i,
  .nh-month-trigger:hover svg { color: var(--text); }
}
.nh-month-trigger i,
.nh-month-trigger svg {
  font-size: 12px;
  color: var(--white-15);
  width: 12px; height: 12px;
  flex-shrink: 0;
  transition: color .3s;
}
/* ── MONTH ROW: Mobile-first = absolute drop-UP, glass morphism ── */
.nh-month-row {
  /* position */
  position: absolute;
  bottom: calc(100% + 10px); /* opens ABOVE the trigger ↑ */
  left: 0;
  z-index: 9999;
  /* layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
  padding: 12px 18px;
  margin: 0;
  min-width: 170px;
  height: fit-content;
  /* glass morphism — matches .nh-navbar.scrolled */
  background: rgba(255, 255, 255, 0.04) !important;
  isolation: isolate;
  transform: translateZ(0);
  will-change: transform, opacity, backdrop-filter;
  
  -webkit-backdrop-filter: blur(10px) saturate(200%);
  backdrop-filter: blur(10px) saturate(200%);
  
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
  border-radius: var(--radius-sm);
  /* animate: hidden state */
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);   /* starts slightly below final spot → slides up */
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.nh-month-row.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* Desktop 600px+: switch to inline horizontal row */
@media (min-width: 600px) {
  .nh-month-row {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    padding: 0;
    min-width: auto;
    height: fit-content;
    max-height: 25px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transform: translateX(10px);  /* side-slide on desktop */
  }
  .nh-month-row.is-visible { transform: translateX(0); }
}
.nh-month-row li a.nh-portal-link::before { display: none; }
@media (min-width: 600px) {
  .nh-month-row li a.nh-portal-link::before { display: block; }
}
.nh-month-row li a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--muted);
  font-family: var(--ff-main);
  font-size: 1.313rem;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .25s;
  cursor: pointer;
  white-space: nowrap;
}
/* 1. Restored original base styles for icons and links */
.nh-month-row li a i { margin: 0px 3px 0 0!important; }
.nh-month-row li a.active { color: var(--primary); }
.nh-month-row li a:hover { color: var(--text); }

/* 2. Base styles for the portal links */
.nh-month-row li a.nh-portal-link {
  color: rgba(0,0,0,.8) !important;
  font-size: 0.9rem;
  font-family: var(--ff-main) !important;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

/* 3. Fixed Hover State (Standard CSS, not nested) */
.nh-month-row li a.nh-portal-link:hover {
  color: rgba(168, 43, 3, .8) !important;
}

/* 4. Fixed Icon Margin (What your &:first-child was trying to do) */
.nh-month-row li a.nh-portal-link i:first-child {
  margin-right: 9px !important;
}

/* 5. Your existing ::before styling */
.nh-month-row li a.nh-portal-link::before {
  content: '';
  width: 1px;
  height: 14px;
  background: var(--border);
  margin-right: 10px;
}

/* ═══════════════ BADGES ═══════════════ */
.nh-badge {
  font-family: var(--ff-mono); font-size: 0.67rem; padding: 3px 9px;
  border: 1.5px solid var(--border); border-radius: var(--radius-pill);
  text-transform: uppercase; display: inline-flex; align-items: center;
  font-weight: 600; letter-spacing: 0.05em;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); white-space: nowrap;
}
.nh-badge--accent  { background: var(--primary);     color: #fff;        border-color: var(--primary); }
.nh-badge--sold    { background: var(--text);         color: #fff;        border-color: var(--text); }
.nh-badge--verified{ background: var(--accent-lime);  border-color: rgba(0,0,0,0.14); color: var(--text); }
.nh-badge--filled {
  background: var(--text); color: #fff; border-color: var(--text);
  padding: 10px 24px; font-size: 0.68rem;
  transition: background .3s var(--ease-out), border-color .3s;
}
@media (hover: hover) {
  .nh-badge--filled:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
}


/* ═══════════════ TRACKS — single-row horizontal scroll ═══════════════ */
.nh-tracks-grid {
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  overflow-y: clip;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 14px;
  scrollbar-width: none;
  /* Bleed to edge on mobile — let container clip */
  margin-left: -18px; margin-right: -18px;
  padding-left: 18px; padding-right: 18px;
}
.nh-tracks-grid::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .nh-tracks-grid { margin-left: -40px; margin-right: -40px; padding-left: 40px; padding-right: 40px; }
}

.nh-track-card {
  flex: 0 0 110px;
  width: 110px;
  height: 175px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-ultra);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  min-width: 0; /* flex child shrink guard */
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
/* Explore card in track grid — sizing only; color from shared .nh-explore-card block */
.nh-tracks-grid .nh-explore-card {
  flex: 0 0 110px; width: 110px;
  height: 175px;
  border-radius: var(--radius-sm) !important;
}
@media (hover: hover) { .nh-track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); } }

.nh-track-artwork { width: 100%; aspect-ratio: 1; background: var(--bg-deep); overflow: hidden; position: relative; }
.nh-track-artwork img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease-out); }
@media (hover: hover) { .nh-track-card:hover .nh-track-artwork img { transform: scale(1.07); } }

.nh-track-play-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.46);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s var(--ease-out); backdrop-filter: blur(3px);
}
@media (hover: hover) { .nh-track-card:hover .nh-track-play-overlay { opacity: 1; } }

.nh-track-play-btn {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center; padding: 0;
  transform: scale(0.75); transition: transform .3s var(--ease-spring); font-size: 17px;
}
@media (hover: hover) { .nh-track-card:hover .nh-track-play-btn { transform: scale(1); } }

.nh-track-info { padding: 8px 10px 10px; min-width: 0; overflow: hidden; }
.nh-track-info h4 { font-size: 0.9rem; margin: 0 0 2px; margin-block: 0 2px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; line-height: 1.3; }
.nh-track-artist { font-size: 0.76rem; color: var(--muted); font-family: var(--ff-mono); margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.nh-track-meta { display: flex; gap: 8px; font-size: 0.68rem; color: var(--muted-light); font-family: var(--ff-mono); white-space: nowrap; overflow: hidden; }
.nh-track-meta span { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; }
.nh-track-meta i { font-size: 10px; }

@media (max-width: 500px) {
  .nh-track-info { padding: 6px 7px 8px; }
  .nh-track-info h4 { font-size: 0.8rem; }
  .nh-track-artist { font-size: 0.65rem; }
  .nh-track-meta { font-size: 0.56rem; }
}

/* ── TYPOGRAPHY SCALE: Tablet 768px+ ── */
@media (min-width: 768px) {
  .nh-track-info h4   { font-size: 1rem; }
  .nh-track-artist    { font-size: 0.82rem; }
  .nh-track-meta      { font-size: 0.72rem; }
  .a-eve-meta         { font-size: 0.78rem; }
}

/* ── TYPOGRAPHY SCALE: Desktop 1024px+ ── */
@media (min-width: 1024px) {
  .nh-track-card,
  .nh-tracks-grid .nh-explore-card { flex: 0 0 130px; width: 130px; height: 200px; }
  .nh-track-info h4   { font-size: 1.08rem; }
  .nh-track-artist    { font-size: 0.88rem; }
  .nh-track-meta      { font-size: 0.76rem; }
  .a-eve-date-day     { font-size: 2.6rem; }
  .a-eve-date-month   { font-size: 1.5rem; }
  .a-eve-date         { width: 78px; height: 70px; }
  .a-eve-media        { --x: 64px; --y: 58px; }
  .a-eve-title        { font-size: 1.5rem; }
  .a-eve-meta         { font-size: 0.84rem; }
  .a-eve-meta i       { font-size: 0.9rem; }
  .xp-icon            { font-size: 2.8rem; }
  .xp-all             { font-size: 3.2rem; }
  .a-eve-explore .xp-inner { padding: 36px 18px; }
}

/* ── TYPOGRAPHY SCALE: Large Desktop 1400px+ ── */
@media (min-width: 1400px) {
  .nh-track-card,
  .nh-tracks-grid .nh-explore-card { flex: 0 0 148px; width: 148px; height: 224px; }
  .nh-track-info h4   { font-size: 1.12rem; }
  .nh-track-artist    { font-size: 0.92rem; }
  .nh-track-meta      { font-size: 0.78rem; }
  .a-eve-date-day     { font-size: 3rem; }
  .a-eve-date-month   { font-size: 1.7rem; }
  .a-eve-date         { width: 88px; height: 78px; }
  .a-eve-media        { --x: 74px; --y: 66px; }
  .a-eve-title        { font-size: 1.65rem; }
  .a-eve-meta         { font-size: 0.9rem; }
  .a-eve-meta i       { font-size: 1rem; }
  .xp-icon            { font-size: 2.8rem; }
  .xp-all             { font-size: 3rem; }
}

/* ── Explore CTA card — dark luxury redesign ── */
.nh-explore-card,
.a-eve-explore {
  background: #0F0F0F !important;
  border: 1px solid rgba(255,255,255,0.07) !important;
  color: #fff !important;
  display: flex !important;
  align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s, border-color .35s, transform .45s var(--ease-spring), box-shadow .45s var(--ease-out) !important;
}
/* Inner layout */
.xp-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  padding: 16px 10px; width: 100%;
}
.a-eve-explore .xp-inner { padding: 28px 14px; }
.xp-icon {
  font-size: 2.4rem;
  color: rgba(255,255,255,0.22);
  transition: transform .5s var(--ease-spring), color .35s;
  display: block; line-height: 1;
  will-change: transform;
}
.xp-all {
  font-size: 3rem; font-weight: 900;
  letter-spacing: -0.07em; line-height: 0.88;
  color: #fff; text-transform: uppercase;
  transition: letter-spacing .45s var(--ease-out), color .35s;
  font-family: var(--ff-main);
}
.xp-label {
  font-family: var(--ff-mono);
  font-size: 0.95rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight:700;
  color: rgba(255,255,255,0.45);
  transition: color .35s; line-height: 1.4;
  margin-top: 4px;
}
/* Hover */
@media (hover: hover) {
  .nh-explore-card:hover,
  .a-eve-explore:hover {
    background: #181818 !important;
    border-color: rgba(255,107,53,0.3) !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 24px 56px rgba(0,0,0,0.035), 0 0 0 1px rgba(255,107,53,0.05) !important;
  }
  .nh-explore-card:hover .xp-icon,
  .a-eve-explore:hover .xp-icon {
    transform: rotate(42deg) scale(1.25);
    color: var(--primary);
  }
  .nh-explore-card:hover .xp-all,
  .a-eve-explore:hover .xp-all {
    letter-spacing: -0.03em;
    color: var(--primary);
  }
  .nh-explore-card:hover .xp-label,
  .a-eve-explore:hover .xp-label { color: rgba(255,255,255,0.65); }
}
/* Kill old label & card internals */
.nh-explore-label { display: none !important; }
.nh-explore-card::before, .nh-explore-card::after { display: none !important; }
.nh-explore-card .nh-crash-img-wrap,
.nh-explore-card .nh-crash-info { display: none !important; }


/* ═══════════════ EVENTS — a-eve-card (Apollo Design System) ═══════════════ */

/* Events container: balanced mobile padding, mild right-bias on tablet+ */
/* #events .container uses standard .container padding — matches tracks section */

:root {
  --a-eve-radius: 16px;
  --a-eve-border: rgba(0,0,0,0.08);
  --a-eve-shadow: rgba(0,0,0,0.10);
  --a-eve-shadow-hover: rgba(0,0,0,0.18);
  --a-eve-text-primary: var(--text);
  --a-eve-text-sec: var(--muted);
}
.nh-events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 320px)  { .nh-events-grid { grid-template-columns: 1fr; } }
@media (min-width: 600px)  { .nh-events-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px)  { .nh-events-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.a-eve-card {
  display: block; position: relative; width: 100%;
  text-decoration: none; cursor: pointer;
  transition: transform .4s var(--ease-out);
  background: transparent; color: inherit;
  /* Mobile-first: no horizontal margin — grid gap handles spacing.
     Vertical margin only so rows breathe without overflow. */
  margin: 14px 0;
}
@media (hover: hover) { .a-eve-card:hover { transform: translateY(-5px); } }

/* Date cutout box */
.a-eve-date {
  position: absolute; top: 5px; left: 7px;
  width: 68px; height: 62px;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; line-height: 1;
  z-index: 2; pointer-events: none;
  transform-origin: top left;
  transition: transform .45s var(--ease-spring);
  will-change: transform;
}
@media (hover: hover) { .a-eve-card:hover .a-eve-date { transform: scale(1.15); } }
.a-eve-date-day {
  font-size: 2.2rem; font-weight: 800;
  color: var(--a-eve-text-primary); display: block;
  letter-spacing: -0.03em;
}
.a-eve-date-month {
  font-size: 1rem; font-weight: 700;
  text-transform: uppercase; color: var(--a-eve-text-sec);
}

/* Media / image with corner-cutout mask */
.a-eve-media {
  height: 0; padding-bottom: 125%; /* 4:5 ratio */
  position: relative; overflow: hidden;
  border-radius: var(--a-eve-radius);
  border: 1px solid var(--a-eve-border);
  box-shadow: 0 10px 30px var(--a-eve-shadow);
  transition: box-shadow .4s var(--ease-out);
  background: var(--bg-deep);
  /* Corner-notch mask for date */
  --r: 12px; --s: 12px; --x: 56px; --y: 50px;
  --_m: /calc(2*var(--r)) calc(2*var(--r)) radial-gradient(#000 70%, #0000 72%);
  --_g: conic-gradient(at var(--r) var(--r), #000 75%, #0000 0);
  --_d: (var(--s) + var(--r));
  mask:
    calc(var(--_d) + var(--x)) 0 var(--_m),
    0 calc(var(--_d) + var(--y)) var(--_m),
    radial-gradient(var(--s) at 0 0, #0000 99%, #000 calc(100% + 1px)) calc(var(--r) + var(--x)) calc(var(--r) + var(--y)),
    var(--_g) calc(var(--_d) + var(--x)) 0,
    var(--_g) 0 calc(var(--_d) + var(--y));
  mask-repeat: no-repeat;
  -webkit-mask:
    calc(var(--_d) + var(--x)) 0 var(--_m),
    0 calc(var(--_d) + var(--y)) var(--_m),
    radial-gradient(var(--s) at 0 0, #0000 99%, #000 calc(100% + 1px)) calc(var(--r) + var(--x)) calc(var(--r) + var(--y)),
    var(--_g) calc(var(--_d) + var(--x)) 0,
    var(--_g) 0 calc(var(--_d) + var(--y));
  -webkit-mask-repeat: no-repeat;
}
@media (hover: hover) { .a-eve-card:hover .a-eve-media { box-shadow: 0 15px 40px var(--a-eve-shadow-hover); } }
.a-eve-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease-out); display: block;
  filter: contrast(1.05) saturate(1.1);
}
/* Dark gradient overlay for artistic depth */
.a-eve-media::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.35) 85%, rgba(0,0,0,0.55) 100%);
  border-radius: var(--a-eve-radius);
  pointer-events: none;
}
@media (hover: hover) { .a-eve-card:hover .a-eve-media img { transform: scale(1.15); } }

/* Tags overlay */
.a-eve-tags {
  position: absolute; bottom: 10px; right: 10px;
  display: flex; gap: 6px; z-index: 4; pointer-events: none;
}
.a-eve-tag {
  padding: 3px 9px; border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(30deg, rgba(255,255,255,0.08) -49%, rgba(255,255,255,0.32) 160%);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  font-size: 0.58rem; color: #fff; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-family: var(--ff-mono);
}

/* Content section */
.a-eve-content { padding: 0.9em 0.45rem 0.5em; width: 100%; }
.a-eve-title {
  font-size: 1.75rem; font-weight: 800;
  color: var(--a-eve-text-primary); line-height: 1.6;
  margin: 0 0 0.8rem; margin-block: 0 0.8rem; letter-spacing: -0.03em;
  overflow: hidden; text-overflow: ellipsis;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; text-transform: none;
  transform-origin: left center;
  transition: transform .45s var(--ease-spring);
  will-change: transform;
}
@media (hover: hover) { .a-eve-card:hover .a-eve-title { transform: scale(1.15); } }
.a-eve-meta {
  color: var(--gray-10); font-size: .85rem;
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 0.25rem; font-family: var(--ff-main);
  letter-spacing: 0.01em;
}
/* eve-meta icons: slightly darker (opacity ↑ from 0.55 → 0.72) for modular readiness */
.a-eve-meta i { font-size: 1.12rem; color: var(--white-10); flex-shrink: 0; opacity: 0.72; }
.a-eve-meta span {
  overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Explore CTA in event grid — inherits dark from .nh-explore-card block above */
.a-eve-explore {
  display: flex !important; flex-direction: column;
  align-items: center; justify-content: center;
  border-radius: var(--a-eve-radius) !important;
  min-height: 280px;
}
/* Kill media/date/content in explore CTA */
.a-eve-explore .a-eve-media,
.a-eve-explore .a-eve-date,
.a-eve-explore .a-eve-content { display: none !important; }

@media (max-width: 599px) {
  /* ── Event date box: proportional with card width ── */
  .a-eve-date { width: clamp(44px, 13dvw, 58px); height: clamp(38px, 11dvw, 50px); top: 4px; left: 5px; }
  .a-eve-date-day  { font-size: clamp(1.3rem, 5dvw, 1.8rem); }
  /* month fits inside same ~13dvw date box → proportional */
  .a-eve-date-month { font-size: clamp(0.52rem, 2dvw, 0.72rem); font-weight: 700; }
  .a-eve-media { --x: clamp(34px, 10dvw, 46px); --y: clamp(30px, 9dvw, 42px); }

  /* ── Card: remove vertical margin — grid gap handles spacing ── */
  .a-eve-card { margin: 0 !important; }

  /* ── Content: tighter but readable ── */
  .a-eve-content { padding: 0.6em 0.45rem 0.35em; }

  /* ── Title: smaller + less heavy on small screens ── */
  .a-eve-title {
    font-size: clamp(0.82rem, 3.5dvw, 1.05rem);
    font-weight: 700;
    -webkit-line-clamp: 2;
    margin-bottom: 0.5rem;
  }

  /* ── Meta: compact ── */
  .a-eve-meta { font-size: clamp(0.62rem, 2.4dvw, 0.72rem); gap: 4px; }
  .a-eve-meta i { font-size: clamp(0.72rem, 2.6dvw, 0.82rem); }

  .a-eve-tag { font-size: 0.5rem; padding: 2px 6px; }

  /* ── Events grid: no offset, fluid gap ── */
  .nh-events-grid {
    margin-left: 0;
    gap: clamp(8px, 2.5dvw, 14px);
    grid-auto-rows: auto;
  }
}


/* ═══════════════ CLASSIFIEDS ═══════════════ */
.nh-resale-intro { font-family: var(--ff-mono); font-size: 0.95rem; color: var(--muted); margin-bottom: 28px; line-height: 1.7; }
.nh-resale-list { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.nh-resale-row {
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: center; padding: 20px 22px;
  border-bottom: 1px solid var(--border-ultra);
  gap: 14px; text-decoration: none; color: inherit;
  transition: background .2s, padding-left .3s var(--ease-out);
}
.nh-resale-row:last-child { border-bottom: none; }
@media (hover: hover) { .nh-resale-row:hover { background: var(--bg-deep); padding-left: 28px; } }
.nh-resale-time { font-family: var(--ff-mono); font-size: 0.78rem; color: var(--muted-light); font-weight: 600; }
.nh-resale-details h3 { font-size: 1.1rem; margin: 0 0 2px; margin-block: 0 2px; font-weight: 600; text-transform: none; letter-spacing: -0.01em; }
/* Seller hidden — just show muted dots, no login text */
.nh-resale-seller-hidden {
  font-family: var(--ff-mono); font-size: 0.64rem; color: var(--muted-light);
  display: flex; align-items: center; gap: 4px; letter-spacing: 0.1em;
}
.nh-resale-seller-hidden i { display: none; }
.nh-resale-seller-hidden .nh-seller-text { display: none; }
.nh-resale-price-wrap { display: flex; gap: 9px; align-items: center; }
.nh-resale-price { font-family: var(--ff-mono); font-size: 1.1rem; font-weight: 700; white-space: nowrap; }
/* Disclaimer — luxury side-accent card */
.nh-disclaimer {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  display: flex;
  padding: 0;
}
.nh-disclaimer-accent {
  width: 4px; flex-shrink: 0;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(255,59,48,0.25) 100%);
}
.nh-disclaimer-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.nh-disclaimer-header {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 10px;
}
.nh-disclaimer-header i {
  font-size: 28px;
  margin-top: 3px; /* optical vertical alignment with h4 cap-height */
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.75;
  line-height: 1;
}
.nh-disclaimer h4 {
  font-size: clamp(1.4rem, 3.5dvw, 1.9rem); font-weight: 700;
  text-transform: none; letter-spacing: -0.015em; line-height: 1.05;
  color: var(--text); margin: 0; margin-block: 0;
}
.nh-disclaimer p {
  font-family: var(--ff-mono); font-size: .92rem;font-weight: 300; min-width:100%;
  color: var(--muted); line-height: 1.8;
}
@media (max-width: 500px) {
  .nh-resale-row { grid-template-columns: 1fr auto; padding: 13px 16px; }
  .nh-resale-time { display: none; }

  /* ── Resale ALL row: half height on mobile ── */
  .nh-resale-row--all { padding: 12px 18px !important; }
  .nh-rall-title { font-size: 1rem; margin-block-end: 0px!important; }
  .nh-rall-label { font-size: 0.6rem; margin-bottom: 3px; }
  .nh-rall-icon { font-size: 1.5rem; }

  /* ── Disclaimer card: compact on mobile ── */
  .nh-disclaimer h4 { font-size: clamp(1rem, 4dvw, 1.3rem); line-height: 1.05; }
  .nh-disclaimer p  { font-size: 0.78rem; line-height: 1.65; }
  .nh-disclaimer-body { padding: 14px 16px; }
  .nh-disclaimer-header { gap: 10px; margin-bottom: 6px; }
  .nh-disclaimer-header i { font-size: 22px; margin-top: 2px; }
}


/* ═══════════════ CRASH / SLEEP — card type="home" ═══════════════ */
.nh-crash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
@media (min-width: 768px) { .nh-crash-grid { gap: 20px; } }
.nh-crash-card {
  border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  text-decoration: none; color: inherit; display: block;
}
@media (hover: hover) { .nh-crash-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); } }
.nh-crash-img-wrap { position: relative; overflow: hidden; }
.nh-crash-img { display: block; width: 100%; height: 200px; object-fit: cover; background: var(--bg-deep); transition: transform .6s var(--ease-out); }
@media (hover: hover) { .nh-crash-card:hover .nh-crash-img { transform: scale(1.05); } }
/* Crash host hint — no text, just a subtle lock icon area on hover */
.nh-crash-login-hint {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  color: rgba(255,255,255,0.6); font-size: 0.62rem;
  display: flex; align-items: center; justify-content: flex-end; gap: 4px;
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.nh-crash-login-hint i { font-size: 13px; }
/* Text inside hint is hidden — CSS ensures no text shows */
.nh-crash-login-hint span { display: none; }
@media (hover: hover) { .nh-crash-card:hover .nh-crash-login-hint { opacity: 1; } }
.nh-crash-info { padding: 16px 18px; }
.nh-crash-info-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; gap: 8px; }
.nh-crash-info h3 { font-size: 1.1rem; font-weight: 700; text-transform: none; letter-spacing: -0.02em; margin: 0; margin-block: 0; }
.nh-crash-price { font-family: var(--ff-mono); font-size: 1.05rem; font-weight: 700; white-space: nowrap; }
.nh-crash-meta { font-family: var(--ff-mono); font-size: 0.82rem; color: var(--muted); }
/* ── Host CTA card — black bg, hover primary, clean luxury ── */
.nh-crash-card--cta {
  background: #0A0A0A !important; color: #fff !important;
  border-color: rgba(255,255,255,0.07) !important;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 270px;
  position: relative; overflow: hidden;
  transition: background .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
@media (hover: hover) { .nh-crash-card--cta:hover { background: var(--primary) !important; transform: translateY(-5px); box-shadow: var(--shadow-lg); } }

.nh-cta-title {
  font-size: 1.35rem; font-weight: 800; letter-spacing: -0.04em;
  text-transform: uppercase; line-height: 1.1;
  margin-bottom: 10px; padding: 0 16px;
}
.nh-cta-sub {
  font-family: var(--ff-mono); font-size: 0.72rem;
  opacity: 0.55; letter-spacing: 0.06em;
  padding: 0 18px;
}
.nh-cta-ptbr {
  font-family: var(--ff-mono); font-size: 0.6rem;
  opacity: 0.35; margin-top: 10px; letter-spacing: 0.05em;
  text-transform: none;
}

/* ALL Tickets Re-sell CTA row */
.nh-resale-row--all {
  grid-template-columns: 1fr auto !important;
  background: var(--text);
  color: #fff;
  padding: 24px 26px !important;
  align-items: center;
  border-bottom: none !important;
  transition: background .35s var(--ease-out), padding-left .35s var(--ease-out) !important;
}
@media (hover: hover) {
  .nh-resale-row--all:hover { background: var(--primary); padding-left: 34px !important; }
  .nh-resale-row--all:hover .nh-rall-icon { transform: rotate(-45deg) scale(1.2); opacity: 1; }
}
.nh-rall-label {
  font-family: var(--ff-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  opacity: 0.45; margin-bottom: 5px; color: #fff;
}
.nh-rall-title {
  font-size: 1.5rem; font-weight: 900;
  letter-spacing: -0.04em; line-height: 1;
  text-transform: uppercase; color: #fff;
  margin-block-end: 0 !important;
}
.nh-rall-icon {
  font-size: 2.2rem; opacity: 0.65;
  transition: transform .4s var(--ease-spring), opacity .3s;
  flex-shrink: 0;
}


/* ═══════════════ MAP ═══════════════ */

/* Map wrapper with rounded corners + border */
.nh-map-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
@media (min-width: 768px) { .nh-map-wrap { height: 480px; } }

/* Leaflet canvas fills wrapper */
.nh-map-canvas {
  width: 100%;
  height: 100%;
  background: #f8f8f6;
}

/* Hide Leaflet attribution + zoom controls */
.nh-map-canvas .leaflet-control-zoom,
.nh-map-canvas .leaflet-control-attribution { display: none !important; }

/* ── Event hot-zone markers — fixed core dot + expanding pulse rings ── */
.nh-map-pulse-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Fixed permanent dot — always visible at the pin centre */
/* REMOVED ::before pin dot — user wants only gradient circle, no pin */

/* Base state = fixed 52px gradient circle, always visible (no animation) */
.nh-map-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 52px; height: 52px;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.45) 0%,
    rgba(var(--primary-rgb), 0.025) 100%
  );
  pointer-events: none;
  border-radius: 9999px !important;
  corner-shape: round !important;
}
.nh-pulse-a {
  border-radius: 9999px !important;
  animation: nhMapPulseA 2.4s ease-out infinite;
  animation-delay: var(--delay, 0ms);
}
.nh-pulse-b {
  border-radius: 9999px !important;
  animation: nhMapPulseB 3.1s ease-out infinite;
  animation-delay: calc(var(--delay, 0ms) + 600ms);
}

@keyframes nhMapPulseA {
  0%   { width: 52px; height: 52px; opacity: 0.75; transform: translate(-50%,-50%); }
  100% { width: 90px; height: 90px; opacity: 0;    transform: translate(-50%,-50%); }
}
@keyframes nhMapPulseB {
  0%   { width: 52px; height: 52px; opacity: 0.55; transform: translate(-50%,-50%); }
  100% { width: 80px; height: 80px; opacity: 0;    transform: translate(-50%,-50%); }
}

/* Every marker gets a unique --delay via nth-child */
.leaflet-marker-icon:nth-child(1)  { --delay:    0ms; }
.leaflet-marker-icon:nth-child(2)  { --delay:  300ms; }
.leaflet-marker-icon:nth-child(3)  { --delay:  600ms; }
.leaflet-marker-icon:nth-child(4)  { --delay:  900ms; }
.leaflet-marker-icon:nth-child(5)  { --delay: 1200ms; }
.leaflet-marker-icon:nth-child(6)  { --delay: 1500ms; }
.leaflet-marker-icon:nth-child(7)  { --delay: 1800ms; }
.leaflet-marker-icon:nth-child(8)  { --delay: 2100ms; }
.leaflet-marker-icon:nth-child(9)  { --delay: 2400ms; }
.leaflet-marker-icon:nth-child(10) { --delay: 2700ms; }
.leaflet-marker-icon .nh-pulse-a { animation-delay: var(--delay, 0ms); }
.leaflet-marker-icon .nh-pulse-b { animation-delay: calc(var(--delay, 0ms) + 400ms); }

/* ── Popup ── */
.nh-leaflet-popup .leaflet-popup-content-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}
.nh-leaflet-popup .leaflet-popup-tip { background: #fff; }
.nh-leaflet-popup .leaflet-popup-content { margin: 0; }
.nh-map-popup {
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nh-map-popup-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0A0A0A;
  white-space: nowrap;
}
.nh-map-popup-tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #FF6925;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
}

section #map {padding-bottom:0px!important;}
@media (max-width: 480px) { section #map {padding-bottom:0px!important;} }
@media (min-width: 501px) and (max-width: 767px) { section #map {padding-bottom:0px!important;} }
@media (min-width: 768px) {section #map {padding-bottom:0px!important;}}

/* ── Legend chip — removed from HTML, kept for potential future use ── */


/* ═══════════════ SVG LOGO FOOTER (aprio-ft-v2) ═══════════════
   This div is the FIRST child inside <footer class="nh-footer">.
   It fills the footer absolutely (inset: 0) as a pure bg layer.
   All text content (.container) sits on top via z-index: 1.
   footer itself has NO background — transparency lets page bg show.
   ═══════════════════════════════════════════════════════════════ */
.aprio-ft-v2 {
  position: absolute;
  inset: 0;               /* fills entire footer */
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* subtle fade so SVG blends with page bg seamlessly */
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.018) 100%);
}
.aprio-ft-v2 svg {
  position: absolute;
  bottom: -35%;           /* mostly hidden — only top portion bleeds into footer */
  left: 50%;
  transform: translateX(-50%);
  width: 105vw;
  height: 400px;
  fill: rgba(0,0,0,0.055);
  stroke: rgba(0,0,0,0.125);
  stroke-width: 0.33px;
  mix-blend-mode: hard-light;
  pointer-events: none;
  display: block;
}

/* ═══════════════ TEXT FOOTER ═══════════════ */
.nh-footer {
  padding: 72px 0 56px;
  position: relative;   /* stacking context for .aprio-ft-v2 absolute */
  background: transparent; /* NO background — SVG div provides the visual bg */
  overflow: hidden;     /* clip the SVG that bleeds out at bottom: -35% */
}
/* Footer text content sits above the SVG z-layer */
.nh-footer > .container {
  position: relative;
  z-index: 1;
}
.nh-footer-brand h1 { font-size: clamp(1rem, 2.5vw, 1.5rem); margin-bottom: 14px; }
.nh-footer-brand p { font-family: var(--ff-mono); font-size: .75rem; color: var(--muted); max-width: 340px; line-height: 1.75; }
.nh-footer-links ul { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.nh-footer-links a { font-family: var(--ff-mono); font-size: .7rem; font-weight: 400; transition: color .25s; }
@media (hover: hover) { .nh-footer-links a:hover { color: var(--primary); } }
/* mobile-first footer — stacked by default, side-by-side on wider screens */
.nh-footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 28px; padding-bottom: 0px;
  margin-bottom: 170px;
}
@media (min-width: 768px) {
  .nh-footer-grid { grid-template-columns: 1fr auto; gap: 48px; }
}
.nh-footer-bottom {
  display: flex; position:absolute; bottom:7px; flex-direction: column; gap: 8px;
  font-family: var(--ff-mono); font-size: 0.75rem; color: #aaa;
}
@media (min-width: 768px) {
  .nh-footer-bottom { flex-direction: row; justify-content: space-between; }
}


/* ═══════════════ GSAP ai UTILITY ═══════════════ */
/*
  MOBILE-FIRST CRITICAL FIX:
  .ai elements start invisible for GSAP reveal. But if CDN (core.js) is slow/blocked
  on mobile, GSAP never loads = all content stays hidden.

  Solution: CSS animation fallback fires after 2.5s.
  When GSAP DOES load, it sets inline styles (higher specificity) before this fires,
  overriding the animation. Win/win — content ALWAYS becomes visible.
*/
@keyframes nh-ai-reveal {
  from { opacity: 0;  transform: translateY(14px); }
  to   { opacity: 1;  transform: translateY(0); }
}
[data-panel] .ai {
  opacity: 0;
  transform: translateY(14px);
  /* CSS fallback if GSAP never loads on slow/mobile networks */
  animation: nh-ai-reveal 0.6s var(--ease-out) forwards;
  animation-delay: 2.5s;
}


/* ═══════════════ REDUCED MOTION ═══════════════ */
@media (prefers-reduced-motion: reduce) {
  .a-eve-media img, .nh-track-artwork img, .nh-crash-img { transition: none !important; }
  .nh-marquee-content { animation: none !important; }
  .nh-radio-wave span { animation: none !important; }
  .nh-scroll-line { animation: none !important; }
  /* reveal immediately — no motion */
  [data-panel] .ai { opacity: 1 !important; transform: none !important; animation: none !important; }
  .nh-menu-fab, .nh-menu-sheet { transition: none !important; }
}

/* ═══════════════ MOBILE-FIRST SAFETY NET ═══════════════
   Covers cases where the Apollo CDN core.js is slow or blocked
   on mobile networks. Ensures nothing stays invisible forever.
   ═══════════════ */
@media (max-width: 480px) {
  /* Reduce heavy section padding on small phones (72px is too much at 320px) */
  .section { padding: 52px 0; }
}

/* ── Resale time: only restore display on mid-range phones, NOT below 500px
   Below 500px the grid drops the time column (1fr auto), so showing the
   element would break the layout. Scoped to 501-767px only. */
@media (min-width: 501px) and (max-width: 767px) {
  .nh-resale-time { display: block; font-size: 0.7rem; }
}

@media (max-width: 767px) {
  /* Events grid: 2-col is fine on portrait phone */
  .nh-events-grid { margin-left: 0; }
  /* Prevent any absolute-positioned element from causing X-overflow */
  .nh-section-head { position: relative; overflow: visible; }

  /* ── Crash / accommodation grid: 2-col on mobile ── */
  .nh-crash-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .nh-crash-img { height: clamp(110px, 30dvw, 160px); }
  .nh-crash-info { padding: 10px 12px; }
  .nh-crash-info h3 { font-size: clamp(0.78rem, 3dvw, 0.95rem); font-weight: 700; }
  .nh-crash-meta { font-size: 0.68rem; }
  .nh-crash-price { font-size: clamp(0.8rem, 3dvw, 0.95rem); }
  .nh-crash-card--cta { min-height: clamp(140px, 35dvw, 200px); }
  .nh-cta-title { font-size: clamp(0.88rem, 3.5dvw, 1.15rem); }
  .nh-cta-sub { font-size: 0.62rem; }

  /* ── Map: show correctly on mobile + fix height ── */
  .nh-map-wrap {
    height: clamp(280px, 70dvw, 380px);
    display: block;
  }

  /* ── Footer: smaller text, SVG at bottom ── */
  .nh-footer { padding: 48px 0 36px; }
  .nh-footer-brand h1 { font-size: clamp(1.4rem, 6dvw, 2rem); margin-bottom: 10px; }
  .nh-footer-brand p  { font-size: 0.82rem; line-height: 1.65; }
  .nh-footer-links a  { font-size: 0.9rem; font-weight: 600; }
  .nh-footer-bottom   { font-size: 0.72rem; }
  .nh-footer-grid { gap: 20px; padding-bottom: 28px; margin-bottom: 24px; }

  /* ── SVG footer logo: keep same -35% bleed on mobile ── */
  .aprio-ft-v2 svg {
    bottom: -35%;
    height: clamp(280px, 55dvw, 400px);
    width: 130vw;
    transform: translateX(-50%);
  }
}