:root {
  --bg: #000000;
  --navy: #102854;
  --navy-deep: #0a1a38;
  --red-glow: #95160c;
  --accent: #c85103;
  --accent-light: #e8600a;
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.75);
  --text-faint: rgba(255, 255, 255, 0.5);
  --light-bg: #fafafa;
  --dark-ink: #130f26;
  --radius: 20px;
  --container: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Urbanist', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; }

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--accent); }

.text-outline {
  -webkit-text-stroke: 1.5px #ffffff;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #16336b; }
.btn--ghost { color: #fff; text-transform: uppercase; font-size: 14px; letter-spacing: 0.08em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-family: 'Borel', cursive;
  font-size: 15px;
  color: #fff;
  opacity: 0.9;
}
.nav-links a:hover { opacity: 1; color: var(--accent-light); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.sign-in { font-family: 'Borel', cursive; font-size: 15px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero-glow--one {
  width: 900px; height: 900px;
  top: -350px; right: -200px;
  background: var(--red-glow);
}
.hero-glow--two {
  width: 700px; height: 700px;
  bottom: -400px; left: -250px;
  background: var(--navy);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 20px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
}
.hero-ctas {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-stats {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.stat {
  max-width: 250px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
}
.stat-label {
  display: block;
  margin-top: 8px;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.hero-art { position: relative; }
.hero-photo {
  aspect-ratio: 463 / 666;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 20%, rgba(200, 81, 3, 0.55), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(16, 40, 84, 0.85), transparent 60%),
    linear-gradient(160deg, #1a1330, #0a0a12);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.hero-badge {
  position: absolute;
  left: -60px;
  bottom: 20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(34, 107, 208, 0.12);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: spin 18s linear infinite;
}
.hero-badge span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 18px;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Platform strip */
.platform-strip {
  background: linear-gradient(100deg, var(--red-glow) 0%, var(--red-glow) 45%, var(--navy) 45%, var(--navy) 100%);
  padding: 24px 0;
}
.platform-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.platform {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
}
.platform-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* Trending */
.trending { padding: 96px 0; background: var(--bg); }
.trending h2, .premium-title, .testimonials-head h2 {
  font-size: 42px;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 720px;
}
.section-sub {
  margin-top: 16px;
  max-width: 540px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.song-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.song-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.song-card--a { background: linear-gradient(150deg, #3a0f0f, #7a1c1c 40%, #c0392b); }
.song-card--b { background: linear-gradient(150deg, #0f2e2b, #1c6b5f 45%, #2fd39a); }
.song-card--c { background: linear-gradient(150deg, #3a2a10, #b06b1c 45%, #e8a23a); }
.song-meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}
.song-meta h3 { font-size: 18px; }
.song-meta p { margin-top: 4px; color: var(--text-dim); font-size: 13px; }

.play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.play-btn svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.song-card--a .play-btn, .song-card--b .play-btn, .song-card--c .play-btn { position: relative; z-index: 1; }

/* Premium */
.premium { padding: 96px 0; background: var(--light-bg); color: var(--dark-ink); }
.premium-title { color: var(--dark-ink); }
.premium-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.premium-card {
  border-radius: 16px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.premium-card--a { background: linear-gradient(160deg, #1c1c2e, #4a4a6a); }
.premium-card--b { background: linear-gradient(160deg, #2a0f10, #b0393f); }
.premium-card--wide { grid-column: 1 / -1; background: linear-gradient(120deg, #201018, #6b2a3a 40%, #d9803f); min-height: 220px; }
.premium .play-btn { border-color: rgba(255, 255, 255, 0.9); }

/* Testimonials */
.testimonials { padding: 96px 0; background: var(--navy-deep); }
.testimonials-head p {
  margin-top: 16px;
  max-width: 560px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}
.testimonial-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testimonial-card {
  margin: 0;
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-icon { width: 32px; height: 32px; fill: var(--accent); opacity: 0.9; }
.testimonial-card p { color: rgba(255, 255, 255, 0.9); font-size: 15px; line-height: 1.6; }
.testimonial-card footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: #c4c4c4; flex-shrink: 0; }
.testimonial-card footer strong { display: block; font-size: 15px; }
.testimonial-card footer small { display: block; margin-top: 2px; color: var(--text-faint); font-size: 13px; }

.dots { display: none; justify-content: center; gap: 10px; margin-top: 32px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.2); padding: 0; cursor: pointer; }
.dot.is-active { background: var(--accent); box-shadow: 0 0 12px rgba(200, 81, 3, 0.7); }

/* CTA */
.cta { padding: 96px 0; text-align: center; background: var(--bg); }
.cta h2 { font-size: 34px; max-width: 640px; margin: 0 auto; }
.cta .hero-ctas { justify-content: center; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--navy-deep); padding: 56px 0 28px; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo--footer img { height: 32px; }
.store-badges { display: flex; gap: 12px; }
.store-badge {
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 13px;
  font-weight: 600;
}
.store-badge--accent { background: var(--accent); border-color: var(--accent); }
.copyright {
  margin-top: 24px;
  text-align: center;
  color: var(--text-faint);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 40px; }
  .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-badge { left: -20px; }
  .song-grid { grid-template-columns: 1fr; }
  .premium-grid { grid-template-columns: 1fr; }
  .testimonial-grid {
    grid-template-columns: 1fr;
    display: flex;
    overflow: hidden;
  }
  .testimonial-card { min-width: 100%; }
  .dots { display: flex; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero { padding: 40px 0; }
  .hero-copy h1 { font-size: 32px; }
  .trending h2, .premium-title, .testimonials-head h2 { font-size: 28px; }
  .platform-inner { justify-content: center; gap: 32px; }
}

/* Mobile nav open state */
body.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  padding: 24px;
  gap: 20px;
}
