/* Canal Rodéo — components v2 */

/* BUTTONS — beefed up for CTA prominence */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--step-0);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1.15rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: transform var(--fast) var(--ease-out),
              background var(--fast) ease,
              border-color var(--fast) ease,
              color var(--fast) ease,
              box-shadow var(--medium) ease;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
  background: linear-gradient(180deg, #f0cf78 0%, #d4a63f 50%, #b88830 100%);
  color: #0a0807;
  border-color: #d4a63f;
  font-weight: 400;
  box-shadow:
    0 0 0 0 rgba(212,166,63,0),
    0 4px 16px -2px rgba(212,166,63,0.35),
    inset 0 1px 0 rgba(255,255,255,0.35),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  text-shadow: 0 1px 0 rgba(255,255,255,0.2);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f7e4a2 0%, #e4b860 50%, #c9973d 100%);
  border-color: #f0cf78;
  color: #0a0807;
  box-shadow:
    0 0 30px 0 rgba(212,166,63,0.5),
    0 8px 24px -2px rgba(212,166,63,0.45),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.7s ease;
}
.btn-primary:hover::before {
  left: 100%;
}

.btn-large {
  padding: 1.35rem 2.4rem;
  font-size: var(--step-1);
  letter-spacing: 0.1em;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  background: var(--color-surface);
  border-color: var(--color-brand);
  color: var(--color-text);
}

.btn-on-dark {
  background: rgba(242,232,213,0.08);
  backdrop-filter: blur(8px);
  border-color: rgba(242,232,213,0.24);
  color: var(--color-text);
}
.btn-on-dark:hover {
  background: rgba(242,232,213,0.18);
  color: var(--color-text);
  border-color: rgba(242,232,213,0.4);
}

.btn-block { width: 100%; }
.btn-sm { padding: 0.65rem 1.1rem; font-size: var(--step--1); }

/* Landing music control */
.music-toggle {
  min-height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(212, 166, 63, 0.26);
  border-radius: var(--radius-sm);
  background: rgba(10, 8, 7, 0.45);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
  transition: color var(--fast) ease,
              background var(--fast) ease,
              border-color var(--fast) ease,
              box-shadow var(--fast) ease;
  white-space: nowrap;
}
.music-toggle:hover,
.music-toggle:focus-visible {
  color: var(--cr-gold-light);
  background: rgba(212, 166, 63, 0.1);
  border-color: rgba(240, 207, 120, 0.48);
}
.music-toggle:focus-visible {
  outline: 2px solid rgba(240, 207, 120, 0.45);
  outline-offset: 2px;
}
.music-toggle.needs-action {
  color: var(--cr-gold-light);
  background: rgba(212, 166, 63, 0.12);
}
.music-toggle.is-playing {
  color: #f7f2e6;
  border-color: rgba(240, 207, 120, 0.54);
  box-shadow: 0 0 18px -8px rgba(240, 207, 120, 0.8);
}
.music-bars {
  width: 1rem;
  height: 0.9rem;
  display: grid;
  grid-template-columns: repeat(3, 3px);
  align-items: end;
  justify-content: center;
  gap: 2px;
}
.music-bars span {
  height: 0.35rem;
  border-radius: var(--radius-pill);
  background: currentColor;
}
.music-toggle.is-playing .music-bars span {
  animation: music-level 0.86s ease-in-out infinite;
}
.music-toggle.is-playing .music-bars span:nth-child(2) { animation-delay: 0.12s; }
.music-toggle.is-playing .music-bars span:nth-child(3) { animation-delay: 0.24s; }

.music-toggle-floating {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 151;
  min-height: 2.65rem;
  padding-inline: 1rem;
  background: rgba(10, 8, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 10px 26px -12px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@keyframes music-level {
  0%, 100% { height: 0.3rem; }
  50% { height: 0.9rem; }
}

/* FORMS */
.form-row { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.form-row label {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.form-input {
  font-family: var(--font-body);
  font-size: var(--step-0);
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--fast) ease, box-shadow var(--fast) ease;
  width: 100%;
}
.form-input::placeholder { color: var(--color-text-muted); }
.form-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 22%, transparent);
}

.form-help {
  font-size: var(--step--1);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
}
.form-error { font-size: var(--step--1); color: var(--cr-oxblood); margin-top: 0.3rem; letter-spacing: 0.02em; }
.form-success { font-size: var(--step--1); color: var(--cr-sage); margin-top: 0.3rem; letter-spacing: 0.02em; }

/* CARDS — leaner, Teton Ridge blocks */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2rem;
}
.card h3 {
  font-size: var(--step-2);
  margin-bottom: 0.6em;
  letter-spacing: 0.04em;
}
.card p { color: var(--color-text-faint); text-transform: none; font-family: var(--font-body); font-weight: 300; line-height: 1.55; }

/* Feature row blocks — rich numbered sections */
.feature-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--color-border);
  align-items: start;
}
.feature-row:last-child { border-bottom: 1px solid var(--color-border); }
.feature-num {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--color-brand);
  letter-spacing: 0.1em;
  line-height: 1;
  padding-top: 0.7em;
}
.feature-body h3 {
  font-size: var(--step-4);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.feature-body p {
  color: var(--color-text-faint);
  font-size: var(--step-1);
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 300;
  line-height: 1.5;
  max-width: 48ch;
}
.feature-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.feature-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform var(--slow) var(--ease-out);
}
.feature-row:hover .feature-media img { transform: scale(1.03); }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .feature-num { padding-top: 0; }
  .feature-media { order: -1; aspect-ratio: 16 / 9; }
}

/* FAQ — clean accordion */
.faq {
  border-top: 1px solid var(--color-border);
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  padding: 1.75rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--color-brand);
  transition: transform var(--fast) ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { color: var(--color-brand); }
.faq-answer {
  padding: 0 0 1.75rem;
  color: var(--color-text-faint);
  font-size: var(--step-0);
  max-width: 72ch;
  line-height: 1.6;
}

/* STAT */
.stat {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}
.stat-label {
  font-family: var(--font-display);
  font-size: var(--step--2);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.stat-value {
  font-family: var(--font-display);
  font-size: var(--step-5);
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-top: 0.4rem;
  line-height: 1;
}
.stat-delta {
  font-size: var(--step--1);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.table th, .table td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  font-size: var(--step--1);
  border-bottom: 1px solid var(--color-border);
}
.table th {
  background: var(--color-bg-alt);
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--step--2);
}
.table td { color: var(--color-text-faint); }
.table tr:last-child td { border-bottom: 0; }

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--color-border);
}
.badge-active { color: var(--cr-sage); border-color: color-mix(in srgb, var(--cr-sage) 40%, transparent); }
.badge-off    { color: var(--color-text-muted); }
.badge-warn   { color: var(--color-brand); border-color: color-mix(in srgb, var(--color-brand) 40%, transparent); }
.badge-live   { color: var(--cr-oxblood); border-color: color-mix(in srgb, var(--cr-oxblood) 50%, transparent); background: color-mix(in srgb, var(--cr-oxblood) 10%, transparent); }

