/* ========================================
   ASHES TO LIGHT STUDIOS — STYLE SYSTEM
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #151515;
  --bg-card-hover: #1a1a1a;
  --accent-gold: #D4940A;
  --accent-amber: #E8A317;
  --accent-orange: #F5A623;
  --accent-ember: #FF6B35;
  --ash-white: #F0EDE8;
  --ash-light: #C4BFB6;
  --ash-muted: #7A756D;
  --text-primary: #F0EDE8;
  --text-secondary: #A8A29E;
  --text-muted: #6B6560;
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #D4940A, #F5A623, #E8A317);
  --gradient-ember: linear-gradient(180deg, transparent 0%, rgba(212, 148, 10, 0.03) 50%, rgba(255, 107, 53, 0.05) 100%);
  --gradient-hero: radial-gradient(ellipse at center bottom, rgba(212, 148, 10, 0.15) 0%, rgba(10, 10, 10, 0.98) 60%, #0a0a0a 100%);
  
  /* Typography */
  --font-display: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
  --font-ui: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: clamp(60px, 10vw, 120px);
  --container-max: 1100px;
  
  /* Glow */
  --glow-gold: 0 0 30px rgba(212, 148, 10, 0.3), 0 0 60px rgba(212, 148, 10, 0.1);
  --glow-gold-strong: 0 0 20px rgba(212, 148, 10, 0.5), 0 0 50px rgba(212, 148, 10, 0.2), 0 0 80px rgba(212, 148, 10, 0.1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* --- Noise / Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Selection --- */
::selection {
  background: rgba(212, 148, 10, 0.35);
  color: var(--ash-white);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

/* --- Section Divider --- */
.section-divider {
  width: 80px;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto 40px;
  border-radius: 1px;
  box-shadow: 0 0 15px rgba(212, 148, 10, 0.4);
}

/* --- Section Title --- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ash-white);
  margin-bottom: 16px;
}

/* ========================================
   HERO SECTION
   ======================================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-primary);
}

/* Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero gradient overlay */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Radial glow behind hero content */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 148, 10, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px 20px;
}

/* Presents Line */
.hero-presents {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 28px;
  position: relative;
}

.hero-presents::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: var(--gradient-gold);
  margin: 12px auto 0;
  opacity: 0.5;
}

.hero-content .hero-presents {
  animation: heroFadeIn 1.2s ease-out 0.1s both;
}

/* Logo */
.hero-logo {
  width: clamp(120px, 20vw, 180px);
  height: auto;
  margin-bottom: 30px;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(212, 148, 10, 0.2), 0 0 80px rgba(212, 148, 10, 0.08);
  animation: logoFloat 8s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Studio Name */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.15;
  background: linear-gradient(180deg, var(--ash-white) 20%, var(--accent-gold) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(212, 148, 10, 0.15));
}

/* Tagline */
.hero-tagline {
  font-family: var(--font-ui);
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ash-light);
  margin-bottom: 36px;
  opacity: 0.85;
}

/* Hero Social Links */
.hero-socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: var(--ash-light);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.4s ease;
}

.hero-social-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-social-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 148, 10, 0.3);
}

/* YouTube hover */
.hero-social-btn--youtube:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  color: #FF4444;
  box-shadow: 0 4px 25px rgba(255, 0, 0, 0.15);
}
.hero-social-btn--youtube:hover svg { fill: #FF0000; }

/* Instagram hover */
.hero-social-btn--instagram:hover {
  background: rgba(225, 48, 108, 0.1);
  border-color: rgba(225, 48, 108, 0.3);
  color: #E1306C;
  box-shadow: 0 4px 25px rgba(225, 48, 108, 0.15);
}
.hero-social-btn--instagram:hover svg { fill: #E1306C; }

/* X hover */
.hero-social-btn--x:hover {
  background: rgba(240, 237, 232, 0.08);
  border-color: rgba(240, 237, 232, 0.2);
  color: var(--ash-white);
  box-shadow: 0 4px 25px rgba(240, 237, 232, 0.08);
}
.hero-social-btn--x:hover svg { fill: var(--ash-white); }

/* Spotify hover */
.hero-social-btn--spotify:hover {
  background: rgba(29, 185, 84, 0.1);
  border-color: rgba(29, 185, 84, 0.3);
  color: #1DB954;
  box-shadow: 0 4px 25px rgba(29, 185, 84, 0.15);
}
.hero-social-btn--spotify:hover svg { fill: #1DB954; }

/* Hero social entrance animation */
.hero-content .hero-socials {
  animation: heroFadeIn 1.2s ease-out 1.2s both;
}

/* ========================================
   ANNOUNCEMENT / LAUNCH SECTION
   ======================================== */
#launch {
  position: relative;
  padding: var(--section-padding) 0;
  background: var(--gradient-ember);
}

.launch-card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(145deg, rgba(20, 18, 14, 0.95), rgba(15, 13, 10, 0.98));
  border: 1px solid rgba(212, 148, 10, 0.2);
  border-radius: 20px;
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 0 50px rgba(212, 148, 10, 0.06), 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Inner glow at top */
.launch-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--gradient-gold);
  box-shadow: 0 0 20px rgba(212, 148, 10, 0.5);
}

