:root {
  /* Fonts */
  --font: 'Outfit', sans-serif;
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fw-light: 300;
  --fw-reg: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  /* Transitions */
  --t: 0.25s ease;
  --r: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --r-full: 0px;

  /* ── Light Mode (Default) ────────────────────────────────── */
  --bg-0:       #f8fafc;
  --bg-1:       #ffffff;
  --bg-2:       #f1f5f9;
  --bg-3:       #e2e8f0;
  --bg-card:    #ffffff;
  --bg-card-hover: #f8fafc;
  --border:     #e2e8f0;
  --border-hover: #cbd5e1;

  --text-1:     #0f172a;
  --text-2:     #475569;
  --text-3:     #94a3b8;

  --accent:     #6366f1;
  --accent-2:   #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.2);
  --accent-rgb: 99, 102, 241;
  --accent-soft: rgba(99, 102, 241, 0.08);

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --shadow:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:  0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

  --navbar-bg:  rgba(255, 255, 255, 0.85);
  --navbar-border: #e2e8f0;
}

/* ── Dark Mode ────────────────────────────────────────────── */
[data-theme="dark"] {
  --bg-0:       #050508;
  --bg-1:       #0a0a14;
  --bg-2:       #121225;
  --bg-3:       #1a1a35;
  --bg-card:    rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border:     rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --text-1:     #ffffff;
  --text-2:     #cbd5e1;
  --text-3:     #64748b;

  --accent:     #818cf8;
  --accent-2:   #6366f1;
  --accent-glow: rgba(129, 140, 248, 0.3);
  --accent-rgb: 129, 140, 248;
  --accent-soft: rgba(129, 140, 248, 0.12);

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.7);

  --navbar-bg:  rgba(5, 5, 10, 0.7);
  --navbar-border: rgba(255, 255, 255, 0.06);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.5;
  padding-top: 72px;
  transition: background 0.4s ease, color 0.4s ease;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--t); }
button { font: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; width: 100%; position: relative; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 72px; z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--navbar-border);
  display: flex; align-items: center;
}
.navbar-inner {
  width: 100%; max-width: 1300px; margin: 0 auto;
  padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.navbar-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.navbar-logo-img { width: 32px; height: 32px; border-radius: 6px; }
.logo-text span { color: var(--accent); }

.navbar-links { display: flex; gap: 8px; }
.navbar-links-item { padding: 8px 16px; border-radius: var(--r); font-weight: 600; color: var(--text-2); font-size: var(--fs-sm); }
.navbar-links-item:hover, .navbar-links-item.active { color: var(--accent); background: var(--accent-soft); }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); border: 1px solid var(--border);
  transition: var(--t);
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* ── User Menu Dropdown ──────────────────────────────────── */
.user-menu { position: relative; }
.user-avatar-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 12px; border-radius: var(--r-full);
  background: var(--bg-2); border: 1px solid var(--border);
  transition: var(--t);
}
.user-avatar-btn:hover { background: var(--bg-3); border-color: var(--border-hover); }
.user-avatar-btn img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.avatar-placeholder {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

.user-dropdown {
  position: absolute; top: calc(100% + 12px); right: 0;
  width: 220px; background: var(--bg-1);
  border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px; display: none; flex-direction: column;
  z-index: 1001;
}
.user-dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.user-menu:hover .user-dropdown { display: flex; }
.user-dropdown a {
  padding: 10px 16px; border-radius: var(--r);
  font-size: 13px; font-weight: 600; color: var(--text-2);
  display: flex; align-items: center; gap: 10px;
}
.user-dropdown a:hover { background: var(--bg-2); color: var(--accent); }
.user-dropdown .divider { height: 1px; background: var(--border); margin: 6px 0; }

.menu-toggle { display: none; }

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-actions { display: flex; gap: 8px; }
  .user-name-text-nav { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 2px; background: var(--text-1); }
}


/* ── Unified Sharp Grid ── */
.sharp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin: 40px 0;
}
.sharp-card {
  background: var(--bg-1);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  transition: var(--t); text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.sharp-card:hover { background: var(--bg-0); z-index: 2; box-shadow: inset 0 0 0 2px var(--ch-color); }
.sharp-card-cover { width: 100%; aspect-ratio: 16/9; background: var(--bg-2); overflow: hidden; }
.sharp-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.sharp-card:hover img { transform: scale(1.05); }


/* ── Hero Dynamic ── */
.hero-luxury {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-0);
}
.hero-luxury::after {
  content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--accent-soft) 0%, transparent 50%);
  animation: heroRotate 15s linear infinite;
  z-index: 1; pointer-events: none;
}
@keyframes heroRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}
.hero-content { position: relative; z-index: 2; }

.player-page {
  padding-top: 120px;
  padding-bottom: 100px;
  min-height: 100vh;
  position: relative;
}

