/* ==========================================================================
   STREAM+ — Design System Pro Streaming (Style TF1+ / Netflix / Disney+)
   Palette : Deep Midnight Navy • Vibrant Blue/Cyan Accents • Giant Top 10
   Pages : Accueil (index.html) • Fiche Détails (details.html) • Lecteur (watch.html)
   ========================================================================== */

:root {
  --bg-darkest: #06080e;
  --bg-primary: #0a0d17;
  --bg-surface: #101524;
  --bg-card: #151b2e;
  --bg-card-hover: #1c243d;
  --bg-glass: rgba(10, 13, 23, 0.88);

  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #06b6d4;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --accent-glow: rgba(59, 130, 246, 0.35);

  --accent-gold: #f59e0b;
  --accent-emerald: #10b981;
  --accent-red: #ef4444;

  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(59, 130, 246, 0.5);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', sans-serif;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.4);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-darkest);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

.pro-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 36px;
}

/* ==========================================================================
   SITE SPLASH LOADING SCREEN
   ========================================================================== */
.site-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #06080e;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.site-splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.splash-title {
  font-family: var(--font-sans);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.splash-plus {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.splash-spinner-bar {
  width: 220px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.splash-progress {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  background: var(--accent-gradient);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.8);
  animation: splashProgress 1.2s infinite ease-in-out;
}

@keyframes splashProgress {
  0% { left: -50%; width: 30%; }
  50% { width: 60%; }
  100% { left: 100%; width: 30%; }
}

.splash-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   HEADER NAVIGATION (STYLE TF1+)
   ========================================================================== */
.pro-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(6, 8, 14, 0.95) 0%, rgba(6, 8, 14, 0.7) 70%, transparent 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.pro-header.scrolled {
  background: rgba(6, 8, 14, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 36px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-plus {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-left: 2px;
}

.brand-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
}

/* Category Navigation Tabs */
.nav-categories {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-categories::-webkit-scrollbar {
  display: none;
}

.nav-item {
  position: relative;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 10px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.nav-item:hover {
  color: #fff;
}

.nav-item.active {
  color: #fff;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #ffffff;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Header Right Area */
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.btn-back-home {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
}

.btn-back-home svg {
  width: 14px;
  height: 14px;
}

.btn-back-home:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Search Box */
.search-box-pro {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-search-toggle {
  background: transparent;
  border: none;
  color: #e2e8f0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-search-toggle svg {
  width: 20px;
  height: 20px;
}

.btn-search-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: #111726;
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  padding: 0 12px;
  height: 38px;
  width: 260px;
  transition: var(--transition);
}

.search-input-wrapper:focus-within {
  width: 320px;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

#searchInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
}

#searchInput::placeholder {
  color: var(--text-dim);
}

.btn-clear-search {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  display: none;
}

.search-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 380px;
  background: #101524;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  max-height: 440px;
  overflow-y: auto;
  display: none;
  z-index: 250;
  padding: 8px;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.suggestion-item:hover {
  background: rgba(59, 130, 246, 0.15);
}

.suggestion-poster {
  width: 36px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
  background: #1e293b;
  flex-shrink: 0;
}

.suggestion-details {
  flex: 1;
  min-width: 0;
}

.suggestion-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.suggestion-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.suggestion-badge.movie {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.suggestion-badge.series {
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
}

.btn-vidzy-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-vidzy-pill:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.btn-header-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-header-icon svg {
  width: 20px;
  height: 20px;
}

.btn-header-icon:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  cursor: pointer;
}

/* ==========================================================================
   HERO BILLBOARD (ACCUEIL)
   ========================================================================== */
.hero-billboard {
  position: relative;
  width: 100%;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-backdrop-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-backdrop-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  transition: opacity 0.6s ease;
  transform: scale(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 14, 0.95) 0%, rgba(6, 8, 14, 0.65) 45%, rgba(6, 8, 14, 0.15) 100%);
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 260px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 14, 0.7) 50%, var(--bg-darkest) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(59, 130, 246, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.05;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  max-width: 800px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.tag-vf {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.tag-rating {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
}

.hero-overview {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.6;
  max-width: 680px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-hero-play {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #06080e;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-hero-play svg {
  width: 20px;
  height: 20px;
}

.btn-hero-play:hover {
  background: #e2e8f0;
  transform: scale(1.03);
}

.btn-hero-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-hero-info svg {
  width: 18px;
  height: 18px;
}

.btn-hero-info:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.02);
}

.hero-slider-nav {
  position: absolute;
  right: 36px;
  bottom: 80px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-slide-prev,
.btn-slide-next {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.btn-slide-prev:hover,
.btn-slide-next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dots .dot {
  width: 24px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots .dot.active {
  background: #ffffff;
  width: 40px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   CATALOG SHELVES & CARROUSELS
   ========================================================================== */
.catalog-sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 70px;
}

.shelf-row {
  position: relative;
  width: 100%;
}

.shelf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.shelf-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.shelf-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 90px;
  background: rgba(6, 8, 14, 0.88);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
}

.carousel-container:hover .carousel-nav-btn {
  opacity: 1;
}

.carousel-nav-btn:hover {
  background: rgba(37, 99, 235, 0.88);
  border-color: var(--accent-blue);
}

.carousel-nav-btn.prev {
  left: 0;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}

.carousel-nav-btn.next {
  right: 0;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px 18px;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* TOP 10 WITH GIANT STYLIZED NUMBERS (TF1+ IMAGE 2) */
.top10-track {
  gap: 24px;
}

.top10-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding-left: 55px;
}

.top10-card:hover {
  transform: scale(1.05) translateY(-4px);
}

.top10-rank-number {
  position: absolute;
  left: 0;
  bottom: -15px;
  font-family: var(--font-display);
  font-size: 8.5rem;
  line-height: 0.8;
  font-weight: 900;
  color: #111a33;
  -webkit-text-stroke: 4px #2563eb;
  text-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

.top10-poster-wrap {
  position: relative;
  width: 175px;
  aspect-ratio: 2 / 3;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #111728;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-subtle);
  z-index: 2;
  transition: border-color 0.3s ease;
}

.top10-card:hover .top10-poster-wrap {
  border-color: var(--accent-blue);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);
}

.top10-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top10-info-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 8, 14, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.top10-card:hover .top10-info-overlay {
  opacity: 1;
}

.top10-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  color: #06080e;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  width: 100%;
}

.top10-play-btn svg {
  width: 12px;
  height: 12px;
}

/* Standard Media Cards */
.pro-card {
  flex: 0 0 190px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.pro-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 18px rgba(59, 130, 246, 0.25);
  z-index: 10;
}

.pro-card-poster-box {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111728;
}

.pro-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.pro-card:hover .pro-card-poster {
  transform: scale(1.06);
}

.pro-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.pro-card-badge.movie {
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
}

.pro-card-badge.series {
  background: rgba(6, 182, 212, 0.85);
  color: #042f2e;
}

.pro-card-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  backdrop-filter: blur(8px);
}

.pro-card-hover-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pro-card:hover .pro-card-hover-play {
  opacity: 1;
}

.pro-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.pro-card:hover .pro-play-icon {
  transform: scale(1);
}

.pro-play-icon svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.pro-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--bg-surface);
}

.pro-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pro-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-dim);
}

