@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Nunito+Sans:wght@400;500;600;700;800&family=Victor+Mono:wght@400;500;600;700&display=swap&subset=cyrillic");

:root {
  --bg: #0a0a0d;
  --bg-soft: #111118;
  --text: #f5f1ff;
  --muted: #cbbadf;
  --purple-1: #8d52ff;
  --purple-2: #ba8dff;
  --gold-1: #f7d67b;
  --gold-2: #c9932c;
  --panel-border: rgba(255, 255, 255, 0.09);
  --glass-blur: 14px;
  --glass-sat: 165%;
  --glass-alpha: 0.14;
  --accent-cyan: #6de7ff;
  --accent-rose: #ff8fd1;
  --accent-violet: #b78bff;
  --drs-font-body: "Victor Mono", "Nunito Sans", "Segoe UI", monospace;
  --drs-font-heading: "Cormorant Garamond", "Victor Mono", serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
  font-family: var(--drs-font-body);
  color: var(--text);
  background: radial-gradient(circle at top right, #25153a, var(--bg) 40%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 10%, transparent 80%);
  z-index: 1;
}

.background-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 28%, rgba(145, 82, 255, 0.32), transparent 40%),
    radial-gradient(circle at 82% 15%, rgba(247, 214, 123, 0.25), transparent 34%);
}

.site-video-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.32;
  filter: saturate(1.2) contrast(1.05) brightness(0.62);
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 18px 38px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  contain: none;
  isolation: isolate;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.site-header,
.topbar,
.main-nav,
.menu-toggle {
  position: relative;
}

.ticker-wrap {
  overflow: hidden;
  border: 1px solid rgba(183, 139, 255, 0.35);
  border-radius: 12px;
  padding: 0;
  margin-bottom: 10px;
  background: linear-gradient(
    130deg,
    rgba(36, 20, 58, 0.88),
    rgba(28, 16, 45, 0.9)
  );
  display: grid;
  grid-template-columns: minmax(190px, 250px) 1fr;
  align-items: center;
  /* keep stable on scroll: avoid backdrop blur on sticky ticker */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22),
    0 12px 26px rgba(10, 4, 18, 0.5);
  transform: translateZ(0);
  will-change: transform;
  isolation: isolate;
  position: sticky;
  top: 0;
  z-index: 8;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker 370s linear infinite;
  color: var(--gold-1);
  font-size: 0.92rem;
  will-change: transform;
}

.ticker-line {
  display: inline-block;
  padding-right: 3rem;
  white-space: nowrap;
}

.ticker-left {
  min-height: 52px;
  padding: 8px 12px;
  border-right: 1px solid rgba(247, 214, 123, 0.5);
  background: linear-gradient(
    145deg,
    rgba(247, 214, 123, 0.35),
    rgba(190, 140, 40, 0.42)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 245, 212, 0.45);
}

.ticker-city {
  font-weight: 800;
  color: #fff6da;
  line-height: 1.2;
  text-shadow: 0 1px 0 rgba(61, 38, 3, 0.35);
}

.ticker-meta {
  color: #ffe8b8;
  font-size: 0.83rem;
  line-height: 1.2;
  font-weight: 600;
}

.ticker-news {
  min-width: 0;
  overflow: hidden;
  position: relative;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 18px 14px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.2px;
}

body[data-page="home"] .brand #brandName {
  background: linear-gradient(120deg, #f7d67b, #c79dff, #f7d67b);
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shift 8s ease infinite;
}

.brand-logo {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 10px rgba(186, 141, 255, 0.45));
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 8px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(18, 18, 26, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transform-origin: top right;
  transition: opacity 0.25s ease, transform 0.25s ease, max-height 0.28s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  overflow: visible;
}

.topbar {
  overflow: visible;
}