.ambient-mesh {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1; pointer-events: none; opacity: 0.6;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* ── Waveform ── */
.waveform { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.waveform-bar { flex: 1; background: var(--accent); opacity: 0.2; border-radius: 4px; height: 8px; }
.waveform.playing .waveform-bar { animation: waveDance 1.2s ease-in-out infinite; opacity: 1; }
@keyframes waveDance {
  0%, 100% { height: 8px; }
  50% { height: 100%; }
}

/* ── Voice Area ── */
.voice-bar {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 16px 32px; border-radius: var(--r-lg);
  margin-top: 40px;
}
.btn-voice {
  background: var(--accent); color: #fff;
  padding: 10px 24px; border-radius: var(--r);
  font-weight: 700; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 20px var(--accent-glow);
}
.btn-voice.listening { animation: pulseVoice 1.5s infinite; }
@keyframes pulseVoice {
  0% { box-shadow: 0 0 0 0 var(--accent); }
  70% { box-shadow: 0 0 0 15px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  padding: 80px 0 40px;
  margin-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand p { color: var(--text-3); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-col-title { font-weight: 900; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; color: var(--text-1); margin-bottom: 24px; }
.footer-col a { display: block; color: var(--text-3); font-size: 14px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 60px; padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--text-3); font-weight: 600;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 16px auto 0; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ── Mobile Menu Overlay ── */
.mobile-menu-overlay {
  position: fixed; inset: 0; background: var(--bg-1); z-index: 2000;
  display: flex; flex-direction: column; padding: 40px;
  transform: translateX(100%); transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-menu-close { align-self: flex-end; font-size: 32px; margin-bottom: 40px; }
.mobile-menu-nav { display: flex; flex-direction: column; gap: 24px; }
.mobile-menu-nav a { font-size: 24px; font-weight: 800; }

/* ── Buttons (Sharp) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; font-size: 12px; border-radius: 0 !important;
  transition: var(--t);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 20px var(--accent-glow); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border); color: var(--text-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--border-hover); }

/* ── Admin Dashboard System ── */
.admin-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; 
  padding-top: 100px; padding-bottom: 80px; align-items: start;
}
@media (max-width: 1024px) { .admin-layout { grid-template-columns: 1fr; padding-top: 80px; } }

.admin-sidebar {
  background: var(--bg-1); border: 1px solid var(--border); padding: 32px;
  position: sticky; top: 100px;
}
.admin-sidebar-title {
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px;
  color: var(--text-3); margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.admin-nav-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  font-size: 13px; font-weight: 800; color: var(--text-2); transition: var(--t);
  margin-bottom: 4px;
}
.admin-nav-link:hover, .admin-nav-link.active { background: var(--bg-0); color: var(--accent); border-right: 4px solid var(--accent); }
.admin-nav-link .icon { font-size: 18px; opacity: 0.6; }

.admin-content { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.admin-header { margin-bottom: 16px; }
.admin-title { font-size: 3.5rem; font-weight: 900; letter-spacing: -3px; line-height: 0.9; margin-bottom: 8px; }
.admin-subtitle { color: var(--text-3); font-size: 16px; font-weight: 600; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.stat-card { background: var(--bg-1); padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.stat-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 3px; color: var(--text-3); }
.stat-value { font-size: 4rem; font-weight: 900; line-height: 0.8; letter-spacing: -4px; }
.stat-sub { font-size: 13px; font-weight: 700; color: var(--text-3); }

/* Tables */
.table-wrap { background: var(--bg-1); border: 1px solid var(--border); width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 800px; }
th { background: var(--bg-2); padding: 20px; text-align: left; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: var(--text-2); border-bottom: 1px solid var(--border); }
td { padding: 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-1); font-weight: 500; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--bg-0); }

/* Forms (Sharp) */
.form-group { margin-bottom: 32px; }
.form-label { display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; color: var(--text-2); margin-bottom: 12px; }
.form-input {
  width: 100%; background: var(--bg-1); border: 1px solid var(--border);
  padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--text-1);
  transition: var(--t);
}
.form-input:focus { outline: none; border-color: var(--accent); background: var(--bg-2); }

.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 20px; background: var(--bg-2); border: 1px solid var(--border); }
.checkbox-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; cursor: pointer; }
.checkbox-item input { width: 18px; height: 18px; cursor: pointer; }

/* Filters Tags */
.admin-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.admin-filter-tag { 
  padding: 8px 16px; background: var(--bg-2); border: 1px solid var(--border); 
  font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2);
  transition: var(--t);
}
.admin-filter-tag:hover, .admin-filter-tag.active { background: var(--accent); color: #fff; border-color: var(--accent); }


/* ── Auth System ── */
.auth-page {
  min-height: calc(100vh - 72px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  background: var(--bg-0);
  position: relative; overflow: hidden;
}
.auth-page::before {
  content: ""; position: absolute; top: -10%; right: -10%; width: 40%; height: 40%;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  z-index: 0; pointer-events: none;
}

.auth-card {
  width: 100%; max-width: 440px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 48px;
  position: relative; z-index: 1;
  box-shadow: var(--shadow-lg);
}
.auth-logo { text-align: center; margin-bottom: 40px; }
.logo-icon { font-size: 32px; margin-bottom: 16px; display: inline-block; }
.auth-title { font-size: 2rem; font-weight: 900; letter-spacing: -1.5px; margin-bottom: 8px; line-height: 1; }
.auth-subtitle { color: var(--text-3); font-size: 14px; font-weight: 600; }

.auth-divider {
  display: flex; align-items: center; gap: 16px;
  margin: 32px 0; color: var(--text-3); font-size: 11px;
  font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
}
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.btn-google {
  background: #fff; color: #1f2937 !important; border: 1px solid #e5e7eb !important;
  text-transform: none !important; font-weight: 600 !important; font-size: 14px !important;
  gap: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
}
.btn-google:hover { background: #f9fafb; border-color: #d1d5db !important; transform: none !important; }
.btn-google svg { width: 18px; height: 18px; }

.auth-footer {
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: 14px; color: var(--text-3); font-weight: 600;
}
.auth-footer a { color: var(--accent); font-weight: 800; margin-left: 4px; }
.auth-footer a:hover { text-decoration: underline; }

/* ── Static Pages (Legal/Info) ── */
.static-page {
  max-width: 800px; margin: 60px auto 120px;
  padding: 0 24px;
}
.static-page h1 { font-size: 4rem; font-weight: 900; letter-spacing: -4px; line-height: 0.9; margin-bottom: 24px; }
.static-page .meta { font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--text-3); letter-spacing: 1px; margin-bottom: 60px; }
.static-page h2 { font-size: 1.5rem; font-weight: 900; margin: 48px 0 20px; letter-spacing: -1px; color: var(--accent); }
.static-page p { font-size: 1.125rem; line-height: 1.7; color: var(--text-2); margin-bottom: 24px; }
.static-page ul { margin-bottom: 32px; padding-left: 20px; list-style: none; }
.static-page li { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 1rem; color: var(--text-2); line-height: 1.6; }
.static-page li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }
.static-page strong { color: var(--text-1); font-weight: 700; }

/* ── Alerts ── */
.alert {
  padding: 16px 20px; margin-bottom: 24px;
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 12px;
}
.alert-error { background: rgba(239, 68, 68, 0.1); color: #ef4444; border-left: 4px solid #ef4444; }
.alert-success { background: rgba(34, 197, 94, 0.1); color: #22c55e; border-left: 4px solid #22c55e; }
.alert-warning { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-left: 4px solid #f59e0b; }

/* ── Utility ── */

.card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}
.w-full { width: 100%; }
.text-center { text-align: center; }

/* RadioIA public redesign */
:root {
  --bg-0: #08100f;
  --bg-1: #0d1715;
  --bg-2: #14231f;
  --bg-3: #20352f;
  --bg-card: #0f1c19;
  --bg-card-hover: #142822;
  --border: rgba(202, 255, 229, 0.13);
  --border-hover: rgba(202, 255, 229, 0.28);
  --text-1: #f2fff8;
  --text-2: #b7cbc2;
  --text-3: #789189;
  --accent: #21e6c1;
  --accent-2: #ff6b4a;
  --accent-glow: rgba(33, 230, 193, 0.22);
  --accent-rgb: 33, 230, 193;
  --accent-soft: rgba(33, 230, 193, 0.11);
  --navbar-bg: rgba(8, 16, 15, 0.82);
  --navbar-border: rgba(202, 255, 229, 0.12);
  --error: #ff6b4a;
}

[data-theme="light"] {
  --bg-0: #f5f7f1;
  --bg-1: #ffffff;
  --bg-2: #eaf0e7;
  --bg-3: #dce7de;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f6f0;
  --border: rgba(13, 23, 21, 0.12);
  --border-hover: rgba(13, 23, 21, 0.24);
  --text-1: #101916;
  --text-2: #3b4d47;
  --text-3: #708079;
  --accent: #007f73;
  --accent-2: #d94a2f;
  --accent-glow: rgba(0, 127, 115, 0.18);
  --accent-rgb: 0, 127, 115;
  --accent-soft: rgba(0, 127, 115, 0.10);
  --navbar-bg: rgba(245, 247, 241, 0.86);
  --navbar-border: rgba(13, 23, 21, 0.10);
}

body {
  background:
    linear-gradient(180deg, rgba(33, 230, 193, 0.04), transparent 520px),
    var(--bg-0);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 20%, var(--accent) 20% 30%, transparent 30% 44%, var(--accent-2) 44% 57%, transparent 57% 70%, #d7ff5f 70% 80%, transparent 80%),
    var(--bg-2);
  border: 1px solid var(--border-hover);
  box-shadow: 0 0 24px var(--accent-glow);
}

.navbar-auth {
  padding: 8px 16px;
}

.user-name-text-nav {
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-1);
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.home-hero {
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 78%);
  pointer-events: none;
}

.home-hero__signal {
  position: absolute;
  inset: auto 0 10%;
  height: 240px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  opacity: 0.18;
  pointer-events: none;
}

.home-hero__signal span {
  width: min(15vw, 180px);
  height: calc(42px + var(--n, 1) * 18px);
  border: 1px solid var(--accent);
  border-bottom: 0;
}

.home-hero__signal span:nth-child(1) { height: 90px; }
.home-hero__signal span:nth-child(2) { height: 150px; }
.home-hero__signal span:nth-child(3) { height: 220px; border-color: #d7ff5f; }
.home-hero__signal span:nth-child(4) { height: 150px; }
.home-hero__signal span:nth-child(5) { height: 90px; }

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 420px;
  gap: 56px;
  align-items: center;
  z-index: 1;
}

.home-hero h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8.8vw, 8.4rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero__lead {
  max-width: 680px;
  margin-top: 28px;
  color: var(--text-2);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.live-console {
  background: color-mix(in srgb, var(--bg-1) 92%, transparent);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.live-console__top,
.tuner-display,
.live-console__stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.live-console__top span {
  color: #d7ff5f;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.live-console__top strong,
.tuner-display strong {
  color: var(--text-1);
  font-size: 0.95rem;
}

.tuner-display {
  margin: 34px 0;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  justify-content: flex-start;
}

.tuner-display__dial {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 12px solid var(--accent);
  box-shadow: inset 0 0 0 8px var(--bg-0), 0 0 28px var(--accent-glow);
  flex: 0 0 auto;
}

.tuner-display span,
.live-console__stats dt {
  display: block;
  color: var(--text-3);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.meter-stack {
  height: 118px;
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  gap: 6px;
  align-items: end;
  padding: 18px 0;
}

.meter-stack span {
  min-height: 14px;
  height: calc(22px + (var(--i) % 7) * 12px);
  background: linear-gradient(180deg, #d7ff5f, var(--accent));
}

.meter-stack span:nth-child(3n) {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.live-console__stats {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.live-console__stats dd {
  margin-top: 6px;
  color: var(--text-1);
  font-size: 1.4rem;
  font-weight: 900;
}

.section-band {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 84px 0;
}

.section-band--intro {
  background: linear-gradient(90deg, var(--bg-1), var(--bg-2));
}

.editorial-grid,
.knowledge-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.editorial-grid h2,
.section-heading h2,
.knowledge-layout h2,
.closing-cta h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.article-copy p,
.knowledge-layout p {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 22px;
}

.home-section {
  padding: 96px 24px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 36px;
}

.text-link {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.broadcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.broadcast-card {
  min-height: 100%;
  background: var(--bg-1);
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: inherit;
  overflow: hidden;
}

.broadcast-card:hover {
  background: var(--bg-card-hover);
  box-shadow: inset 0 0 0 2px var(--ch-color);
}

.broadcast-card__media {
  aspect-ratio: 16/10;
  background: var(--bg-2);
  overflow: hidden;
}

.broadcast-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.broadcast-card:hover img {
  transform: scale(1.04);
}

.broadcast-card__fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ch-color);
  font-size: 5rem;
  font-weight: 900;
}

.broadcast-card__body {
  padding: 28px;
}

.broadcast-card__body span {
  color: var(--ch-color);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.broadcast-card__body h3 {
  margin: 10px 0 12px;
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.broadcast-card__body p {
  color: var(--text-2);
  line-height: 1.6;
}

.now-playing-line {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 28px 24px;
  color: var(--text-2);
  font-size: 0.88rem;
  min-width: 0;
}

.now-playing-line span {
  width: 9px;
  height: 9px;
  background: var(--ch-color);
  flex: 0 0 auto;
}

.now-playing-line strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.feature-columns article {
  background: var(--bg-0);
  padding: 36px;
}

.feature-number {
  color: var(--accent-2);
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.feature-columns h3 {
  margin: 18px 0 14px;
  font-size: 1.45rem;
  font-weight: 900;
}

.feature-columns p,
.topic-list span {
  color: var(--text-2);
  line-height: 1.65;
}

.topic-list {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.topic-list div {
  background: var(--bg-1);
  padding: 24px;
}

.topic-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-1);
  font-size: 1.1rem;
}

.closing-cta {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.16), transparent),
    var(--bg-1);
  border-top: 1px solid var(--border);
}

.closing-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.footer-note {
  margin-top: 42px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}

.footer-note strong {
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.footer-note p {
  color: var(--text-2);
  max-width: 780px;
}

@media (max-width: 1024px) {
  .home-hero__grid,
  .editorial-grid,
  .knowledge-layout {
    grid-template-columns: 1fr;
  }

  .live-console {
    max-width: 620px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .navbar {
    height: 64px;
  }

  .navbar-auth {
    display: none;
  }

  .home-hero {
    min-height: auto;
    padding: 54px 0 48px;
  }

  .home-hero h1 {
    font-size: clamp(3rem, 18vw, 5rem);
  }

  .section-heading,
  .closing-cta__inner,
  .live-console__stats {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .home-section,
  .section-band,
  .closing-cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .broadcast-grid {
    grid-template-columns: 1fr;
  }

  .footer-note {
    grid-template-columns: 1fr;
  }
}

/* Final visual reset: modern online radio */
:root {
  --bg-0: #070914;
  --bg-1: #101422;
  --bg-2: #171d2f;
  --bg-3: #222a42;
  --bg-card: rgba(16, 20, 34, 0.88);
  --bg-card-hover: rgba(23, 29, 47, 0.96);
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.22);
  --text-1: #ffffff;
  --text-2: #d7deee;
  --text-3: #8d98b3;
  --accent: #00e0ff;
  --accent-2: #ff3d8b;
  --accent-rgb: 0, 224, 255;
  --accent-soft: rgba(0, 224, 255, 0.12);
  --accent-glow: rgba(0, 224, 255, 0.24);
  --navbar-bg: rgba(7, 9, 20, 0.78);
  --navbar-border: rgba(255, 255, 255, 0.10);
  --radio-orange: #ff8a00;
  --radio-lime: #b8ff3d;
  --radius-card: 24px;
  --shadow-soft: 0 30px 90px rgba(0, 0, 0, 0.36);
}

[data-theme="light"] {
  --bg-0: #f6f8ff;
  --bg-1: #ffffff;
  --bg-2: #edf2ff;
  --bg-3: #dde6fb;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --border-hover: rgba(15, 23, 42, 0.22);
  --text-1: #111827;
  --text-2: #334155;
  --text-3: #728097;
  --accent: #0077ff;
  --accent-2: #e6006d;
  --accent-rgb: 0, 119, 255;
  --accent-soft: rgba(0, 119, 255, 0.10);
  --accent-glow: rgba(0, 119, 255, 0.20);
  --navbar-bg: rgba(246, 248, 255, 0.82);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 224, 255, 0.20), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 61, 139, 0.18), transparent 32%),
    linear-gradient(180deg, var(--bg-0), #0a0d19 620px, var(--bg-0));
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 119, 255, 0.16), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(230, 0, 109, 0.12), transparent 32%),
    var(--bg-0);
}

.navbar {
  height: 82px;
  background: transparent;
  border: 0;
}

.navbar-inner {
  max-width: 1220px;
  height: 60px;
  margin-top: 12px;
  padding: 0 18px 0 20px;
  border-radius: 18px;
  background: var(--navbar-bg);
  border: 1px solid var(--navbar-border);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 0;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
}

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

.navbar-links-item {
  color: var(--text-2);
  border-radius: 12px;
}

.navbar-links-item:hover,
.navbar-links-item.active {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--text-1);
}

.theme-toggle,
.user-avatar-btn {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.home-hero {
  min-height: 820px;
  padding: 132px 0 94px;
  background: transparent;
}

.home-hero__grid {
  max-width: 1220px;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.78fr);
  gap: 84px;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.18em;
}

.home-hero h1 {
  max-width: 820px;
  font-size: clamp(4rem, 7.2vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--text-1);
}

.home-hero__lead {
  max-width: 650px;
  color: var(--text-2);
  font-size: 1.22rem;
}

.btn {
  border-radius: 14px !important;
  min-height: 50px;
  padding: 0 24px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 18px 52px var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: var(--text-1);
}

.hero-proof div {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  border-radius: 18px;
}

.hero-proof strong {
  color: var(--text-1);
}

.hero-radio-stage {
  min-height: 590px;
}

.hero-orbit {
  height: 590px;
}

.hero-orbit > img {
  width: 205px;
  height: 205px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow-soft);
}

.hero-orbit > img:nth-child(1) { top: 4px; left: 14px; transform: rotate(-7deg); }
.hero-orbit > img:nth-child(2) { top: 58px; right: 4px; transform: rotate(7deg); }
.hero-orbit > img:nth-child(3) { bottom: 34px; left: 4px; transform: rotate(6deg); }
.hero-orbit > img:nth-child(4) { bottom: 6px; right: 42px; transform: rotate(-5deg); }

.hero-player-card {
  inset: 158px 62px auto 62px;
  min-height: 285px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(18, 24, 43, 0.92), rgba(11, 14, 27, 0.72));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.46);
  color: #fff;
}

[data-theme="light"] .hero-player-card {
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-1);
}

.hero-player-card span {
  color: var(--radio-lime);
}

[data-theme="light"] .hero-player-card span {
  color: var(--accent-2);
}

.hero-eq i {
  background: linear-gradient(180deg, var(--radio-lime), var(--accent), var(--accent-2));
}

.section-band,
.section-band--intro {
  background: rgba(255,255,255,0.035);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .section-band,
[data-theme="light"] .section-band--intro {
  background: rgba(255,255,255,0.64);
}

.editorial-grid,
.knowledge-layout,
.home-section,
.channels-page,
.channels-hero__grid,
.account-hero__inner,
.account-layout,
.pricing-page,
.contact-layout {
  max-width: 1220px;
}

.editorial-grid h2,
.section-heading h2,
.knowledge-layout h2,
.closing-cta h2,
.account-hero h1,
.contact-copy h1 {
  color: var(--text-1);
  letter-spacing: -0.05em;
}

.broadcast-grid {
  gap: 24px;
}

.broadcast-card,
.account-panel,
.price-card,
.contact-card,
.auth-card,
.feature-columns article,
.topic-list div {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

[data-theme="light"] .broadcast-card,
[data-theme="light"] .account-panel,
[data-theme="light"] .price-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .auth-card,
[data-theme="light"] .feature-columns article,
[data-theme="light"] .topic-list div {
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
}

.broadcast-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.broadcast-card__media {
  border-radius: 24px 24px 0 0;
}

.broadcast-card__body h3 {
  color: var(--text-1);
}

.broadcast-card__body p,
.feature-columns p,
.topic-list span,
.article-copy p,
.knowledge-layout p {
  color: var(--text-2);
}

.closing-cta {
  background:
    linear-gradient(135deg, rgba(0, 224, 255, 0.18), rgba(255, 61, 139, 0.16)),
    rgba(255,255,255,0.04);
  border-top: 1px solid var(--border);
}

.footer {
  background: #050711;
  color: #fff;
}

[data-theme="light"] .footer {
  background: #090b14;
}

.app-page {
  padding-top: 82px;
}

.account-hero,
.contact-hero {
  padding: 110px 0 54px;
}

.account-summary {
  top: 112px;
}

.account-avatar {
  border-radius: 26px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.plan-pill {
  background: rgba(var(--accent-rgb), 0.14);
  color: var(--text-1);
}

.plan-pill.is-premium,
.price-card--featured {
  background:
    radial-gradient(circle at top right, rgba(255, 61, 139, 0.28), transparent 34%),
    linear-gradient(145deg, #151b31, #090b14);
  color: #fff;
}

.panel-heading h2,
.panel-heading h3,
.price-card h2,
.account-summary h2 {
  color: var(--text-1);
}

.form-input,
.form-control {
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
  border: 1px solid var(--border);
}

[data-theme="light"] .form-input,
[data-theme="light"] .form-control {
  background: #f3f6ff;
}

.form-input::placeholder,
.form-control::placeholder {
  color: var(--text-3);
}

.mini-channel,
.contact-points__item,
.payment-note,
.subscription-details div {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}

[data-theme="light"] .mini-channel,
[data-theme="light"] .contact-points__item,
[data-theme="light"] .payment-note,
[data-theme="light"] .subscription-details div {
  background: #fff;
}

.auth-page {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 224, 255, 0.20), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 61, 139, 0.18), transparent 32%),
    var(--bg-0);
}

.auth-title {
  color: var(--text-1);
  font-size: 2.4rem;
  letter-spacing: -0.05em;
}

.auth-subtitle,
.auth-footer,
.contact-copy p,
.account-hero p,
.price-card p,
.payment-note p {
  color: var(--text-2);
}

.channels-hero {
  background: transparent !important;
}

.channels-hero h1 {
  color: var(--text-1);
}

@media (max-width: 1024px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    margin: 8px 12px 0;
    border-radius: 18px;
  }

  .home-hero {
    padding-top: 100px;
    min-height: auto;
  }

  .home-hero h1,
  .account-hero h1,
  .contact-copy h1,
  .channels-hero h1 {
    font-size: clamp(3rem, 14vw, 4.8rem) !important;
    line-height: 0.92 !important;
  }
}

/* Professional polish pass */
:root {
  --bg-0: #f4f6f2;
  --bg-1: #ffffff;
  --bg-2: #edf2ee;
  --bg-3: #dfe8e2;
  --bg-card: #ffffff;
  --bg-card-hover: #f8faf7;
  --border: rgba(28, 43, 38, 0.12);
  --border-hover: rgba(28, 43, 38, 0.22);
  --text-1: #10201b;
  --text-2: #40534d;
  --text-3: #74847f;
  --accent: #007f73;
  --accent-2: #e45f3d;
  --accent-glow: rgba(0, 127, 115, 0.14);
  --accent-soft: rgba(0, 127, 115, 0.08);
  --navbar-bg: rgba(244, 246, 242, 0.92);
}

[data-theme="dark"] {
  --bg-0: #09120f;
  --bg-1: #101a17;
  --bg-2: #17251f;
  --bg-3: #21342d;
  --bg-card: #111d19;
  --bg-card-hover: #15251f;
  --border: rgba(210, 235, 226, 0.12);
  --border-hover: rgba(210, 235, 226, 0.22);
  --text-1: #f4fbf7;
  --text-2: #c5d4ce;
  --text-3: #81928c;
  --accent: #24c7b5;
  --accent-2: #ff7a55;
  --accent-glow: rgba(36, 199, 181, 0.20);
  --accent-soft: rgba(36, 199, 181, 0.10);
  --navbar-bg: rgba(9, 18, 15, 0.86);
}

body {
  background: var(--bg-0);
}

.navbar {
  height: 76px;
}

.navbar-inner {
  max-width: 1180px;
}

.navbar-left {
  gap: 34px;
}

.navbar-logo {
  font-size: 1.35rem;
}

.logo-mark {
  width: 26px;
  height: 30px;
  border-radius: 6px;
}

.navbar-links-item {
  border-radius: 8px;
}

.theme-toggle,
.user-avatar-btn {
  border-radius: 8px;
}

.home-hero {
  min-height: 720px;
  padding: 88px 0 80px;
  background:
    linear-gradient(135deg, rgba(0, 127, 115, 0.08), transparent 45%),
    radial-gradient(circle at 90% 18%, rgba(228, 95, 61, 0.12), transparent 28%),
    var(--bg-0);
}

.home-hero::before {
  background:
    linear-gradient(90deg, rgba(16, 32, 27, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(16, 32, 27, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: 0.45;
}

.home-hero__signal {
  display: none;
}

.home-hero__grid {
  max-width: 1180px;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 72px;
}

.home-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 6vw, 5.85rem);
  line-height: 0.98;
  text-transform: none;
  text-wrap: balance;
}

.home-hero__lead {
  max-width: 630px;
  margin-top: 26px;
  font-size: 1.18rem;
  line-height: 1.72;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.btn {
  border-radius: 8px !important;
  min-height: 46px;
}

.btn-primary {
  box-shadow: 0 12px 30px var(--accent-glow);
}

.live-console {
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(23, 35, 31, 0.14);
}

.tuner-display {
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.08), transparent),
    var(--bg-2);
}

.tuner-display__dial {
  width: 62px;
  height: 62px;
  border-width: 10px;
}

.meter-stack {
  height: 90px;
  gap: 5px;
}

.meter-stack span {
  border-radius: 4px 4px 0 0;
}

.section-band {
  padding: 78px 0;
}

.section-band--intro {
  background: var(--bg-1);
}

.editorial-grid,
.knowledge-layout {
  max-width: 1180px;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}

.editorial-grid h2,
.section-heading h2,
.knowledge-layout h2,
.closing-cta h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1.05;
  text-wrap: balance;
}

.article-copy p,
.knowledge-layout p {
  font-size: 1.04rem;
  line-height: 1.8;
}

.home-section {
  max-width: 1180px;
  padding-top: 84px;
  padding-bottom: 84px;
}

.broadcast-grid {
  gap: 18px;
  background: transparent;
  border: 0;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.broadcast-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 35, 31, 0.07);
}

