/* ==========================================================================
   AROUND THE PINE — MON HIVER OFFICIAL DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Palette matching Mon Hiver Album Artwork */
  --bg-dark: #090D12;
  --bg-darker: #05070A;
  --card-bg: rgba(18, 25, 34, 0.75);
  --card-border: rgba(229, 184, 83, 0.18);
  --card-hover-border: rgba(229, 184, 83, 0.5);
  
  /* Brand Accents */
  --pine-gold: #E5B853;
  --pine-gold-bright: #F7CB66;
  --pine-gold-glow: rgba(229, 184, 83, 0.25);
  --pine-white: #FFFFFF;
  --ice-blue: #8EA4B8;
  --ice-mist: #C3D2E0;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;

  /* Typography */
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-display: 'Cinzel', serif;

  /* Spacing & Layout */
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Canvas Background for Snow */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Utility Containers & Typography */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 184, 83, 0.12);
  color: var(--pine-gold-bright);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--card-border);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--pine-white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--pine-gold-glow);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(9, 13, 18, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pine-white);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pine-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: var(--pine-gold-bright);
}

.btn-listen-nav {
  background: linear-gradient(135deg, var(--pine-gold), #D49D3A);
  color: var(--bg-darker);
  border: none;
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-listen-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 0 16px var(--pine-gold-glow);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--pine-white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 60px 8%;
  gap: 50px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(229, 184, 83, 0.12) 0%, transparent 60%),
              linear-gradient(to bottom, var(--bg-dark) 0%, rgba(9,13,18,0.7) 50%, var(--bg-dark) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 184, 83, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--pine-gold-bright);
  margin-bottom: 24px;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

.title-group {
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--pine-white);
  line-height: 1.05;
  letter-spacing: -1.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--pine-gold);
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(229, 184, 83, 0.3);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pine-gold), #D49D3A);
  color: var(--bg-darker);
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--pine-gold-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pine-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--pine-gold);
  color: var(--pine-gold);
}

.streaming-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.stream-btn {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stream-btn:hover {
  background: var(--pine-gold-glow);
  border-color: var(--pine-gold);
  color: var(--pine-gold-bright);
}

/* Hero Cover Art Frame */
.hero-cover-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.cover-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(229, 184, 83, 0.2);
  border: 1px solid rgba(229, 184, 83, 0.3);
}

.hero-cover-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.cover-wrapper:hover .hero-cover-img {
  transform: scale(1.03);
}

.cover-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(9, 13, 18, 0.85);
  backdrop-filter: blur(10px);
  color: var(--pine-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Music Section & Compact Side-by-Side Audio Player */
.music-layout-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1050px;
  margin: 0 auto;
}

.player-card {
  padding: 24px 28px;
}

.player-card-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}

.player-left-col {
  width: 100%;
}

.album-art-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

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

.now-playing-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 13, 18, 0.88);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--pine-gold-bright);
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--card-border);
}

.wave-icon {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}

.wave-icon span {
  width: 2px;
  height: 100%;
  background: var(--pine-gold);
  animation: bounce 1s infinite alternate;
}

.wave-icon span:nth-child(2) { animation-delay: 0.2s; }
.wave-icon span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  from { height: 2px; }
  to { height: 10px; }
}

.player-right-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.track-details {
  text-align: left;
}

.track-title-active {
  font-size: 1.4rem;
  color: var(--pine-white);
  margin-bottom: 2px;
  font-weight: 700;
}

.track-artist-active {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.visualizer-box {
  width: 100%;
  height: 48px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#visualizer-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Audio Controls Panel */
.audio-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timeline-container {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-container input[type="range"] {
  flex: 1;
  accent-color: var(--pine-gold);
  cursor: pointer;
}

.control-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--pine-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--pine-gold);
  border-color: var(--pine-gold);
}

.ctrl-btn.play-main {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--pine-gold), #D49D3A);
  color: var(--bg-darker);
  font-size: 1.2rem;
}

.ctrl-btn.play-main:hover {
  transform: scale(1.08);
  box-shadow: 0 0 16px var(--pine-gold-glow);
}

#btn-lyrics-modal {
  width: auto;
  border-radius: 20px;
  padding: 0 14px;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 6px;
  margin-left: auto;
}

.volume-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.volume-container input[type="range"] {
  accent-color: var(--pine-gold);
  width: 90px;
}

/* Tracklist Panel */
.tracklist-card {
  padding: 24px 28px;
}

.tracklist-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tracklist-header h3 {
  font-size: 1.15rem;
  color: var(--pine-white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-ep {
  background: rgba(229, 184, 83, 0.15);
  color: var(--pine-gold-bright);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.track-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(229, 184, 83, 0.2);
}

.track-item.active {
  background: rgba(229, 184, 83, 0.14);
  border-color: var(--pine-gold);
}

.track-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.track-num {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 20px;
}

.track-name {
  font-weight: 600;
  color: var(--pine-white);
}

.track-item.active .track-name {
  color: var(--pine-gold-bright);
}

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

.ep-info-box {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* About / Story Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  display: block;
}

.glass-frame {
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.bio-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--pine-gold-bright);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.bio-section-heading {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pine-white);
  margin: 28px 0 12px;
  border-left: 3px solid var(--pine-gold);
  padding-left: 12px;
}

.about-content .body-text {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Tour & Booking Section */
.no-shows-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 40px;
  text-align: center;
}

.no-shows-icon {
  width: 70px;
  height: 70px;
  background: rgba(229, 184, 83, 0.12);
  border: 1px solid var(--card-border);
  color: var(--pine-gold-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.no-shows-content h3 {
  font-size: 1.8rem;
  color: var(--pine-white);
  margin-bottom: 14px;
}

.no-shows-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.booking-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.booking-box h4 {
  color: var(--pine-gold-bright);
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.booking-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.booking-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--pine-gold), #D49D3A);
  color: var(--bg-darker);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 30px;
  transition: var(--transition);
}

.booking-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--pine-gold-glow);
  color: var(--bg-darker);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--pine-white);
}

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

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--pine-gold-bright);
  transform: translateY(-3px);
}

.footer-copy {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
  width: 100%;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 580px;
  padding: 36px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--pine-gold);
  color: var(--bg-darker);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-badge {
  font-size: 0.78rem;
  color: var(--pine-gold-bright);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.modal-header h3 {
  font-size: 1.8rem;
  color: var(--pine-white);
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.modal-body {
  line-height: 1.8;
}

.lyrics-verse {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 20px;
  white-space: pre-line;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--pine-gold);
  color: var(--pine-white);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title { font-size: 3.2rem; }
  .hero-subtitle { font-size: 2.5rem; }

  .hero-buttons, .streaming-links {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .player-card-body {
    grid-template-columns: 1fr;
  }

  .player-left-col {
    max-width: 260px;
    margin: 0 auto;
  }

  .track-details {
    text-align: center;
  }

  .control-buttons {
    justify-content: center;
  }

  #btn-lyrics-modal {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(9, 13, 18, 0.96);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
}