/* LIVE DOT */
.live-dot {
  display: inline-block;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--cr-oxblood);
  animation: livePulse 1.6s ease-out infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cr-oxblood) 50%, transparent); }
  100% { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
}

/* PLAYER */
.player-wrap {
  position: relative;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
}
.player-wrap video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--color-text);
  text-align: center;
  padding: 2rem;
  background: rgba(20,16,11,0.82);
  backdrop-filter: blur(4px);
}

/* WATCH LAYOUT + CHAT */
.watch-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}
@media (max-width: 960px) { .watch-layout { grid-template-columns: 1fr; } }

.chat {
  display: flex;
  flex-direction: column;
  height: min(680px, 78vh);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
@media (max-width: 960px) {
  .chat { position: static; height: 500px; margin-top: 1rem; }
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--cr-ink-2);
}
.chat-header h3 {
  margin: 0;
  font-size: var(--step-1);
  letter-spacing: 0.1em;
}
.chat-online {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scroll-behavior: smooth;
}
.chat-empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--step--1);
  margin: auto;
  padding: 2rem 0;
}
.chat-msg { display: flex; flex-direction: column; gap: 0.15rem; }
.chat-msg-head {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: var(--step--2);
}
.chat-msg-author {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brand);
}
.chat-msg-time { color: var(--color-text-muted); font-size: var(--step--2); }
.chat-msg-content {
  color: var(--color-text-faint);
  font-size: var(--step-0);
  line-height: 1.45;
  word-break: break-word;
  hyphens: auto;
}
.chat-msg-mine .chat-msg-author { color: var(--cr-copper-2); }

.chat-form {
  display: flex;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border-top: 1px solid var(--color-border);
  background: var(--cr-ink-2);
}
.chat-input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--step--1);
}
.chat-input:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-brand) 22%, transparent);
}
.chat-input:disabled { opacity: 0.4; }
.chat-send {
  padding: 0 1rem;
  font-size: var(--step-0);
  line-height: 1;
  min-width: 48px;
}
.chat-status {
  margin: 0;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  background: var(--cr-ink-2);
}
.chat-status.chat-status-ok    { color: var(--cr-sage); }
.chat-status.chat-status-warn  { color: var(--color-brand); }
.chat-status.chat-status-error { color: var(--cr-oxblood); }

/* ================================================
   ANIMATION & INTERACTION LAYER
   ================================================ */

/* Word splitting for text reveal — hides letters until GSAP reveals them */
.cr-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  perspective: 600px;
}
.cr-word-inner {
  display: inline-block;
  transform-origin: top center;
  will-change: transform, opacity;
}

/* Nav state change on scroll */
.nav {
  transition: background var(--medium) var(--ease-out),
              backdrop-filter var(--medium) var(--ease-out),
              border-color var(--medium) var(--ease-out),
              padding var(--medium) var(--ease-out);
}
.nav.nav-scrolled {
  background: color-mix(in srgb, var(--cr-ink) 96%, transparent);
  border-bottom-color: var(--cr-ink-4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.nav.nav-scrolled .nav-inner { padding-block: 0.55rem; }

/* ================================================
   NAV DROPDOWN — Standing menu (associations)
   ================================================ */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 0;
  padding: 0.55rem 0.85rem;
  margin: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 18px rgba(0, 0, 0, 0.45);
  transition: color var(--fast) ease, background var(--fast) ease, text-shadow var(--fast) ease;
  line-height: 1;
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown[data-open="true"] .nav-dropdown-toggle {
  color: var(--cr-gold-light);
  background: rgba(255, 255, 255, 0.06);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 0 14px color-mix(in srgb, var(--color-brand) 50%, transparent);
  outline: none;
}
.nav-dropdown-arrow {
  transition: transform var(--fast) var(--ease-out);
  flex-shrink: 0;
}
.nav-dropdown[data-open="true"] .nav-dropdown-arrow {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  padding: 0.45rem;
  background: color-mix(in srgb, var(--cr-ink) 96%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 14px 32px -8px rgba(0,0,0,0.55),
    0 0 0 1px rgba(212,166,63,0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--fast) ease, transform var(--medium) var(--ease-out);
  z-index: 110;
}
.nav-dropdown[data-open="true"] .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--step--1);
  color: var(--color-text);
  text-decoration: none;
  transition: background var(--fast) ease;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: color-mix(in srgb, var(--color-brand) 14%, transparent);
  color: var(--color-text);
  text-decoration: none;
  outline: none;
}
.nav-dropdown-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: var(--step-0);
}
.nav-dropdown-item-desc {
  font-size: var(--step--2);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}

/* ================================================
   COMING SOON — page de transition (standing, etc.)
   ================================================ */
.coming-soon { background: var(--cr-black); min-height: 100svh; display: flex; }
.coming-soon-hero {
  position: relative;
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 12vh, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.coming-soon-bg {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
}
.coming-soon-bg picture, .coming-soon-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  filter: blur(2px) brightness(0.45);
}
.coming-soon-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 30%, transparent 0%, rgba(10,8,7,0.7) 70%, var(--cr-black) 100%),
    linear-gradient(180deg, rgba(10,8,7,0.55) 0%, rgba(10,8,7,0.85) 100%);
}
.coming-soon-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.coming-soon-kicker {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 0.5rem;
}
.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 0;
}
.coming-soon-title em {
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(180deg, var(--cr-gold-light) 0%, var(--cr-gold) 60%, var(--cr-gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.coming-soon-lead {
  font-size: var(--step-0);
  color: var(--color-text);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0;
}
.coming-soon-sub {
  font-size: var(--step--1);
  color: var(--color-text-faint);
  max-width: 50ch;
  line-height: 1.5;
  margin: 0;
}
.coming-soon-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
}
.coming-soon-leagues {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  margin-top: 2rem;
  width: 100%;
  max-width: 640px;
}
.coming-soon-leagues li {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.1rem 1.25rem;
  background: color-mix(in srgb, var(--cr-ink) 55%, transparent);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.coming-soon-leagues strong {
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.coming-soon-leagues span {
  font-size: var(--step--2);
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .coming-soon-actions { flex-direction: column; width: 100%; }
  .coming-soon-actions .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ================================================
   HOME — VOD preview section
   ================================================ */
.home-vod {
  background: var(--cr-black-2, #0d0a08);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.home-vod-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.home-vod-cta-top {
  flex-shrink: 0;
}
.home-vod-grid {
  grid-template-columns: repeat(3, 1fr);
}
.home-vod-grid .vod-card:nth-child(n+4) { display: none; }
.home-vod-loader,
.home-vod-error {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-faint);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: var(--step--1);
}
.home-vod-error {
  color: var(--cr-text-muted);
  background: rgba(255, 100, 100, 0.05);
  border: 1px solid rgba(255, 100, 100, 0.15);
  border-radius: var(--radius-md);
}
.home-vod-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-faint);
}
.home-vod-empty h3 {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
  color: var(--color-text);
}
.home-vod-footer {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .home-vod-grid { grid-template-columns: repeat(2, 1fr); }
  .home-vod-grid .vod-card:nth-child(n+3) { display: none; }
}
@media (max-width: 600px) {
  .home-vod-grid { grid-template-columns: 1fr; }
  .home-vod-grid .vod-card:nth-child(n+3) { display: none; }
  .home-vod-cta-top { display: none; }
}

@media (max-width: 820px) {
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    font-size: var(--step-3);
    letter-spacing: 0.04em;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0 0 0 1rem;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }
  .nav-dropdown[data-open="true"] .nav-dropdown-menu {
    display: block;
    transform: none;
  }
  .nav-dropdown-menu a {
    padding: 0.55rem 0;
    border-radius: 0;
  }
  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a:focus-visible {
    background: transparent;
  }
}

/* Marquee strip — infinite horizontal scroll */
.strip {
  overflow: hidden;
  border-block: 1px solid var(--color-border);
  padding: 0;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--cr-ink-2);
}
.strip-track {
  display: inline-flex;
  gap: 3rem;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  animation: strip-scroll 38s linear infinite;
  padding-inline: 1.5rem;
  flex-shrink: 0;
}
.strip:hover .strip-track { animation-play-state: paused; }
@keyframes strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.strip-dot { color: var(--color-brand); font-size: 0.7em; }

/* Button base — add subtle hover lift (on top of magnetic JS) */
.btn-primary { box-shadow: 0 0 0 rgba(201,151,61,0); transition: box-shadow var(--fast) ease, transform var(--fast) ease, background var(--fast) ease, color var(--fast) ease; }
.btn-primary:hover { box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--color-brand) 60%, transparent); }

