/* =============================================
   MAULIMUSIC — SONG LAUNCH LANDING PAGE
   Design System: MauliMusic Brand Identity
   Inspired by: maulimusic.in
   Reference: gemini_skills.md (Mistral-warm style)
   ============================================= */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors */
  --mm-orange: #C85108;
  --mm-orange-light: #e06020;
  --mm-orange-dark: #a84206;
  --mm-amber: #ffa110;
  --mm-gold: #ffd900;

  /* Surface Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-ivory: #fffaeb;
  --bg-cream: #fff0c2;
  --bg-dark: #1f1200;
  --bg-dark-mid: #2d1a00;
  --bg-footer: #1a0e00;

  /* Text Colors */
  --text-primary: #1f1f1f;
  --text-secondary: #555555;
  --text-light: #888888;
  --text-white: #ffffff;

  /* Shadows */
  --shadow-warm-sm: 0 4px 20px rgba(200, 81, 8, 0.10);
  --shadow-warm-md: 0 8px 40px rgba(200, 81, 8, 0.14), 0 2px 12px rgba(200, 81, 8, 0.08);
  --shadow-warm-lg: 0 16px 60px rgba(127, 60, 21, 0.20), 0 4px 24px rgba(200, 81, 8, 0.12);
  --shadow-golden: rgba(127, 99, 21, 0.12) -8px 16px 39px, rgba(127, 99, 21, 0.10) -33px 64px 72px;

  /* Typography */
  --font-serif: 'Marcellus', Georgia, serif;
  --font-sans: 'Outfit', system-ui, Arial, sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-xxl: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-mid: 0.32s ease;
  --transition-slow: 0.55s cubic-bezier(0.22, 1, 0.36, 1);

  /* Navbar height */
  --navbar-h: 96px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 81, 8, 0.08);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-warm-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--mm-orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--mm-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-mid);
}

.nav-link:hover {
  color: var(--mm-orange);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link--active {
  color: var(--mm-orange);
  font-weight: 600;
}

.nav-link--active::after {
  transform: scaleX(1);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  background: var(--mm-orange);
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-btn:hover {
  background: var(--mm-orange-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 81, 8, 0.30);
}

/* Rectangular "New Song" button style */
.nav-btn--rect {
  border-radius: var(--radius-sm);
  padding: 10px 22px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover {
  background: rgba(200, 81, 8, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-mid), opacity var(--transition-mid);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== TOP LOAD BAR ===== */
.load-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mm-gold), var(--mm-amber), var(--mm-orange));
  z-index: 9999;
  pointer-events: none;
  animation: loadBar 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ===== RIPPLE ===== */
.ripple-circle {
  position: absolute;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  margin-top: -30px;
  margin-left: -30px;
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  animation: rippleBurst 0.55s ease-out forwards;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--mm-orange);
  color: var(--text-white);
  box-shadow: 0 4px 16px rgba(200, 81, 8, 0.25);
}

.btn--primary:hover {
  background: var(--mm-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 81, 8, 0.38);
}

.btn--outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.50);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.80);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--navbar-h) + var(--space-xl)) var(--space-md) var(--space-xl);
  background: linear-gradient(
    145deg,
    #1a0800 0%,
    #2d1200 25%,
    #3a1a00 50%,
    #1f0d00 75%,
    #120600 100%
  );
  overflow: hidden;
  text-align: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(200, 81, 8, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(255, 161, 16, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 20% 80%, rgba(200, 81, 8, 0.10) 0%, transparent 60%);
  z-index: 0;
  animation: heroBreathe 8s ease-in-out infinite;
}

/* Floating Decorative Shapes */
.float-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.float-shape--triangle {
  top: 15%;
  right: 8%;
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
  border-bottom: 48px solid rgba(200, 81, 8, 0.30);
  animation: floatTriangle 6s ease-in-out infinite;
}

.float-shape--circle {
  bottom: 20%;
  left: 6%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255, 161, 16, 0.20);
  animation: orbitCircle 12s ease-in-out infinite;
}

/* A second ring inside the first circle for depth */
.float-shape--circle::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 161, 16, 0.12);
  animation: floatCircle 5s ease-in-out infinite reverse;
}