.nav-group {
  position: relative;
  display: inline-flex;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 26, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.nav-submenu a {
  display: block;
  width: 100%;
  margin: 2px 0;
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body[data-page="home"] .main-nav {
  background: rgba(24, 16, 34, 0.72);
  border: 1px solid rgba(247, 214, 123, 0.22);
  box-shadow: 0 10px 24px rgba(80, 48, 133, 0.2);
}

.main-nav a {
  color: #f5f2ff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: rgba(247, 214, 123, 0.9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a.active,
.main-nav a:hover {
  color: #fff8dc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.main-nav a.active::after,
.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(247, 214, 123, 0.4);
  background: rgba(17, 17, 25, 0.82);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.mobile-nav-scrim {
  display: none;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: #f2e7c3;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(34, 34, 45, 0.88);
  border-color: rgba(247, 214, 123, 0.6);
}

.main-nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid rgba(247, 214, 123, 0.9);
  outline-offset: 2px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.listen-btn,
.primary-btn,
.secondary-btn {
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.listen-btn {
  padding: 10px 18px;
  color: #1a1a1f;
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-1), var(--gold-2));
}

.listen-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  margin-top: 38px;
}

.hero-animated {
  animation: fade-up 0.8s ease;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--gold-1);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.7vw, 3.65rem);
  line-height: 1.1;
  max-width: 900px;
  font-family: var(--drs-font-heading);
}

h2,
h3,
.brand {
  font-family: var(--drs-font-heading);
  letter-spacing: 0.2px;
}

h2 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.hero-description {
  margin-top: 16px;
  max-width: 740px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-pills span {
  border: 1px solid rgba(247, 214, 123, 0.38);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--gold-1);
  background: rgba(0, 0, 0, 0.28);
}

.hero-title-premium {
  background: linear-gradient(120deg, #fff8e1 2%, #f7d67b 34%, #b78bff 66%, #fff8e1 100%);
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shift 9s ease infinite;
  text-shadow: 0 0 24px rgba(183, 139, 255, 0.25);
}

body[data-page="home"] .hero-title-premium {
  font-family: var(--drs-font-heading);
  letter-spacing: 0.4px;
}

.hero-quote {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.04);
  color: #efe5ff;
  max-width: 760px;
  line-height: 1.7;
  font-style: italic;
}

@keyframes title-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  padding: 12px 20px;
  font-weight: 700;
}

.primary-btn {
  color: #161616;
  background: linear-gradient(130deg, var(--gold-1), var(--gold-2));
  box-shadow: 0 8px 24px rgba(201, 147, 44, 0.35);
}

.secondary-btn {
  color: var(--text);
  border: 1px solid rgba(186, 141, 255, 0.48);
  background: rgba(97, 48, 180, 0.18);
}

.player-card {
  margin-top: 34px;
  padding: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(57, 38, 84, 0.34)),
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.24), transparent 46%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

body[data-page="home"] .player-card {
  position: relative;
  transform-style: preserve-3d;
}

body[data-page="home"] .player-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(109, 231, 255, 0.5), rgba(183, 139, 255, 0.4), rgba(247, 214, 123, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.player-highlight {
  box-shadow: 0 16px 42px rgba(141, 82, 255, 0.28);
  position: relative;
  overflow: hidden;
}

.player-highlight::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 80deg, transparent, rgba(186, 141, 255, 0.2), transparent);
  animation: spin-soft 14s linear infinite;
  pointer-events: none;
}

.player-highlight::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  opacity: 0.65;
  pointer-events: none;
}

.player-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.on-air {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 6px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(55, 55, 64, 0.66);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
}

.on-air.live {
  color: #071109;
  background: linear-gradient(110deg, #66f394, #9fffbb);
  border-color: rgba(170, 255, 197, 0.65);
  box-shadow: 0 0 0 1px rgba(170, 255, 197, 0.32), 0 0 20px rgba(102, 243, 148, 0.35);
  animation: live-pulse 1.6s ease-in-out infinite;
}

@keyframes live-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(170, 255, 197, 0.3), 0 0 12px rgba(102, 243, 148, 0.2);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(170, 255, 197, 0.5), 0 0 24px rgba(102, 243, 148, 0.45);
  }
}