/* Feature row — subtle interactive state */
.feature-row {
  transition: background var(--medium) var(--ease-out);
  position: relative;
}
.feature-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0; height: 1px;
  background: var(--color-brand);
  transition: width var(--slow) var(--ease-out);
}
.feature-row:hover::before { width: 100%; }
.feature-row:hover .feature-num { color: var(--cr-copper-2); }

/* Images — blur on hover out, crisp on in */
.feature-media, .split-media, .hero-bg {
  will-change: transform, clip-path;
}

/* Text on display elements — perspective for 3D rotateX reveal */
.hero-title, .section-title, .display-xl { perspective: 900px; }

/* Countdown — tick affordance */
.countdown-num { will-change: transform, opacity; }

/* FAQ smooth open (using details' native disclosure) */
.faq-item[open] .faq-answer {
  animation: faq-open 0.45s var(--ease-out);
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   TOP ANNOUNCEMENT BAR + FLOATING CTA
   ================================================ */

.announce-bar {
  position: relative;
  z-index: 1;
  background: linear-gradient(90deg, #8a6520 0%, #d4a63f 50%, #8a6520 100%);
  color: #0a0807;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow: hidden;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.6rem var(--gutter);
  flex-wrap: wrap;
}
.announce-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
  animation: ann-pulse 1.6s ease-out infinite;
  margin-right: 0.3rem;
  vertical-align: middle;
}
@keyframes ann-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,57,43,0.6); }
  100% { box-shadow: 0 0 0 8px rgba(192,57,43,0); }
}
.announce-text { font-weight: 400; }
.announce-text strong { font-weight: 400; letter-spacing: 0.12em; }
.announce-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: rgba(10,8,7,0.85);
  color: #f0cf78;
  border: 1px solid #0a0807;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  transition: background var(--fast), color var(--fast), transform var(--fast);
}
.announce-cta:hover {
  background: #0a0807;
  color: #f7e4a2;
  transform: translateX(2px);
  text-decoration: none;
}

/* Floating CTA (always visible) */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  background: linear-gradient(180deg, #f0cf78 0%, #d4a63f 50%, #b88830 100%);
  color: #0a0807;
  font-family: var(--font-display);
  font-size: var(--step-0);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow:
    0 0 40px 0 rgba(212,166,63,0.45),
    0 12px 32px -4px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity var(--slow) var(--ease-out), transform var(--slow) var(--ease-out), box-shadow var(--fast);
  animation: float-bob 3s ease-in-out infinite;
}
.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
}
.floating-cta:hover {
  box-shadow:
    0 0 60px 0 rgba(212,166,63,0.7),
    0 16px 36px -4px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.5);
  text-decoration: none;
  color: #0a0807;
}
.floating-cta .floating-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: #0a0807;
  color: #f0cf78;
  border-radius: 50%;
  font-size: 0.8em;
}
.floating-cta .floating-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0392b;
  margin-right: 0.4rem;
  animation: ann-pulse 1.6s ease-out infinite;
}
@keyframes float-bob {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -4px; }
}
@media (max-width: 600px) {
  .floating-cta { bottom: 1rem; right: 1rem; padding: 0.8rem 1.1rem; font-size: var(--step--1); }
  .music-toggle-floating { left: 1rem; bottom: 1rem; padding-inline: 0.85rem; }
}

/* Sticky in-section CTA band (used multiple places) */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(90deg,
    rgba(212,166,63,0.08) 0%,
    rgba(212,166,63,0.04) 50%,
    rgba(212,166,63,0.08) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}
.cta-band-text {
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.1;
}

/* ================================================
   MOBILE NAV (hamburger menu + responsive)
   ================================================ */

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--fast) ease, opacity var(--fast) ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* SVG icon variant — replaces the 3-span hamburger which collapses to 0 in
   some flex contexts. Bars icon visible by default, X visible when open. */
.nav-toggle .nav-toggle-icon {
  display: block;
  color: var(--color-text);
}
.nav-toggle .nav-toggle-icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-bars { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon-close { display: block; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }

  /* Backdrop appears only when the slide-in menu is open. Tapping it closes
     the menu via the document click-outside listener. backdrop-filter is
     scoped to the open state so the page isn't blurred at all times. */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
    pointer-events: none;
    z-index: 199;
    transition: opacity var(--medium) var(--ease-out), background var(--medium) var(--ease-out);
  }
  body:has(.nav-links[aria-hidden="false"])::before,
  body:has(.nav-links.open)::before {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    left: auto;
    width: min(82vw, 360px);
    z-index: 200;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 5rem 1.5rem 2rem;
    background: #0a0807;
    background-image: radial-gradient(110% 70% at 50% 0%, color-mix(in srgb, var(--color-brand) 8%, transparent) 0%, transparent 70%);
    transform: translateX(100%);
    opacity: 1;
    pointer-events: none;
    transition: transform var(--medium) var(--ease-out);
    overflow-y: auto;
    height: 100svh;
    box-shadow: -16px 0 36px -8px rgba(0, 0, 0, 0.55);
  }
  .nav-links[aria-hidden="false"],
  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }
  /* Uniform mobile menu items: same font, same size for plain links AND the
     Standing dropdown toggle button, so nothing sticks out visually. */
  .nav-links a,
  .nav-links .nav-dropdown-toggle,
  .nav-links .music-toggle {
    font-family: var(--font-display);
    font-size: var(--step-1);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--color-text);
    padding: 0.85rem 0;
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
  }
  .nav-links .music-toggle {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .nav-links a.btn-primary,
  .nav-links a.btn {
    font-size: var(--step-1);
    padding: 0.95rem 1.4rem;
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }
  .nav-links .nav-dropdown {
    width: 100%;
  }
  .nav-links .nav-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav-links .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin: 0.25rem 0 0.5rem;
    padding: 0 0 0 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
  }
  .nav-links .nav-dropdown[data-open="true"] .nav-dropdown-menu { display: block; }
  .nav-links .nav-dropdown-menu a {
    font-family: var(--font-body);
    font-size: var(--step--1);
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--color-text-faint);
    padding: 0.55rem 0;
  }
  .nav-links .nav-dropdown-menu a:hover { color: var(--color-text); }
}

