/* =========================================================
   RÁDIO CLÁSSICA — Sistema de Design Completo
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --bg-primary:    #F5F1E8;
  --bg-secondary:  #E8DFC9;
  --bg-card:       #FDFAF4;
  --bg-header:     rgba(245, 241, 232, 0.96);
  --text-primary:  #1E1B16;
  --text-secondary:#5E5A54;
  --text-muted:    #9A9590;
  --accent:        #B89C5A;
  --accent-hover:  #8A7040;
  --accent-light:  #D4B87A;
  --accent-bg:     rgba(184, 156, 90, 0.08);
  --border:        rgba(184, 156, 90, 0.22);
  --border-subtle: rgba(94, 90, 84, 0.12);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.12);
  --font-display:  'Cormorant Garamond', 'Palatino Linotype', Georgia, serif;
  --font-body:     'Inter', system-ui, -apple-system, sans-serif;
  --max-w:         1180px;
  --radius:        3px;
  --radius-md:     5px;
  --trans:         0.22s ease;
  --trans-slow:    0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  --bg-primary:    #121212;
  --bg-secondary:  #1C1714;
  --bg-card:       #1E1B18;
  --bg-header:     rgba(18, 18, 18, 0.97);
  --text-primary:  #E8DFC9;
  --text-secondary:#A89E90;
  --text-muted:    #6A6560;
  --accent:        #C8AC6A;
  --accent-hover:  #E0C880;
  --accent-light:  #A07838;
  --accent-bg:     rgba(184, 156, 90, 0.06);
  --border:        rgba(184, 156, 90, 0.18);
  --border-subtle: rgba(232, 223, 201, 0.08);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.25);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.35);
  --shadow-lg:     0 8px 32px rgba(0,0,0,0.5);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background var(--trans-slow), color var(--trans-slow);
  overflow-x: hidden;
}
body.has-global-player {
  padding-bottom: 0;
}
body.has-global-player .site-footer {
  margin-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  padding-bottom: 1.5rem;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: var(--accent); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── ICONS (Lucide / shadcn style) ── */
.icon,
svg.icon {
  display: block;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}
.icon-sm,
svg.icon-sm {
  width: 1rem;
  height: 1rem;
}
.icon-md,
svg.icon-md {
  width: 1.25rem;
  height: 1.25rem;
}
.icon-lg,
svg.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}
svg.icon path,
svg.icon line,
svg.icon circle,
svg.icon rect {
  stroke: currentColor;
  stroke-width: 1.75;
}
.icon--accent { color: var(--accent); }
.icon--spin {
  animation: icon-spin 0.8s linear infinite;
}
@keyframes icon-spin {
  to { transform: rotate(360deg); }
}
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn .icon-wrap,
.btn > .icon {
  margin-inline-end: 0.35rem;
}
.ctrl-btn .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ctrl-btn .icon-wrap svg {
  display: block;
}
.ctrl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.schedule-item .icon-wrap svg {
  display: block;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; }
h4 { font-size: 1.2rem; font-weight: 500; }
p  { color: var(--text-secondary); }

.display-italic { font-style: italic; }
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); font-size: 0.8125rem; }

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

/* ── ORNAMENT ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.ornament-icon {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}
.section-header p {
  margin-top: 0.75rem;
  font-size: 1rem;
}

/* ── STAFF DECORATION ── */
.staff-lines {
  position: relative;
  overflow: hidden;
}
.staff-lines::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 10px,
    var(--border) 10px,
    var(--border) 11px
  );
  opacity: 0.4;
  pointer-events: none;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}
.divider-ornate {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--accent);
  margin: 3rem 0;
}
.divider-ornate::before, .divider-ornate::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #1E1B16;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #1E1B16;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--accent-hover); }
.btn-ghost .btn-arrow { transition: transform var(--trans); }
.btn-ghost:hover .btn-arrow { transform: translateX(4px); }