.now-track {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
}

.now-track-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.now-track-title,
#currentTrack {
  display: inline-block;
  max-width: 100%;
  font-weight: 700;
  font-size: 1.08rem;
  line-height: 1.35;
  background: linear-gradient(92deg, var(--gold-1) 0%, #fff4cf 45%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease;
}

#currentTrack.is-updating {
  opacity: 0.55;
  animation: none;
}

#currentTrack.is-live {
  animation: track-glow 2.6s ease-in-out infinite;
}

@keyframes track-glow {
  0%,
  100% {
    filter: brightness(1);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.18);
    transform: translateY(-1px);
  }
}

.eq-visual {
  margin-top: 12px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 34px;
  opacity: 0.9;
}

.eq-visual span {
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-1), var(--purple-1));
  animation: eq 0.95s ease-in-out infinite alternate;
}

.eq-visual span:nth-child(2n) {
  animation-duration: 1.2s;
}

.eq-visual span:nth-child(3n) {
  animation-duration: 0.8s;
}

@keyframes eq {
  from {
    height: 7px;
  }
  to {
    height: 30px;
  }
}

@keyframes spin-soft {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.player-card h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}

.player-card p {
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.6;
}

audio {
  width: 100%;
  margin-top: 16px;
  border-radius: 14px;
  background: rgba(16, 16, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px;
  display: none;
}

.persistent-audio {
  display: none !important;
}

.player-status {
  margin-top: 10px;
  font-size: 0.95rem;
}

.glass-player-ui {
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(63, 44, 95, 0.34));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.glass-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(117, 76, 174, 0.45));
  color: #fff8d5;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 20px rgba(22, 12, 36, 0.4);
}

.glass-player-meta {
  min-width: 0;
}

.glass-player-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  color: #f3eaff;
  margin-bottom: 8px;
}

.glass-volume {
  width: 100%;
  accent-color: #b78bff;
}

.features-grid {
  margin-top: 30px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trend-ribbon {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.trend-ribbon span {
  border-radius: 999px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f4e9ff;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(77, 46, 116, 0.2)),
    radial-gradient(circle at 24% 20%, rgba(109, 231, 255, 0.22), transparent 45%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 20px rgba(10, 7, 18, 0.3);
}

.page-content {
  margin-top: 28px;
}

.page-content h1 {
  margin-bottom: 18px;
}

.content-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, var(--glass-alpha)), rgba(43, 28, 66, 0.22));
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(0, 0, 0, 0.3);
}

.home-flow {
  margin-top: 16px;
  display: grid;
  gap: 22px;
  position: relative;
  padding: 10px 0 8px;
}

.home-flow::before {
  content: none;
}

body[data-page="home"] .home-flow .content-card {
  margin-bottom: 0;
  border-radius: 24px;
  border-color: rgba(228, 207, 255, 0.26);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(52, 30, 82, 0.22)),
    radial-gradient(circle at 84% 20%, rgba(109, 231, 255, 0.08), transparent 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 14px 36px rgba(9, 4, 16, 0.34);
  animation: home-card-in 0.68s ease both;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  background-size: 100% 100%, 120% 120%;
  isolation: isolate;
}

body[data-page="home"] .home-flow .content-card::after {
  content: none;
}

body[data-page="home"] .home-flow section {
  position: relative;
  margin-left: 0;
}

body[data-page="home"] .home-flow section::before {
  content: none;
}

body[data-page="home"] .home-flow section:nth-child(2n) {
  margin-left: 0;
}

body[data-page="home"] .home-flow section:nth-child(2n)::before {
  content: none;
}

body[data-page="home"] .home-flow section:nth-child(odd) .content-card {
  transform: translateX(8px);
}

body[data-page="home"] .home-flow section:nth-child(even) .content-card {
  transform: translateX(-8px);
}