/* ================================================
   MOBILE RESPONSIVE REFINEMENTS
   ================================================ */

@media (max-width: 820px) {
  /* Announce bar stacks */
  .announce-inner {
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.55rem var(--gutter);
    text-align: center;
  }
  .announce-text { font-size: var(--step--2); }
  .announce-cta { font-size: var(--step--2); padding: 0.25rem 0.7rem; }

  /* Hero more compact */
  .hero { min-height: 75svh; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 4.5rem); line-height: 0.95; }
  .hero-lead { font-size: var(--step-0); }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.7rem; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Countdown scales down */
  .countdown {
    gap: 0.5rem;
    padding: 0.7rem 0.8rem;
    width: 100%;
    justify-content: space-between;
  }
  .countdown-unit { min-width: 0; flex: 1; }
  .countdown-num { font-size: var(--step-2); }
  .countdown-label { font-size: 0.6rem; letter-spacing: 0.15em; }

  /* Sections tighter */
  .section { padding-block: clamp(2.5rem, 8vw, 4rem); }
  .section-title { font-size: clamp(2rem, 9vw, 3rem); }
  .section-lead { font-size: var(--step-0); }
  .display-xl { font-size: clamp(3rem, 14vw, 5rem); }

  /* Feature rows stack */
  .feature-row {
    grid-template-columns: 1fr !important;
    gap: 1.2rem;
    padding-block: 2.5rem;
  }
  .feature-num { padding-top: 0; font-size: var(--step--2); }
  .feature-body h3 { font-size: var(--step-2); }
  .feature-body p { font-size: var(--step-0); }
  .feature-media { order: -1; aspect-ratio: 16 / 9; }

  /* Split sections stack */
  .split { grid-template-columns: 1fr; gap: 1.5rem; }
  .split-media { aspect-ratio: 16 / 10; }

  /* Full-bleed break compact */
  .section-fullbleed { min-height: 55svh; padding-block: 3rem; }
  .fullbleed-title { font-size: clamp(2.5rem, 11vw, 4rem); }
  .fullbleed-lead { font-size: var(--step-0); }

  /* CTA band stacks */
  .cta-band {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 2rem 1.2rem;
  }
  .cta-band .container-wide { flex-direction: column !important; text-align: center; }
  .cta-band-text { font-size: var(--step-1); }
  .cta-band .btn { width: 100%; }

  /* Marquee strip slower + smaller */
  .strip { height: 56px; }
  .strip-track { font-size: var(--step-1); gap: 2rem; }

  /* Footer stacks */
  .footer-grid { grid-template-columns: 1fr !important; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.5rem; }
  .footer-logo-wrap img { max-width: 100% !important; }

  /* Watch layout stacks */
  .watch-layout { grid-template-columns: 1fr !important; }
  .chat { position: static !important; height: 400px; margin-top: 1rem; }

  /* Floating CTA smaller */
  .floating-cta {
    bottom: 0.8rem; right: 0.8rem;
    padding: 0.7rem 1rem;
    font-size: var(--step--1);
  }

  /* Tap targets min 44px */
  .btn { min-height: 44px; }
  .faq-item summary { min-height: 44px; padding: 1.2rem 0; font-size: var(--step-1); }

  /* Nav tightens */
  .nav-inner { padding-block: 0.55rem; min-height: 64px; }
  .nav-logo img.nav-logo-img { height: 60px; width: auto; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2.2rem, 13vw, 3.5rem); line-height: 1; }
  .countdown-num { font-size: var(--step-1); }
  .section-title { font-size: clamp(1.8rem, 10vw, 2.5rem); }
  .nav-inner { min-height: 56px; }
  .nav-logo img.nav-logo-img { height: 48px; width: auto; }
  .btn { padding: 0.95rem 1.3rem; font-size: var(--step--1); }
  .btn-large { padding: 1.1rem 1.6rem; font-size: var(--step-0); }
}

/* Reduced motion — kill animations */
@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Subtle vignette on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center,
    transparent 40%,
    rgba(0,0,0,0.4) 100%);
}

/* Full-bleed action break section */
.section-fullbleed {
  position: relative;
  min-height: 70svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.fullbleed-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.fullbleed-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.1);
}
.fullbleed-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.45) 55%,
      rgba(0,0,0,0.3) 100%);
}
.fullbleed-inner {
  max-width: 820px;
  position: relative;
  z-index: 2;
}
.fullbleed-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 1.2rem;
}
.fullbleed-kicker::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--color-brand);
}
.fullbleed-title {
  font-size: var(--step-6);
  color: var(--color-text);
  line-height: 0.92;
  letter-spacing: 0.01em;
  margin-bottom: 0.6em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.fullbleed-lead {
  font-size: var(--step-1);
  color: var(--color-text-faint);
  max-width: 52ch;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.5;
}

/* ================================================
   WATCH PAGE — cinematic editorial redesign
   ================================================ */

.watch-body {
  background:
    radial-gradient(ellipse at top, rgba(212,166,63,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(138,101,32,0.04) 0%, transparent 55%),
    var(--cr-black);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Nav — editorial sticky header, inspired by The American Rodeo broadcasts */
.watch-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(10,8,7,0.88) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--cr-border);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.watch-nav::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(138,101,32,0.4) 20%, var(--cr-gold-light) 50%, rgba(138,101,32,0.4) 80%, transparent 100%);
  pointer-events: none;
}
.watch-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0 1.3rem;
  gap: 1.5rem;
}
.watch-nav-inner .nav-logo {
  display: block;
  filter: drop-shadow(0 0 24px rgba(212,166,63,0.2));
  transition: filter var(--medium) var(--ease-out);
}
.watch-nav-inner .nav-logo:hover { filter: drop-shadow(0 0 32px rgba(240,207,120,0.35)); }
.watch-nav-inner .nav-logo-img {
  height: clamp(60px, 6vw, 88px);
  width: auto;
  display: block;
  filter:
    drop-shadow(0 2px 5px rgba(0,0,0,0.6))
    drop-shadow(0 0 16px rgba(138,101,32,0.25));
}
.watch-nav-links { display: flex; gap: 1.8rem; align-items: center; }
.watch-nav-link {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--cr-text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color var(--fast) var(--ease-out);
}
.watch-nav-link:hover { color: var(--cr-gold-light); }

