/* === Radio Page Styles === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --radio-primary: #0f172a;
  --radio-surface: #1e293b;
  --radio-accent: #6366f1;
  --radio-accent-light: #818cf8;
  --radio-text: #e2e8f0;
  --radio-text-dim: #94a3b8;
  --radio-glow: rgba(99, 102, 241, 0.3);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 16px;
  --container: 1100px;
}

html {
  font-size: 16px;
}

body.radio-body {
  font-family: var(--font-body);
  color: var(--radio-text);
  background: var(--radio-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #1a1040 50%, #0f172a 100%);
}

a {
  color: var(--radio-accent-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--radio-accent);
}

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

/* === Radio Header === */
.radio-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--radio-text);
  text-decoration: none;
}

.logo:hover {
  color: var(--radio-text);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--radio-accent-light);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--radio-text-dim);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--radio-text);
  background: rgba(255,255,255,0.08);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--radio-text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === Radio Hero === */
.radio-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.radio-player-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--radio-surface);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 80px var(--radio-glow);
  border: 1px solid rgba(255,255,255,0.06);
}

/* === Equalizer Animation === */
.radio-visual {
  margin-bottom: 32px;
}

.radio-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 50px;
  margin-bottom: 20px;
}

.radio-eq span {
  width: 6px;
  background: var(--radio-accent);
  border-radius: 3px;
  animation: eq-idle 1.5s ease-in-out infinite;
}

.radio-eq span:nth-child(1) { height: 15px; animation-delay: 0s; }
.radio-eq span:nth-child(2) { height: 25px; animation-delay: 0.2s; }
.radio-eq span:nth-child(3) { height: 20px; animation-delay: 0.4s; }
.radio-eq span:nth-child(4) { height: 30px; animation-delay: 0.1s; }
.radio-eq span:nth-child(5) { height: 18px; animation-delay: 0.3s; }

.radio-eq.playing span {
  animation-name: eq-play;
  animation-duration: 0.6s;
}

@keyframes eq-idle {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 0.6; }
}

@keyframes eq-play {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.8); opacity: 1; }
}

.radio-visual h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--radio-text);
  margin-bottom: 6px;
}

.radio-subtitle {
  font-size: 0.95rem;
  color: var(--radio-text-dim);
}

/* === Controls === */
.radio-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.radio-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--radio-accent);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px var(--radio-glow);
}

.radio-play-btn:hover {
  background: var(--radio-accent-light);
  transform: scale(1.05);
  box-shadow: 0 6px 30px var(--radio-glow);
}

.radio-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--radio-text-dim);
}

.volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.15);
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--radio-accent);
  cursor: pointer;
}

.volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--radio-accent);
  cursor: pointer;
  border: none;
}

/* === Track Info === */
.radio-track {
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.track-label {
  color: var(--radio-text-dim);
}

.track-title {
  color: var(--radio-text);
  font-weight: 600;
}

/* === Section === */
.section {
  padding: 60px 0 80px;
}

/* === Radio Info Grid === */
.radio-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.radio-info-card {
  background: var(--radio-surface);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.06);
}

.radio-info-card h3 {
  font-size: 1.2rem;
  color: var(--radio-text);
  margin-bottom: 12px;
}

.radio-info-card p {
  color: var(--radio-text-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}

.radio-verse {
  font-style: italic;
  border-left: 3px solid var(--radio-accent);
  padding-left: 16px;
  margin-top: 16px;
  color: var(--radio-text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.radio-verse cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  margin-top: 8px;
  opacity: 0.7;
}

.radio-links {
  list-style: none;
}

.radio-links li {
  margin-bottom: 10px;
}

.radio-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--radio-accent-light);
  font-weight: 500;
  padding: 8px 0;
  transition: all 0.2s;
}

.radio-links a:hover {
  color: var(--radio-text);
  padding-left: 8px;
}

.radio-links a::before {
  content: '\2192';
  font-size: 0.9em;
}

/* === Footer === */
.site-footer {
  background: rgba(15, 23, 42, 0.8);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--radio-text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--radio-text-dim);
}

.footer-col a {
  color: var(--radio-accent-light);
}

.footer-col a:hover {
  color: var(--radio-text);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.footer-reg {
  margin-top: 4px;
}

/* === Mobile === */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

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

  .radio-player-card {
    padding: 32px 20px;
  }

  .radio-visual h1 {
    font-size: 1.3rem;
  }

  .volume-slider {
    width: 70px;
  }

  .radio-hero {
    padding: 100px 0 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