.pro-vf-pill {
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 0.68rem;
}

/* ==========================================================================
   PAGE DÉTAILS INTERMÉDIAIRE (details.html)
   ========================================================================== */
.page-details {
  background: var(--bg-darkest);
}

.details-hero {
  position: relative;
  width: 100%;
  min-height: 75vh;
  padding-top: 100px;
  padding-bottom: 60px;
  display: flex;
  align-items: flex-end;
}

.details-backdrop-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.details-backdrop-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  transform: scale(1.02);
}

.details-backdrop-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 14, 0.96) 0%, rgba(6, 8, 14, 0.8) 50%, rgba(6, 8, 14, 0.4) 100%);
}

.details-backdrop-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-darkest) 100%);
}

.details-hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.details-poster-large-box {
  width: 260px;
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  border: 1px solid var(--border-subtle);
}

.details-poster-large {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.details-type-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.details-type-tag.movie {
  background: var(--accent-blue);
  color: #fff;
}

.details-type-tag.series {
  background: var(--accent-cyan);
  color: #042f2e;
}

.details-main-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.details-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-vf-gold {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-quality {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-rating {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.details-title-heading {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.8px;
  line-height: 1.1;
  color: #fff;
}

.details-original-title {
  font-size: 0.95rem;
  color: var(--text-dim);
  font-weight: 600;
}

.details-specs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cbd5e1;
  flex-wrap: wrap;
}

.genres-highlight {
  color: var(--accent-cyan);
}

.spec-dot {
  color: var(--text-dim);
}

/* Action CTA Buttons */
.details-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.btn-cta-watch {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #06080e;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-cta-watch svg {
  width: 22px;
  height: 22px;
}

.btn-cta-watch:hover {
  background: #e2e8f0;
  transform: scale(1.03);
}

.btn-cta-vidzy {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.btn-cta-vidzy:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.btn-cta-imdb {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-cta-imdb:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fff;
}

.details-synopsis-box {
  background: rgba(16, 21, 36, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

.synopsis-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-dim);
  font-weight: 800;
  margin-bottom: 6px;
}

.synopsis-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.details-crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border-subtle);
}

.crew-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.crew-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.crew-val {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Episodes Section (Series) */
.details-episodes-section {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border-subtle);
  background: #090c15;
}

.episodes-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.episodes-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.episodes-section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.seasons-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.season-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.season-tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.season-tab-btn.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.episodes-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.details-episode-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #111728;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.details-episode-row:hover {
  background: #182138;
  border-color: rgba(59, 130, 246, 0.4);
}

.ep-row-thumb-box {
  width: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #1e293b;
  flex-shrink: 0;
  position: relative;
}

.ep-row-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-row-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.ep-row-info {
  flex: 1;
  min-width: 0;
}

.ep-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ep-row-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

.ep-row-vf {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.ep-row-overview {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ep-row-action {
  flex-shrink: 0;
}

.btn-play-episode {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.btn-play-episode svg {
  width: 16px;
  height: 16px;
}

.btn-play-episode:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.details-recommendations-shelf {
  padding: 40px 0 60px;
}

/* ==========================================================================
   PAGE LECTEUR CINÉMA DÉDIÉ (watch.html)
   ========================================================================== */
.page-watch {
  background: #000000;
}

.watch-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #07090f;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 0;
}

.watch-header-inner {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.watch-back-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-watch-back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-watch-back svg {
  width: 14px;
  height: 14px;
}

.btn-watch-back:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-watch-home {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.btn-watch-home:hover {
  color: #fff;
}

.watch-title-center {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  flex: 1;
  justify-content: center;
}

.watch-type-tag {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.watch-media-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.watch-year {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.watch-ep-pill {
  background: rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.watch-actions-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-watch-action {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.btn-watch-action svg {
  width: 14px;
  height: 14px;
}

.btn-watch-action:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.watch-main-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 0 40px;
}

.watch-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}

.watch-server-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0d1220;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  flex-wrap: wrap;
}

.server-label-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.server-label-title svg {
  width: 15px;
  height: 15px;
  color: var(--accent-blue);
}

.server-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.server-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.server-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.server-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}

.server-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.4);
  color: rgba(255, 255, 255, 0.85);
}

.server-btn.active .server-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Vidzy Quickbar */
.vidzy-quickbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px dashed rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
  flex-wrap: wrap;
}

.vidzy-quick-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vidzy-badge {
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.vidzy-text {
  font-size: 0.85rem;
  color: #cbd5e1;
}

.vidzy-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 500px;
}

#vidzyDirectInput {
  flex: 1;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  color: #fff;
  font-size: 0.82rem;
  outline: none;
}

#vidzyDirectInput:focus {
  border-color: var(--accent-cyan);
}