.watch-shell {
  padding: clamp(1.8rem, 3vw, 3rem) 0 clamp(2rem, 4vw, 4rem);
}

/* Editorial intro */
.watch-intro {
  margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
  padding-bottom: clamp(1.2rem, 2vw, 1.8rem);
  border-bottom: 1px solid var(--cr-border);
}
.watch-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cr-gold-mid);
  margin-bottom: 0.7rem;
}
.watch-eyebrow-num { color: var(--cr-gold); }
.watch-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--cr-cream);
  text-shadow: 0 0 60px rgba(212,166,63,0.1);
}
.watch-title em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Stage layout — video + chat */
.watch-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: start;
}
@media (max-width: 1024px) { .watch-stage { grid-template-columns: 1fr; } }

/* PLAYER FRAME */
.stage-player { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }

.stage-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cr-black);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow:
    0 0 0 1px var(--cr-border),
    0 30px 90px -20px rgba(0,0,0,0.7),
    0 0 120px -40px rgba(212,166,63,0.15);
}
.stage-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(240,207,120,0.4) 0%,
    rgba(212,166,63,0.15) 25%,
    rgba(0,0,0,0) 50%,
    rgba(138,101,32,0.2) 75%,
    rgba(240,207,120,0.3) 100%);
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.stage-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.stage-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

/* Bouton plein écran custom — top-right par-dessus la vidéo */
.stage-fullscreen-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  background: rgba(10, 8, 7, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--fast), border-color var(--fast), transform var(--fast);
}
.stage-fullscreen-btn:hover {
  background: rgba(212, 166, 63, 0.9);
  border-color: var(--cr-gold);
  color: #0a0807;
  transform: translateY(-1px);
}
.stage-fullscreen-btn svg { display: block; }
@media (max-width: 600px) {
  .stage-fullscreen-btn {
    top: 0.6rem;
    right: 0.6rem;
    padding: 0.4rem 0.65rem;
    font-size: 10px;
  }
  .stage-fullscreen-btn .stage-fullscreen-text { display: none; }
}

/* Fallback "fake fullscreen" via CSS si aucune API native dispo (très rare) */
.stage-frame.css-fullscreen {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999;
  width: 100vw !important;
  height: 100vh !important;
  background: #000;
}

/* Quand le wrapper est en plein écran natif, étire la vidéo correctement */
.stage-frame:fullscreen,
.stage-frame:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  background: #000;
}
.stage-frame:fullscreen video,
.stage-frame:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Bouton "Activer le son" — affiché par-dessus la vidéo tant qu'elle joue muted */
.stage-unmute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.4rem;
  background: linear-gradient(180deg, var(--cr-gold-light) 0%, var(--cr-gold) 50%, var(--cr-gold-dark) 100%);
  color: #0a0807;
  border: 1px solid var(--cr-gold-light);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow:
    0 0 40px rgba(212, 166, 63, 0.5),
    0 14px 36px -4px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform var(--fast), box-shadow var(--fast);
}
.stage-unmute:hover {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow:
    0 0 60px rgba(212, 166, 63, 0.7),
    0 20px 44px -4px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.stage-unmute-icon { font-size: 1.2em; }

/* LIVE badge — absolute top-left overlay */
.stage-live {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem 0.45rem 0.7rem;
  background: rgba(10,8,7,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-text);
  transition: border-color var(--medium) var(--ease-out), color var(--medium) var(--ease-out);
}
.stage-live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cr-text-muted);
  transition: background var(--medium) var(--ease-out), box-shadow var(--medium) var(--ease-out);
}
.stage-live.is-live {
  border-color: rgba(192,57,43,0.5);
  color: var(--cr-cream);
}
.stage-live.is-live .stage-live-dot {
  background: var(--cr-oxblood);
  animation: stageLivePulse 1.6s ease-out infinite;
}
@keyframes stageLivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,57,43,0.65); }
  100% { box-shadow: 0 0 0 10px rgba(192,57,43,0); }
}

/* Viewer count top-right */
.stage-viewers {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(10,8,7,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  color: var(--cr-text-faint);
}
.stage-viewers-icon {
  color: var(--cr-gold);
  font-size: 0.55em;
  line-height: 1;
}

/* Overlay on player (when offline / error) */
.stage-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 2rem;
}
.stage-overlay-inner {
  text-align: center;
  max-width: 520px;
  animation: overlayIn var(--medium) var(--ease-out);
}
@keyframes overlayIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.stage-overlay-eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cr-gold);
  margin-bottom: 0.8rem;
}
.stage-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cr-cream);
  margin: 0 0 0.6rem;
  line-height: 1.1;
}
.stage-overlay p {
  font-family: var(--font-body);
  color: var(--cr-text-muted);
  font-size: var(--step-0);
  margin: 0;
  line-height: 1.5;
}

/* Meta bar under video */
.stage-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--cr-border);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stage-meta-item {
  padding: 0.85rem 1rem;
  background: var(--cr-black-2);
}
.stage-meta-label {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-gold-mid);
  margin-bottom: 0.3rem;
}
.stage-meta-value {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--cr-text);
  font-weight: 500;
}
@media (max-width: 680px) {
  .stage-meta { grid-template-columns: repeat(2, 1fr); }
}

/* POSITIONS À BATTRE — board sous le lecteur */
.live-board {
  margin-top: 1rem;
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-md);
  background: var(--cr-black-2);
  overflow: hidden;
}
.live-board[hidden] { display: none; }
.live-board-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem 0.7rem;
  border-bottom: 1px solid var(--cr-border);
}
.live-board-eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-gold-mid);
  white-space: nowrap;
}
.live-board-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-0);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cr-text);
}
.live-board-list { display: flex; flex-direction: column; }
.live-board-row {
  display: grid;
  grid-template-columns: minmax(7rem, 1fr) minmax(0, 1.3fr) auto;
  align-items: center;
  gap: 0.6rem 1rem;
  padding: 0.6rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.live-board-row:first-child { border-top: 0; }
.live-board-discipline {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--cr-text);
}
.live-board-name {
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--cr-text-dim, rgba(255,255,255,0.55));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.live-board-score {
  justify-self: end;
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: var(--cr-gold-light);
  white-space: nowrap;
}
.live-board-foot {
  margin: 0;
  padding: 0.6rem 1.1rem 0.8rem;
  font-family: var(--font-body);
  font-size: var(--step--2);
  color: var(--cr-text-dim, rgba(255,255,255,0.45));
  border-top: 1px solid var(--cr-border);
}
@media (max-width: 680px) {
  .live-board-row { grid-template-columns: 1fr auto; column-gap: 0.8rem; }
  .live-board-discipline { grid-column: 1; grid-row: 1; }
  .live-board-score { grid-column: 2; grid-row: 1; }
  .live-board-name { grid-column: 1 / -1; grid-row: 2; font-size: var(--step--2); }
}

