:root {
  --cream: #ece5da;
  --cream-soft: #e1d5c1;
  --ink: #221f1b;
  --red: #c41e2a;
  --red-dark: #8e1620;
  --grey: #6f6656;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Oswald', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Faint paper grain */
.fx-grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Waveform divider */
.wave-divider {
  height: 60px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-divider-img {
  width: 100%;
  max-width: 700px;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Star accent */
.star {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  vertical-align: middle;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 1px;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--red);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--red); }

.nav-cta {
  background: var(--red);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 2px;
  font-weight: 700;
}

.nav-cta:hover { background: var(--red-dark); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 70px;
  text-align: center;
}

.hero-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
  box-shadow: 0 0 0 rgba(196, 30, 42, 0.5);
  margin-bottom: 28px;
  animation: glow-pulse 2.6s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 14px rgba(196, 30, 42, 0.25); }
  50% { box-shadow: 0 0 34px rgba(196, 30, 42, 0.5); }
}

.hero-wordmark {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  margin-top: 24px;
  padding: 8px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
}

/* Player */
.player {
  margin: 44px auto 0;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream-soft);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 16px 20px;
  text-align: left;
}

.play-btn {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--red);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
}

.play-btn:hover { background: var(--red-dark); transform: scale(1.05); }

.play-btn svg { width: 26px; height: 26px; }

.play-btn svg.is-hidden { display: none; }

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

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.on-air-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grey);
  flex-shrink: 0;
}

.on-air-dot.live {
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.status-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: var(--ink);
}

.player-sub {
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 2px;
}

.stream-stats {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 6px;
}

.stream-stats.is-live { display: flex; flex-wrap: wrap; }

.stream-stats #listenerCount {
  font-weight: 600;
  color: var(--red);
}

.stream-stats #nowPlaying::before {
  content: "· ";
}

/* Track history */
.track-history {
  display: none;
  margin: 20px auto 0;
  max-width: 460px;
}

.track-history.is-visible { display: block; }

.track-history-label {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.track-history ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track-history li {
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink);
  opacity: 0.8;
}

/* Cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: var(--ink);
  color: var(--cream);
  padding: 16px 24px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.cookie-banner.is-visible { display: flex; }

.cookie-banner p {
  margin: 0;
  max-width: 640px;
}

.cookie-accept-btn {
  flex-shrink: 0;
  background: var(--red);
  color: var(--cream);
  border: none;
  padding: 8px 20px;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: background 0.2s;
}

.cookie-accept-btn:hover { background: var(--red-dark); }

/* Section generic */
.section-tag {
  display: block;
  text-align: center;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 14px;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 1px;
  margin-bottom: 28px;
  color: var(--ink);
}

/* About */
.about { padding: 70px 0; }

.about-inner { max-width: 720px; margin: 0 auto; text-align: center; }

.about-illustration {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
  display: block;
  margin: 0 auto 24px;
}

.about-text {
  color: #3a352d;
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.hashtags-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hashtag {
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--red);
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; align-items: center; }

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red);
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--grey);
  margin-top: 4px;
}

/* Contact (lives inside the footer) */
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 24px 48px;
}

.contact-text { color: #3a352d; margin-bottom: 32px; }

.social-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.social-link {
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover { background: var(--red); border-color: var(--red); color: var(--cream); }

.contact-email {
  display: inline-block;
  color: var(--red);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
}

.contact-email:hover { border-bottom-color: var(--red); }

/* Footer (contact content + copyright bar, one cohesive block) */
.site-footer {
  background: #faf8f4;
  border-top: 2px solid var(--ink);
}

.footer-bottom {
  border-top: 1px solid rgba(34, 31, 27, 0.15);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--grey);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tag { color: var(--red); font-weight: 600; }

/* Responsive */
@media (max-width: 640px) {
  .main-nav { gap: 14px; }
  .main-nav a:not(.nav-cta) { display: none; }
  .player { flex-direction: column; text-align: center; padding: 20px; }
  .player-info { text-align: center; }
  .status-row { justify-content: center; }
  .stream-stats.is-live { justify-content: center; }
  .stats-row { gap: 32px; }
  .hero-wordmark { max-width: 340px; }
  .wave-divider { height: 40px; }
  .about-illustration { width: 170px; height: 170px; }
}