.btn-vidzy-play {
  background: var(--accent-cyan);
  border: none;
  color: #042f2e;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.btn-vidzy-play:hover {
  background: #22d3ee;
}

/* Cinema Frame */
.cinema-player-wrapper {
  width: 100%;
  background: #000000;
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition: var(--transition);
}

.cinema-player-wrapper.theater {
  max-width: 100vw;
  border-radius: 0;
  margin: 0 -24px;
}

.player-aspect-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
  z-index: 2;
}

.player-loading-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #080c16;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: opacity 0.3s ease;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.spinner-ring {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-blue);
  border-right-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

#loaderMessage {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.loader-sub {
  font-size: 0.82rem;
  color: var(--accent-emerald);
  font-weight: 600;
}

/* Episode Bar in Watch Page */
.watch-episode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #0d1220;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 8px 14px;
}

.btn-watch-ep-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: var(--transition);
}

.btn-watch-ep-nav svg {
  width: 14px;
  height: 14px;
}

.btn-watch-ep-nav:hover:not(:disabled) {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

.btn-watch-ep-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-toggle-episodes-drawer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.btn-toggle-episodes-drawer:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-toggle-episodes-drawer svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.watch-episodes-drawer {
  background: #0f1526;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-season-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #cbd5e1;
}

.drawer-select {
  background: #19223a;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
}

.drawer-info {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.drawer-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
}

.drawer-ep-card {
  display: flex;
  gap: 10px;
  background: #141b2e;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.drawer-ep-card:hover {
  background: #1d2742;
  border-color: var(--accent-blue);
}

.drawer-ep-card.active {
  border-color: var(--accent-blue);
  background: rgba(59, 130, 246, 0.2);
}

.drawer-ep-thumb-box {
  width: 70px;
  height: 48px;
  border-radius: 3px;
  overflow: hidden;
  background: #1e293b;
  flex-shrink: 0;
  position: relative;
}

.drawer-ep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-ep-num {
  position: absolute;
  bottom: 2px;
  left: 2px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 2px;
}

.drawer-ep-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.drawer-ep-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-ep-desc {
  font-size: 0.7rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MODAL & FOOTER
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: #0f1526;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 540px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-badge {
  background: var(--accent-blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}

.modal-input {
  background: #090d18;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.modal-input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.demo-vidzy-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.chips-label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.chip-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.chip-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  border-color: var(--accent-blue);
}

.modal-footer {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-blue);
  border: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.btn-primary:hover {
  background: #1d4ed8;
  box-shadow: var(--shadow-glow);
}

.pro-footer {
  margin-top: auto;
  background: #05070c;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 28px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-tagline {
  margin-top: 12px;
  line-height: 1.6;
  max-width: 440px;
  color: #94a3b8;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.status-indicator {
  color: var(--accent-emerald);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
}

/* ==========================================================================
   RESPONSIVE ADAPTATIONS
   ========================================================================== */
@media (max-width: 1024px) {
  .pro-container, .header-inner, .hero-content, .details-hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .details-hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .details-poster-large-box {
    width: 200px;
  }

  .details-badge-row, .details-specs-row, .details-cta-buttons {
    justify-content: center;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .top10-rank-number {
    font-size: 6.5rem;
  }
}

@media (max-width: 768px) {
  .nav-categories {
    display: none;
  }

  .search-input-wrapper {
    width: 180px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .top10-card {
    padding-left: 45px;
  }

  .top10-poster-wrap {
    width: 135px;
  }

  .top10-rank-number {
    font-size: 5.5rem;
    left: -5px;
  }

  .pro-card {
    flex: 0 0 145px;
  }

  .details-title-heading {
    font-size: 2rem;
  }

  .details-episode-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ep-row-thumb-box {
    width: 100%;
  }

  .ep-row-action {
    width: 100%;
  }

  .btn-play-episode {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   STREAM+ — DESIGN SYSTEM TF1+ (PAGES DÉTAILS & VISIONNAGE)
   Conforme aux captures d'écran :
   - Fiche Détails : Grand héro cinématographique avec logo espacé, métadonnées
     épurées, boutons circulaires, onglets Détails/Épisodes/Suggestions et 2 colonnes.
   - Lecteur Watch : Lecteur 16:9 à gauche, playlist verticale à droite
     (prochains épisodes avec miniatures 16:9 si série, autres films si film).
   ========================================================================== */

/* Header TF1+ */
.tf1-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #060810;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 0;
}

.tf1-header-inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tf1-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.tf1-brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.tf1-brand-plus {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.tf1-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.tf1-nav-link {
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tf1-nav-link:hover,
.tf1-nav-link.active {
  color: #ffffff;
}

.tf1-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tf1-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tf1-icon-btn svg {
  width: 18px;
  height: 18px;
}

.tf1-icon-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-tf1-premium {
  background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
  transition: all 0.2s ease;
}

.btn-tf1-premium:hover {
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.65);
  transform: scale(1.02);
}

.tf1-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tf1-user-avatar svg {
  width: 18px;
  height: 18px;
}

.tf1-user-avatar:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-watch-return-details {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-watch-return-details svg {
  width: 15px;
  height: 15px;
}

.btn-watch-return-details:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   PAGE DÉTAILS TF1+ (IMAGE 2)
   ========================================================================== */
.page-details-tf1 {
  background: #060810;
  min-height: 100vh;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

.tf1-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: 64vh;
  max-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tf1-hero-backdrop-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tf1-hero-backdrop {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right 25% center;
  transform: scale(1.02);
}

.tf1-hero-overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #060810 0%,
    rgba(6, 8, 16, 0.96) 28%,
    rgba(6, 8, 16, 0.8) 48%,
    rgba(6, 8, 16, 0.25) 85%,
    rgba(6, 8, 16, 0.05) 100%
  );
}

.tf1-hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, #060810 0%, transparent 100%);
}

.tf1-hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.tf1-hero-content {
  max-width: 660px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tf1-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.8rem;
  letter-spacing: 6px;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.tf1-hero-metadata {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #94a3b8;
  flex-wrap: wrap;
}

.tf1-hero-metadata .meta-separator {
  color: #475569;
  font-size: 0.8rem;
}

.tf1-age-badge {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: #ffffff;
}

.tf1-vf-pill {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
}

.tf1-hero-hook {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #e2e8f0;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.tf1-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-tf1-play-white {
  background: #ffffff;
  color: #060810;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 13px 30px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.3);
}

.btn-tf1-play-white svg {
  width: 18px;
  height: 18px;
}

.btn-tf1-play-white:hover {
  transform: scale(1.04);
  background: #f1f5f9;
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.45);
}

.btn-tf1-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-tf1-circle svg {
  width: 20px;
  height: 20px;
}

.btn-tf1-circle:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: scale(1.06);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Onglets TF1+ Details */
.tf1-tabs-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #060810;
  position: sticky;
  top: 62px;
  z-index: 100;
}

.tf1-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.tf1-tabs-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.tf1-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  padding: 16px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.tf1-tab-btn:hover {
  color: #ffffff;
}

.tf1-tab-btn.active {
  color: #ffffff;
}

.tf1-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #ffffff;
  border-radius: 3px 3px 0 0;
}

.tf1-main-content {
  padding: 44px 0 80px;
  flex: 1;
}

/* Deux colonnes TF1+ (Image 2) */
.tf1-details-two-columns {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 70px;
  align-items: start;
}

.tf1-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tf1-section-heading {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.tf1-full-synopsis {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.tf1-credits-col {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.tf1-credits-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tf1-credits-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.tf1-credits-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
}

/* Épisodes (Séries) */
.tf1-episodes-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tf1-episodes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tf1-season-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tf1-season-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tf1-season-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.tf1-season-btn.active {
  background: #ffffff;
  color: #060810;
  border-color: #ffffff;
  font-weight: 900;
}

.tf1-episodes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tf1-ep-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #0d1222;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tf1-ep-item:hover {
  background: #141b30;
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(4px);
}

.tf1-ep-thumb-box {
  width: 150px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #1e293b;
  position: relative;
  flex-shrink: 0;
}

.tf1-ep-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf1-ep-duration-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.tf1-ep-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tf1-ep-play-overlay svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.tf1-ep-item:hover .tf1-ep-play-overlay {
  opacity: 1;
}

.tf1-ep-meta {
  flex: 1;
  min-width: 0;
}

.tf1-ep-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tf1-ep-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.tf1-ep-vf-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}

.tf1-ep-overview {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.tf1-ep-action {
  flex-shrink: 0;
}

.btn-tf1-ep-play {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tf1-ep-play svg {
  width: 15px;
  height: 15px;
}

.btn-tf1-ep-play:hover {
  background: #1d4ed8;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.5);
}

/* Suggestions Grid */
.tf1-suggestions-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tf1-suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.tf1-sugg-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tf1-sugg-card:hover {
  transform: translateY(-4px);
}

.tf1-sugg-thumb-box {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #141b2e;
}

.tf1-sugg-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf1-sugg-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.tf1-sugg-rating {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #f59e0b;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
}

.tf1-sugg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tf1-sugg-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #060810;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf1-sugg-play-btn svg {
  width: 20px;
  height: 20px;
}

.tf1-sugg-card:hover .tf1-sugg-overlay {
  opacity: 1;
}

.tf1-sugg-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tf1-sugg-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Footer TF1+ */
.tf1-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  color: #64748b;
  font-size: 0.82rem;
  background: #060810;
}

/* Toast */
.tf1-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background: #0f172a;
  border: 1px solid #3b82f6;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.tf1-toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* ==========================================================================
   PAGE VISIONNAGE TF1+ (IMAGE 1)
   ========================================================================== */
.page-watch-tf1 {
  background: #060810;
  min-height: 100vh;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
}

.watch-stage-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 24px 36px 60px;
  flex: 1;
}

.watch-split-layout {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 32px;
  align-items: start;
}

/* Colonne Gauche : Lecteur & Métadonnées */
.watch-main-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.tf1-player-box {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.tf1-player-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020306;
}

.tf1-video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.tf1-native-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
  z-index: 5;
}

.player-mode-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 16px rgba(16, 185, 129, 0.25);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.player-mode-badge .mode-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-emerald 2s infinite ease-in-out;
}