.launch-flex {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 50px);
}

.launch-cover-wrapper {
  flex-shrink: 0;
}

.launch-cover {
  width: clamp(140px, 20vw, 220px);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(212, 148, 10, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.launch-cover:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 15px 50px rgba(0,0,0,0.7), 0 0 40px rgba(212, 148, 10, 0.2);
}

.launch-info {
  flex: 1;
  text-align: left;
}

.launch-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--gradient-gold);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.launch-headline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 10px;
  line-height: 1.3;
}

.launch-subtext {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--ash-light);
  margin-bottom: 24px;
  line-height: 1.6;
  opacity: 0.85;
}

.launch-song-title {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ash-white);
}

/* Countdown Timer */
.countdown {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  padding: 12px 14px;
  background: rgba(212, 148, 10, 0.06);
  border: 1px solid rgba(212, 148, 10, 0.15);
  border-radius: 10px;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-amber);
  line-height: 1;
}

.countdown-label {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash-muted);
  margin-top: 4px;
}

/* "OUT NOW" state */
.countdown-released {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 14px 24px;
  background: rgba(212, 148, 10, 0.08);
  border: 1px solid rgba(212, 148, 10, 0.2);
  border-radius: 12px;
}

.countdown-released .pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-amber);
  box-shadow: 0 0 10px var(--accent-amber);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.countdown-released-text {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
}

/* CTA Buttons */
.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
  border: none;
}

.cta-btn--primary {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px rgba(212, 148, 10, 0.3);
}

.cta-btn--primary:hover {
  box-shadow: var(--glow-gold-strong);
  transform: translateY(-2px);
}

.cta-btn--secondary {
  background: transparent;
  color: var(--accent-amber);
  border: 1px solid rgba(212, 148, 10, 0.35);
}

.cta-btn--secondary:hover {
  background: rgba(212, 148, 10, 0.08);
  border-color: rgba(212, 148, 10, 0.6);
  transform: translateY(-2px);
}

.cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ========================================
   SOCIAL LINKS SECTION
   ======================================== */
#social {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
  position: relative;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.social-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(28px, 4vw, 40px) 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-card--youtube::before {
  background: radial-gradient(circle at center, rgba(255, 0, 0, 0.06) 0%, transparent 70%);
}
.social-card--instagram::before {
  background: radial-gradient(circle at center, rgba(225, 48, 108, 0.06) 0%, transparent 70%);
}
.social-card--x::before {
  background: radial-gradient(circle at center, rgba(240, 237, 232, 0.04) 0%, transparent 70%);
}

.social-card:hover::before {
  opacity: 1;
}

.social-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.social-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  transition: transform 0.4s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.12);
}

.social-card-label {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ash-white);
}

.social-card-handle {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.social-card-arrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.social-card:hover .social-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
#about {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
  position: relative;
}

.about-text {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.9;
  color: var(--ash-light);
  opacity: 0.9;
}

.about-text em {
  font-style: normal;
  color: var(--accent-amber);
  font-weight: 500;
}

/* Banner Image */
.about-banner {
  max-width: 700px;
  width: 100%;
  margin: 50px auto 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 40px rgba(212, 148, 10, 0.06);
}

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

.about-banner:hover img {
  transform: scale(1.03);
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
  padding: 50px 0 30px;
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash-white);
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: rgba(212, 148, 10, 0.1);
  border-color: rgba(212, 148, 10, 0.3);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  fill: var(--ash-muted);
  transition: fill 0.3s ease;
}

.footer-social-link:hover svg {
  fill: var(--accent-amber);
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero text entrance */
.hero-content .hero-logo {
  animation: heroFadeIn 1.2s ease-out 0.3s both, logoFloat 8s ease-in-out 1.5s infinite;
}
.hero-content .hero-title {
  animation: heroFadeIn 1.2s ease-out 0.6s both;
}
.hero-content .hero-tagline {
  animation: heroFadeIn 1.2s ease-out 0.9s both;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .social-card {
    flex-direction: row;
    text-align: left;
    padding: 20px 24px;
    gap: 16px;
  }

  .social-icon {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .social-card-info {
    flex: 1;
  }

  .social-card-arrow {
    opacity: 1;
    transform: translateY(0);
    margin-left: auto;
    flex-shrink: 0;
  }

  .launch-flex {
    flex-direction: column;
    text-align: center;
  }

  .launch-info {
    text-align: center;
  }

  .countdown {
    justify-content: center;
  }

  .cta-group {
    justify-content: center;
  }

  .countdown-released {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 0.08em;
  }

  .hero-tagline {
    letter-spacing: 0.15em;
  }

  .countdown-unit {
    min-width: 50px;
    padding: 10px 10px;
  }

  .launch-cover {
    width: 160px;
  }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 148, 10, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 148, 10, 0.5);
}