body[data-page="home"] .home-flow section:nth-child(1) .content-card {
  animation-delay: 0.04s;
}

body[data-page="home"] .home-flow section:nth-child(2) .content-card {
  animation-delay: 0.1s;
}

body[data-page="home"] .home-flow section:nth-child(3) .content-card {
  animation-delay: 0.16s;
}

body[data-page="home"] .home-flow section:nth-child(4) .content-card {
  animation-delay: 0.22s;
}

body[data-page="home"] .home-flow section:nth-child(5) .content-card {
  animation-delay: 0.28s;
}

body[data-page="home"] .home-flow section:nth-child(6) .content-card {
  animation-delay: 0.34s;
}

body[data-page="home"] .home-flow .content-card:hover {
  border-color: rgba(247, 214, 123, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 15px 32px rgba(15, 8, 26, 0.35);
}

@keyframes home-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.content-card:hover {
  border-color: rgba(247, 214, 123, 0.4);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.24);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  text-decoration: none;
  color: #f3ecff;
  border-bottom: 1px solid rgba(247, 214, 123, 0.35);
  padding: 6px 0;
  background: transparent;
}

.quick-links a:hover {
  color: #fffbe7;
  border-bottom-color: rgba(247, 214, 123, 0.7);
}

.radio-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.radio-mini-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.radio-mini-card:hover {
  border-color: rgba(247, 214, 123, 0.42);
  background: rgba(255, 255, 255, 0.07);
}

.radio-mini-card h3 {
  margin: 0 0 6px;
}

.radio-mini-card p {
  margin: 0;
  color: var(--muted);
}

.radio-mini-card a {
  margin-top: 8px;
  display: inline-block;
  color: #fff2c8;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 214, 123, 0.45);
}

.content-card-featured {
  position: relative;
}

.mini-cta-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-cta-row .secondary-btn {
  padding: 9px 14px;
  font-size: 0.88rem;
}

.listen-methods {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.listen-methods div {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 5px;
}

.listen-methods-steps div {
  position: relative;
  overflow: hidden;
}

.listen-methods-steps div::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 231, 255, 0.2), transparent 68%);
  pointer-events: none;
}

.listen-methods-steps strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.step-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(130deg, rgba(247, 214, 123, 0.9), rgba(201, 147, 44, 0.85));
  color: #1e1605;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.listen-methods strong {
  color: #ffe9a8;
}

.schedule-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.content-card-deep {
  position: relative;
  overflow: hidden;
}

.content-card-deep::before {
  content: "";
  position: absolute;
  inset: auto auto -65px -75px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 231, 255, 0.16), transparent 68%);
  pointer-events: none;
}

.schedule-grid div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.schedule-grid strong {
  color: var(--gold-1);
}

.pulse-line {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  opacity: 0.9;
}

.pulse-line span {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(109, 231, 255, 0.7), rgba(183, 139, 255, 0.9));
  animation: pulse-glow 1.7s ease-in-out infinite;
}

.pulse-line span:nth-child(2) {
  animation-delay: 0.16s;
}

.pulse-line span:nth-child(3) {
  animation-delay: 0.32s;
}

.pulse-line span:nth-child(4) {
  animation-delay: 0.48s;
}