@keyframes pulse-emerald {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.5; }
}

/* Style spécial pour le bouton serveur Zéro Pub */
.tf1-server-btn.pure-direct {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25), rgba(16, 185, 129, 0.15));
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.tf1-server-btn.pure-direct:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.45), rgba(16, 185, 129, 0.3));
  color: #ffffff;
}

.tf1-server-btn.pure-direct.active {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}

.tf1-player-loader {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: #070912;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

/* Nouveau Sélecteur de Serveurs Minimaliste & Pro */
.stream-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(12, 16, 29, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  flex-wrap: wrap;
}

.server-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}

.server-bar-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.server-bar-label svg {
  width: 14px;
  height: 14px;
  color: #3b82f6;
}

.server-select-wrapper {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.stream-pro-select {
  width: 100%;
  appearance: none;
  background: #090e1a;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 36px 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stream-pro-select:hover, .stream-pro-select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
}

.server-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  font-size: 0.8rem;
}

.server-compact-pills {
  display: flex;
  align-items: center;
  gap: 6px;
}

.server-pill-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 34px;
  height: 32px;
  padding: 0 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-pill-num:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.server-pill-num.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5);
}

.server-pill-num.pure {
  border-color: rgba(16, 185, 129, 0.4);
}

.server-pill-num.pure.active {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #34d399;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}

.pill-sparkle {
  font-size: 0.7rem;
}

/* Quickbar Vidzy */
.watch-vidzy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 8px;
  padding: 10px 14px;
  flex-wrap: wrap;
}