/* ── HEADER / NAV ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--trans-slow), border-color var(--trans-slow);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.nav-logo:hover { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color var(--trans);
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-live {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #1E1B16;
  border-radius: var(--radius);
  border: none;
  transition: all var(--trans);
}
.btn-live:hover { background: var(--accent-hover); }
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1E1B16;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.btn-theme {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--trans);
}
.btn-theme:hover { border-color: var(--accent); color: var(--accent); }

.btn-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.btn-menu span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text-primary);
  transition: all var(--trans);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(184,156,90,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(30,27,22,0.03) 0%, transparent 60%);
}
[data-theme="dark"] .hero-bg-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(184,156,90,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(184,156,90,0.04) 0%, transparent 60%);
}

/* Decorative staff lines on hero */
.hero-staff {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 200px;
  opacity: 0.04;
  pointer-events: none;
}
[data-theme="dark"] .hero-staff { opacity: 0.06; }
.hero-staff::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 28px,
    var(--accent) 28px,
    var(--accent) 30px
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
}
.hero-eyebrow-text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-frame {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4/5;
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(184,156,90,0.12) 0%, transparent 70%),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 40px,
      rgba(184,156,90,0.03) 40px,
      rgba(184,156,90,0.03) 41px
    );
}
.hero-icon {
  font-size: 5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 24px rgba(184,156,90,0.3));
}

.hero-frame-corner {
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--accent);
  border-style: solid;
  border-width: 0;
  opacity: 0.6;
}
.hero-frame-corner.tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.hero-frame-corner.tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.hero-frame-corner.bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.hero-frame-corner.br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}
.badge-icon { font-size: 1.5rem; }
.badge-text { line-height: 1.3; }
.badge-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.badge-value { font-family: var(--font-display); font-size: 0.95rem; font-weight: 500; color: var(--text-primary); }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  animation: scroll-hint 2.5s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(4px); opacity: 1; }
}
.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ── NOW PLAYING BAR ── */
.now-playing-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}
.now-playing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.now-playing-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  flex-shrink: 0;
}
.now-playing-track {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-primary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.now-playing-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ── ABOUT ── */
.about-section { background: var(--bg-primary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--trans);
}
.feature-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.feature-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.feature-card p { font-size: 0.85rem; }

.about-visual {
  position: relative;
}
.about-image-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.about-image-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  background: linear-gradient(160deg, var(--bg-secondary), var(--bg-primary));
}
.about-stat {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
}
.about-stat-top { top: 2rem; right: -1.5rem; }
.about-stat-bot { bottom: 2rem; left: -1.5rem; }
.about-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.about-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── HIGHLIGHTS (Composers) ── */
.highlights-section { background: var(--bg-secondary); }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-slow);
  cursor: pointer;
}
.highlight-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.highlight-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.highlight-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--bg-card), transparent);
}
.highlight-card-body { padding: 1.25rem; }
.highlight-card-era {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.highlight-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.highlight-card p {
  font-size: 0.84rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.highlight-card-works {
  margin-top: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.work-tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: var(--accent-bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Featured card spans 2 cols */
.highlight-card.featured {
  grid-column: span 2;
}
.highlight-card.featured .highlight-card-img {
  aspect-ratio: 21/9;
  font-size: 5rem;
}

/* ── SCHEDULE ── */
.schedule-section { background: var(--bg-primary); }

.schedule-board {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
}

.schedule-board-header {
  display: none;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  background: var(--accent);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1E1B16;
}

.schedule-board-body {
  display: flex;
  flex-direction: column;
}

.schedule-state {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}
.schedule-state--error {
  flex-direction: column;
  gap: 1rem;
}
.schedule-retry-btn {
  font-size: 0.75rem;
  padding: 0.4rem 1rem;
}

.schedule-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--trans);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-item:hover { background: var(--accent-bg); }

.schedule-item-time {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
}
.schedule-item-time time { font-style: normal; }

.schedule-item-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.schedule-item-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}

.schedule-item--now {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  padding-left: calc(1.25rem - 3px);
}
.schedule-item--now:hover { background: var(--accent-bg); }

.schedule-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  background: var(--accent);
  color: #1E1B16;
  border-radius: 2px;
  white-space: nowrap;
}

.schedule-sync-note {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
}

/* Desktop: grade em duas colunas (somente home) */
@media (min-width: 768px) {
  .schedule-board-header {
    display: grid;
  }
  .schedule-board .schedule-board-body .schedule-item {
    display: grid;
    grid-template-columns: 7.5rem 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1.25rem;
  }
  .schedule-board .schedule-board-body .schedule-item:nth-child(even):not(.schedule-item--now) {
    background: rgba(184, 156, 90, 0.04);
  }
  [data-theme="dark"] .schedule-board .schedule-board-body .schedule-item:nth-child(even):not(.schedule-item--now) {
    background: rgba(184, 156, 90, 0.06);
  }
  .schedule-board .schedule-item-main {
    flex-wrap: nowrap;
  }
  .schedule-board .schedule-item-title {
    flex: 1;
    min-width: 0;
  }
}

/* Sidebar compacta (radio.html) */
.schedule-item--compact {
  padding: 0.85rem 1rem;
}
.schedule-item--compact .schedule-item-time {
  font-size: 0.95rem;
}
.schedule-item--compact .schedule-item-title {
  font-size: 0.95rem;
}

/* ── RADIO PAGE ── */
.radio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 2rem;
  align-items: start;
}
.radio-layout .player-wrap {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
.programme-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.programme-sidebar .sidebar-header {
  padding: 1.25rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}
.programme-sidebar .sidebar-header h3 {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.programme-sidebar #programme-list .schedule-item {
  border-bottom: 1px solid var(--border-subtle);
}
.programme-sidebar #programme-list .schedule-item:last-child {
  border-bottom: none;
}
.programme-sidebar .schedule-board-body .schedule-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
@media (min-width: 768px) {
  .programme-sidebar .schedule-board-body .schedule-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .programme-sidebar .schedule-item-time {
    flex-shrink: 0;
  }
  .programme-sidebar .schedule-item-main {
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    text-align: right;
  }
  .programme-sidebar .schedule-item-title {
    text-align: right;
  }
}
.radio-page-content {
  padding-top: 3rem;
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 900px) {
  .radio-layout { grid-template-columns: 1fr; }
}