.pulse-line span:nth-child(5) {
  animation-delay: 0.64s;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scaleX(0.88);
    opacity: 0.55;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.info-toggle {
  margin-top: 10px;
  border: 1px solid rgba(247, 214, 123, 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  padding: 8px 10px;
}

.info-toggle summary {
  cursor: pointer;
  color: #f3dc9a;
  font-weight: 600;
}

.vote-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.cards-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.cards-grid-spotlight {
  margin-top: 2px;
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -48px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 139, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.spotlight-card-accent {
  border-color: rgba(247, 214, 123, 0.45);
  background:
    linear-gradient(145deg, rgba(247, 214, 123, 0.12), rgba(43, 28, 66, 0.25)),
    linear-gradient(145deg, rgba(255, 255, 255, var(--glass-alpha)), rgba(43, 28, 66, 0.22));
}

.section-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(247, 214, 123, 0.4);
  color: #ffe6a4;
  background: rgba(247, 214, 123, 0.12);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 10px;
  margin-bottom: 10px;
}

.partner-strip-card {
  overflow: hidden;
}

.partner-strip-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.partner-strip-head a {
  color: #ffe7a8;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 214, 123, 0.45);
}

.partner-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.partner-strip span {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  padding: 11px 10px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ece1ff;
}

.trend-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.trend-card {
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(44, 24, 72, 0.24));
  box-shadow:
    inset -2px -2px 10px rgba(0, 0, 0, 0.22),
    inset 2px 2px 10px rgba(255, 255, 255, 0.06);
}

.trend-meta {
  margin: 0 0 8px;
  font-size: 0.75rem;
  letter-spacing: 0.6px;
  color: #dbc8ff;
}

.trend-card h3 {
  margin: 0 0 8px;
}

.trend-card p {
  margin: 0;
}

.trend-card a {
  display: inline-block;
  margin-top: 10px;
  color: #fff0c2;
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 214, 123, 0.45);
}

.category-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-cloud span {
  border-radius: 999px;
  border: 1px solid rgba(183, 139, 255, 0.46);
  background: rgba(104, 62, 167, 0.2);
  color: #f2e9ff;
  padding: 8px 13px;
  font-size: 0.84rem;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.category-cloud span:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 231, 255, 0.6);
  background: rgba(109, 231, 255, 0.18);
}

.host-feature {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.15fr 0.85fr;
}

.host-card,
.subscribe-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.host-name {
  margin: 0 0 10px;
  color: #ffe8b1;
  font-weight: 700;
}

.host-card blockquote {
  margin: 0;
  border-left: 3px solid rgba(109, 231, 255, 0.7);
  padding-left: 12px;
  color: #f0e7ff;
  line-height: 1.7;
}

.host-card blockquote::before {
  content: "“";
  margin-right: 6px;
  color: #f7d67b;
}

.subscribe-card h3 {
  margin-top: 0;
}

.simple-list {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  text-decoration: none;
  color: #f2edff;
  padding: 8px 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.greetings-form {
  display: grid;
  gap: 10px;
}

.greetings-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.greetings-form input,
.greetings-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  padding: 10px;
  font: inherit;
}

.form-note {
  color: var(--gold-1);
}

.form-note:empty {
  display: none;
}

.form-captcha {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
}

.form-captcha-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-captcha .captcha-question {
  color: var(--gold-1);
}

.chat-unread-badge {
  margin-left: auto;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #ff5f87;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.chat-unread-badge.hidden {
  display: none;
}

.chat-inbox-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.75rem;
  max-height: min(70vh, 720px);
  overflow: auto;
  padding-right: 0.25rem;
}

.chat-item {
  border-radius: 14px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.85rem 0.95rem;
}

.chat-item.is-unread {
  border-color: rgba(247, 214, 123, 0.45);
  box-shadow: 0 0 0 1px rgba(247, 214, 123, 0.12);
}

.chat-item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.chat-item-type {
  color: var(--gold-1);
  font-weight: 700;
}

.chat-mail-tag {
  color: #7fffd4;
  font-size: 0.78rem;
}

.chat-item-body {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.chat-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
}

