/* ==========================================================================
   Rally in the Valley 2027 — Official Event & Merchandise Portal
   Mount Washington Valley, North Conway, NH
   Designed in collaboration with Dodier NFC LLC
   ========================================================================== */

:root {
  --black: #08080a;
  --black-elevated: #111116;
  --black-card: #16161d;
  --black-card-hover: #1e1e27;
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-border-gold: rgba(245, 197, 24, 0.35);
  
  --white: #f8fafc;
  --white-muted: #94a3b8;
  --gray-dark: #334155;
  
  --gold: #f5c518;
  --orange: #e85d04;
  --red: #c1121f;
  --red-deep: #780000;
  
  --wmwv-blue: #1a639b;
  --wmwv-green: #99cc5e;
  
  --gradient-flame: linear-gradient(135deg, #f5c518 0%, #e85d04 55%, #c1121f 100%);
  --gradient-badge: linear-gradient(180deg, rgba(245, 197, 24, 0.15) 0%, rgba(232, 93, 4, 0.05) 100%);
  --gradient-card: linear-gradient(180deg, rgba(30, 30, 40, 0.7) 0%, rgba(18, 18, 24, 0.95) 100%);
  
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Kaushan Script", cursive;
  
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(232, 93, 4, 0.35);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --nav-height: 76px;
  --player-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
}

body {
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: var(--player-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  line-height: 1.15;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-dark {
  background: var(--black-elevated);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  letter-spacing: 0.05em;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin-bottom: 6px;
}

.section-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  text-align: center;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
  transform: rotate(-1.5deg);
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 48px auto;
  text-align: center;
  font-size: 1.12rem;
  color: var(--white-muted);
}

.section-lead strong {
  color: #fff;
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--panel-border);
  transition: background 0.3s ease;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-brand-title {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand-rally {
  font-family: var(--font-script);
  font-size: 0.95rem;
  color: var(--gold);
}

.nav-brand-valley {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-menu a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--white-muted);
  position: relative;
  padding: 6px 0;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--gold);
}

.nav-menu a.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-flame);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.3);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.cart-btn:hover {
  background: var(--gold);
  color: var(--black);
}

.cart-badge {
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero Section */
.hero {
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 70px;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(232, 93, 4, 0.18) 0%, rgba(8, 8, 10, 0.95) 70%),
              linear-gradient(180deg, #121217 0%, #08080a 100%);
  text-align: center;
  border-bottom: 1px solid var(--panel-border);
}

.hero-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-logo-shell {
  max-width: 480px;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.8));
}

.hero-tagline {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-dates {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 30px;
}

.hero-dates span {
  color: var(--orange);
}

.hero-featured {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.hero-sponsor-card {
  background: rgba(22, 22, 29, 0.8);
  border: 1px solid var(--panel-border);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s;
}

.hero-sponsor-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.hero-sponsor-card img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.hero-sponsor-info h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2px;
}

.hero-sponsor-info p {
  font-size: 0.82rem;
  color: var(--white-muted);
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gradient-flame);
  color: #fff;
  box-shadow: 0 4px 15px rgba(232, 93, 4, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.6);
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 15px rgba(245, 197, 24, 0.3);
}

.btn-gold:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Checkered Strip Divider */
.checker-divider {
  height: 16px;
  background-image: linear-gradient(45deg, #000 25%, #fff 25%, #fff 50%, #000 50%, #000 75%, #fff 75%, #fff 100%);
  background-size: 16px 16px;
  opacity: 0.8;
}

/* Merch Section */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.product-card {
  background: var(--black-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--panel-border-gold);
  box-shadow: var(--shadow-lg);
}

.product-media {
  position: relative;
  background: #111116;
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid var(--panel-border);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}

.product-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--white-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
}

.product-shipping-note {
  font-size: 0.78rem;
  color: var(--white-muted);
}