.broadcast-card:hover {
  box-shadow: 0 18px 48px rgba(23, 35, 31, 0.12), inset 0 0 0 1px var(--ch-color);
  transform: translateY(-2px);
}

.broadcast-card__media {
  aspect-ratio: 16/8.7;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ch-color) 16%, transparent), transparent),
    var(--bg-2);
}

.broadcast-card__fallback {
  font-size: 4rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ch-color) 12%, transparent), transparent 60%),
    var(--bg-2);
}

.broadcast-card__body {
  padding: 24px 24px 18px;
}

.broadcast-card__body h3 {
  font-size: 1.55rem;
  line-height: 1.08;
}

.broadcast-card__body p {
  font-size: 0.98rem;
}

.now-playing-line {
  padding: 12px 24px 22px;
}

.now-playing-line span {
  border-radius: 3px;
}

.feature-columns,
.topic-list {
  gap: 18px;
  background: transparent;
  border: 0;
}

.feature-columns article,
.topic-list div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-1);
}

.closing-cta {
  background:
    linear-gradient(135deg, rgba(var(--accent-rgb), 0.10), rgba(228, 95, 61, 0.08)),
    var(--bg-1);
}

.footer {
  margin-top: 0;
}

.channels-hero {
  padding: 96px 0 64px !important;
  background:
    linear-gradient(135deg, rgba(0, 127, 115, 0.08), transparent 48%),
    var(--bg-0) !important;
}