/* CHAT PANEL — luxe */
.stage-chat {
  display: flex;
  flex-direction: column;
  background: var(--cr-black-2);
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: sticky;
  top: 90px;
  height: min(720px, calc(100vh - 120px));
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
@media (max-width: 1024px) {
  .stage-chat { position: static; height: 520px; }
}

.stage-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--cr-border);
  background: linear-gradient(180deg, var(--cr-black-3) 0%, var(--cr-black-2) 100%);
}
.stage-chat-eyebrow {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cr-gold-mid);
  margin-bottom: 0.2rem;
}
.stage-chat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-1);
  letter-spacing: 0.08em;
  color: var(--cr-cream);
  text-transform: uppercase;
}
.stage-chat-online {
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cr-gold-mid);
  padding: 0.3rem 0.7rem;
  background: rgba(212,166,63,0.08);
  border: 1px solid rgba(212,166,63,0.2);
  border-radius: var(--radius-pill);
}

.stage-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--cr-border) transparent;
}
.stage-chat-messages::-webkit-scrollbar { width: 6px; }
.stage-chat-messages::-webkit-scrollbar-track { background: transparent; }
.stage-chat-messages::-webkit-scrollbar-thumb { background: var(--cr-border); border-radius: 3px; }
.stage-chat-messages::-webkit-scrollbar-thumb:hover { background: var(--cr-gold-dark); }

.stage-chat-empty {
  text-align: center;
  color: var(--cr-text-muted);
  font-size: var(--step--1);
  margin: auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  font-family: var(--font-body);
}
.stage-chat-empty-icon {
  display: block;
  font-size: 2rem;
  color: var(--cr-gold);
  margin-bottom: 0.7rem;
  opacity: 0.6;
}

.chat-msg { display: flex; flex-direction: column; gap: 0.2rem; }
.chat-msg-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: var(--step--2);
}
.chat-msg-author {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cr-gold);
  font-size: var(--step--1);
}
.chat-msg-mine .chat-msg-author {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Annonce officielle admin — bordure or + badge "📢 Officiel" */
.chat-msg-admin {
  background: linear-gradient(180deg, rgba(212, 166, 63, 0.15) 0%, rgba(212, 166, 63, 0.06) 100%);
  border: 1px solid rgba(212, 166, 63, 0.45);
  border-left: 3px solid var(--cr-gold);
  border-radius: 6px;
  padding: 0.7rem 0.9rem;
  margin: 0.3rem 0;
}
.chat-msg-admin .chat-msg-author {
  color: var(--cr-gold-light);
  text-shadow: 0 0 12px rgba(212, 166, 63, 0.4);
}
.chat-msg-admin .chat-msg-content {
  color: var(--cr-text);
  font-weight: 500;
}
.chat-msg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  background: var(--gradient-gold);
  color: #0a0807;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
  font-weight: 600;
  margin-left: -0.3rem;
}
.chat-msg-time {
  color: var(--cr-text-muted);
  font-size: var(--step--2);
  letter-spacing: 0.05em;
}
.chat-msg-content {
  color: var(--cr-text-faint);
  font-size: var(--step--1);
  line-height: 1.5;
  word-break: break-word;
  hyphens: auto;
}

.stage-chat-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  border-top: 1px solid var(--cr-border);
  background: var(--cr-black-3);
}
.stage-chat-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--cr-border);
  border-radius: var(--radius-sm);
  background: var(--cr-black);
  color: var(--cr-text);
  font-family: var(--font-body);
  font-size: var(--step--1);
  transition: border-color var(--fast) var(--ease-out), box-shadow var(--fast) var(--ease-out);
}
.stage-chat-input::placeholder { color: var(--cr-text-muted); }
.stage-chat-input:focus {
  outline: none;
  border-color: var(--cr-gold-mid);
  box-shadow: 0 0 0 3px rgba(212,166,63,0.15);
}
.stage-chat-input:disabled { opacity: 0.4; cursor: not-allowed; }

.stage-chat-send {
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--gradient-gold);
  color: var(--cr-black);
  cursor: pointer;
  transition: transform var(--fast) var(--ease-spring), box-shadow var(--fast) var(--ease-out), opacity var(--fast) ease;
  box-shadow: 0 4px 20px -4px rgba(212,166,63,0.4);
}
.stage-chat-send:hover:not(:disabled) { transform: translateY(-1px) scale(1.03); box-shadow: 0 8px 24px -4px rgba(240,207,120,0.55); }
.stage-chat-send:active:not(:disabled) { transform: translateY(0) scale(0.98); }
.stage-chat-send:disabled { opacity: 0.3; cursor: not-allowed; }

.stage-chat-status {
  margin: 0;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-text-muted);
  border-top: 1px solid var(--cr-border);
  background: var(--cr-black);
  text-align: center;
}
.stage-chat-status.chat-status-ok    { color: var(--cr-sage); }
.stage-chat-status.chat-status-warn  { color: var(--cr-gold-light); }
.stage-chat-status.chat-status-error { color: var(--cr-oxblood); }

/* Support footer */
.watch-support {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--cr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: var(--step--1);
  color: var(--cr-text-muted);
}
.watch-support a {
  color: var(--cr-gold-mid);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--fast) var(--ease-out);
}
.watch-support a:hover { color: var(--cr-gold-light); }

/* Mobile polish */
@media (max-width: 680px) {
  .watch-nav-inner { padding: 1rem 0; }
  .watch-nav-inner .nav-logo-img { height: 50px; width: auto; }
  .watch-nav-links { gap: 1rem; }
  .watch-nav-link { font-size: var(--step--2); }
  .stage-live, .stage-viewers {
    top: 0.6rem;
    font-size: 10px;
    padding: 0.3rem 0.7rem;
  }
  .stage-live { left: 0.6rem; }
  .stage-viewers { right: 0.6rem; }
  .watch-support { font-size: var(--step--2); }
}

/* ================================================
   LIVE MODE — activé pendant la diffusion (vendredi 22 mai 20h)
   Body.live-active déclenche tous ces overrides en cascade.
   Convention broadcast: rouge oxblood + dot pulsant (TV/Twitch/YouTube Live).
   ================================================ */

:root {
  --live-red:        #c0392b;
  --live-red-deep:   #8e2c20;
  --live-red-bright: #e74c3c;
  --live-red-glow:   rgba(231, 76, 60, 0.45);
}

/* Bandeau d'annonce → ROUGE pulsant */
body.live-active .announce-bar {
  background: linear-gradient(90deg, var(--live-red-deep) 0%, var(--live-red-bright) 50%, var(--live-red-deep) 100%);
  color: #fff;
  box-shadow: 0 2px 20px rgba(231, 76, 60, 0.4);
}
body.live-active .announce-bar .announce-live-dot {
  background: #fff;
  animation: live-pulse 1.2s ease-out infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.8); }
  100% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