/* ── GLOBAL PLAYER BAR ── */
.global-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  transition: background var(--trans);
}
.global-player-bar.is-playing {
  border-top-color: var(--accent);
}
.global-player-bar.is-loading .global-player-status {
  opacity: 0.7;
}
.global-player-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: 4rem;
  flex-wrap: wrap;
}
.global-player-info {
  flex: 1;
  min-width: 0;
}
.global-player-status {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.15rem;
}
.global-player-bar.is-paused .global-player-status {
  color: var(--text-muted);
}
.global-player-track {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.global-player-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.global-player-controls .ctrl-btn {
  flex-shrink: 0;
}
.global-player-controls .ctrl-btn.primary {
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}
.global-player-controls .global-bar-volume,
.global-player-controls .volume-slider.global-bar-volume {
  flex: 0 0 72px;
  width: 72px;
  max-width: 72px;
  min-width: 72px;
  height: 4px;
  accent-color: var(--accent);
  -webkit-appearance: none;
  appearance: none;
}
.global-player-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: color var(--trans), border-color var(--trans);
  text-decoration: none;
}
.global-player-expand:hover {
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 600px) {
  body.has-global-player .site-footer {
    margin-bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
  }
  .global-player-inner {
    gap: 0.65rem;
  }
  .global-player-info {
    flex: 1 1 100%;
  }
  .global-player-controls {
    flex: 1 1 auto;
    justify-content: flex-end;
    width: 100%;
  }
  .global-bar-volume {
    display: none;
  }
  .global-player-expand {
    display: none;
  }
}

/* ── BLOG ── */
.blog-section { background: var(--bg-secondary); }
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-slow);
}
.blog-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-img {
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  overflow: hidden;
}
.blog-card.featured .blog-card-img { aspect-ratio: 4/3; font-size: 4rem; }
.blog-card-body { padding: 1.25rem; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.blog-card-category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card-date { font-size: 0.75rem; color: var(--text-muted); }
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.blog-card.featured h3 { font-size: 1.4rem; }
.blog-card p { font-size: 0.85rem; }
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border-subtle);
}
.blog-card-author { font-size: 0.78rem; color: var(--text-muted); }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}
.newsletter-section::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0; right: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 120px,
      var(--border) 120px,
      var(--border) 121px
    );
  opacity: 0.3;
  pointer-events: none;
}
.newsletter-inner {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { margin-bottom: 0.75rem; }
.newsletter-inner p { margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.newsletter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--trans);
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--accent); }
.newsletter-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── ADVERTISERS ── */
.advertisers-section { background: var(--bg-secondary); }
.advertisers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.advertisers-perks { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.875rem; }
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}
.perk-icon { font-size: 1.25rem; flex-shrink: 0; }
.perk-item h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.2rem; }
.perk-item p { font-size: 0.82rem; }