.float-shape--dot-grid {
  top: 25%;
  left: 5%;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(rgba(200, 81, 8, 0.40) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  animation: fadeFloat 7s ease-in-out infinite alternate;
}

.float-shape--note1,
.float-shape--note2,
.float-shape--note3 {
  font-size: 2.5rem;
  color: rgba(200, 81, 8, 0.25);
  animation: floatNote 10s ease-in-out infinite;
}

.float-shape--note1 {
  top: 22%;
  left: 12%;
  animation-delay: 0s;
  font-size: 2rem;
}

.float-shape--note2 {
  top: 50%;
  right: 10%;
  animation-delay: -3.5s;
  font-size: 2.8rem;
}

.float-shape--note3 {
  bottom: 28%;
  right: 18%;
  animation-delay: -7s;
  font-size: 1.8rem;
}

/* ===== Keyframe Animations ===== */
@keyframes floatTriangle {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50% { transform: translateY(-18px) rotate(8deg); opacity: 1; }
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-14px) scale(1.06); }
}

@keyframes fadeFloat {
  0% { opacity: 0.4; transform: translateY(0); }
  100% { opacity: 0.9; transform: translateY(-10px); }
}

@keyframes floatNote {
  0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.3; }
  33% { transform: translateY(-20px) rotate(5deg); opacity: 0.6; }
  66% { transform: translateY(-10px) rotate(-2deg); opacity: 0.45; }
}

@keyframes waveBar {
  0%, 100% { height: 12px; }
  50% { height: 40px; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.7; }
  50% { transform: translateY(10px) translateX(-50%); opacity: 0.2; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---- NEW ANIMATION KEYFRAMES ---- */

/* Gradient shimmer sweep for accent title */
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Badge pulse glow */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 81, 8, 0.30), 0 0 0 0 rgba(255, 161, 16, 0.18); }
  50%       { box-shadow: 0 0 0 8px rgba(200, 81, 8, 0.0), 0 0 16px 4px rgba(255, 161, 16, 0.22); }
}

/* Ripple burst (button click) */
@keyframes rippleBurst {
  0%   { transform: scale(0); opacity: 0.55; }
  100% { transform: scale(3.5); opacity: 0; }
}

/* Page-load top progress bar */
@keyframes loadBar {
  0%   { width: 0%; opacity: 1; }
  70%  { width: 80%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* Hero overlay slow breathe */
@keyframes heroBreathe {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.70; }
}

/* Soft vertical orbit for the large circle shape */
@keyframes orbitCircle {
  0%   { transform: translateY(0px)   translateX(0px)  scale(1); }
  25%  { transform: translateY(-20px) translateX(8px)  scale(1.04); }
  50%  { transform: translateY(-12px) translateX(-6px) scale(1.02); }
  75%  { transform: translateY(-26px) translateX(4px)  scale(1.06); }
  100% { transform: translateY(0px)   translateX(0px)  scale(1); }
}

/* Section stripe slide-in */
@keyframes stripeSlide {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}

/* Stagger fade-up used by .stagger children */
@keyframes staggerFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Floating orbit for extra hero particles */
@keyframes particleDrift {
  0%   { transform: translate(0, 0) scale(1);     opacity: 0.5; }
  33%  { transform: translate(14px, -22px) scale(1.2); opacity: 0.9; }
  66%  { transform: translate(-10px, -14px) scale(0.9); opacity: 0.6; }
  100% { transform: translate(0, 0) scale(1);     opacity: 0.5; }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  animation: fadeInUp 0.8s ease both;
}

.release-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(200, 81, 8, 0.20);
  border: 1px solid rgba(200, 81, 8, 0.40);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--mm-amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  animation: fadeInDown 0.6s ease 0.2s both, badgePulse 3s ease-in-out 1.2s infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-title-accent {
  background: linear-gradient(
    120deg,
    var(--mm-gold) 0%,
    var(--mm-amber) 25%,
    var(--mm-orange) 40%,
    #fff4c2 55%,
    var(--mm-orange) 70%,
    var(--mm-amber) 85%,
    var(--mm-gold) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerSweep 3.5s linear 1s infinite;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto var(--space-lg);
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  /* uses updated scrollBounce that preserves translateX */
  animation: scrollBounce 2.4s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
}

.scroll-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
}

/* ===== CANVAS PARTICLES ===== */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
}

/* ===== SECTION COMMON STYLES ===== */
.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mm-orange);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  background: var(--bg-secondary);
  padding: var(--space-xxl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mm-gold), var(--mm-amber), var(--mm-orange));
  animation: stripeSlide 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.video-wrapper {
  position: relative;
  margin: var(--space-xl) auto 0;
  max-width: 900px;
  display: inline-block;
  width: 100%;
}

