/* ================================================================
   RADYO MODA 102.5 — V2.7 HOME PAGE REDESIGN
   Namespace: .rm-v27 (no conflicts with v25/v26 classes)
   Design: Tutku FM inspired unified portal — cinematic dark radio
   ================================================================ */

/* ── Google Fonts DM Sans ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800;900&display=swap');

/* ── V2.7 Design Tokens ───────────────────────────────── */
.rm-v27 {
  --rm-bg-page:       #050b16;
  --rm-bg-deep:       #020710;
  --rm-bg-portal:     #09121f;
  --rm-bg-card:       #0d1a2e;
  --rm-bg-player:     #0f1e34;
  --rm-red:           #c8102e;
  --rm-red-deep:      #8f0d22;
  --rm-red-glow:      rgba(200, 16, 46, 0.25);
  --rm-blue:          #1a4b8a;
  --rm-blue-light:    #2d6bc4;
  --rm-accent-gold:   #d4a017;
  --rm-border:        rgba(200, 16, 46, 0.25);
  --rm-border-subtle: rgba(255, 255, 255, 0.07);
  --rm-text-white:    #f0f4f8;
  --rm-text-muted:    #7a92ab;
  --rm-text-dim:      #4a607a;
  --rm-shadow-red:    0 0 40px rgba(200, 16, 46, 0.15);
  --rm-radius:        16px;
  --rm-font:          'DM Sans', 'Manrope', system-ui, sans-serif;

  font-family: var(--rm-font);
  background: var(--rm-bg-page);
  color: var(--rm-text-white);
}

/* ── Reset scoped to rm-v27 ─────────────────────────────── */
.rm-v27 *, .rm-v27 *::before, .rm-v27 *::after {
  box-sizing: border-box;
}

/* ================================================================
   TOPBAR — Slim info strip
   ================================================================ */