.channels-hero__grid {
  max-width: 1180px;
}

.channels-hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.8vw, 5.6rem) !important;
  line-height: 0.98 !important;
  text-transform: none !important;
  text-wrap: balance;
}

.channels-page {
  max-width: 1180px;
  padding-top: 70px !important;
}

.genre-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem) !important;
}

@media (max-width: 1024px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero__grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .live-console {
    max-width: 520px;
  }
}

@media (max-width: 768px) {
  .home-hero {
    padding: 54px 0 52px;
  }

  .home-hero h1,
  .channels-hero h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem) !important;
    line-height: 1 !important;
  }

  .home-hero__lead {
    font-size: 1.04rem;
  }

  .live-console {
    padding: 20px;
  }

  .broadcast-grid {
    gap: 14px;
  }
}

/* RadioIA magazine direction */
:root {
  --cream: #fff7df;
  --ink: #171917;
  --mint: #05a88f;
  --orange: #ff7a3d;
  --yellow: #ffd64d;
  --rose: #ff5f7e;
  --blue: #4f7cff;
  --surface: #ffffff;
  --soft: #f7efe1;
  --shadow-soft: 0 24px 70px rgba(29, 25, 18, 0.13);
  --radius-card: 22px;
  --bg-0: #fff7df;
  --bg-1: #ffffff;
  --bg-2: #f7efe1;
  --bg-3: #f0e4d0;
  --text-1: #171917;
  --text-2: #4d4d45;
  --text-3: #817c70;
  --border: rgba(23, 25, 23, 0.12);
  --border-hover: rgba(23, 25, 23, 0.24);
  --accent: #05a88f;
  --accent-2: #ff7a3d;
  --accent-rgb: 5, 168, 143;
  --accent-soft: rgba(5, 168, 143, 0.10);
  --accent-glow: rgba(5, 168, 143, 0.22);
  --navbar-bg: rgba(255, 247, 223, 0.84);
}

[data-theme="dark"] {
  --cream: #12120f;
  --ink: #fff7df;
  --surface: #1d1d18;
  --soft: #25241f;
  --bg-0: #12120f;
  --bg-1: #1d1d18;
  --bg-2: #25241f;
  --bg-3: #302e27;
  --text-1: #fff7df;
  --text-2: #e5dac2;
  --text-3: #a79d89;
  --border: rgba(255, 247, 223, 0.14);
  --border-hover: rgba(255, 247, 223, 0.28);
  --accent: #23d9bd;
  --accent-2: #ff8b54;
  --accent-rgb: 35, 217, 189;
  --accent-soft: rgba(35, 217, 189, 0.12);
  --navbar-bg: rgba(18, 18, 15, 0.82);
}

body {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 214, 77, 0.26), transparent 30%),
    radial-gradient(circle at 100% 5%, rgba(255, 122, 61, 0.20), transparent 28%),
    var(--bg-0);
}

.navbar {
  border-bottom: 0;
}

.navbar-inner {
  margin-top: 12px;
  height: 64px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-1) 84%, transparent);
  box-shadow: 0 18px 45px rgba(29, 25, 18, 0.08);
}

.logo-mark {
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--mint) 0 22%, var(--yellow) 22% 44%, var(--orange) 44% 66%, var(--blue) 66% 100%);
}

.navbar-links-item:hover,
.navbar-links-item.active {
  background: var(--ink);
  color: var(--cream);
}

.home-hero {
  min-height: 760px;
  padding: 126px 0 84px;
  border-bottom: 0;
  background: transparent;
}

.home-hero::before {
  display: none;
}

.home-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: 78px;
}

.home-hero h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 7.5vw, 7.25rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-transform: none;
}

.home-hero__lead {
  max-width: 600px;
  color: var(--text-2);
  font-size: 1.23rem;
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.14em;
}

.home-hero__actions {
  margin-top: 34px;
}