.geo-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.geo-emblem {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-title-with-emblem {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-emblem {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.admin-helper {
  margin: 0 0 12px;
  color: #d9c9ee;
}

.hidden {
  display: none !important;
}

.admin-body {
  background: #121212;
  color: #e9e9e9;
}

.admin-body .site-video-bg {
  opacity: 0.22;
  filter: saturate(1.05) contrast(1.03) brightness(0.45);
}

.admin-shell {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 50px;
}

.admin-login,
.admin-panel {
  background: #1b1b1b;
  border: 1px solid #333;
  border-radius: 12px;
  padding: 18px;
}

.admin-login input,
.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  width: 100%;
  margin-top: 6px;
  margin-bottom: 10px;
  background: #101010;
  border: 1px solid #3b3b3b;
  color: #f4f4f4;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}

.admin-panel label {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
}

.admin-panel h4 {
  margin: 16px 0 8px;
  color: #f7d67b;
  font-size: 0.95rem;
}

.admin-builder {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-sidebar {
  border: 1px solid #2f2f2f;
  border-radius: 12px;
  background: #161616;
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
  position: sticky;
  top: 16px;
  max-height: calc(100vh - 100px);
  overflow: auto;
}

.admin-group-title {
  margin: 8px 4px 2px;
  color: #f7d67b;
  font-size: 0.75rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  font-weight: 700;
}

.admin-nav-item {
  width: 100%;
  border: 1px solid #333;
  border-radius: 10px;
  background: #1f1f1f;
  color: #f2f2f2;
  padding: 10px 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font: inherit;
}

.admin-nav-item:hover {
  border-color: #7d6b45;
  background: #252525;
}

.admin-nav-item.active {
  background: linear-gradient(120deg, #a37e35, #d8b968);
  color: #111;
  border-color: transparent;
  font-weight: 700;
}

.admin-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.admin-switch {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.admin-switch input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.file-btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.logo-preview-wrap {
  margin: 6px 0 8px;
}

.logo-preview {
  width: 84px;
  height: 84px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.25);
  padding: 6px;
}

.admin-content {
  min-width: 0;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.charts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.charts-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.charts-list li:hover {
  background: rgba(141, 82, 255, 0.22);
}

.news-date {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-1);
  font-size: 0.85rem;
}

.news-table-card {
  padding: 0;
  overflow: hidden;
}

.news-portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.news-portal-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
}

.news-portal-media {
  min-height: 130px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-portal-media img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
}

.news-portal-body {
  padding: 12px 12px 12px 0;
}

.news-portal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.news-source-badge {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff3cc;
  background: rgba(247, 214, 123, 0.18);
  border: 1px solid rgba(247, 214, 123, 0.45);
  border-radius: 999px;
  padding: 3px 8px;
}

.news-col-date {
  width: 120px;
  white-space: nowrap;
  color: #f4dc9d;
  font-weight: 700;
  font-size: 0.9rem;
}

.news-col-image {
  width: 140px;
}

.news-col-image img {
  width: 120px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
}

.news-no-image {
  color: var(--muted);
}

.news-col-text h3 {
  margin: 0 0 6px;
}

.news-col-text p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .news-portal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .news-portal-item {
    grid-template-columns: 1fr;
  }

  .news-portal-body {
    padding: 12px;
  }
}

.social-audio-list {
  display: grid;
  gap: 8px;
}

.social-audio-featured {
  display: grid;
  gap: 8px;
}

.social-audio-spoiler {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
}

.social-audio-spoiler summary {
  cursor: pointer;
  list-style: none;
  color: #f7d67b;
  font-weight: 700;
  font-size: 0.86rem;
}

.social-audio-spoiler summary::-webkit-details-marker {
  display: none;
}

.social-audio-scroll {
  margin-top: 8px;
  max-height: 360px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 2px;
}

.social-audio-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 8px 10px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(42, 26, 64, 0.25));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-audio-title {
  margin: 0 0 6px;
  color: #f7d67b;
  font-weight: 700;
  font-size: 0.82rem;
}

.social-audio-player {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 8px;
}

.social-audio-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  color: #fff6da;
  background: linear-gradient(140deg, rgba(183, 139, 255, 0.55), rgba(109, 231, 255, 0.35));
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.social-audio-player.is-playing .social-audio-btn {
  border-color: rgba(247, 214, 123, 0.75);
  box-shadow: 0 0 0 1px rgba(247, 214, 123, 0.3), 0 0 16px rgba(247, 214, 123, 0.25);
}

.social-audio-track-wrap {
  min-width: 0;
}

.social-audio-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: #d7c6ef;
  margin-bottom: 4px;
}

.social-audio-range {
  width: 100%;
  margin: 0;
  accent-color: #b78bff;
}

.social-audio-player audio {
  display: none;
}

.features-grid article {
  background: linear-gradient(135deg, rgba(141, 82, 255, 0.18), rgba(0, 0, 0, 0.55));
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 18px;
}

.features-grid h3 {
  margin: 0;
  color: var(--gold-1);
}

.features-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  margin-top: 36px;
  padding: 20px;
  border-top: 1px solid var(--panel-border);
  color: #dfd2ee;
  font-size: 0.93rem;
  line-height: 1.7;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(29, 20, 40, 0.45));
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Liquid Glass hierarchy levels */
.site-header .main-nav {
  background: rgba(20, 20, 28, 0.68);
}

