*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #070708;
  --bg-soft: #0e0e10;
  --bg-card: #121214;
  --bg-card-hover: #18181b;
  --border: rgba(255,255,255,0.06);
  --border-soft: rgba(255,255,255,0.1);
  --text: #ececef;
  --text-dim: #8b8b95;
  --text-muted: #5c5c66;
  --white: #ffffff;
  --gold: #c9b896;
  --radius: 12px;
  --radius-lg: 18px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.bg-gradient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 184, 150, 0.06), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(255,255,255,0.02), transparent);
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(24px) saturate(1.2);
  background: rgba(7, 7, 8, 0.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { height: 38px; width: auto; object-fit: contain; opacity: 0.95; }
.nav-links { display: flex; gap: 2rem; }
.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}
.nav-link:hover { color: var(--white); }

.btn-cta {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-soft);
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.btn-cta:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.2);
}

.hero {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: 0 auto;
  padding: 5.5rem 1.75rem 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-desc {
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 400px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: #0a0a0a;
  text-decoration: none;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, opacity 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); opacity: 0.92; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 400;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--border-soft);
  background: rgba(255,255,255,0.03);
}

.hero-visual { display: flex; align-items: center; justify-content: center; }

.hero-logo-frame {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
}

.hero-logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  opacity: 0.95;
}

.section {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.75rem;
}

.section-alt {
  background: var(--bg-soft);
  max-width: none;
  padding-left: max(1.75rem, calc((100% - 1080px) / 2 + 1.75rem));
  padding-right: max(1.75rem, calc((100% - 1080px) / 2 + 1.75rem));
}

.section-header { margin-bottom: 2rem; }

.section-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
}

.section-sub {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.35rem;
  font-weight: 300;
}

.radio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  max-width: 720px;
}

.caster-wrap { display: block; }

.caster-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.radio-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.live-dot.on {
  background: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.6);
  animation: blink 1.4s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.radio-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.radio-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 300;
}

.radio-meta a {
  color: var(--gold);
  text-decoration: none;
}

.radio-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.75rem;
  max-width: 560px;
}

.radio-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.radio-orb {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #3a3a40, #1a1a1e);
  border: 1px solid var(--border-soft);
  transition: box-shadow 0.3s, transform 0.3s;
}

.radio-orb.playing {
  box-shadow: 0 0 0 4px rgba(201, 184, 150, 0.15), 0 0 28px rgba(201, 184, 150, 0.25);
  animation: pulse-orb 2s ease-in-out infinite;
}

@keyframes pulse-orb {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.radio-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 24px;
}

.radio-bars span {
  width: 4px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: height 0.15s;
}

.radio-bars.playing span {
  background: var(--gold);
  animation: bar-bounce 0.8s ease-in-out infinite;
}

.radio-bars.playing span:nth-child(1) { animation-delay: 0s; }
.radio-bars.playing span:nth-child(2) { animation-delay: 0.1s; }
.radio-bars.playing span:nth-child(3) { animation-delay: 0.2s; }
.radio-bars.playing span:nth-child(4) { animation-delay: 0.15s; }
.radio-bars.playing span:nth-child(5) { animation-delay: 0.05s; }

@keyframes bar-bounce {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.radio-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.radio-play:hover { transform: scale(1.05); }
.radio-play .icon-play,
.radio-play .icon-pause { width: 22px; height: 22px; }
.radio-play .icon-pause { display: none; }
.radio-play.playing .icon-play { display: none; }
.radio-play.playing .icon-pause { display: block; }

.radio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

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

@media (max-width: 600px) {
  .radio-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .radio-controls { justify-content: center; }
}

.radio-meta a:hover { text-decoration: underline; }

.cstrEmbed {
  width: 100%;
  min-height: 160px;
  border-radius: 12px;
  overflow: hidden;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.trend-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.trend-card:hover {
  border-color: var(--border-soft);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

.trend-top {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.trend-rank {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  min-width: 26px;
  font-style: italic;
  padding-top: 0.15rem;
}

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

.trend-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-artist {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  font-weight: 300;
}

.trend-platform {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  flex-shrink: 0;
}

.platform-tag {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.platform-tag.ig {
  background: rgba(225, 48, 108, 0.14);
  color: #f06292;
  border-color: rgba(225, 48, 108, 0.28);
}

.platform-tag.tt {
  background: rgba(255,255,255,0.06);
  color: #b0b0b8;
  border-color: rgba(255,255,255,0.12);
}

.trend-actions { margin-top: auto; }

.trend-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s;
}

.trend-btn.spotify {
  background: #1DB954;
  color: #000;
}

.trend-btn.spotify:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.35rem;
}

.embed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.embed-card:hover,
.embed-card:focus-within {
  border-color: var(--border-soft);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.embed-header {
  padding: 1.15rem 1.2rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.embed-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.embed-badge {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #a8a8b0;
  border: 1px solid rgba(255,255,255,0.08);
}

.embed-badge.featured {
  background: rgba(201, 184, 150, 0.12);
  color: var(--gold);
  border-color: rgba(201, 184, 150, 0.25);
}

.embed-desc {
  padding: 0 1.2rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.embed-iframe-wrap {
  position: relative;
  width: 100%;
  height: 152px;
  background: #0a0a0a;
}

.embed-iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.embed-card:focus-within .embed-iframe-wrap { height: 352px; }
.embed-card:focus-within .embed-iframe-wrap iframe { height: 352px; }

.cta-section {
  position: relative;
  z-index: 5;
  padding: 2.5rem 1.75rem 5rem;
  max-width: 1080px;
  margin: 0 auto;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-card p {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.footer {
  position: relative;
  z-index: 5;
  border-top: 1px solid var(--border);
  padding: 2rem 1.75rem;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.55;
}

.footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.25rem 3.5rem;
    gap: 2rem;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { max-width: 180px; }
  .hero-logo-frame { padding: 1.5rem; }
  .nav-links { display: none; }
  .section { padding: 2.5rem 1.25rem; }
  .section-alt { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cta-section { padding: 2rem 1.25rem 3.5rem; }
  .cta-card { padding: 2.5rem 1.25rem; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.5rem; }
  .embed-grid, .trending-grid { grid-template-columns: 1fr; gap: 1rem; }
  .brand-logo { height: 32px; }
  .nav-inner { padding: 0.8rem 1rem; }
  .btn-cta { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
  .embed-card:focus-within .embed-iframe-wrap { height: 380px; }
  .embed-card:focus-within .embed-iframe-wrap iframe { height: 380px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-inner { flex-direction: column; text-align: center; }
}