.btn {
  border-radius: 999px !important;
  min-height: 48px;
  padding: 0 24px;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 18px 46px rgba(23, 25, 23, 0.22);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  background: color-mix(in srgb, var(--bg-1) 70%, transparent);
  border-color: var(--border);
}

.hero-proof {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-proof div {
  min-width: 112px;
  padding: 16px 18px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-1) 70%, transparent);
  border: 1px solid var(--border);
}

.hero-proof strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-1);
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: var(--text-3);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-radio-stage {
  min-height: 560px;
  position: relative;
}

.hero-orbit {
  position: relative;
  height: 560px;
}

.hero-orbit > img {
  position: absolute;
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 34px;
  border: 8px solid var(--bg-1);
  box-shadow: var(--shadow-soft);
}

.hero-orbit > img:nth-child(1) { top: 14px; left: 24px; transform: rotate(-9deg); }
.hero-orbit > img:nth-child(2) { top: 70px; right: 0; transform: rotate(8deg); }
.hero-orbit > img:nth-child(3) { bottom: 38px; left: 0; transform: rotate(7deg); }
.hero-orbit > img:nth-child(4) { bottom: 8px; right: 54px; transform: rotate(-6deg); }

.hero-player-card {
  position: absolute;
  inset: 150px 76px auto 76px;
  min-height: 260px;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 247, 223, 0.78)),
    var(--bg-1);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 28px 80px rgba(29, 25, 18, 0.20);
  backdrop-filter: blur(18px);
}

[data-theme="dark"] .hero-player-card {
  background: linear-gradient(135deg, rgba(29,29,24,0.9), rgba(37,36,31,0.78));
}

.hero-player-card span {
  color: var(--rose);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero-player-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2.25rem;
  line-height: 1;
}

.hero-player-card p {
  margin-top: 10px;
  color: var(--text-2);
  font-weight: 700;
}

.hero-eq {
  display: flex;
  gap: 7px;
  align-items: end;
  height: 74px;
  margin-top: 28px;
}

.hero-eq i {
  width: 100%;
  min-height: 14px;
  height: calc(18px + (var(--i) % 5) * 11px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--orange), var(--mint));
}

.section-band,
.section-band--intro,
.closing-cta {
  background: var(--surface);
  border: 0;
}

.editorial-grid,
.knowledge-layout,
.home-section,
.channels-page,
.channels-hero__grid {
  max-width: 1180px;
}

.editorial-grid h2,
.section-heading h2,
.knowledge-layout h2,
.closing-cta h2 {
  letter-spacing: -0.035em;
}

.broadcast-grid {
  gap: 24px;
}

.broadcast-card {
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: 0 18px 55px rgba(29, 25, 18, 0.10);
}

.broadcast-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 75px rgba(29, 25, 18, 0.16);
}

.broadcast-card__media {
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.broadcast-card__body h3 {
  font-size: 1.7rem;
  letter-spacing: -0.025em;
}

.feature-columns article,
.topic-list div,
.account-panel,
.price-card,
.contact-card {
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: 0 18px 55px rgba(29, 25, 18, 0.08);
}

.app-page {
  min-height: 100vh;
  padding-top: 76px;
}

.account-hero,
.contact-hero {
  padding: 94px 0 48px;
}

.account-hero__inner {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}

.account-hero h1,
.contact-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.account-hero p,
.contact-copy p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.14rem;
  line-height: 1.7;
}

.account-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 90px;
}

.account-alert,
.account-channels {
  grid-column: 1 / -1;
}

.account-panel {
  background: var(--bg-1);
  padding: 30px;
}

.account-summary {
  position: sticky;
  top: 112px;
  align-self: start;
  text-align: center;
}

.account-avatar {
  width: 108px;
  height: 108px;
  margin: 0 auto 20px;
  border-radius: 32px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--blue));
  color: #fff;
  font-size: 2.4rem;
  font-weight: 900;
  overflow: hidden;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-summary h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.account-summary p {
  color: var(--text-3);
  margin-top: 4px;
}

.plan-pill {
  margin: 22px auto;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--text-1);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.plan-pill.is-premium {
  background: var(--ink);
  color: var(--cream);
}

.account-note {
  margin-bottom: 18px;
  color: var(--text-3);
  font-size: 0.9rem;
}

.panel-heading {
  margin-bottom: 26px;
}

.panel-heading span,
.price-kicker,
.premium-badge {
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-heading h2,
.panel-heading h3 {
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.panel-heading--small h3 {
  font-size: 1.45rem;
}

.polished-form .form-group {
  margin-bottom: 22px;
}

.form-grid-2,
.form-grid-3 {
  display: grid;
  gap: 18px;
}

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

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-input,
.form-control {
  border-radius: 14px;
  min-height: 50px;
  background: var(--bg-2);
  border: 1px solid transparent;
}

.form-input:focus,
.form-control:focus {
  background: var(--bg-1);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.form-hint {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 0.86rem;
}

.form-divider {
  height: 1px;
  background: var(--border);
  margin: 12px 0 26px;
}

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

.mini-channel {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--bg-2);
}

.mini-channel img,
.mini-channel > span {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  flex: 0 0 auto;
}

.mini-channel > span {
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--ch-color) 18%, var(--bg-1));
  color: var(--ch-color);
  font-weight: 900;
}

.mini-channel strong,
.mini-channel em {
  display: block;
}

.mini-channel em {
  color: var(--text-3);
  font-size: 0.84rem;
  font-style: normal;
}

.pricing-page {
  padding-bottom: 90px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.price-card {
  position: relative;
  padding: 34px;
  background: var(--bg-1);
}

.price-card--featured {
  background: linear-gradient(135deg, var(--ink), #29302b);
  color: var(--cream);
}

.price-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.price-card p {
  color: var(--text-2);
  line-height: 1.65;
}

.price-card--featured p,
.price-card--featured li {
  color: rgba(255, 247, 223, 0.78);
}

.price-card ul {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  padding: 10px 0;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.save-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
}

.payment-note,
.premium-active,
.subscription-details {
  margin-top: 24px;
}

.payment-note {
  padding: 22px 26px;
  border-radius: var(--radius-card);
  background: var(--bg-1);
}

.payment-note p {
  color: var(--text-2);
  margin-top: 6px;
}

.subscription-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.subscription-details div {
  padding: 18px;
  border-radius: 16px;
  background: var(--bg-2);
}

.subscription-details span,
.subscription-details strong {
  display: block;
}

.subscription-details span {
  color: var(--text-3);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.contact-points__item {
  padding: 18px 20px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-1) 70%, transparent);
}

.contact-points strong,
.contact-points span {
  display: block;
}

.contact-points span {
  margin-top: 4px;
  color: var(--text-2);
}

.contact-card {
  background: var(--bg-1);
}

.success-state {
  text-align: center;
  padding: 36px 10px;
}

.success-state span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 22px;
  border-radius: 24px;
  background: var(--mint);
  color: #fff;
  font-weight: 900;
}

.auth-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 214, 77, 0.24), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(255, 122, 61, 0.18), transparent 30%),
    var(--bg-0);
}

.auth-card {
  border: 0;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.logo-icon {
  display: none;
}

@media (max-width: 1024px) {
  .home-hero__grid,
  .account-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-radio-stage {
    min-height: 480px;
  }

  .hero-orbit {
    height: 480px;
    max-width: 560px;
  }

  .account-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    margin-top: 8px;
    height: 56px;
    border-radius: 18px;
  }

  .home-hero {
    padding-top: 86px;
  }

  .home-hero h1,
  .account-hero h1,
  .contact-copy h1 {
    font-size: clamp(3rem, 15vw, 4.4rem) !important;
    letter-spacing: -0.05em;
  }

  .hero-radio-stage {
    min-height: auto;
  }

  .hero-orbit {
    height: auto;
  }

  .hero-orbit > img {
    display: none;
  }

  .hero-player-card {
    position: static;
  }

  .account-hero__inner,
  .pricing-grid,
  .form-grid-2,
  .form-grid-3,
  .subscription-details {
    grid-template-columns: 1fr;
    display: grid;
  }
}

/* Definitive override: no cream/yellow theme */
:root {
  --bg-0: #070914;
  --bg-1: #101422;
  --bg-2: #171d2f;
  --bg-3: #222a42;
  --bg-card: rgba(16, 20, 34, 0.90);
  --bg-card-hover: rgba(23, 29, 47, 0.98);
  --border: rgba(255, 255, 255, 0.10);
  --border-hover: rgba(255, 255, 255, 0.22);
  --text-1: #ffffff;
  --text-2: #d7deee;
  --text-3: #8d98b3;
  --accent: #00e0ff;
  --accent-2: #ff3d8b;
  --accent-rgb: 0, 224, 255;
  --accent-soft: rgba(0, 224, 255, 0.12);
  --accent-glow: rgba(0, 224, 255, 0.24);
  --navbar-bg: rgba(7, 9, 20, 0.78);
}

