/* ==========================================================================
   AOIFE KANE — OFFICIAL SITE STYLESHEET
   Aesthetic: Option 1 — "Emerald & Ember" (Cinematic Celtic Gothic)
   ========================================================================== */

:root {
  --bg-black: #060908;
  --bg-surface: #0b110e;
  --bg-card: rgba(15, 23, 19, 0.7);
  --bg-glass: rgba(12, 19, 16, 0.75);
  
  --emerald-primary: #10b981;
  --emerald-glow: #059669;
  --emerald-bright: #34d399;
  --emerald-dark: #064e3b;
  --emerald-mist: rgba(16, 185, 129, 0.12);

  --amber-torch: #f59e0b;
  --amber-flame: #fbbf24;
  --amber-ember: #d97706;
  --gold-accent: #e5c158;
  --gold-metallic: #c5a059;

  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --border-glass: rgba(16, 185, 129, 0.18);
  --border-gold: rgba(229, 193, 88, 0.25);

  --font-display: 'Cinzel', serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --nav-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Film Grain Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, .brand-title {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
}

h4, h5, .subhead {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* Container */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-pad {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.8rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--text-primary);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0.8rem auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ==========================================================================
   Navigation Bar (Clean, Sleek Flex Header)
   ========================================================================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(4, 7, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.site-nav.scrolled {
  background: rgba(3, 5, 4, 0.98);
  border-bottom-color: rgba(16, 185, 129, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  height: 72px;
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-knot {
  color: var(--gold-accent);
  filter: drop-shadow(0 0 10px rgba(229, 193, 88, 0.5));
  transition: transform 0.4s ease;
}

.nav-brand:hover .brand-knot {
  transform: rotate(45deg);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.2em;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--emerald-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-accent), #b8860b);
  color: #060908;
  box-shadow: 0 0 18px rgba(229, 193, 88, 0.35);
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.6);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 26px;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-accent) 0%, #b8860b 100%);
  color: #060908;
  box-shadow: 0 4px 20px rgba(229, 193, 88, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 193, 88, 0.55);
}

.btn-secondary {
  background: rgba(15, 23, 19, 0.6);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 0.92rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 4rem) 0 6rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  animation: subtleZoom 25s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.07); }
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6, 9, 8, 0.45) 0%,
    rgba(6, 9, 8, 0.15) 40%,
    rgba(6, 9, 8, 0.85) 80%,
    var(--bg-black) 100%
  );
}

.hero-mist {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(16, 185, 129, 0.18) 0%, transparent 60%);
  mix-blend-mode: screen;
  pointer-events: none;
}

#emberCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(229, 193, 88, 0.12);
  border: 1px solid var(--border-gold);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-accent);
  margin-bottom: 1.8rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-flame);
  box-shadow: 0 0 10px var(--amber-flame);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.9);
}

.hero-title span {
  display: block;
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  color: var(--text-secondary);
  margin-bottom: 2.8rem;
  max-width: 660px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
}

/* Persistent Floating Corner Player Widget */
.persistent-floating-player,
.hero-mini-player {
  position: fixed;
  bottom: 2.2rem;
  right: 2.5rem;
  z-index: 1200;
  background: rgba(5, 10, 7, 0.94);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.9rem 0.6rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  max-width: 410px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.9), 0 0 25px rgba(16, 185, 129, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.persistent-floating-player:hover,
.hero-mini-player:hover {
  transform: translateY(-3px);
  border-color: rgba(229, 193, 88, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(229, 193, 88, 0.35);
}

.floating-player-track-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.floating-player-track-info:hover .mini-player-title {
  color: var(--emerald-bright);
}

.mini-player-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.mini-player-info {
  flex: 1;
  min-width: 0;
}

.mini-player-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.mini-player-artist {
  font-size: 0.8rem;
  color: var(--emerald-bright);
}

.mini-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-primary);
  color: #060908;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}

.mini-play-btn:hover {
  transform: scale(1.08);
  background: var(--emerald-bright);
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.7);
}

/* ==========================================================================
   Music & Sound Vault Section (FULL WIDTH, DISTINCT DARK BACKGROUND, NO BORDER)
   ========================================================================== */
.music-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #020403;
  background-image: 
    radial-gradient(ellipse at 50% 25%, rgba(16, 185, 129, 0.12) 0%, transparent 65%),
    linear-gradient(to bottom, #060908 0%, #020403 15%, #020403 85%, #060908 100%);
  padding: 6.5rem 0 7.5rem;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.music-section .container {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Unboxed, Full-Width Natural Flow (NO OUTER BORDER, NO FLOATING BOX) */
.player-container {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 4.5rem;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 1.5rem 0 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Left: Artwork & Visualizer */
.player-art-col {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.player-art-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 30px rgba(16, 185, 129, 0.15);
}

.player-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-art-frame:hover .player-art-img {
  transform: scale(1.03);
}

.audio-active-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background: rgba(4, 7, 6, 0.88);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--emerald-bright);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.audio-active-badge.active {
  opacity: 1;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.visualizer-canvas-wrap {
  width: 100%;
  height: 80px;
  background: rgba(6, 11, 8, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
  overflow: hidden;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8);
}

#visualizerCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Right: Controls & Playlist */
.player-controls-col {
  display: flex;
  flex-direction: column;
}

.player-header-meta {
  margin-bottom: 1.8rem;
}

.player-now-playing {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--emerald-bright);
  margin-bottom: 0.6rem;
}

.player-track-title {
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.player-track-artist {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* Progress Scrubber */
.scrubber-wrap {
  margin-bottom: 1.8rem;
}

.scrubber-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: height 0.2s;
}

.scrubber-track:hover {
  height: 9px;
}

.scrubber-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--emerald-primary), var(--gold-accent));
  border-radius: var(--radius-pill);
  position: relative;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
}