.advertisers-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.advertisers-form h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  resize: vertical;
  min-height: 100px;
  outline: none;
  transition: border-color var(--trans);
}
.form-textarea:focus { border-color: var(--accent); }
.form-success {
  display: none;
  padding: 0.75rem 1rem;
  background: rgba(184,156,90,0.1);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.875rem;
  margin-top: 0.75rem;
}
.form-success.visible { display: block; }

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; max-width: 280px; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--trans);
  text-decoration: none;
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--accent); }

/* ── RADIO PAGE ── */
.radio-page { min-height: 100vh; padding-top: 64px; }
.radio-hero {
  background: var(--bg-secondary);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.radio-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px, transparent 24px,
    var(--border) 24px, var(--border) 25px
  );
  opacity: 0.2;
}
.radio-hero-inner { position: relative; z-index: 1; }
.radio-hero h1 { margin-bottom: 0.5rem; }
.radio-hero p { font-size: 1rem; color: var(--text-secondary); }

.player-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.player-cover {
  height: 260px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  position: relative;
  overflow: hidden;
}
.player-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(184,156,90,0.1) 0%, transparent 70%);
}
.player-vinyl {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    #1a1a1a 0deg, #2a2520 30deg, #1a1a1a 60deg, #2a2520 90deg,
    #1a1a1a 120deg, #2a2520 150deg, #1a1a1a 180deg, #2a2520 210deg,
    #1a1a1a 240deg, #2a2520 270deg, #1a1a1a 300deg, #2a2520 330deg, #1a1a1a 360deg
  );
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(184,156,90,0.1), 0 8px 32px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}
.player-vinyl.spinning {
  animation: spin-vinyl 4s linear infinite;
}
@keyframes spin-vinyl {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.player-vinyl-inner {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.player-body { padding: 2rem; }
.player-status {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.player-on-air {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #c0392b;
  padding: 0.25rem 0.6rem;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 2px;
}
.player-on-air-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #c0392b;
  animation: pulse-dot 1.5s infinite;
}

.player-now { flex: 1; }
.player-now-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.player-now-track {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
}

.player-track-info { margin-bottom: 2rem; }
.player-track-main {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.player-track-sub { font-size: 0.95rem; color: var(--text-secondary); }

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.ctrl-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--trans);
}
.ctrl-btn:hover { border-color: var(--accent); color: var(--accent); }
.ctrl-btn.primary {
  width: 56px; height: 56px;
  background: var(--accent);
  border-color: var(--accent);
  color: #1E1B16;
  font-size: 1.3rem;
}
.ctrl-btn.primary:hover { background: var(--accent-hover); }

.player-volume {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
.player-volume .volume-slider {
  flex: 1;
  min-width: 0;
}
.player-volume .volume-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--text-muted);
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
}
.volume-slider::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

/* Player next up */
.player-next {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.player-next-label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); flex-shrink: 0; }
.player-next-track {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* ── BLOG PAGE ── */
.blog-page { min-height: 100vh; padding-top: 64px; }
.blog-page-hero {
  background: var(--bg-secondary);
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  transition: all var(--trans);
}
.page-btn:hover, .page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1E1B16;
}

/* ── POST PAGE ── */
.post-page { min-height: 100vh; padding-top: 64px; }
.post-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.post-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
}
.post-cover-placeholder {
  width: 100%;
  height: 320px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 3rem;
}
.post-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}
.post-body h2, .post-body h3 {
  margin: 2rem 0 1rem;
}
.post-body p {
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}
.post-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-primary);
}

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── UTILITY ── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.text-center { text-align: center; }
.mt-sm { margin-top: 0.5rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 2rem; }
.w-full { width: 100%; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .highlights-grid { grid-template-columns: 1fr 1fr; }
  .highlight-card.featured { grid-column: span 2; }
  .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-menu { display: flex; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -1rem; }
  .hero-frame { max-width: 320px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .about-features { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight-card.featured { grid-column: span 1; }
  .highlight-card.featured .highlight-card-img { aspect-ratio: 16/9; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-list-grid { grid-template-columns: 1fr; }
  .advertisers-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .player-body { padding: 1.25rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { justify-content: center; }
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Print */
@media print {
  .site-header, .now-playing-bar, .site-footer { display: none; }
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}