[data-theme="light"] {
  --bg-0: #f6f8ff;
  --bg-1: #ffffff;
  --bg-2: #edf2ff;
  --bg-3: #dde6fb;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-card-hover: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --border-hover: rgba(15, 23, 42, 0.22);
  --text-1: #111827;
  --text-2: #334155;
  --text-3: #728097;
  --accent: #0077ff;
  --accent-2: #e6006d;
  --accent-rgb: 0, 119, 255;
  --accent-soft: rgba(0, 119, 255, 0.10);
  --accent-glow: rgba(0, 119, 255, 0.20);
  --navbar-bg: rgba(246, 248, 255, 0.82);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(var(--accent-rgb), 0.20), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(255, 61, 139, 0.18), transparent 32%),
    linear-gradient(180deg, var(--bg-0), #0a0d19 620px, var(--bg-0)) !important;
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 18% 8%, rgba(var(--accent-rgb), 0.15), transparent 34%),
    radial-gradient(circle at 86% 0%, rgba(230, 0, 109, 0.12), transparent 32%),
    var(--bg-0) !important;
}

.navbar-inner {
  border-radius: 18px !important;
  background: var(--navbar-bg) !important;
  border: 1px solid var(--border) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
}

.home-hero,
.channels-hero {
  background: transparent !important;
}

.home-hero h1,
.channels-hero h1,
.account-hero h1,
.contact-copy h1,
.editorial-grid h2,
.section-heading h2,
.knowledge-layout h2,
.closing-cta h2 {
  color: var(--text-1) !important;
}

.hero-player-card,
.broadcast-card,
.account-panel,
.price-card,
.contact-card,
.auth-card,
.feature-columns article,
.topic-list div {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  color: var(--text-1);
}

.hero-player-card {
  background:
    linear-gradient(145deg, rgba(18, 24, 43, 0.94), rgba(11, 14, 27, 0.76)) !important;
}

[data-theme="light"] .hero-player-card {
  background: rgba(255, 255, 255, 0.88) !important;
}

.section-band,
.section-band--intro {
  background: rgba(255,255,255,0.035) !important;
}

[data-theme="light"] .section-band,
[data-theme="light"] .section-band--intro {
  background: rgba(255,255,255,0.68) !important;
}

.footer {
  background: #050711 !important;
}

/* ModernaFM-like RadioIA landing */
:root {
  --mf-pink: #ff2f92;
  --mf-purple: #7b2cff;
  --mf-blue: #1f7bff;
  --mf-cyan: #28d6ff;
  --mf-yellow: #ffd447;
  --mf-dark: #17142b;
  --mf-white: #ffffff;
  --mf-soft: #f8f4ff;
  --mf-text: #211b35;
  --mf-muted: #6d6680;
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f8f4ff;
  --text-1: #211b35;
  --text-2: #4d4562;
  --text-3: #7d748f;
  --accent: #ff2f92;
  --accent-2: #7b2cff;
  --accent-rgb: 255, 47, 146;
  --border: rgba(33, 27, 53, 0.10);
  --navbar-bg: rgba(255,255,255,0.90);
}

[data-theme="dark"] {
  --bg-0: #100d21;
  --bg-1: #17142b;
  --bg-2: #201b3a;
  --text-1: #ffffff;
  --text-2: #ddd6f3;
  --text-3: #aaa0c5;
  --border: rgba(255,255,255,0.12);
  --navbar-bg: rgba(23,20,43,0.86);
}

body {
  background: var(--bg-0) !important;
}

.navbar {
  background: transparent !important;
}

.navbar-inner {
  max-width: 1180px;
  margin-top: 14px;
  border-radius: 999px !important;
  background: var(--navbar-bg) !important;
  border: 1px solid rgba(255,255,255,0.35) !important;
  box-shadow: 0 18px 60px rgba(54, 38, 105, 0.14);
}

.logo-mark {
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple), var(--mf-blue)) !important;
  border-radius: 50% !important;
}

.logo-text span {
  color: var(--mf-pink);
}

.navbar-links-item:hover {
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple));
  color: #fff;
}

.mf-home {
  overflow: hidden;
}

.mf-hero {
  position: relative;
  padding: 150px 0 78px;
  min-height: 760px;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 47, 146, 0.22), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(31, 123, 255, 0.20), transparent 34%),
    linear-gradient(180deg, #fff, #fbf6ff 72%, #fff);
}

[data-theme="dark"] .mf-hero {
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 47, 146, 0.25), transparent 32%),
    radial-gradient(circle at 85% 20%, rgba(31, 123, 255, 0.22), transparent 34%),
    linear-gradient(180deg, #100d21, #17142b 72%, #100d21);
}

.mf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(123,44,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(123,44,255,.08) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}

.mf-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(390px, 0.7fr);
  gap: 70px;
  align-items: center;
}

.mf-kicker {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple));
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .82rem;
}

.mf-hero h1 {
  margin-top: 22px;
  font-size: clamp(4.6rem, 9vw, 8.8rem);
  line-height: .82;
  letter-spacing: -0.065em;
  color: var(--text-1);
}

.mf-hero h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .95;
  letter-spacing: -0.045em;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple), var(--mf-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mf-stars {
  margin-top: 20px;
  color: var(--mf-yellow);
  font-size: 1.45rem;
  letter-spacing: .12em;
}

.mf-hero p {
  max-width: 610px;
  margin-top: 22px;
  color: var(--text-2);
  font-size: 1.16rem;
  line-height: 1.72;
}

.mf-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .84rem;
}

.mf-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple));
  box-shadow: 0 18px 50px rgba(255, 47, 146, .32);
}

.mf-btn--light {
  color: var(--text-1);
  background: #fff;
  border: 1px solid var(--border);
}

[data-theme="dark"] .mf-btn--light {
  background: rgba(255,255,255,.08);
}

.mf-hero__visual {
  position: relative;
  min-height: 560px;
}

.mf-phone {
  position: relative;
  z-index: 2;
  width: min(360px, 100%);
  margin: 0 auto;
  padding: 28px;
  border-radius: 42px;
  background: linear-gradient(180deg, #26204d, #111026);
  color: #fff;
  box-shadow: 0 35px 95px rgba(45, 24, 98, .42);
  text-align: center;
}

.mf-phone__top {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: var(--mf-cyan);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: .78rem;
}

.mf-disc {
  width: 210px;
  height: 210px;
  margin: 28px auto 22px;
  border-radius: 50%;
  padding: 16px;
  background: conic-gradient(var(--mf-pink), var(--mf-purple), var(--mf-blue), var(--mf-pink));
}

.mf-disc img,
.mf-disc span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--mf-purple);
  font-weight: 900;
}

.mf-phone strong {
  display: block;
  font-size: 1.65rem;
}

.mf-phone p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.72);
  font-size: .98rem;
}

.mf-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 70px;
  margin-top: 28px;
}

.mf-bars span {
  flex: 1;
  height: calc(18px + (var(--i) % 6) * 8px);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--mf-cyan), var(--mf-pink));
}

.mf-floating {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 34px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-blue));
  box-shadow: 0 28px 70px rgba(45, 24, 98, .26);
}

.mf-floating img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-floating--one { top: 24px; right: 8px; transform: rotate(8deg); }
.mf-floating--two { left: 0; bottom: 36px; transform: rotate(-8deg); }

.mf-stats {
  padding: 34px 0;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple), var(--mf-blue));
  color: #fff;
}

.mf-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mf-stats strong,
.mf-stats span {
  display: block;
  text-align: center;
}

.mf-stats strong {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1;
}

.mf-stats span {
  margin-top: 8px;
  opacity: .84;
  font-weight: 700;
}

.mf-platforms,
.mf-music,
.mf-testimonials {
  padding: 88px 0;
}

.mf-platforms {
  background: var(--bg-0);
  text-align: center;
}

.mf-platforms h2,
.mf-section-title h2 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .92;
  letter-spacing: -0.055em;
  color: var(--text-1);
}

.mf-platform-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mf-platform-grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple));
  box-shadow: 0 18px 42px rgba(123,44,255,.18);
}