.vidzy-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
}

.vidzy-bar-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 480px;
}

.vidzy-inline-input {
  flex: 1;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 6px 12px;
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
}

.btn-vidzy-play-now {
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-vidzy-play-now:hover {
  background: #1d4ed8;
}

/* Métadonnées sous le lecteur (Image 1) */
.watch-meta-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.watch-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.watch-title-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.watch-primary-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.watch-ep-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #38bdf8;
}

.watch-subtitle-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.watch-actions-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-tf1-outline {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tf1-outline svg {
  width: 15px;
  height: 15px;
}

.btn-tf1-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.watch-synopsis-paragraph {
  font-size: 0.94rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.btn-synopsis-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 6px;
  font-size: 0.9rem;
  font-family: inherit;
}

/* ==========================================================================
   COLONNE DROITE : PLAYLIST LATÉRALE (STYLE TF1+ IMAGE 1)
   ========================================================================== */
.watch-sidebar-column {
  background: #090d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 76px;
  max-height: calc(100vh - 96px);
}

.sidebar-header-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-tab-white {
  background: #ffffff;
  color: #060810;
  border: none;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: default;
}

.sidebar-tab-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  border: none;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: default;
}

.sidebar-season-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-season-select {
  background: #141b2d;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  outline: none;
  cursor: pointer;
}

.sidebar-playlist-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding-right: 4px;
  max-height: 520px;
}

.sidebar-playlist-scroll::-webkit-scrollbar {
  width: 5px;
}

.sidebar-playlist-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

.sidebar-playlist-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.sidebar-playlist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-playlist-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(2px);
}

.sidebar-playlist-item.active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(59, 130, 246, 0.55);
}

.sidebar-item-thumb-box {
  position: relative;
  width: 110px;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #131929;
  flex-shrink: 0;
}

.sidebar-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-item-badge {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.badge-age-tiny {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 13px;
  height: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 800;
}

.sidebar-item-hover-play {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sidebar-item-hover-play svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

.sidebar-playlist-item:hover .sidebar-item-hover-play {
  opacity: 1;
}

.sidebar-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sidebar-item-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item-subtitle {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item-now-playing {
  font-size: 0.68rem;
  color: #38bdf8;
  font-weight: 800;
  margin-top: 2px;
}

/* Responsive TF1+ */
@media (max-width: 1080px) {
  .watch-split-layout {
    grid-template-columns: 1fr;
  }

  .watch-sidebar-column {
    position: static;
    max-height: none;
  }

  .tf1-details-two-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tf1-credits-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
  }
}

@media (max-width: 768px) {
  .tf1-nav {
    display: none;
  }

  .tf1-hero-title {
    font-size: 2.6rem;
    letter-spacing: 3px;
  }

  .tf1-container,
  .tf1-header-inner,
  .watch-stage-container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tf1-ep-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .tf1-ep-thumb-box {
    width: 100%;
  }

  .tf1-ep-action {
    width: 100%;
  }

  .btn-tf1-ep-play {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   MODULE "ON VOUS AIDE À TROUVER" & VÉRIFICATION DE DISPONIBILITÉ VF
   ========================================================================== */

/* Nav Header Finder Pill */
.nav-item-finder {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%) !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
  font-weight: 800 !important;
}

.nav-item-finder:hover,
.nav-item-finder.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.6) 0%, rgba(147, 51, 234, 0.6) 100%) !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
}

/* Hero Finder Button */
.btn-hero-finder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-finder:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

/* Finder Section */
.finder-section {
  padding: 50px 0 80px;
  background: radial-gradient(circle at 50% 0%, rgba(30, 58, 138, 0.15) 0%, transparent 70%);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.finder-hero-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 12, 22, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(37, 99, 235, 0.12);
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
}

.finder-card-header {
  margin-bottom: 30px;
}

.finder-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.finder-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.finder-subtitle {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 780px;
}

.finder-subtitle strong {
  color: #e2e8f0;
}

/* Finder Filter Groups */
.finder-filters-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.finder-filter-group {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.finder-filter-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #64748b;
  min-width: 140px;
  padding-top: 8px;
  text-transform: uppercase;
}

.finder-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.finder-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.finder-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.finder-pill.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #60a5fa;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Finder Search Bar */
.finder-search-bar {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 18px;
  gap: 12px;
  transition: all 0.25s ease;
  margin-top: 5px;
}