body.live-active .announce-bar .announce-cta {
  background: #fff;
  color: var(--live-red);
  border-color: #fff;
  font-weight: 600;
}
body.live-active .announce-bar .announce-cta:hover {
  background: #0a0807;
  color: #fff;
}

/* Boutons primaires marqués live-aware → ROUGES */
body.live-active .btn-primary.is-live-cta,
body.live-active .btn.is-live-cta {
  background: linear-gradient(180deg, var(--live-red-bright) 0%, var(--live-red) 50%, var(--live-red-deep) 100%);
  border-color: var(--live-red-bright);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  box-shadow:
    0 0 0 0 rgba(231, 76, 60, 0),
    0 4px 20px -2px var(--live-red-glow),
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -1px 0 rgba(0,0,0,0.25);
}
body.live-active .btn-primary.is-live-cta:hover,
body.live-active .btn.is-live-cta:hover {
  background: linear-gradient(180deg, #ff6655 0%, var(--live-red-bright) 50%, var(--live-red) 100%);
  border-color: #ff6655;
  color: #fff;
  box-shadow:
    0 0 40px 0 var(--live-red-glow),
    0 8px 28px -2px rgba(231, 76, 60, 0.55),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Floating CTA → ROUGE */
body.live-active .floating-cta.is-live-cta,
body.live-active .floating-cta {
  background: linear-gradient(180deg, var(--live-red-bright) 0%, var(--live-red) 50%, var(--live-red-deep) 100%);
  color: #fff;
  box-shadow:
    0 0 50px 0 var(--live-red-glow),
    0 12px 32px -4px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
body.live-active .floating-cta:hover {
  box-shadow:
    0 0 70px 0 rgba(231, 76, 60, 0.7),
    0 16px 36px -4px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.35);
  color: #fff;
}
body.live-active .floating-cta .floating-dot {
  background: #fff;
  animation: live-pulse 1.2s ease-out infinite;
}

/* Mid-page CTA band → fond rouge */
body.live-active .cta-band {
  background: linear-gradient(135deg, var(--live-red-deep) 0%, var(--live-red) 100%);
  border-color: var(--live-red-bright);
}
body.live-active .cta-band .cta-band-text {
  color: #fff;
}

/* Hero kicker → tag "EN DIRECT" rouge */
body.live-active .hero-kicker.is-live-cta {
  background: var(--live-red);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  letter-spacing: 0.16em;
  font-weight: 600;
}

/* Countdown → caché en mode live (le live est commencé, plus de countdown) */
body.live-active .countdown { display: none; }

/* Section eyebrow numérique conserve le gold pour ne pas tout faire rouge */

/* Hero live player — toujours rendu, devient interactif sur clic ou en mode live.
   Par défaut: idle (placeholder + play button overlay).
   En lecture: video joue, placeholder caché.
   En mode live (body.live-active): joue automatiquement. */
.hero-live-player {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 600ms var(--ease-out);
}
.hero-live-player[data-state="playing"] {
  opacity: 1;
  pointer-events: auto;
}
.hero-overlay {
  pointer-events: none;
}
/* Placeholder — bouton play en bas-droite, ne masque pas le titre du hero */
.hero-live-placeholder {
  position: absolute;
  inset: auto 1.5rem 1.5rem auto;
  z-index: 3;
  pointer-events: none;
  transition: opacity 400ms var(--ease-out);
}
.hero-live-placeholder > * { pointer-events: auto; }
@media (max-width: 720px) {
  .hero-live-placeholder { inset: auto 1rem 1rem auto; }
}
.hero-live-placeholder.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-live-play-big {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.3rem 0.7rem 0.9rem;
  background: linear-gradient(180deg, var(--live-red-bright) 0%, var(--live-red) 50%, var(--live-red-deep) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow:
    0 0 30px rgba(231, 76, 60, 0.45),
    0 10px 28px -4px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform var(--fast) var(--ease-out), box-shadow var(--fast);
}
.hero-live-play-big:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 50px rgba(231, 76, 60, 0.6),
    0 14px 36px -4px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.hero-live-play-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  padding-left: 2px;
}
.hero-live-play-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  line-height: 1;
}
.hero-live-play-status {
  font-size: 9px;
  letter-spacing: 0.22em;
  opacity: 0.85;
}
.hero-live-play-cta {
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Badge "EN DIRECT" en haut-gauche pendant la lecture */
.hero-live-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 4;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  background: var(--live-red);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: var(--step--2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}
.hero-live-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.2s ease-out infinite;
}
.hero-live-player[data-state="playing"] .hero-live-badge {
  display: inline-flex;
}
/* Replay (après-match en vedette, hors live) — badge or/neutre, sans urgence rouge */
.hero-live-player.is-replay .hero-live-badge {
  background: rgba(10, 8, 7, 0.85);
  border: 1px solid rgba(212, 166, 63, 0.55);
  color: #f0cf78;
  box-shadow: none;
}
.hero-live-player.is-replay .hero-live-badge-dot {
  background: #d4a63f;
  animation: none;
}
.hero-live-player.is-replay .hero-live-chat { display: none; }
/* Quand le badge LIVE est visible, on déplace le bouton SON pour ne pas le cacher */
.hero-live-player[data-state="playing"] .hero-live-unmute {
  top: 1.2rem;
  left: auto;
  right: 7.5rem;
}
.hero-live-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}
.hero-live-unmute,
.hero-live-fullscreen,
.hero-live-chat {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  background: rgba(10, 8, 7, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--fast), border-color var(--fast), transform var(--fast);
  opacity: 0;
  pointer-events: none;
}
.hero-live-unmute     { top: 1.2rem; left: 1.2rem; }
.hero-live-fullscreen { top: 1.2rem; right: 1.2rem; }
.hero-live-chat       { bottom: 1.2rem; right: 1.2rem; }
.hero-live-unmute:hover,
.hero-live-fullscreen:hover,
.hero-live-chat:hover {
  background: rgba(192, 57, 43, 0.95);
  border-color: var(--live-red-bright);
  transform: translateY(-1px);
}

/* Quand le wrapper passe en plein écran, le video remplit le viewport.
   On garde les boutons accessibles. */
.hero-live-player:fullscreen,
.hero-live-player:-webkit-full-screen {
  background: #000;
}
.hero-live-player:fullscreen video,
.hero-live-player:-webkit-full-screen video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}

/* En mode idle, les contrôles secondaires (son, fullscreen, chat) sont masqués
   tant que le user n'a pas cliqué play (ou que le live n'a pas démarré auto). */
.hero-live-unmute,
.hero-live-fullscreen,
.hero-live-chat { opacity: 0; pointer-events: none; }
.hero-live-player[data-state="playing"] .hero-live-unmute,
.hero-live-player[data-state="playing"] .hero-live-fullscreen,
.hero-live-player[data-state="playing"] .hero-live-chat {
  opacity: 1;
  pointer-events: auto;
}
/* On garde le fond cinematic visible en mode idle. Quand le player joue,
   le wrapper vidéo devient opaque et masque l'image. */