.mf-info-split {
  padding: 84px 0;
  background: linear-gradient(180deg, #f8f4ff, #fff);
}

[data-theme="dark"] .mf-info-split {
  background: linear-gradient(180deg, #17142b, #100d21);
}

.mf-info-split__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mf-info-card {
  min-height: 320px;
  padding: 38px;
  border-radius: 34px;
  color: #fff;
  box-shadow: 0 28px 70px rgba(45,24,98,.18);
}

.mf-info-card--blue {
  background: linear-gradient(135deg, var(--mf-blue), var(--mf-purple));
}

.mf-info-card--pink {
  background: linear-gradient(135deg, var(--mf-pink), #ff7a3d);
}

.mf-info-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: -0.05em;
}

.mf-info-card p {
  margin-top: 18px;
  max-width: 520px;
  color: rgba(255,255,255,.84);
  font-size: 1.08rem;
  line-height: 1.68;
}

.mf-link {
  display: inline-flex;
  margin-top: 26px;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mf-section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.mf-section-title p {
  color: var(--mf-pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.mf-section-title span {
  display: block;
  margin-top: 14px;
  color: var(--text-2);
}

.mf-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mf-channel-card {
  overflow: hidden;
  border-radius: 30px;
  background: var(--bg-1);
  box-shadow: 0 24px 70px rgba(45,24,98,.14);
}

[data-theme="dark"] .mf-channel-card {
  background: #17142b;
}

.mf-channel-card__image {
  aspect-ratio: 1.18;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ch-color) 45%, var(--mf-purple)), var(--mf-blue));
  display: grid;
  place-items: center;
}

.mf-channel-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mf-channel-card__image span {
  color: #fff;
  font-size: 5rem;
  font-weight: 900;
}

.mf-channel-card__body {
  padding: 26px;
}

.mf-channel-card small {
  color: var(--mf-pink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.mf-channel-card h3 {
  margin-top: 8px;
  color: var(--text-1);
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.mf-channel-card p {
  margin-top: 10px;
  color: var(--text-2);
  line-height: 1.6;
}

.mf-channel-card strong {
  display: block;
  margin-top: 18px;
  color: var(--text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-features {
  padding: 84px 0;
  background: linear-gradient(135deg, var(--mf-purple), var(--mf-pink));
}

.mf-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.mf-features article {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255,255,255,.16);
  color: #fff;
}

.mf-features h3 {
  font-size: 1.55rem;
}

.mf-features p {
  margin-top: 12px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

.mf-testimonials {
  background: var(--bg-0);
}

.mf-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.mf-quote {
  padding: 34px;
  border-radius: 30px;
  background: var(--bg-1);
  box-shadow: 0 24px 70px rgba(45,24,98,.12);
}

[data-theme="dark"] .mf-quote {
  background: #17142b;
}

.mf-quote div {
  color: var(--mf-yellow);
  letter-spacing: .12em;
}

.mf-quote p {
  margin-top: 18px;
  color: var(--text-2);
  font-size: 1.25rem;
  line-height: 1.55;
}

.mf-quote strong {
  display: block;
  margin-top: 20px;
  color: var(--text-1);
}

@media (max-width: 1024px) {
  .mf-hero__grid,
  .mf-info-split__grid,
  .mf-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .mf-platform-grid,
  .mf-channel-grid,
  .mf-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .mf-hero {
    padding-top: 110px;
  }

  .mf-hero h1 {
    font-size: clamp(4rem, 18vw, 5.8rem);
  }

  .mf-hero__visual {
    min-height: auto;
  }

  .mf-floating {
    display: none;
  }

  .mf-stats__grid,
  .mf-platform-grid,
  .mf-channel-grid,
  .mf-features__grid {
    grid-template-columns: 1fr;
  }
}

/* TRUE ModernaFM-style layout */
:root {
  --mod-text: #171717;
  --mod-muted: #555;
  --mod-line: #ededed;
  --mod-accent: #000;
}

body {
  background: #fff !important;
  color: var(--mod-text) !important;
  font-family: 'Outfit', Arial, sans-serif;
  padding-top: 0 !important;
}

.navbar {
  position: relative !important;
  height: 124px !important;
  padding: 0 !important;
  background: #fff !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

.navbar-inner {
  max-width: 1180px !important;
  height: 124px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.navbar-logo {
  gap: 14px;
}

.logo-mark {
  width: 58px !important;
  height: 58px !important;
  border-radius: 10px !important;
  background: #050505 !important;
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 8px solid #fff;
  box-shadow: -13px 0 0 #ff8a00, 13px 0 0 #7a2cff;
}

.logo-mark::after {
  display: none !important;
}

.logo-text {
  display: none;
}

.navbar-links {
  gap: 28px !important;
}

.navbar-links-item {
  color: #000 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.navbar-links-item:hover,
.navbar-links-item.active {
  color: #000 !important;
  text-decoration: underline;
  background: transparent !important;
}

.navbar-actions {
  display: none !important;
}

.mod-hero {
  min-height: 635px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,.54), rgba(0,0,0,.54)),
    radial-gradient(circle at 20% 55%, rgba(0,190,255,.38), transparent 24%),
    radial-gradient(circle at 88% 48%, rgba(220,0,50,.36), transparent 26%),
    linear-gradient(115deg, #111 0%, #1b2228 45%, #120e13 100%) !important;
}

.mod-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 0 14%, rgba(255,255,255,.10) 15%, transparent 20% 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 2px, transparent 2px 58px);
  opacity: .32;
}

.mod-hero__center {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  margin-top: 30px;
}

.mod-logo-card {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #060606;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}

.mod-logo-card span span {
  color: #ffcc00;
}

.mod-hero h1 {
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 1;
  color: #fff !important;
  letter-spacing: -0.04em;
}

.mod-hero__center p {
  margin-top: 20px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 500;
}

.mod-hero__side {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 210px;
  color: #fff;
  text-align: center;
}

.mod-stars {
  color: #fff;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.mod-hero__side strong {
  display: block;
  margin-top: 6px;
  font-size: 1.05rem;
}

.mod-hero__side a {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-weight: 700;
}

.mod-domain {
  padding: 44px 0 28px;
  text-align: center;
  background: #fff;
}

.mod-domain h2 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.mod-domain__stats {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 80px;
}

.mod-domain__stats strong,
.mod-domain__stats span {
  display: block;
}

.mod-domain__stats strong {
  font-size: 2.4rem;
}

.mod-domain__stats span {
  color: var(--mod-muted);
}

.mod-platforms,
.mod-voice,
.mod-music,
.mod-benefits,
.mod-testimonials {
  padding: 72px 0;
  background: #fff !important;
}

.mod-platforms h2,
.mod-voice h2,
.mod-music h2 {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.mod-platforms__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.mod-platforms__grid span {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mod-line);
  border-radius: 14px;
  font-weight: 800;
  background: #fafafa;
}

.mod-two-col,
.mod-benefits__grid,
.mod-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.mod-two-col > div,
.mod-benefits article,
.mod-testimonials blockquote {
  border: 1px solid var(--mod-line);
  border-radius: 14px;
  padding: 32px;
  background: #fff;
}

.mod-two-col p,
.mod-music > .container > p,
.mod-benefits p,
.mod-testimonials p {
  color: var(--mod-muted);
  line-height: 1.7;
}

.mod-music {
  text-align: center;
}

.mod-channel-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.mod-channel {
  border: 1px solid var(--mod-line);
  border-radius: 14px;
  overflow: hidden;
  color: #000;
  background: #fff;
}

.mod-channel__image {
  aspect-ratio: 1.45;
  display: grid;
  place-items: center;
  background: #f2f2f2;
}

.mod-channel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mod-channel__image span {
  font-size: 4rem;
  font-weight: 900;
}

.mod-channel h3,
.mod-channel p,
.mod-channel small {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.mod-channel h3 {
  margin-top: 22px;
  font-size: 1.4rem;
}

.mod-channel small {
  margin-top: 16px;
  margin-bottom: 22px;
  color: var(--mod-muted);
}

.mod-benefits__grid {
  grid-template-columns: repeat(3, 1fr);
}

.mod-testimonials blockquote {
  margin: 0;
}

.footer,
.mf-footer {
  background: #050505 !important;
  padding: 38px 0 18px !important;
}

@media (max-width: 900px) {
  .mod-platforms__grid,
  .mod-channel-grid,
  .mod-benefits__grid,
  .mod-two-col,
  .mod-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .mod-hero__side {
    position: relative;
    left: auto;
    top: auto;
    margin-top: 120px;
  }

  .mod-hero {
    align-content: center;
    gap: 28px;
  }
}

/* FINAL: ModernaFM clone cleanup across all pages */
:root {
  --mf-pink: #f5228f;
  --mf-purple: #7a2cff;
  --mf-blue: #315dff;
  --mf-dark: #211936;
  --mf-muted: #686079;
  --mf-border: rgba(33, 25, 54, 0.12);
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f7f3fb;
  --bg-3: #eee7f6;
  --text-1: #211936;
  --text-2: #4f4664;
  --text-3: #7f7691;
  --border: var(--mf-border);
  --accent: var(--mf-pink);
  --accent-2: var(--mf-purple);
  --accent-rgb: 245, 34, 143;
  --navbar-bg: rgba(255,255,255,.94);
}

[data-theme="dark"] {
  --bg-0: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #f7f3fb;
  --bg-3: #eee7f6;
  --text-1: #211936;
  --text-2: #4f4664;
  --text-3: #7f7691;
  --border: var(--mf-border);
  --navbar-bg: rgba(255,255,255,.94);
}

html,
body {
  background: #fff !important;
  color: var(--text-1) !important;
}

body {
  padding-top: 0 !important;
}

.navbar {
  position: absolute !important;
  top: 0;
  height: auto !important;
  padding: 18px 0 0;
  background: transparent !important;
  border: 0 !important;
}

.navbar-inner {
  max-width: 1180px !important;
  height: 64px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.70) !important;
  box-shadow: 0 18px 55px rgba(48, 24, 92, .14) !important;
}

.navbar-logo,
.navbar-links-item,
.user-name-text-nav {
  color: var(--mf-dark) !important;
}

.navbar-links-item {
  font-weight: 800;
  border-radius: 999px !important;
}

.navbar-links-item:hover {
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple)) !important;
  color: #fff !important;
}

.theme-toggle,
.user-avatar-btn {
  background: #fff !important;
  border: 1px solid var(--mf-border) !important;
  border-radius: 12px !important;
}

.logo-mark {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple)) !important;
}

.logo-text span {
  color: var(--mf-pink) !important;
}

.mf-hero {
  min-height: 720px !important;
  padding: 128px 0 72px !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(245,34,143,.18), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(49,93,255,.16), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbf5ff 72%, #fff 100%) !important;
}

.mf-hero h1 {
  color: var(--mf-dark) !important;
}

.mf-hero h2 {
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple), var(--mf-blue)) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.mf-hero p,
.mf-section-title span,
.mf-channel-card p,
.mf-quote p,
.mf-stats span {
  color: var(--mf-muted) !important;
}

.mf-stats {
  background: linear-gradient(135deg, var(--mf-pink), var(--mf-purple), var(--mf-blue)) !important;
}

.mf-platforms,
.mf-music,
.mf-testimonials {
  background: #fff !important;
}

.mf-info-split {
  background: linear-gradient(180deg, #fbf5ff, #fff) !important;
}

.mf-channel-card,
.mf-quote,
.account-panel,
.auth-card,
.contact-card,
.price-card {
  background: #fff !important;
  border: 1px solid var(--mf-border) !important;
  box-shadow: 0 24px 70px rgba(48, 24, 92, .12) !important;
  color: var(--mf-dark) !important;
}

.mf-channel-card h3,
.mf-channel-card strong,
.mf-platforms h2,
.mf-section-title h2,
.account-hero h1,
.contact-copy h1,
.panel-heading h2,
.panel-heading h3,
.account-summary h2,
.price-card h2 {
  color: var(--mf-dark) !important;
}

.channels-hero {
  padding: 128px 0 70px !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(245,34,143,.16), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(49,93,255,.12), transparent 32%),
    #fff !important;
}

.channels-page {
  padding-top: 62px !important;
  background: #fff !important;
}

.channels-hero h1,
.genre-header h2 {
  color: var(--mf-dark) !important;
}

.genre-block {
  margin-bottom: 58px !important;
}

.app-page {
  padding-top: 0 !important;
  background: #fff !important;
}

.account-hero,
.contact-hero {
  padding: 128px 0 46px !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(245,34,143,.15), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(49,93,255,.12), transparent 32%),
    #fff !important;
}

.account-hero {
  padding: 68px 0 42px !important;
}

.account-hero__inner {
  align-items: center !important;
}

.account-layout {
  grid-template-columns: 320px minmax(0, 1fr) !important;
  gap: 24px !important;
  padding-bottom: 64px !important;
}

.account-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
}

.account-summary {
  position: static !important;
  top: auto !important;
  align-self: start !important;
  z-index: 1 !important;
}

.account-panel {
  padding: 28px !important;
  border-radius: 28px !important;
}

.account-channels {
  grid-column: 1 / -1 !important;
}

.account-danger-panel {
  padding: 22px !important;
  border: 1px solid rgba(239,68,68,.18) !important;
  background: #fff8fb !important;
}

.account-danger-panel span,
.account-delete-modal__kicker {
  color: #be123c;
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.account-danger-panel h2 {
  margin: 8px 0 8px;
  color: #17142b;
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-size: 1.25rem;
  line-height: 1.1;
}

.account-danger-panel p {
  margin: 0 0 16px;
  color: #675f7d;
  font-size: .92rem;
  line-height: 1.55;
}

.account-danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(190,18,60,.26);
  color: #be123c;
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(190,18,60,.08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.account-danger-btn:hover {
  transform: translateY(-1px);
  background: #fff1f2;
  box-shadow: 0 14px 28px rgba(190,18,60,.14);
}

.account-danger-btn--solid {
  width: auto;
  min-width: 190px;
  background: #be123c;
  border-color: #be123c;
  color: #fff;
}

.account-danger-btn--solid:hover {
  background: #9f1239;
}

.account-danger-btn:disabled,
.account-danger-btn:disabled:hover {
  cursor: not-allowed;
  transform: none;
  background: #f4f1f7;
  border-color: #e7dfeb;
  color: #a79ab3;
  box-shadow: none;
}

.account-delete-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.account-delete-modal.is-open {
  display: flex;
}

.account-delete-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13,13,26,.66);
  backdrop-filter: blur(8px);
}

.account-delete-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  color: #17142b;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.account-delete-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #f5eff7;
  color: #5b506d;
  font-size: 1.35rem;
  line-height: 1;
}