.finder-search-bar:focus-within {
  border-color: #3b82f6;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.finder-search-icon {
  width: 20px;
  height: 20px;
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.finder-search-bar:focus-within .finder-search-icon {
  color: #60a5fa;
}

.finder-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
}

.finder-search-input::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}

.finder-search-clear {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.finder-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Finder Action Bar */
.finder-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.finder-count-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.count-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #3b82f6;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.count-text {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.finder-btns-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-finder-scan {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border: 1px solid rgba(147, 197, 253, 0.3);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
}

.btn-finder-scan:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5);
  filter: brightness(1.1);
}

.scan-sparkle {
  font-size: 1.15rem;
  animation: pulse-sparkle 1.8s infinite;
}

@keyframes pulse-sparkle {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px #fff); }
  50% { transform: scale(1.25); filter: drop-shadow(0 0 8px #60a5fa); }
}

.btn-surprise-me {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  color: #000;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.btn-surprise-me:hover {
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  filter: brightness(1.1);
}

.dice-icon {
  font-size: 1.15rem;
  animation: roll-dice 4s infinite ease-in-out;
}

@keyframes roll-dice {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-25deg); }
  90% { transform: rotate(25deg); }
  95% { transform: rotate(-10deg); }
}

/* ==========================================================================
   SCANNER HUD EN TEMPS RÉEL (RADAR + PROGRESS BAR + STATUS)
   ========================================================================== */
.finder-scanner-hud {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.98) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 18px;
  padding: 30px 36px;
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(12px);
  animation: slide-scanner-down 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-scanner-down {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

.radar-scan-box {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}

.radar-spinner {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.4);
  animation: rotate-radar 2.5s linear infinite;
}

.radar-beam {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 50%;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.6) 0%, transparent 70%);
  transform-origin: 0% 100%;
  border-radius: 0 100% 0 0;
}

@keyframes rotate-radar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-core-icon {
  font-size: 1.5rem;
  z-index: 2;
  color: #60a5fa;
  animation: pulse-core 1.2s ease-in-out infinite alternate;
}

@keyframes pulse-core {
  from { transform: scale(0.9); opacity: 0.7; }
  to { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 8px #93c5fd); }
}

.scanner-status-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scanner-status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scanner-status-badge {
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.5);
  color: #c4b5fd;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 9px;
  border-radius: 999px;
  text-transform: uppercase;
}

.scanner-status-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}

.scanner-progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.scanner-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #10b981 100%);
  border-radius: 999px;
  transition: width 0.3s ease-out;
  position: relative;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
}

.scanner-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  animation: progress-shimmer 1.5s infinite;
}

@keyframes progress-shimmer {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.scanner-steps-text {
  font-size: 0.88rem;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.2s ease;
}

@media (max-width: 768px) {
  .finder-scanner-hud {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
}

/* Finder Results Grid */
.finder-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .finder-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .finder-hero-card {
    padding: 24px 20px;
  }
  .finder-filter-label {
    min-width: 100%;
    padding-top: 0;
  }
  .finder-results-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .finder-results-grid {
    grid-template-columns: 1fr;
  }
}

/* Finder Item Card */
.finder-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.finder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(37, 99, 235, 0.2);
}

.finder-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #1e293b;
  cursor: pointer;
}

.finder-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.finder-card:hover .finder-card-img {
  transform: scale(1.06);
}

.finder-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.finder-card:hover .finder-card-overlay {
  opacity: 1;
}

.finder-card-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.finder-card:hover .finder-card-play-btn {
  transform: scale(1);
}

.finder-card-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.finder-badge-verified {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.finder-badge-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.finder-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.finder-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.finder-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 10px;
}

.finder-card-type {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
}

.finder-card-overview {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
  flex: 1;
}