.product-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.size-selector {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.size-pill {
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.size-pill.is-active,
.size-pill:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.merch-banner {
  background: linear-gradient(90deg, #16161d 0%, #201824 50%, #16161d 100%);
  border: 1px solid var(--panel-border-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.merch-banner-text h3 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.merch-banner-text p {
  color: var(--white-muted);
  font-size: 0.95rem;
}

/* Event Schedule */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.event-card {
  background: var(--black-card);
  border: 1px solid var(--panel-border);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: transform 0.2s;
}

.event-card:hover {
  transform: translateY(-4px);
}

.event-card.event-card--summit {
  border-top-color: var(--gold);
}

.event-tag {
  display: inline-block;
  background: rgba(232, 93, 4, 0.15);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.event-title {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 4px;
}

.event-script {
  font-family: var(--font-script);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.event-when {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}

.event-card p {
  color: var(--white-muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.event-card ul {
  list-style: none;
  margin-bottom: 18px;
  border-top: 1px solid var(--panel-border);
  padding-top: 14px;
}

.event-card ul li {
  font-size: 0.9rem;
  color: var(--white-muted);
  padding: 4px 0;
  display: flex;
  gap: 8px;
}

.event-card ul li strong {
  color: var(--gold);
  min-width: 72px;
}

.event-venue {
  font-size: 0.88rem;
  border-top: 1px solid var(--panel-border);
  padding-top: 14px;
}

.event-venue a {
  color: var(--gold);
  font-weight: 700;
}

/* Sponsors & Hotspots */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--panel-border);
  color: var(--white-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.sponsor-card {
  background: var(--black-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  position: relative;
  transition: all 0.2s;
}

.sponsor-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sponsor-card.is-hq {
  border-color: var(--orange);
  background: linear-gradient(180deg, rgba(232, 93, 4, 0.1) 0%, rgba(22, 22, 29, 0.9) 100%);
}

.sponsor-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 8px;
}

.sponsor-card h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.sponsor-card p {
  font-size: 0.85rem;
  color: var(--white-muted);
  margin-bottom: 12px;
}

.sponsor-card .btn-link-sm {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sponsor-card .btn-link-sm:hover {
  text-decoration: underline;
}

/* Dining Towns */
.dining-towns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.dining-town {
  background: var(--black-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.dining-town h4 {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 10px;
}

.dining-town ul {
  list-style: none;
}

.dining-town ul li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  color: var(--white-muted);
  font-size: 0.95rem;
}

/* Partners & Presented By */
.partners-column {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.partners-presenter {
  background: var(--black-card);
  border: 1px solid var(--panel-border-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.partners-presenter:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.partners-presenter-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.partners-presenter img {
  max-height: 80px;
  margin: 0 auto;
}

.partners-stations-label {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--white-muted);
  text-align: center;
  margin-top: 8px;
}

.partner-station {
  background: var(--black-card);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.partner-station:hover {
  border-color: var(--gold);
  transform: translateX(4px);
}

.partner-station img {
  max-height: 44px;
  width: auto;
}

.partner-station span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--white-muted);
}

/* Persistent Docked Audio Player */
.audio-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--player-height);
  background: rgba(14, 14, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--panel-border-gold);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.7);
}

.audio-dock-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.audio-station-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-play-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-flame);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(232, 93, 4, 0.5);
  transition: transform 0.15s, box-shadow 0.2s;
}

.audio-play-toggle:hover {
  transform: scale(1.06);
  box-shadow: 0 0 22px rgba(232, 93, 4, 0.8);
}

.audio-play-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-station-meta {
  display: flex;
  flex-direction: column;
}

.audio-station-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-live-pill {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.audio-track-info {
  font-size: 0.8rem;
  color: var(--gold);
}

.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.audio-bar {
  width: 3px;
  background: var(--gold);
  height: 4px;
  border-radius: 1px;
}

.audio-dock.is-playing .audio-bar:nth-child(1) { animation: soundBar 0.8s infinite ease-in-out; }
.audio-dock.is-playing .audio-bar:nth-child(2) { animation: soundBar 1.2s infinite ease-in-out; }
.audio-dock.is-playing .audio-bar:nth-child(3) { animation: soundBar 0.6s infinite ease-in-out; }
.audio-dock.is-playing .audio-bar:nth-child(4) { animation: soundBar 0.9s infinite ease-in-out; }

@keyframes soundBar {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

.audio-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.audio-volume-slider {
  width: 80px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Cart Slide-out Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--black-elevated);
  border-left: 1px solid var(--panel-border-gold);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer-overlay.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--panel-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.3rem;
  color: #fff;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 14px;
  background: var(--black-card);
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--panel-border);
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #111;
  border-radius: 4px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 600;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--white-muted);
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 4px;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.8rem;
  cursor: pointer;
  align-self: flex-start;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--panel-border);
  background: var(--black-card);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cart-subtotal-price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.cart-checkout-btn {
  width: 100%;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--black-elevated);
  border: 1px solid var(--panel-border-gold);
  border-radius: var(--radius-md);
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Site Footer */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--panel-border);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  max-width: 180px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--white-muted);
  font-size: 0.9rem;
  max-width: 360px;
}

.footer-links h4 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: var(--white-muted);
  font-size: 0.9rem;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--panel-border);
  color: var(--white-muted);
  font-size: 0.88rem;
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: #fff;
}

/* Scroll reveal utility */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 868px) {
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--black-elevated);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--panel-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }

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

  .nav-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .audio-station-meta .audio-track-info {
    display: none;
  }

  .audio-volume-slider {
    display: none;
  }
}