.account-delete-modal h2 {
  margin: 10px 0 12px;
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-size: 1.85rem;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.account-delete-modal p {
  margin: 0;
  color: #625873;
  line-height: 1.62;
}

.account-delete-modal__warning {
  margin-top: 14px !important;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff1f2;
  color: #9f1239 !important;
  font-weight: 700;
}

.account-delete-modal__form {
  margin-top: 20px;
}

.account-delete-modal__check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f7f2fb;
  color: #3d3554;
  font-weight: 700;
  line-height: 1.45;
}

.account-delete-modal__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #be123c;
  flex: 0 0 auto;
}

.account-delete-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.account-musicaia-banner {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  min-height: 148px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, #17142b 0%, #6c16c9 38%, #e51c97 72%, #ff5733 100%);
  box-shadow: 0 22px 60px rgba(143,17,168,.24), 0 10px 24px rgba(229,28,151,.18);
  isolation: isolate;
  transition: transform .22s ease, box-shadow .22s ease;
}

.account-musicaia-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.18), transparent 34%, rgba(255,255,255,.12) 72%, transparent);
  opacity: .9;
  pointer-events: none;
}

.account-musicaia-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255,255,255,.12) 0 1px, transparent 1px 18px);
  opacity: .22;
  pointer-events: none;
}

.account-musicaia-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 72px rgba(143,17,168,.30), 0 12px 28px rgba(229,28,151,.22);
}

.account-musicaia-banner:focus-visible {
  outline: 4px solid rgba(245,34,143,.35);
  outline-offset: 4px;
}

.account-musicaia-banner > * {
  position: relative;
  z-index: 1;
}

.account-musicaia-banner__copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.account-musicaia-banner__kicker {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.84);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.account-musicaia-banner strong {
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 900;
}

.account-musicaia-banner__visual {
  height: 76px;
  min-width: 134px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 9px;
  padding: 8px 12px;
}

.account-musicaia-banner__visual span {
  width: 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 0 18px rgba(255,255,255,.38);
  animation: accountMusicPulse 1.7s ease-in-out infinite;
}

.account-musicaia-banner__visual span:nth-child(1) { height: 34px; animation-delay: -.2s; }
.account-musicaia-banner__visual span:nth-child(2) { height: 58px; animation-delay: -.45s; }
.account-musicaia-banner__visual span:nth-child(3) { height: 74px; animation-delay: -.7s; }
.account-musicaia-banner__visual span:nth-child(4) { height: 50px; animation-delay: -.3s; }
.account-musicaia-banner__visual span:nth-child(5) { height: 40px; animation-delay: -.55s; }

.account-musicaia-banner__action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #17142b;
  font-family: var(--font-head, 'Poppins', Arial, sans-serif);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(23,20,43,.22);
}

.account-musicaia-banner__action::after {
  content: '>';
  font-size: 1.15rem;
  line-height: 1;
}

@keyframes accountMusicPulse {
  0%, 100% { transform: scaleY(.72); opacity: .72; }
  50% { transform: scaleY(1); opacity: 1; }
}

.home-musicaia-cta {
  margin-top: -58px;
  padding: 0 0 76px;
  background: var(--g-section);
}

.home-musicaia-banner {
  max-width: 1060px;
  margin: 0 auto;
}

.form-input,
.form-control {
  background: #f3f0fb !important;
  color: var(--mf-dark) !important;
  border: 1px solid transparent !important;
}

.form-input:focus,
.form-control:focus {
  background: #fff !important;
  border-color: var(--mf-pink) !important;
}

.mini-channel,
.contact-points__item,
.payment-note,
.subscription-details div {
  background: #fbf8ff !important;
  border: 1px solid var(--mf-border) !important;
}

.footer,
.mf-footer {
  margin-top: 0 !important;
  padding: 34px 0 18px !important;
  background: #17142b !important;
  color: rgba(255,255,255,.82) !important;
}

.mf-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, .8fr);
  gap: 28px;
  align-items: start;
}

.mf-footer .logo-text,
.mf-footer strong {
  color: #fff !important;
}

.mf-footer p {
  max-width: 320px;
  margin-top: 10px;
  color: rgba(255,255,255,.68);
  line-height: 1.55;
}

.mf-footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.68) !important;
}

.mf-footer__bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.58);
  font-size: .86rem;
}

@media (max-width: 900px) {
  .account-layout,
  .mf-footer__inner {
    grid-template-columns: 1fr !important;
  }

  .account-hero__inner,
  .mf-footer__bottom {
    display: grid !important;
    justify-content: start !important;
  }

  .account-musicaia-banner {
    align-items: start;
    flex-direction: column;
    min-height: auto;
  }

  .account-musicaia-banner__visual {
    order: 3;
    justify-content: start;
    min-width: 0;
  }

  .account-delete-modal__actions {
    display: grid;
  }

  .account-danger-btn--solid {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .navbar {
    padding: 10px 12px 0;
  }

  .navbar-inner {
    height: 58px !important;
    border-radius: 18px !important;
  }

  .mf-hero,
  .channels-hero,
  .account-hero,
  .contact-hero {
    padding-top: 96px !important;
  }

  .account-hero {
    padding-top: 62px !important;
  }

  .account-musicaia-banner {
    padding: 24px;
    border-radius: 24px;
  }

  .account-musicaia-banner__action {
    width: 100%;
    justify-content: center;
  }

  .account-delete-modal {
    padding: 14px;
  }

  .account-delete-modal__dialog {
    padding: 26px 20px;
    border-radius: 24px;
  }

  .home-musicaia-cta {
    margin-top: -36px;
    padding-bottom: 52px;
  }
}