.rm-v27 .rm-topbar {
  background: #020810;
  border-bottom: 1px solid var(--rm-border-subtle);
  padding: 0.45rem 1.5rem;
  font-size: 0.78rem;
  color: var(--rm-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.rm-v27 .rm-topbar-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}
.rm-v27 .rm-topbar-loc .rm-dot {
  width: 6px; height: 6px;
  background: var(--rm-red);
  border-radius: 50%;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}
.rm-v27 .rm-topbar-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.rm-v27 .rm-topbar-social a {
  color: var(--rm-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
}
.rm-v27 .rm-topbar-social a:hover { color: var(--rm-text-white); background: rgba(255,255,255,0.06); }

/* ================================================================
   HEADER — Brand Identity Area
   ================================================================ */
.rm-v27 .rm-header {
  background: linear-gradient(180deg, #040a18 0%, #070f20 60%, #0a1424 100%);
  border-bottom: 2px solid var(--rm-red-deep);
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rm-v27 .rm-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 110%, rgba(143, 13, 34, 0.28) 0%, transparent 70%);
  pointer-events: none;
}
.rm-v27 .rm-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
.rm-v27 .rm-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.rm-v27 .rm-logo-wrap img {
  width: clamp(180px, 22vw, 310px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(200,16,46,0.4));
}
.rm-v27 .rm-brand-titles {
  margin-top: 0.2rem;
}
.rm-v27 .rm-brand-tagline {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  color: var(--rm-text-white);
  letter-spacing: 0.04em;
}
.rm-v27 .rm-brand-sub {
  font-size: clamp(0.7rem, 1.2vw, 0.82rem);
  color: var(--rm-red);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Sound Waves (Left / Right) */
.rm-v27 .rm-soundwaves {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 56px;
}
.rm-v27 .rm-soundwaves span {
  display: block;
  width: 5px;
  background: var(--rm-red);
  border-radius: 3px;
  animation: rm-wave 1.4s ease-in-out infinite;
}
.rm-v27 .rm-soundwaves.left span:nth-child(1) { height: 20px; animation-delay: 0s; }
.rm-v27 .rm-soundwaves.left span:nth-child(2) { height: 38px; animation-delay: 0.15s; }
.rm-v27 .rm-soundwaves.left span:nth-child(3) { height: 52px; animation-delay: 0.3s; background: var(--rm-blue-light); }
.rm-v27 .rm-soundwaves.left span:nth-child(4) { height: 32px; animation-delay: 0.45s; }
.rm-v27 .rm-soundwaves.left span:nth-child(5) { height: 16px; animation-delay: 0.6s; }
.rm-v27 .rm-soundwaves.right span:nth-child(1) { height: 16px; animation-delay: 0.6s; }
.rm-v27 .rm-soundwaves.right span:nth-child(2) { height: 32px; animation-delay: 0.45s; }
.rm-v27 .rm-soundwaves.right span:nth-child(3) { height: 52px; animation-delay: 0.3s; background: var(--rm-blue-light); }
.rm-v27 .rm-soundwaves.right span:nth-child(4) { height: 38px; animation-delay: 0.15s; }
.rm-v27 .rm-soundwaves.right span:nth-child(5) { height: 20px; animation-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
  .rm-v27 .rm-soundwaves span { animation: none; height: 30px; }
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.rm-v27 .rm-nav {
  background: linear-gradient(90deg, #8f0d22 0%, #c8102e 40%, #8f0d22 100%);
  border-bottom: 2px solid rgba(0,0,0,0.4);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.rm-v27 .rm-nav-inner {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rm-v27 .rm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.rm-v27 .rm-menu li a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  border-bottom: 3px solid transparent;
}
.rm-v27 .rm-menu li a:hover,
.rm-v27 .rm-menu li a.active {
  background: rgba(0,0,0,0.22);
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.7);
}
.rm-v27 .rm-menu li a.rm-player-link {
  background: rgba(255,255,255,0.12);
  border-radius: 6px;
  margin: 0.3rem 0.4rem;
  padding: 0.45rem 0.9rem;
  border-bottom: none;
  font-size: 0.75rem;
}
.rm-v27 .rm-menu li a.rm-player-link:hover {
  background: rgba(255,255,255,0.22);
  border-bottom: none;
}
/* Hamburger */
.rm-v27 .rm-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.rm-v27 .rm-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ================================================================
   PORTAL WRAPPER — Full page layout
   ================================================================ */
.rm-v27 .rm-portal-outer {
  background: linear-gradient(180deg, var(--rm-bg-page) 0%, #040d1a 100%);
  padding: 1.5rem 0 0;
  min-height: 100vh;
}
.rm-v27 .rm-portal-layout {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 0;
  align-items: start;
}

/* ================================================================
   SIDE ORNAMENTS
   ================================================================ */
.rm-v27 .rm-ornament {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Vinyl Record */
.rm-v27 .rm-vinyl {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    #1a1a2e 0%, #111 25%, #1e1e1e 40%, #111 55%, #222 70%, #111 85%, #0a0a0a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 20px rgba(200,16,46,0.2);
  animation: rm-vinyl-spin 6s linear infinite;
}
.rm-v27 .rm-vinyl::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.rm-v27 .rm-vinyl-center {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #c8102e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.rm-v27 .rm-vinyl-center img {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

/* Speaker */
.rm-v27 .rm-speaker {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, #2a2a2a, #111);
  border: 3px solid #222;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(200,16,46,0.15), inset 0 0 8px rgba(0,0,0,0.5);
  animation: rm-speaker-pulse 3s ease-in-out infinite;
}
.rm-v27 .rm-speaker-cone {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #444, #111);
  border: 2px solid #333;
}

/* EQ Bars */
.rm-v27 .rm-side-eq {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}
.rm-v27 .rm-side-eq span {
  width: 7px;
  background: linear-gradient(to top, var(--rm-red), #ff6b6b);
  border-radius: 3px 3px 0 0;
  transition: height 0.1s;
}
.rm-v27 .rm-side-eq.playing span:nth-child(1) { animation: rm-eq-bar1 0.8s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(2) { animation: rm-eq-bar2 0.6s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(3) { animation: rm-eq-bar3 0.9s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(4) { animation: rm-eq-bar4 0.7s ease-in-out infinite; }
.rm-v27 .rm-side-eq.playing span:nth-child(5) { animation: rm-eq-bar5 0.85s ease-in-out infinite; }
.rm-v27 .rm-side-eq:not(.playing) span { height: 8px; }

/* Studio Lights */
.rm-v27 .rm-studio-light {
  width: 60px; height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--rm-red), transparent);
  animation: rm-light-blink 2.4s ease-in-out infinite;
  opacity: 0.6;
}

/* ================================================================
   PORTAL FRAME (center column)
   ================================================================ */
.rm-v27 .rm-portal-frame {
  background: var(--rm-bg-portal);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  overflow: hidden;
  box-shadow: var(--rm-shadow-red), 0 20px 60px rgba(0,0,0,0.6);
}

/* ================================================================
   BANNER — Cinematic broadcast hero
   ================================================================ */
.rm-v27 .rm-banner {
  position: relative;
  background: linear-gradient(135deg,
    #020810 0%,
    #0a1525 20%,
    #12203d 40%,
    #1a0a12 60%,
    #300615 80%,
    #1a0a18 100%);
  overflow: hidden;
  aspect-ratio: 2.5 / 1;
  min-height: 220px;
  max-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Animated radial glow layers */
.rm-v27 .rm-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 15% 50%, rgba(200,16,46,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(26,75,138,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(200,16,46,0.12) 0%, transparent 60%);
  pointer-events: none;
}
/* Soundwave decoration lines */
.rm-v27 .rm-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 3px,
    rgba(200,16,46,0.04) 3px,
    rgba(200,16,46,0.04) 4px
  );
  pointer-events: none;
}
.rm-v27 .rm-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.rm-v27 .rm-banner-logo {
  width: clamp(80px, 12vw, 140px);
  height: auto;
  filter: drop-shadow(0 0 20px rgba(200,16,46,0.5));
  animation: rm-logo-float 4s ease-in-out infinite;
}
.rm-v27 .rm-banner-title {
  font-family: 'Manrope', var(--rm-font);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(200,16,46,0.6), 0 2px 12px rgba(0,0,0,0.8);
  line-height: 1.1;
}
.rm-v27 .rm-banner-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--rm-red);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(200,16,46,0.5);
}
.rm-v27 .rm-banner-genres {
  font-size: clamp(0.7rem, 1.2vw, 0.88rem);
  color: var(--rm-text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
}
/* Banner mic + headphone SVG decorations */
.rm-v27 .rm-banner-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
}
.rm-v27 .rm-banner-decor.left {
  left: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(4rem, 10vw, 8rem);
  animation: rm-decor-float 5s ease-in-out infinite;
}
.rm-v27 .rm-banner-decor.right {
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(4rem, 10vw, 7rem);
  animation: rm-decor-float 5s ease-in-out infinite reverse;
}
/* Horizontal EQ waveform */
.rm-v27 .rm-banner-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  opacity: 0.7;
}
.rm-v27 .rm-banner-eq span {
  width: 4px;
  background: var(--rm-red);
  border-radius: 2px;
  animation: rm-wave 1.2s ease-in-out infinite;
}
.rm-v27 .rm-banner-eq span:nth-child(even) { background: var(--rm-blue-light); animation-delay: 0.2s; }
.rm-v27 .rm-banner-eq span:nth-child(3n) { animation-delay: 0.4s; height: 100%; }
.rm-v27 .rm-banner-eq span:nth-child(5n) { animation-delay: 0.6s; }

/* ── V2.9 PNG Hero Banner ────────────────────────────── */
.rm-v27 .rm-banner-v29 {
  position: relative;
  aspect-ratio: 2.5 / 1;
  min-height: 220px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
}
.rm-v27 .rm-banner-v29-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
/* Dark gradient overlay — readability + vignette */
.rm-v27 .rm-banner-v29-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 11, 22, 0.15) 0%,
      rgba(5, 11, 22, 0.0)  30%,
      rgba(5, 11, 22, 0.0)  55%,
      rgba(5, 11, 22, 0.72) 100%),
    radial-gradient(ellipse 60% 50% at 0% 50%,   rgba(5,11,22,0.35) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(5,11,22,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
/* Red/blue subtle glow overlay */
.rm-v27 .rm-banner-v29-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(200,16,46,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 90% 70%, rgba(26,75,138,0.10) 0%, transparent 55%);
  pointer-events: none;
}
/* Content overlaid via absolute pos */
.rm-v27 .rm-banner-v29-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding: 1.2rem 2rem;
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
/* Mobile: keep banner proportional, move content below */
@media (max-width: 640px) {
  .rm-v27 .rm-banner-v29 {
    aspect-ratio: 2 / 1;
    min-height: 160px;
    max-height: 220px;
  }
  .rm-v27 .rm-banner-v29-img {
    object-position: center 15%;
  }
  .rm-v27 .rm-banner-v29-content {
    padding: 0.6rem 1rem;
  }
  .rm-v27 .rm-banner-logo { width: 60px; }
  .rm-v27 .rm-banner-title { font-size: 1.1rem; }
  .rm-v27 .rm-banner-subtitle { font-size: 0.75rem; }
  .rm-v27 .rm-banner-genres { display: none; }
}


/* ================================================================
   PLAYER BAR
   ================================================================ */
.rm-v27 .rm-player-bar {
  background: linear-gradient(90deg, #0b1929 0%, #0f1e34 50%, #0b1929 100%);
  border-top: 1px solid var(--rm-border);
  border-bottom: 1px solid var(--rm-border-subtle);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.rm-v27 .rm-player-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.rm-v27 .rm-player-logo {
  width: 46px; height: 46px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid var(--rm-red-deep);
}
.rm-v27 .rm-player-station {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.rm-v27 .rm-player-program {
  font-size: 0.72rem;
  color: var(--rm-text-muted);
  font-weight: 500;
}
.rm-v27 .rm-player-status {
  font-size: 0.7rem;
  color: var(--rm-red);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rm-v27 .rm-live-dot {
  width: 6px; height: 6px;
  background: var(--rm-red);
  border-radius: 50%;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}
.rm-v27 .rm-player-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rm-v27 .rm-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rm-red-deep), var(--rm-red));
  border: none;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 0 20px rgba(200,16,46,0.4);
}
.rm-v27 .rm-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 30px rgba(200,16,46,0.6);
}
.rm-v27 .rm-ctrl-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  color: var(--rm-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.rm-v27 .rm-ctrl-btn:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}
.rm-v27 .rm-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.rm-v27 .rm-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--rm-red);
  cursor: pointer;
}
.rm-v27 .rm-player-extras {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.rm-v27 .rm-special-player-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  background: rgba(200,16,46,0.15);
  border: 1px solid rgba(200,16,46,0.35);
  border-radius: 8px;
  color: var(--rm-red);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s;
  white-space: nowrap;
}
.rm-v27 .rm-special-player-link:hover {
  background: rgba(200,16,46,0.25);
  color: #ff6b6b;
}

/* ================================================================
   PORTAL GRID (News 67% + Schedule 33%)
   ================================================================ */
.rm-v27 .rm-portal-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-top: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-news-col {
  padding: 1.5rem;
  border-right: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-schedule-col {
  padding: 1.25rem 1rem;
  background: rgba(5,11,22,0.4);
}
/* Block header */
.rm-v27 .rm-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-block-header h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rm-v27 .rm-view-all {
  font-size: 0.72rem;
  color: var(--rm-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.rm-v27 .rm-view-all:hover { color: var(--rm-red); }
/* Category tabs */
.rm-v27 .rm-news-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.rm-v27 .rm-tab {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--rm-text-muted);
  transition: all 0.2s;
  letter-spacing: 0.02em;
}
.rm-v27 .rm-tab.active,
.rm-v27 .rm-tab:hover {
  background: var(--rm-red);
  border-color: var(--rm-red);
  color: #fff;
}
/* News grid */
.rm-v27 .rm-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.rm-v27 .rm-news-featured {
  grid-column: 1 / -1;
}
/* Schedule styles */
.rm-v27 .rm-day-tabs {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}
.rm-v27 .rm-day-btn {
  padding: 0.28rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: var(--rm-text-muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.rm-v27 .rm-day-btn.active {
  background: var(--rm-red);
  border-color: var(--rm-red);
  color: #fff;
}
.rm-v27 .rm-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,16,46,0.3) transparent;
}
.rm-v27 .rm-tz-badge {
  font-size: 0.65rem;
  color: var(--rm-text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ================================================================
   GALLERY
   ================================================================ */
.rm-v27 .rm-gallery-section {
  padding: 1.5rem;
  border-top: 1px solid var(--rm-border-subtle);
}
.rm-v27 .rm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}
.rm-v27 .rm-gallery-card {
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  background: var(--rm-bg-card);
}
.rm-v27 .rm-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.25);
}
.rm-v27 .rm-gallery-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.rm-v27 .rm-gallery-card-label {
  padding: 0.4rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rm-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================================================================
   FLOATING BUTTON
   ================================================================ */
.rm-v27 .rm-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: linear-gradient(135deg, var(--rm-red-deep), var(--rm-red));
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(200,16,46,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.rm-v27 .rm-floating-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(200,16,46,0.65);
}
.rm-v27 .rm-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: rm-pulse-dot 1.5s ease-in-out infinite;
}

/* ================================================================
   FOOTER
   ================================================================ */
.rm-v27 .rm-footer {
  background: #020810;
  border-top: 2px solid var(--rm-red-deep);
  color: var(--rm-text-muted);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 0;
}
.rm-v27 .rm-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: start;
}
.rm-v27 .rm-footer-brand img { height: 52px; }
.rm-v27 .rm-footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
}
.rm-v27 .rm-footer-brand small {
  font-size: 0.7rem;
  color: var(--rm-text-dim);
}
.rm-v27 .rm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  align-content: start;
}
.rm-v27 .rm-footer-links a {
  color: var(--rm-text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}
.rm-v27 .rm-footer-links a:hover { color: var(--rm-red); }
.rm-v27 .rm-footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}
.rm-v27 .rm-footer-social a {
  color: var(--rm-text-muted);
  font-size: 1.1rem;
  text-decoration: none;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
}
.rm-v27 .rm-footer-social a:hover {
  background: rgba(200,16,46,0.2);
  color: var(--rm-red);
}
.rm-v27 .rm-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: var(--rm-text-dim);
}
.rm-v27 .rm-footer-copy-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes rm-wave {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
@keyframes rm-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
@keyframes rm-vinyl-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes rm-speaker-pulse {
  0%, 100% { box-shadow: 0 0 16px rgba(200,16,46,0.15), inset 0 0 8px rgba(0,0,0,0.5); }
  50% { box-shadow: 0 0 28px rgba(200,16,46,0.4), inset 0 0 8px rgba(0,0,0,0.5); }
}
@keyframes rm-light-blink {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}
@keyframes rm-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes rm-decor-float {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(calc(-50% - 8px)) scale(1.05); }
}
@keyframes rm-eq-bar1 {
  0%, 100% { height: 10px; } 50% { height: 44px; }
}
@keyframes rm-eq-bar2 {
  0%, 100% { height: 24px; } 50% { height: 14px; }
}
@keyframes rm-eq-bar3 {
  0%, 100% { height: 40px; } 50% { height: 8px; }
}
@keyframes rm-eq-bar4 {
  0%, 100% { height: 18px; } 50% { height: 48px; }
}
@keyframes rm-eq-bar5 {
  0%, 100% { height: 32px; } 50% { height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .rm-v27 .rm-vinyl { animation: none; }
  .rm-v27 .rm-logo-wrap img { animation: none; }
  .rm-v27 .rm-banner-logo { animation: none; }
  .rm-v27 .rm-speaker { animation: none; }
  .rm-v27 .rm-studio-light { animation: none; }
  .rm-v27 .rm-banner-eq span,
  .rm-v27 .rm-soundwaves span { animation: none; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1200px) {
  .rm-v27 .rm-portal-layout {
    grid-template-columns: 1fr;
  }
  .rm-v27 .rm-ornament { display: none; }
}
@media (max-width: 900px) {
  .rm-v27 .rm-portal-grid {
    grid-template-columns: 1fr;
  }
  .rm-v27 .rm-news-col {
    border-right: none;
    border-bottom: 1px solid var(--rm-border-subtle);
  }
  .rm-v27 .rm-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .rm-v27 .rm-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .rm-v27 .rm-footer-social {
    flex-direction: row;
    justify-content: center;
  }
  .rm-v27 .rm-footer-links {
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .rm-v27 .rm-menu { display: none; }
  .rm-v27 .rm-menu.open { display: flex; flex-direction: column; width: 100%; }
  .rm-v27 .rm-hamburger { display: flex; }
  .rm-v27 .rm-nav-inner { flex-direction: column; align-items: stretch; }
  .rm-v27 .rm-soundwaves { display: none; }
  .rm-v27 .rm-brand-row { gap: 0; }
  .rm-v27 .rm-player-bar { flex-direction: column; text-align: center; }
  .rm-v27 .rm-player-extras { justify-content: center; }
  .rm-v27 .rm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-v27 .rm-news-grid { grid-template-columns: 1fr; }
  .rm-v27 .rm-banner { aspect-ratio: unset; min-height: 180px; }
}
@media (max-width: 400px) {
  .rm-v27 .rm-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-v27 .rm-volume-slider { width: 70px; }
  .rm-v27 .rm-floating-btn span:last-child { display: none; }
}