.video-frame-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(200, 81, 8, 0.18) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  z-index: 0;
  pointer-events: none;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-golden),
    0 0 0 1px rgba(200, 81, 8, 0.12);
  background: #000;
  z-index: 1;
  transition: box-shadow var(--transition-mid), transform var(--transition-mid);
}

.video-container:hover {
  box-shadow:
    var(--shadow-golden),
    0 0 0 2px rgba(200, 81, 8, 0.25),
    0 24px 64px rgba(200, 81, 8, 0.20);
  transform: translateY(-3px);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* Video Action Buttons */
.video-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.action-btn--credits {
  background: #ffffff;
  color: var(--text-primary);
  border-color: rgba(200, 81, 8, 0.20);
  box-shadow: var(--shadow-warm-sm);
}

.action-btn--credits:hover {
  background: var(--bg-ivory);
  border-color: var(--mm-orange);
  color: var(--mm-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-warm-md);
}

.action-btn--youtube {
  background: var(--mm-orange);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(200, 81, 8, 0.30);
}

.action-btn--youtube:hover {
  background: var(--mm-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 81, 8, 0.42);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--bg-primary);
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text .section-title {
  text-align: left;
}

.about-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.about-text .btn {
  margin-top: var(--space-md);
}

/* Music Wave Card */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, var(--bg-dark), var(--bg-dark-mid));
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-warm-lg), 0 0 0 1px rgba(200, 81, 8, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-mid), box-shadow var(--transition-mid);
}

.music-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(127, 60, 21, 0.30), 0 0 0 1px rgba(200, 81, 8, 0.22);
}

.music-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mm-gold), var(--mm-amber), var(--mm-orange));
}

.music-card__waves {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 56px;
  margin-bottom: var(--space-md);
}

.wave-bar {
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to top, var(--mm-orange), var(--mm-amber));
  height: 12px;
  animation: waveBar 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(1)  { animation-delay: 0.0s; }
.wave-bar:nth-child(2)  { animation-delay: 0.1s; }
.wave-bar:nth-child(3)  { animation-delay: 0.2s; }
.wave-bar:nth-child(4)  { animation-delay: 0.3s; }
.wave-bar:nth-child(5)  { animation-delay: 0.2s; }
.wave-bar:nth-child(6)  { animation-delay: 0.1s; }
.wave-bar:nth-child(7)  { animation-delay: 0.15s; }
.wave-bar:nth-child(8)  { animation-delay: 0.35s; }
.wave-bar:nth-child(9)  { animation-delay: 0.25s; }
.wave-bar:nth-child(10) { animation-delay: 0.05s; }
.wave-bar:nth-child(11) { animation-delay: 0.40s; }
.wave-bar:nth-child(12) { animation-delay: 0.20s; }
.wave-bar:nth-child(13) { animation-delay: 0.10s; }
.wave-bar:nth-child(14) { animation-delay: 0.30s; }
.wave-bar:nth-child(15) { animation-delay: 0.00s; }

.music-card__content {
  text-align: center;
}

