:root {
  --rz-bg-main: #050716;
  --rz-bg-alt: #0b0f24;
  --rz-accent: #ff4fd8;
  --rz-accent-soft: #5b8dff;
  --rz-text-main: #f7f7ff;
  --rz-text-muted: #9ca3c7;
  --rz-border-soft: rgba(255, 255, 255, 0.08);
  --rz-radius-lg: 24px;
  --rz-radius-md: 16px;
  --rz-radius-sm: 10px;
  --rz-shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --rz-gradient-space: radial-gradient(circle at 0% 0%, #2b2d6b 0, transparent 55%),
                       radial-gradient(circle at 100% 0%, #5b1f5f 0, transparent 55%),
                       radial-gradient(circle at 50% 100%, #0b7bd6 0, transparent 55%),
                       linear-gradient(145deg, #050716 0, #050716 40%, #050716 100%);
  --rz-font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body.theme-space {
  min-height: 100vh;
  background: var(--rz-gradient-space);
  color: var(--rz-text-main);
  font-family: var(--rz-font-main);
}

/* HEADER */

.rz-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 7, 22, 0.96), rgba(5, 7, 22, 0.7), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.rz-header .container {
  padding-block: 14px;
}

.rz-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.rz-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0%, #ffe082, #ff4fd8);
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.8);
  font-size: 1.1rem;
}

.rz-logo-text {
  color: var(--rz-text-main);
}

.rz-nav {
  gap: 20px;
}

.rz-nav-link {
  color: var(--rz-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
}

.rz-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rz-accent), var(--rz-accent-soft));
  transition: width 0.2s ease-out;
}

.rz-nav-link:hover {
  color: var(--rz-text-main);
}

.rz-nav-link:hover::after {
  width: 100%;
}

/* HERO */

.rz-hero {
  padding: 60px 0 40px;
}

@media (min-width: 992px) {
  .rz-hero {
    padding: 80px 0 60px;
  }
}

.rz-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--rz-accent-soft);
  margin-bottom: 12px;
}

.rz-hero-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.rz-hero-subtitle {
  font-size: 1rem;
  color: var(--rz-text-muted);
  max-width: 480px;
  margin-bottom: 24px;
}

.rz-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.rz-btn-live {
  border: none;
  outline: none;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #050716;
  background: radial-gradient(circle at 0 0, #ffe082, #ff4fd8);
  box-shadow: 0 0 24px rgba(255, 79, 216, 0.9);
  cursor: pointer;
}

.rz-btn-live-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #050716;
  color: #ffe082;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.rz-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--rz-text-muted);
}

.rz-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4f6b;
  box-shadow: 0 0 12px rgba(255, 79, 107, 0.9);
}

/* PLAYER CARD */

.rz-player-card {
  background: radial-gradient(circle at 0 0, rgba(91, 141, 255, 0.18), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(255, 79, 216, 0.18), transparent 55%),
              rgba(5, 7, 22, 0.96);
  border-radius: var(--rz-radius-lg);
  padding: 18px 18px 16px;
  border: 1px solid var(--rz-border-soft);
  box-shadow: var(--rz-shadow-soft);
  backdrop-filter: blur(18px);
}

.rz-player-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.rz-player-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.rz-player-meta {
  font-size: 0.8rem;
  color: var(--rz-text-muted);
}

.rz-player-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.rz-player-play {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  background: radial-gradient(circle at 0 0, #ffe082, #ff4fd8);
  color: #050716;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(255, 79, 216, 0.8);
}

.rz-player-play--sm {
  width: 40px;
  height: 40px;
  font-size: 0.9rem;
}

.rz-player-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rz-player-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--rz-text-muted);
}

.rz-player-timeline input[type="range"],
.rz-player-volume input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
}

.rz-player-timeline input[type="range"]::-webkit-slider-runnable-track,
.rz-player-volume input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rz-accent), var(--rz-accent-soft));
}

.rz-player-timeline input[type="range"]::-webkit-slider-thumb,
.rz-player-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  margin-top: -4px;
}

.rz-player-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rz-volume-icon {
  font-size: 0.9rem;
  color: var(--rz-text-muted);
}

.rz-player-eq {
  margin-top: 14px;
  border-radius: var(--rz-radius-md);
  background: radial-gradient(circle at 0 0, rgba(91, 141, 255, 0.18), transparent 55%),
              rgba(5, 7, 22, 0.9);
  padding: 8px 10px;
}

/* HERO VISUAL */

.rz-hero-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--rz-radius-lg);
  background: radial-gradient(circle at 0 0, rgba(91, 141, 255, 0.25), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(255, 79, 216, 0.25), transparent 55%),
              #050716;
  overflow: hidden;
  box-shadow: var(--rz-shadow-soft);
}

.rz-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.rz-orbit-lg {
  width: 260px;
  height: 260px;
  top: 18%;
  left: 10%;
}

.rz-orbit-md {
  width: 190px;
  height: 190px;
  top: 8%;
  right: 6%;
}

.rz-orbit-sm {
  width: 120px;
  height: 120px;
  bottom: 8%;
  left: 40%;
}