/* Filet de sécurité — si GSAP n'a pas joué le timeline d'entrée pour x raison,
   on garantit que le texte du hero est visible en mode live (pas de page vide). */
body.live-active .hero-lead,
body.live-active .hero-actions .btn,
body.live-active .hero-title .cr-word-inner {
  opacity: 1 !important;
  transform: none !important;
}
/* L'overlay du hero reste pour la lisibilité du texte */
body.live-active .hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.92) 100%);
}

@media (max-width: 600px) {
  .hero-live-unmute,
  .hero-live-fullscreen,
  .hero-live-chat {
    padding: 0.4rem 0.7rem;
    font-size: var(--step--2);
  }
  .hero-live-unmute     { top: 0.8rem; left: 0.8rem; }
  .hero-live-fullscreen { top: 0.8rem; right: 0.8rem; }
  .hero-live-chat       { bottom: 0.8rem; right: 0.8rem; }
}

/* Nav auth links — Se connecter / Profil */
.nav-auth-link {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  border-radius: 4px;
  transition: color var(--fast), background var(--fast);
}
.nav-auth-link:hover {
  color: var(--color-text);
  background: rgba(212, 166, 63, 0.08);
}
body.live-active .nav-auth-link {
  color: rgba(255, 255, 255, 0.85);
}
body.live-active .nav-auth-link:hover {
  background: rgba(231, 76, 60, 0.15);
  color: #fff;
}

/* Chat anon — prompt login (remplace le formulaire pour les non-connectés) */
.chat-anon-prompt {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(212, 166, 63, 0.12) 0%, rgba(212, 166, 63, 0.04) 100%);
  border: 1px solid rgba(212, 166, 63, 0.3);
  border-radius: 6px;
  text-align: center;
}
.chat-anon-icon { font-size: 1.6rem; }
.chat-anon-text {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cr-text);
}
.chat-anon-btn {
  margin-top: 0.3rem;
  padding: 0.55rem 1.4rem !important;
  font-size: var(--step--1) !important;
}
.chat-anon-link {
  font-size: var(--step--2);
  color: var(--cr-text-muted);
  text-decoration: underline;
  margin-top: 0.2rem;
}
.chat-anon-link:hover { color: var(--cr-gold); }

/* Pinned admin message — bandeau persistant au-dessus du chat */
.chat-pinned-banner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 1rem;
  margin: 0 0 0.6rem;
  background: linear-gradient(180deg, rgba(212, 166, 63, 0.18) 0%, rgba(212, 166, 63, 0.08) 100%);
  border: 1px solid rgba(212, 166, 63, 0.4);
  border-left: 3px solid var(--cr-gold);
  border-radius: 6px;
  color: var(--cr-text);
  font-family: var(--font-body);
}
.chat-pinned-icon {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.chat-pinned-body { flex: 1; min-width: 0; }
.chat-pinned-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-gold);
  margin-bottom: 0.25rem;
}
.chat-pinned-content {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--cr-text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* Admin moderation buttons — compact action cluster per chat row */
.mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.mod-btn {
  padding: 0.3rem 0.65rem !important;
  font-size: var(--step--2) !important;
  letter-spacing: 0.05em !important;
  white-space: nowrap;
}
.mod-btn[data-ban],
.mod-btn[data-unban] {
  border-color: rgba(231, 76, 60, 0.45);
  color: #f7baba;
}
.mod-btn[data-ban]:hover,
.mod-btn[data-unban]:hover {
  background: rgba(192, 57, 43, 0.15);
  border-color: var(--live-red-bright);
  color: #fff;
}

/* Petit dot pulsant utilisable inline dans les data-live-text */
.live-dot-inline {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  margin-right: 0.4rem;
  vertical-align: middle;
  animation: live-pulse 1.2s ease-out infinite;
}
body.live-active .btn-primary.is-live-cta .live-dot-inline,
body.live-active .floating-cta .live-dot-inline {
  background: #fff;
}


/* ===== BANDE ÉMISSIONS & REPLAYS (section sous le hero) ===== */
.replay-band{ background:linear-gradient(180deg,var(--cr-black) 0%, var(--cr-black-2) 100%); padding-block:clamp(2.5rem,6vw,4.5rem); border-bottom:1px solid var(--color-border); }
.replay-band-head{ margin-bottom:clamp(1.4rem,3vw,2.2rem); }
.replay-band-eyebrow{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--font-display); font-size:var(--step--1); letter-spacing:.24em; text-transform:uppercase; color:var(--color-brand); margin-bottom:.7rem; }
.replay-band-eyebrow::before{ content:""; width:34px; height:2px; background:var(--color-brand); }
.replay-band-title{ font-family:var(--font-display); font-size:var(--step-4); line-height:.95; color:var(--color-text); }
.replay-band-sub{ color:var(--color-text-muted); margin-top:.55rem; font-size:var(--step-0); max-width:62ch; }
.replay-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:clamp(1rem,2vw,1.6rem); max-width:1000px; }
.replay-card{ display:flex; flex-direction:column; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-lg); overflow:hidden; text-decoration:none; color:var(--color-text); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.replay-card:hover{ transform:translateY(-4px); border-color:var(--color-brand); box-shadow:0 24px 50px -24px rgba(0,0,0,.85); }
.replay-thumb{ position:relative; aspect-ratio:16/9; background-size:cover; background-position:center; background-color:var(--color-surface-2); }
.replay-thumb::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.5)); }
.replay-badge{ position:absolute; top:.7rem; left:.7rem; z-index:2; font-family:var(--font-brand); font-size:.7rem; letter-spacing:.08em; text-transform:uppercase; background:var(--color-live); color:#fff; padding:.28rem .6rem; border-radius:var(--radius-pill); }
.replay-play{ position:absolute; z-index:2; inset:0; margin:auto; width:60px; height:60px; display:grid; place-items:center; background:rgba(0,0,0,.45); border:2px solid var(--color-brand); color:var(--color-brand); border-radius:50%; font-size:1.25rem; }
.replay-info{ display:flex; flex-direction:column; gap:.25rem; padding:1rem 1.1rem 1.2rem; }
.replay-title{ font-family:var(--font-brand); font-size:1.25rem; line-height:1.05; }
.replay-meta{ font-size:.85rem; color:var(--color-text-muted); }
.replay-card.is-soon{ cursor:default; }
.replay-card.is-soon:hover{ transform:none; border-color:var(--color-border); box-shadow:none; }
.replay-thumb-soon{ display:grid; place-items:center; background:repeating-linear-gradient(45deg,var(--color-surface-2),var(--color-surface-2) 12px,var(--color-surface) 12px,var(--color-surface) 24px); border-bottom:1px dashed var(--color-border); }
.replay-thumb-soon .replay-badge{ background:var(--color-surface); color:var(--color-brand); border:1px solid var(--color-border); }
.replay-soon-tag{ font-family:var(--font-display); font-size:1.8rem; color:var(--color-text-faint); letter-spacing:.12em; text-transform:uppercase; }
