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

:root {
  --bg:        #1e1e1e;
  --bg-alt:    #191919;
  --text:      #fbfbf4;
  --muted:     rgba(251,251,244,0.45);
  --border:    rgba(251,251,244,0.08);
  --accent:    #ff4571;
  --blue:      #1a6fff;
  --bar-h:     48px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
}

/* ── PLAYER BAR ── */
#rfp-bar {
  position: sticky;
  top: 56px;
  left: 0; right: 0;
  height: var(--bar-h);
  background: var(--blue);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: stretch;
  z-index: 99;
  user-select: none;
}

/* Left: live label + play button */
#rfp-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 16px;
  flex-shrink: 0;
  background: var(--blue);
  border-right: 1px solid rgba(255,255,255,0.25);
  outline: none;
}
#rfp-bar-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.rfp-bar-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: bar-pulse 2s ease infinite;
}
@keyframes bar-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
#rfp-bar-play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
  padding: 0;
}
#rfp-bar-play:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}
/* play triangle */
#rfp-bar-play::before {
  content: '';
  display: block;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid #fff;
  margin-left: 2px;
}
/* pause bars */
#rfp-bar.playing #rfp-bar-play::before {
  width: 9px; height: 10px;
  border: none;
  border-left: 3px solid #fff;
  border-right: 3px solid #fff;
  margin-left: 0;
}

/* Middle: scrolling marquee (same blue as bar bg) */
#rfp-bar-marquee {
  flex: 1;
  background: transparent;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-width: 0;
}
#rfp-bar-track-wrap {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: bar-scroll 20s linear infinite;
  will-change: transform;
}
@keyframes bar-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.rfp-bar-track-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 0 28px;
  flex-shrink: 0;
}
.rfp-bar-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin: 0 4px;
}

/* Right: pop out button */
#rfp-bar-right {
  display: flex;
  align-items: center;
  padding: 0 14px;
  flex-shrink: 0;
  background: var(--blue);
  border-left: 1px solid rgba(255,255,255,0.25);
}
#rfp-bar-popout {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s, background 0.15s;
}
#rfp-bar-popout:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}
#rfp-bar-popout svg {
  flex-shrink: 0;
}

@media (max-width: 500px) {
  #rfp-bar-live { display: none; }
  #rfp-bar-popout span { display: none; }
  #rfp-bar-popout { padding: 5px 8px; }
}

/* ── HEADER ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}
.site-logo {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--text); }
.site-nav .nav-live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
}
.nav-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

/* ── MOBILE NAV ── */
.nav-burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--text); background: rgba(251,251,244,0.03); }
.mobile-nav.open { display: flex; }

/* ── PAGE CONTENT ── */
.page-main {
  min-height: calc(100vh - 86px - 60px);
  padding: 64px 40px;
  display: flex;
  justify-content: center;
}
.page-content {
  width: 100%;
  max-width: 640px;
}
.page-content--wide {
  max-width: 960px;
}
.page-title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.page-body {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(251,251,244,0.8);
  max-width: 560px;
}
.coming-soon {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  text-align: center;
}
.site-footer p {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(251,251,244,0.2);
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .nav-burger { display: block; }
  .page-main { padding: 40px 20px; }
  .site-footer { padding: 24px 20px; }
}