.time-display {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

/* Main Control Buttons */
.controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playback-btns {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.ctrl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.ctrl-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.06);
}

.play-pause-master-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-accent), #b8860b);
  color: #060908;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(229, 193, 88, 0.45);
  transition: var(--transition-smooth);
}

.play-pause-master-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px rgba(229, 193, 88, 0.75);
}

.secondary-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-lyrics {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.btn-lyrics:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald-bright);
}

.volume-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 85px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--emerald-bright);
  cursor: pointer;
  box-shadow: 0 0 8px var(--emerald-bright);
}

/* Playlist Scrollable Items */
.playlist-card {
  width: 100%;
}

.playlist-header {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0 0.85rem;
}

.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 0.6rem;
}

.playlist-items::-webkit-scrollbar {
  width: 5px;
}

.playlist-items::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-pill);
}

.track-item {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.track-item:hover {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.2);
}

.track-item.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.45);
}

.track-item-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.track-item.active .track-item-num {
  color: var(--emerald-bright);
}

.track-item-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.track-item-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
}

.track-item.active .track-item-title {
  color: var(--emerald-bright);
}

.track-item-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.track-item-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* ==========================================================================
   Visuals & Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.gallery-card {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
  filter: brightness(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 9, 8, 0.95) 0%, rgba(6, 9, 8, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.gallery-card-tag {
  font-size: 0.78rem;
  color: var(--emerald-bright);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ==========================================================================
   Story / Lore Section
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.story-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 35px var(--emerald-mist);
}

.story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-quote-card {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: rgba(4, 7, 6, 0.9);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  padding: 1.6rem 2rem;
  border-radius: var(--radius-md);
}

.story-quote-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-accent);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.story-quote-author {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.story-text-content h3 {
  font-size: 2.5rem;
  margin-bottom: 1.6rem;
  color: var(--text-primary);
  line-height: 1.15;
}

.story-text-content p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  margin-bottom: 1.6rem;
  line-height: 1.75;
}

/* ==========================================================================
   Vinyl & Merch Section
   ========================================================================== */
.vinyl-box {
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.12) 0%, var(--bg-surface) 75%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.vinyl-art-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vinyl-sleeve {
  width: 82%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
  position: relative;
  z-index: 2;
}

.vinyl-sleeve img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-disc {
  position: absolute;
  right: -5%;
  width: 76%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at center, #0a0a0a 30%, #064e3b 70%, #000000 100%);
  border: 4px solid #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: vinylSpin 15s linear infinite paused;
  transition: right 0.4s ease;
}

.vinyl-box:hover .vinyl-disc {
  animation-play-state: running;
  right: -12%;
}

@keyframes vinylSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.vinyl-label {
  width: 32%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  color: #060908;
}

.vinyl-content h3 {
  font-size: 2.6rem;
  margin-bottom: 0.9rem;
  line-height: 1.15;
}

.vinyl-price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--emerald-bright);
  margin-bottom: 1.4rem;
}

.vinyl-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

/* Merch Apparel & Relics Grid */
.merch-subheading-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.merch-card {
  background: rgba(10, 16, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.merch-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 193, 88, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 185, 129, 0.15);
}

.merch-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #050806;
}

.merch-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.merch-card:hover .merch-img {
  transform: scale(1.05);
}

.merch-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--emerald-bright);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.merch-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.merch-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.merch-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.merch-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.merch-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-bright);
}

.merch-fulfillment-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.merch-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1;
}

.merch-buy-btn {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Modal Merch Size Selector & Stepper */
.size-selector-wrap {
  display: flex;
  gap: 0.6rem;
  margin: 1.2rem 0;
  justify-content: center;
}

.size-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.size-pill:hover,
.size-pill.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--emerald-bright);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.order-stepper-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.stepper-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.stepper-btn:hover {
  background: var(--gold-accent);
  color: #000;
}

.stepper-qty {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 32px;
  text-align: center;
}

@media (max-width: 1024px) {
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .merch-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #030504;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5.5rem 0 3.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4.5rem;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.9rem;
  letter-spacing: 0.15em;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 400px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-nav h5 {
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  color: var(--gold-accent);
  margin-bottom: 1.3rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--emerald-bright);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Custom Modals (Rule Compliant: NO alert/confirm dialogs)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 4, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.custom-modal {
  background: #080d0a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95), 0 0 50px var(--emerald-mist);
  transform: scale(0.92) translateY(20px);
  transition: var(--transition-smooth);
}

.modal-overlay.open .custom-modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.6rem 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--gold-accent);
}

.modal-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.modal-body {
  padding: 2.2rem;
  overflow-y: auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.lyrics-text {
  white-space: pre-line;
  font-family: var(--font-body);
  text-align: center;
  font-size: 1.05rem;
}

.modal-footer {
  padding: 1.3rem 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .player-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .player-art-col {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .vinyl-box {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding: 3rem 2rem;
    text-align: center;
  }

  .vinyl-art-wrap {
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background: rgba(4, 7, 6, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: flex;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.7rem;
  }

  .controls-bar {
    flex-direction: column;
    gap: 1.5rem;
  }

  .secondary-controls {
    width: 100%;
    justify-content: space-between;
  }
}