.content-card {
  border-color: color-mix(in srgb, var(--accent-violet) 35%, rgba(255, 255, 255, 0.2));
}

.player-card {
  border-color: color-mix(in srgb, var(--accent-cyan) 35%, rgba(255, 255, 255, 0.22));
}

.player-head h2 {
  background: linear-gradient(115deg, #fff6da, var(--accent-cyan), var(--accent-rose));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rich-content {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rich-content img {
  max-width: 100%;
  border-radius: 10px;
}

.rich-content video,
.rich-content iframe {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.35);
}

.rich-content audio {
  width: 100%;
  margin: 6px 0 12px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.visual-editor {
  min-height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0;
  background: rgba(9, 9, 12, 0.5);
}

.visual-editor[data-mode="html"] {
  font-family: Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  background: rgba(7, 7, 10, 0.68);
}

.visual-editor img {
  max-width: 100%;
  border-radius: 8px;
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow {
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.ql-toolbar.ql-snow {
  border-radius: 10px 10px 0 0;
  background: rgba(15, 15, 20, 0.6);
}

.ql-container.ql-snow {
  border-radius: 0 0 10px 10px;
  background: rgba(9, 9, 12, 0.5);
}

.ql-editor {
  min-height: 140px;
  color: #f5efff;
}

.site-footer p {
  margin: 0 0 10px;
}

.footer-disclaimer {
  font-size: 0.76rem;
  opacity: 0.85;
  line-height: 1.45;
}

.footer-coop-link {
  margin: 8px 0 10px;
}

.footer-coop-link a {
  color: #fff6d9;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 246, 217, 0.55);
  font-weight: 700;
}

.footer-coop-link a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.footer-support-banner {
  margin: 10px 0 12px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
}

.footer-support-banner img {
  width: min(100%, 360px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.footer-support-banner span {
  color: #fff6d9;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.footer-support-banner:hover span {
  color: #ffffff;
}

.footer-socials {
  margin: 10px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-socials a {
  text-decoration: none;
  color: #f2ecff;
  padding: 8px 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-socials a:hover {
  color: #fffbe5;
  border-bottom-color: rgba(247, 214, 123, 0.72);
}

.social-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(183, 139, 255, 0.55), rgba(109, 231, 255, 0.45));
  color: #111;
  font-size: 0.78rem;
  font-weight: 800;
}

.write-us-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  text-decoration: none;
  color: #171717;
  background: linear-gradient(120deg, #f7d67b, #c9932c);
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  animation: fab-breathe 2.2s ease-in-out infinite;
}

@keyframes fab-breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.site-footer .copyright {
  margin-bottom: 0;
  color: var(--gold-1);
  font-weight: 600;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 14px 30px;
  }

  .ticker-track {
    animation-duration: 470s;
  }

  .ticker-wrap {
    grid-template-columns: 160px 1fr;
  }

  .ticker-left {
    border-right: 1px solid rgba(247, 214, 123, 0.28);
    border-bottom: 0;
    min-height: 46px;
    padding: 6px 8px;
  }

  .ticker-track {
    font-size: 0.82rem;
  }

  .player-card,
  .site-footer,
  .content-card {
    padding: 16px;
  }

  .menu-toggle {
    display: inline-flex;
    position: fixed;
    top: 14px;
    right: 12px;
    z-index: 90;
  }

  .main-nav {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    max-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding:
      max(74px, env(safe-area-inset-top, 0px) + 18px)
      max(16px, env(safe-area-inset-right, 0px) + 10px)
      max(16px, env(safe-area-inset-bottom, 0px) + 20px)
      max(16px, env(safe-area-inset-left, 0px) + 10px);
    border-width: 0;
    z-index: 80;
    position: fixed;
    inset: 0;
    opacity: 1;
    transform: translateX(105%);
    background:
      linear-gradient(155deg, rgba(22, 18, 34, 0.96), rgba(30, 22, 45, 0.96)),
      radial-gradient(circle at 20% 10%, rgba(183, 139, 255, 0.24), transparent 34%);
    pointer-events: none;
    transition: transform 0.26s ease;
  }

  .nav-group {
    display: block;
  }

  .nav-submenu {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 0 12px;
  }

  .main-nav.is-open {
    transform: translateX(0);
    z-index: 80;
    pointer-events: auto;
  }

  .main-nav a {
    text-align: left;
    font-size: 1.05rem;
    padding: 14px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 79;
    background: rgba(8, 6, 14, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: none;
  }

  .topbar {
    position: relative;
    z-index: 81;
  }

  .site-header {
    z-index: 81;
    overflow: visible;
  }

  body.nav-open::before,
  body.nav-open .background-glow {
    opacity: 0;
  }

  body.nav-open .ticker-wrap {
    display: none;
  }

  .glass-player-ui {
    grid-template-columns: 1fr;
  }

  .glass-play-btn {
    width: 100%;
    height: 46px;
    border-radius: 12px;
  }

  .write-us-fab {
    right: 12px;
    bottom: 12px;
    padding: 11px 14px;
    font-size: 0.92rem;
  }

  .host-feature {
    grid-template-columns: 1fr;
  }

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

  .home-flow {
    gap: 12px;
    padding-top: 4px;
  }

  body[data-page="home"] .home-flow section:nth-child(odd) .content-card,
  body[data-page="home"] .home-flow section:nth-child(even) .content-card {
    transform: none;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .hero-animated,
  .player-highlight::after,
  .eq-visual span,
  .pulse-line span,
  body[data-page="home"] .home-flow .content-card,
  .on-air.live {
    animation: none !important;
  }

  body[data-page="home"] .home-flow .content-card {
    transition: none !important;
  }
}

@supports ((backdrop-filter: url(#drsDisplacementFilter) blur(2px)) or (-webkit-backdrop-filter: url(#drsDisplacementFilter) blur(2px))) {
  /* Keep ticker stable: no displacement here to prevent scroll flicker */
  body:not(.liquid-off) .main-nav,
  body:not(.liquid-off) .content-card,
  body:not(.liquid-off) .player-card,
  body:not(.liquid-off) .site-footer {
    backdrop-filter: url(#drsDisplacementFilter) blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: url(#drsDisplacementFilter) blur(var(--glass-blur)) saturate(var(--glass-sat));
  }
}

body.liquid-off .ticker-wrap,
body.liquid-off .main-nav,
body.liquid-off .content-card,
body.liquid-off .player-card,
body.liquid-off .site-footer {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* header/ticker never use heavy glass filters to avoid sticky flicker */
.site-header,
.ticker-wrap {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-liquid-level="low"] {
  --glass-blur: 8px;
  --glass-sat: 125%;
  --glass-alpha: 0.09;
}

body[data-liquid-level="medium"] {
  --glass-blur: 14px;
  --glass-sat: 165%;
  --glass-alpha: 0.14;
}

body[data-liquid-level="high"] {
  --glass-blur: 20px;
  --glass-sat: 190%;
  --glass-alpha: 0.2;
}