.finder-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-finder-watch {
  flex: 1;
  background: #fff;
  color: #000;
  border: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-finder-watch:hover {
  background: #60a5fa;
  color: #fff;
}

.btn-finder-details {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-finder-details:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Surprise Modal */
.surprise-modal-box {
  max-width: 650px;
  background: #090e17 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(245, 158, 11, 0.15) !important;
}

.surprise-badge {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

.surprise-content-layout {
  display: flex;
  gap: 22px;
  margin-top: 10px;
}

.surprise-poster {
  width: 140px;
  height: 210px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.surprise-details {
  display: flex;
  flex-direction: column;
}

.surprise-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.surprise-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 12px;
}

.surprise-overview {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 20px;
}

.surprise-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-surprise-launch {
  flex: 1;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-surprise-launch:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Badge Dispo VF dans la recherche */
.badge-vf-ok {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Alertes d'indisponibilité pour zéro faux espoirs */
.tf1-unavailable-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.btn-tf1-play.disabled {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}

/* ==========================================================================
   STREAM SERVER BAR (SÉLECTEUR DE SERVEUR UNIQUE & ÉPURÉ "1, 2, 3...")
   ========================================================================== */
.stream-server-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 18px;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.server-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.server-bar-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #94a3b8;
  white-space: nowrap;
}

.server-bar-label svg {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

.server-select-wrapper {
  position: relative;
  flex: 1;
  max-width: 380px;
}

.stream-pro-select {
  width: 100%;
  appearance: none;
  background: #141c2e;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 9px 34px 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stream-pro-select:hover {
  border-color: #3b82f6;
  background: #19243b;
}

.stream-pro-select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.stream-pro-select option {
  background: #0d1424;
  color: #ffffff;
  padding: 8px 12px;
}

.server-select-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 900;
}

.server-compact-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.server-pill-num {
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.server-pill-num:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.server-pill-num.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: #60a5fa;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.45);
}

@media (max-width: 768px) {
  .stream-server-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }
  .server-select-wrapper {
    max-width: 100%;
  }
  .server-compact-pills {
    justify-content: center;
  }
}

/* ==========================================================================
   MODULE "SMASH OR PASS" (DÉCOUVERTE CINÉMA COMPACTE SUR UNE SEULE PAGE)
   ========================================================================== */
.smash-section {
  padding: 14px 0 18px;
  background: radial-gradient(ellipse at 50% 0%, #111a2e 0%, #080c16 55%, #04060a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.smash-section::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 180px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.12) 0%, rgba(59, 130, 246, 0.08) 50%, transparent 80%);
  filter: blur(45px);
  pointer-events: none;
}

/* En-tête compact tout-en-un */
.smash-header-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto 8px;
  flex-wrap: wrap;
}

.smash-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.smash-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.smash-tagline {
  font-size: 0.78rem;
  color: #94a3b8;
}

.smash-tagline strong {
  color: #ffffff;
}

.smash-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.smash-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 800;
}

.smash-stat-pill.matches-drawer-toggle {
  cursor: pointer;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(15, 23, 42, 0.8));
  border-color: rgba(239, 68, 68, 0.35);
  transition: all 0.2s ease;
}

.smash-stat-pill.matches-drawer-toggle:hover {
  border-color: #ef4444;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.stat-count-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: 2px;
}

/* Genre Pills Compacts */
.smash-genre-pills {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 6px;
  justify-content: center;
  align-items: center;
  max-width: 780px;
  margin: 0 auto 10px;
  padding: 2px 4px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.smash-genre-pills::-webkit-scrollbar {
  display: none;
}

.smash-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.smash-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.smash-pill.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #f87171;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

/* Arena Layout Centré et Compact */
.smash-arena-layout {
  display: flex;
  justify-content: center;
  width: 100%;
}

.smash-card-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 760px;
}

.smash-card-wrapper {
  width: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1000px;
}

/* Cinema Card Compacte */
.smash-cinema-card {
  width: 100%;
  height: 240px;
  background: #0c1220;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65);
  display: grid;
  grid-template-columns: 165px 1fr;
  transition: transform 0.22s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.22s ease;
  position: relative;
}

/* Animations */
@keyframes cardEnterAnim {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardEnterRight {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes cardEnterRandom {
  from {
    opacity: 0;
    transform: rotate(-3deg) scale(0.94);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.smash-cinema-card.anim-enter {
  animation: cardEnterAnim 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.smash-cinema-card.anim-enter-right {
  animation: cardEnterRight 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.smash-cinema-card.anim-enter-random {
  animation: cardEnterRandom 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.smash-cinema-card.swipe-pass {
  transform: translateX(-120px) rotate(-8deg) scale(0.92) !important;
  opacity: 0 !important;
}

.smash-cinema-card.swipe-smash {
  transform: translateX(120px) rotate(8deg) scale(0.92) !important;
  opacity: 0 !important;
}

.smash-cinema-card.swipe-random {
  transform: scale(0.85) rotate(4deg) !important;
  opacity: 0 !important;
}

/* Card Media */
.smash-card-media {
  position: relative;
  background: #111827;
  overflow: hidden;
  height: 100%;
}

.smash-card-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.smash-cinema-card:hover .smash-card-poster {
  transform: scale(1.04);
}

.smash-card-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 18, 32, 0.95) 0%, rgba(12, 18, 32, 0.15) 60%, transparent 100%);
}

.smash-floating-top {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.smash-badge-vf {
  background: #10b981;
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.smash-badge-rating {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.smash-quick-play-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 6;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 7px 10px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.smash-quick-play-overlay:hover {
  background: rgba(37, 99, 235, 0.9);
  border-color: #60a5fa;
  transform: translateY(-2px);
}

.smash-quick-play-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.smash-quick-play-circle svg {
  width: 11px;
  height: 11px;
  margin-left: 2px;
}

.smash-quick-play-text {
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
}

/* Card Info Compacte */
.smash-card-info {
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.smash-card-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 5px;
}

.smash-type-pill {
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 2px 5px;
  border-radius: 4px;
  text-transform: uppercase;
}

.smash-type-pill.movie {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.smash-type-pill.series {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.smash-meta-bullet {
  color: #475569;
}

.smash-age-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1px 4px;
  border-radius: 3px;
  font-size: 0.64rem;
  color: #cbd5e1;
}

.smash-card-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.smash-genres-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.smash-genre-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.smash-card-synopsis {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smash-cta-row {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-smash-cta-play {
  flex: 1;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-smash-cta-play:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-smash-cta-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-smash-cta-info:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Empty & Completed States */
.smash-empty-state,
.smash-completed-state {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 40px 20px !important;
  height: 310px !important;
}

.empty-icon,
.completed-fire {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.empty-title,
.completed-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.empty-desc,
.completed-desc {
  color: #94a3b8;
  font-size: 0.88rem;
  max-width: 440px;
  margin-bottom: 16px;
}

.btn-smash-reset,
.btn-smash-restart {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}

.completed-actions {
  display: flex;
  gap: 10px;
}

.btn-smash-view-matches {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}

/* Action Controls (PASS, RANDOM, SMASH) Compacts */
.smash-action-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.btn-smash-control {
  background: #0d1322;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.control-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.control-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.control-title {
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.control-hint {
  font-size: 0.64rem;
  color: #64748b;
  margin-top: 1px;
}

/* Pass Button Styles */
.btn-pass .circle-pass {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1.5px solid rgba(239, 68, 68, 0.35);
}

.btn-pass:hover {
  background: #181520;
  border-color: #ef4444;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.25);
}

.btn-pass:hover .circle-pass {
  transform: scale(1.1) rotate(-90deg);
  background: #ef4444;
  color: #ffffff;
}

/* Random Button Styles */
.btn-random .circle-random {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1.5px solid rgba(168, 85, 247, 0.35);
}

.btn-random:hover {
  background: #19162c;
  border-color: #a855f7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.25);
}

.btn-random:hover .circle-random {
  transform: scale(1.1) rotate(180deg);
}

/* Smash Button Styles */
.btn-smash {
  background: linear-gradient(145deg, #181d2a, #111827);
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-smash .circle-smash {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  border: 1.5px solid #f87171;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
}

.btn-smash:hover {
  border-color: #ef4444;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.btn-smash:hover .circle-smash {
  transform: scale(1.12);
}

/* Matches Drawer */
.smash-matches-drawer {
  margin-top: 24px;
  background: #090e1a;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(239, 68, 68, 0.1);
}

.matches-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matches-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.matches-heart-icon {
  font-size: 1.25rem;
}

.matches-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
}

.btn-close-matches {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.btn-close-matches:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.matches-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.match-saved-card {
  display: flex;
  gap: 10px;
  background: #0e1526;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px;
  align-items: center;
  transition: all 0.2s ease;
}

.match-saved-card:hover {
  background: #141d33;
  border-color: rgba(239, 68, 68, 0.4);
}

.match-card-thumb {
  width: 52px;
  height: 76px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #1e293b;
}

.match-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.match-badge-type {
  position: absolute;
  top: 2px;
  left: 2px;
  font-size: 0.54rem;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 1px 3px;
  border-radius: 3px;
}

.match-card-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.match-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.match-sub {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-bottom: 6px;
}

.match-vf-green {
  color: #10b981;
  font-weight: 800;
}

.match-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-match-play {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-match-play svg {
  width: 9px;
  height: 9px;
}

.btn-match-info {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-match-remove {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 3px 5px;
  margin-left: auto;
  transition: color 0.2s ease;
}

.btn-match-remove:hover {
  color: #ef4444;
}

.matches-empty-box {
  grid-column: 1 / -1;
  text-align: center;
  padding: 30px 16px;
  color: #94a3b8;
}

.matches-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 6px;
}

.matches-empty-box h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

/* Toast Popup */
.smash-toast-popup {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  background: rgba(17, 24, 39, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(239, 68, 68, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.smash-toast-popup.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   BOUTON CAST ROND ÉLÉGANT DANS LE COIN SUPÉRIEUR DROIT DU LECTEUR
   ========================================================================== */
.player-corner-cast-btn {
  position: absolute;
  top: 14px;
  right: 20px;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  padding: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
}

.player-corner-cast-btn:hover {
  background: #2563eb;
  border-color: #60a5fa;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
}

.player-corner-cast-btn.active-casting {
  background: #10b981;
  border-color: #34d399;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
}

.player-corner-cast-btn .cast-icon-svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

/* Le composant Google Cast Launcher natif superposé pour déclenchement immédiat */
.corner-cast-launcher {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.001;
  cursor: pointer;
  border-radius: 50%;
}

google-cast-launcher {
  --connected-color: #60a5fa;
  --disconnected-color: #ffffff;
}

@media (max-width: 600px) {
  .player-corner-cast-btn {
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
  }
  .player-corner-cast-btn .cast-icon-svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 900px) {
  .smash-section {
    padding: 10px 0 14px;
  }
  .smash-header-compact {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    gap: 8px;
  }
  .smash-tagline {
    display: none;
  }
  .smash-genre-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 2px 2px 6px;
    margin-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .smash-genre-pills::-webkit-scrollbar {
    display: none;
  }
  .smash-pill {
    white-space: nowrap;
    font-size: 0.70rem;
    padding: 3px 9px;
  }
  .smash-card-zone {
    gap: 8px;
  }
  .smash-card-wrapper {
    min-height: 185px;
  }
  .smash-cinema-card {
    grid-template-columns: 120px 1fr;
    height: 185px;
    border-radius: 12px;
  }
  .smash-card-media {
    height: 100%;
    width: 120px;
  }
  .smash-floating-top {
    top: 5px;
    left: 5px;
    right: 5px;
  }
  .smash-badge-vf {
    font-size: 0.55rem;
    padding: 2px 4px;
  }
  .smash-badge-rating {
    font-size: 0.60rem;
    padding: 2px 4px;
  }
  .smash-quick-play-overlay {
    display: none;
  }
  .smash-card-info {
    padding: 8px 12px;
    justify-content: space-between;
  }
  .smash-card-meta-line {
    font-size: 0.68rem;
    margin-bottom: 2px;
    gap: 4px;
  }
  .smash-card-title {
    font-size: 1.02rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .smash-genres-list {
    margin-bottom: 3px;
    gap: 3px;
  }
  .smash-genre-tag {
    font-size: 0.62rem;
    padding: 1px 5px;
  }
  .smash-card-synopsis {
    font-size: 0.72rem;
    line-height: 1.35;
    margin-bottom: 4px;
    -webkit-line-clamp: 2;
  }
  .smash-cta-row {
    gap: 5px;
  }
  .btn-smash-cta-play,
  .btn-smash-cta-info {
    padding: 5px 8px;
    font-size: 0.70rem;
    border-radius: 6px;
  }
  .smash-action-controls {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
  }
  .btn-smash-control {
    flex: 1;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 10px;
    gap: 6px;
    justify-content: center;
  }
  .control-icon-circle {
    width: 26px;
    height: 26px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  .control-title {
    font-size: 0.80rem;
    letter-spacing: 0.3px;
  }
  .control-hint {
    display: none;
  }
}