.rz-hero-eq-pulse {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  gap: 6px;
}

.rz-hero-eq-bar {
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(to top, #ff4fd8, #ffe082);
  animation: rzPulse 0.9s ease-in-out infinite alternate;
}

.rz-hero-eq-bar:nth-child(2) { animation-delay: 0.1s; }
.rz-hero-eq-bar:nth-child(3) { animation-delay: 0.2s; }
.rz-hero-eq-bar:nth-child(4) { animation-delay: 0.3s; }
.rz-hero-eq-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes rzPulse {
  from { height: 12px; opacity: 0.6; }
  to   { height: 40px; opacity: 1; }
}

.rz-hero-tagline {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 0.9rem;
  color: var(--rz-text-muted);
}

/* SECTIONS */

.rz-section {
  padding: 40px 0;
}

@media (min-width: 992px) {
  .rz-section {
    padding: 60px 0;
  }
}

.rz-section-head {
  margin-bottom: 24px;
}

.rz-section-title {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.rz-section-subtitle {
  font-size: 0.95rem;
  color: var(--rz-text-muted);
  max-width: 520px;
}

.rz-section-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rz-text-muted);
}

/* ARTISTS GRID */

.rz-artists-section {
  background: radial-gradient(circle at 0 0, rgba(91, 141, 255, 0.12), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(255, 79, 216, 0.12), transparent 55%),
              rgba(5, 7, 22, 0.96);
}

.rz-artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.rz-artist-card {
  background: rgba(5, 7, 22, 0.9);
  border-radius: var(--rz-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.rz-artist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 79, 216, 0.6);
}

.rz-artist-image-wrap {
  position: relative;
  overflow: hidden;
}

.rz-artist-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease-out;
}

.rz-artist-card:hover .rz-artist-image {
  transform: scale(1.06);
}

.rz-artist-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(5, 7, 22, 0.9), transparent);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.rz-artist-card:hover .rz-artist-overlay {
  opacity: 1;
  transform: translateY(0);
}

.rz-artist-overlay-text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rz-text-main);
}

.rz-artist-info {
  padding: 10px 12px 12px;
}

.rz-artist-name {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.rz-artist-meta {
  font-size: 0.8rem;
  color: var(--rz-text-muted);
}

/* SCHEDULE */

.rz-schedule-section {
  background: transparent;
}

/* FOOTER */

.rz-footer {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 7, 22, 0.96);
}

.rz-footer-copy,
.rz-footer-note {
  font-size: 0.8rem;
  color: var(--rz-text-muted);
}

/* MOBILE ON-AIR BAR */

.rz-mobile-onair {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(5, 7, 22, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.25s ease-out;
}

.rz-mobile-onair--hidden {
  transform: translateY(100%);
}

.rz-mobile-onair-main {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.rz-mobile-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ff4f6b;
  box-shadow: 0 0 12px rgba(255, 79, 107, 0.9);
}

.rz-mobile-title {
  flex: 1;
  text-align: left;
  font-size: 0.85rem;
}

.rz-mobile-live {
  font-size: 0.75rem;
  color: var(--rz-accent-soft);
}

.rz-mobile-onair-body {
  padding: 6px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rz-mobile-player-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rz-mobile-eq-wrap {
  flex: 1;
}

/* RESPONSIVE TWEAKS */

@media (max-width: 767.98px) {
  .rz-hero {
    padding-top: 32px;
  }

  .rz-player-card {
    margin-bottom: 80px; /* чтобы не перекрывалось bottom‑баром */
  }

  .rz-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .rz-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rz-artist-image {
    height: 180px;
  }
}


/* НЕОНОВЫЙ GLOW ДЛЯ ЭКВАЛАЙЗЕРА */
.rz-player-eq canvas {
  filter: drop-shadow(0 0 12px #ff00f7);
}

/* НЕОН ДЛЯ МОБИЛЬНОГО EQ */
.rz-mobile-eq-wrap canvas {
  filter: drop-shadow(0 0 10px #00eaff);
}

/* ПЛАВНАЯ АНИМАЦИЯ ФОНА */
body {
  transition: background-color 0.25s linear;
}

/* НЕОН ДЛЯ КНОПОК */
.rz-player-play,
.rz-btn-live {
  box-shadow: 0 0 12px rgba(255, 0, 247, 0.6);
  transition: 0.2s;
}

.rz-player-play:hover,
.rz-btn-live:hover {
  box-shadow: 0 0 20px rgba(255, 0, 247, 1);
}

/* НЕОН ДЛЯ КАРТОЧЕК АРТИСТОВ */
.rz-artist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
  transition: 0.25s;
}

/* ARTIST MODAL */
.rz-artist-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.rz-artist-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.rz-artist-modal-content {
  background: #0d0d1a;
  padding: 20px;
  border-radius: 16px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.4);
  transform: scale(0.7);
  transition: transform .3s ease;
}

.rz-artist-modal.active .rz-artist-modal-content {
  transform: scale(1);
}

.rz-artist-modal-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 15px;
}

.rz-artist-modal-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
}

.rz-artist-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.rz-artist-modal-close:hover {
  color: #00eaff;
}