.music-card__badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(200, 81, 8, 0.20);
  border: 1px solid rgba(200, 81, 8, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mm-amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.music-card__title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.music-card__artist {
  font-size: 0.9rem;
  color: var(--mm-amber);
  font-weight: 500;
}

/* About floating shapes */
.about-float-shape {
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.about-float-shape--triangle {
  top: 10%;
  right: -10px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 34px solid rgba(200, 81, 8, 0.20);
  animation: floatTriangle 7s ease-in-out infinite;
}

.about-float-shape--circle {
  bottom: 10%;
  left: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(200, 81, 8, 0.15);
  animation: floatCircle 9s ease-in-out infinite;
}

/* ===== FOOTER ===== */
.footer {
  background: #ffffff;
  color: var(--text-primary);
  padding-top: var(--space-xxl);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e8e0d8;
}

/* ===== FOOTER DECORATIVE ELEMENTS ===== */
.footer-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* Large partial circle bottom-right (as in reference image) */
.footer-deco--circle-lg {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 2px solid rgba(180, 170, 160, 0.30);
  bottom: -80px;
  right: -40px;
}

/* Triangle decorations (amber/orange like the reference) */
.footer-deco--tri1 {
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 24px solid rgba(200, 130, 60, 0.55);
  top: 28px;
  right: calc(25% + 30px);
}

.footer-deco--tri2 {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid rgba(200, 130, 60, 0.55);
  bottom: 40px;
  left: calc(38% + 20px);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  padding-bottom: var(--space-xxl);
}

/* Brand column text name (not logo image) */
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-copyright {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
  font-weight: 400;
}

.footer-company {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f1f1f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.social-icon--dark {
  background: #1f1f1f;
  color: #ffffff;
}

.social-icon:hover {
  background: var(--mm-orange);
  transform: translateY(-2px);
}

/* Footer columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: 0;
  text-transform: none;
}

.footer-link {
  display: block;
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-link:hover {
  color: var(--mm-orange);
}

/* Underlined link style for Contact Us column */
.footer-link--underline {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--text-secondary);
}

.footer-link--underline:hover {
  color: var(--mm-orange);
}

/* ===== CREDITS MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 10, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-mid);
}

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

.modal {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.40), 0 0 0 1px rgba(200, 81, 8, 0.15);
  transform: translateY(30px) scale(0.95);
  transition: transform var(--transition-slow), opacity var(--transition-mid);
}

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

.modal-close {
  position: sticky;
  top: var(--space-sm);
  float: right;
  margin: var(--space-sm) var(--space-sm) 0 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(200, 81, 8, 0.08);
  border: 1px solid rgba(200, 81, 8, 0.15);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(200, 81, 8, 0.15);
  color: var(--mm-orange);
  transform: rotate(90deg);
}

.modal-header {
  padding: var(--space-md) var(--space-lg) var(--space-md);
  text-align: center;
  border-bottom: 1px solid rgba(200, 81, 8, 0.10);
}

.modal-icon {
  font-size: 2.4rem;
  margin-bottom: var(--space-xs);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.modal-body {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.credit-group {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  border-left: 3px solid var(--mm-orange);
}

.credit-group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mm-orange);
  margin-bottom: var(--space-xs);
}

.credit-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: var(--space-sm);
}

.credit-item:last-child {
  border-bottom: none;
}

.credit-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.credit-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.modal-footer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  text-align: center;
  border-top: 1px solid rgba(200, 81, 8, 0.10);
}

/* ===== SCROLL REVEAL HELPER ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== TEXT SCROLL ANIMATIONS ===== */

/* --- Word / Letter Split Reveal --- */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.26em; /* word gap */
}

.split-word__inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    opacity   0.45s ease;
}

/* When the parent heading becomes .in-view, words animate in */
.text-reveal.in-view .split-word__inner {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger via inline CSS variable set by JS */
.split-word__inner {
  transition-delay: calc(var(--word-i, 0) * 75ms);
}

/* --- Typewriter Cursor --- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--mm-amber);
  margin-left: 3px;
  vertical-align: middle;
  border-radius: 1px;
  animation: blink 0.85s step-start infinite;
}

/* --- Marquee Ticker Strip --- */
.ticker-strip {
  background: linear-gradient(90deg, var(--bg-dark), var(--bg-dark-mid) 50%, var(--bg-dark));
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  border-top: 1px solid rgba(200,81,8,0.20);
  border-bottom: 1px solid rgba(200,81,8,0.20);
  z-index: 3;
}

.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}
.ticker-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: tickerScroll 28s linear infinite;
}

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

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.ticker-item:hover {
  color: var(--mm-amber);
}

.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mm-orange);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
  :root { --space-xxl: 72px; }

  .about-grid {
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-xxl: 56px;
    --space-xl: 48px;
    --navbar-h: 64px;
  }

  /* Nav — mobile dropdown */
  .nav-links {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-xs);
    border-bottom: 2px solid rgba(200, 81, 8, 0.15);
    /* Use visibility + opacity so the JS navbar entrance transform doesn't interfere */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
    box-shadow: 0 8px 32px rgba(200, 81, 8, 0.10);
    z-index: 999;
  }

  .nav-links.open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
  }

  .nav-link, .nav-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
  }

  .nav-btn {
    border-radius: var(--radius-full);
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: calc(var(--navbar-h) + 48px) var(--space-md) 80px;
  }

  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about-text .section-title {
    text-align: center;
  }

  .about-text {
    text-align: center;
    order: 2;
  }

  .about-visual {
    order: 1;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 540px) {
  :root { --space-xl: 36px; --space-xxl: 48px; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    justify-content: center;
  }

  .video-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .action-btn {
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
  }

  .modal {
    border-radius: var(--radius-md);
  }

  .modal-body {
    padding: var(--space-sm) var(--space-md);
  }

  .modal-header {
    padding: var(--space-md);
  }

  .credit-item {
    flex-direction: column;
    gap: 2px;
  }

  .credit-name {
    text-align: left;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(200, 81, 8, 0.30); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--mm-orange); }
