/* ==========================================================================
   FRANCE IPTV DIRECT — THÈME OFFICIEL BLEU BLANC ROUGE (PRO v6.0)
   Inspiré des couleurs du drapeau français : Bleu Royal, Blanc Pur & Rouge Vif
   Adaptive Dark & Light Broadcast Engine • 100% Mobile & 4K UHD Optimisé
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Bebas+Neue&display=swap');

/* 1. VARIABLES DU THÈME SOMBRE PAR DÉFAUT (LUXURY MIDNIGHT TRICOLORE) */
:root,
html[data-theme="dark"] {
  color-scheme: dark;
  --fr-bg-base: #050811;
  --fr-bg-surface: #0a1120;
  --fr-bg-card: #0f172a;
  --fr-bg-elevated: #162238;
  --fr-bg-input: #090e18;
  --fr-nav-bg: rgba(5, 8, 17, 0.94);
  
  /* COULEURS DU DRAPEAU FRANÇAIS */
  --fr-blue: #0055a5;
  --fr-blue-royal: #002395;
  --fr-blue-bright: #38bdf8;
  --fr-blue-glow: rgba(0, 85, 165, 0.35);
  
  --fr-white: #ffffff;
  --fr-white-silver: #f8fafc;
  --fr-white-glow: rgba(255, 255, 255, 0.18);
  
  --fr-red: #ed2939;
  --fr-red-bright: #ef4444;
  --fr-red-glow: rgba(237, 41, 57, 0.35);
  
  /* GRADIENTS TRICOLORES SUR MESURE */
  --fr-tricolore-bar: linear-gradient(90deg, #002395 0%, #002395 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%, #ed2939 100%);
  --fr-tricolore-glow: linear-gradient(135deg, rgba(0, 35, 149, 0.28) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(237, 41, 57, 0.25) 100%);
  --fr-hero-mesh: radial-gradient(circle at 10% 20%, rgba(0, 35, 149, 0.35) 0%, transparent 45%), radial-gradient(circle at 90% 80%, rgba(237, 41, 57, 0.25) 0%, transparent 45%), #050811;
  
  /* TYPOGRAPHIE & CONTRASTE */
  --fr-text-main: #f8fafc;
  --fr-text-body: #cbd5e1;
  --fr-text-muted: #94a3b8;
  
  /* BORDURES & OMBRES */
  --fr-border: rgba(255, 255, 255, 0.1);
  --fr-border-blue: rgba(56, 189, 248, 0.4);
  --fr-border-red: rgba(237, 41, 57, 0.45);
  --fr-shadow-card: 0 20px 50px rgba(0, 0, 0, 0.55);
  --fr-radius-lg: 20px;
  --fr-radius-md: 14px;
  --fr-radius-pill: 9999px;
}

/* 2. THÈME CLAIR GLOBAL FRANÇAIS SUR MESURE (BLEU BLANC ROUGE & SLATE MODERNE) */
html[data-theme="light"] {
  color-scheme: light;
  --fr-bg-base: #f8fafc;
  --fr-bg-surface: #ffffff;
  --fr-bg-card: #ffffff;
  --fr-bg-elevated: #f1f5f9;
  --fr-bg-input: #ffffff;
  --fr-nav-bg: rgba(255, 255, 255, 0.96);
  
  --fr-blue: #002395;
  --fr-blue-royal: #001766;
  --fr-blue-bright: #0284c7;
  --fr-blue-glow: rgba(0, 35, 149, 0.15);
  
  --fr-white: #ffffff;
  --fr-white-silver: #0f172a;
  --fr-white-glow: rgba(0, 35, 149, 0.08);
  
  --fr-red: #ed2939;
  --fr-red-bright: #dc2626;
  --fr-red-glow: rgba(237, 41, 57, 0.2);
  
  --fr-tricolore-bar: linear-gradient(90deg, #002395 0%, #002395 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%, #ed2939 100%);
  --fr-hero-mesh: radial-gradient(circle at 10% 20%, rgba(0, 35, 149, 0.08) 0%, transparent 45%), radial-gradient(circle at 90% 80%, rgba(237, 41, 57, 0.06) 0%, transparent 45%), #f8fafc;
  
  --fr-text-main: #0f172a;
  --fr-text-body: #334155;
  --fr-text-muted: #64748b;
  
  --fr-border: #e2e8f0;
  --fr-border-blue: #93c5fd;
  --fr-border-red: #fca5a5;
  --fr-shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* BOUTON COMMUTATEUR DE THÈME (DARK / LIGHT TOGGLE) */
.fr-theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-main);
  padding: 8px 12px;
  border-radius: var(--fr-radius-pill);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  line-height: 1;
}
.fr-theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--fr-blue-bright);
}
.fr-theme-toggle-drawer {
  padding: 6px 14px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
}
.fr-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 16px;
  border-bottom: 1px solid var(--fr-border);
  margin-bottom: 12px;
}

/* GESTION DE L'AFFICHAGE DES ICÔNES SELON LE THÈME */
html[data-theme="dark"] .fr-theme-icon-dark,
:root:not([data-theme="light"]) .fr-theme-icon-dark {
  display: none !important;
}
html[data-theme="dark"] .fr-theme-icon-light,
:root:not([data-theme="light"]) .fr-theme-icon-light {
  display: inline-flex !important;
}

html[data-theme="light"] .fr-theme-icon-light {
  display: none !important;
}
html[data-theme="light"] .fr-theme-icon-dark {
  display: inline-flex !important;
}

/* STYLES SPÉCIFIQUES COMPOSANTS EN MODE CLAIR (HIGH-CONTRAST FRENCH PALETTE) */
html[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #334155 !important;
}

/* Top Ticker Light */
html[data-theme="light"] .fr-top-ticker {
  background: #002395 !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}
html[data-theme="light"] .fr-top-ticker strong {
  color: #ffffff !important;
}
html[data-theme="light"] .fr-top-ticker a {
  color: #fde047 !important;
}

/* Navbar & Drawer Light */
html[data-theme="light"] .fr-navbar-wrap {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .fr-brand-name {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-nav-links a {
  color: #334155 !important;
}
html[data-theme="light"] .fr-nav-links a:hover {
  color: #002395 !important;
}
html[data-theme="light"] .fr-theme-toggle-btn {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="light"] .fr-theme-toggle-btn:hover {
  background: #e2e8f0 !important;
  border-color: #002395 !important;
}
html[data-theme="light"] .fr-menu-toggle {
  background: #f1f5f9 !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="light"] .fr-mobile-drawer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .fr-mobile-drawer-header {
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
html[data-theme="light"] .fr-mobile-drawer-grid a {
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
html[data-theme="light"] .fr-mobile-drawer-grid a:hover {
  color: #002395 !important;
}

/* Hero Badge & Secondary Button Light */
html[data-theme="light"] .fr-hero-badge {
  background: rgba(0, 35, 149, 0.08) !important;
  border-color: #93c5fd !important;
  color: #002395 !important;
}
html[data-theme="light"] .fr-btn-secondary {
  background: #ffffff !important;
  color: #002395 !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .fr-btn-secondary:hover {
  background: #002395 !important;
  color: #ffffff !important;
  border-color: #002395 !important;
}

/* Trust Strip Light */
html[data-theme="light"] .fr-trust-strip {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .fr-trust-item {
  color: #1e293b !important;
}
html[data-theme="light"] .fr-trust-icon {
  color: #16a34a !important;
}

/* Search & Filter Pills Light */
html[data-theme="light"] .fr-search-input {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
}
html[data-theme="light"] .fr-search-input::placeholder {
  color: #94a3b8 !important;
}
html[data-theme="light"] .fr-filter-pill {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
html[data-theme="light"] .fr-filter-pill:hover,
html[data-theme="light"] .fr-filter-pill.active {
  background: #002395 !important;
  border-color: #002395 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(0, 35, 149, 0.25) !important;
}

/* Pricing Cards Light */
html[data-theme="light"] .fr-plan-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04) !important;
}
html[data-theme="light"] .fr-plan-card .fr-plan-name {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-plan-card .fr-plan-price {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-plan-card .fr-plan-features li {
  color: #334155 !important;
}
html[data-theme="light"] .fr-plan-card .fr-plan-features li::before {
  color: #16a34a !important;
}

/* 12-Month Featured Best Seller Card Light - French Royal Blue Prestige */
html[data-theme="light"] .fr-plan-featured {
  background: linear-gradient(150deg, #002395 0%, #001766 100%) !important;
  border: 2px solid #38bdf8 !important;
  box-shadow: 0 20px 45px rgba(0, 35, 149, 0.3) !important;
}
html[data-theme="light"] .fr-plan-featured .fr-plan-name {
  color: #ffffff !important;
}
html[data-theme="light"] .fr-plan-featured .fr-plan-price {
  color: #ffffff !important;
}
html[data-theme="light"] .fr-plan-featured .fr-plan-period {
  color: #93c5fd !important;
}
html[data-theme="light"] .fr-plan-featured .fr-plan-features li {
  color: #f1f5f9 !important;
}
html[data-theme="light"] .fr-plan-featured .fr-plan-features li::before {
  color: #4ade80 !important;
}

/* ISP Section Light */
html[data-theme="light"] .fr-isp-section {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}
html[data-theme="light"] .fr-isp-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03) !important;
}
html[data-theme="light"] .fr-isp-card h4 {
  color: #0f172a !important;
}

/* Match Cards Light */
html[data-theme="light"] .fr-match-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03) !important;
}
html[data-theme="light"] .fr-match-header {
  border-bottom: 1px solid #f1f5f9 !important;
}
html[data-theme="light"] .fr-match-meta {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}
html[data-theme="light"] .fr-meta-line {
  color: #334155 !important;
}
html[data-theme="light"] .fr-meta-line span {
  color: #334155 !important;
}
html[data-theme="light"] .fr-score-digits {
  background: #002395 !important;
  color: #ffffff !important;
  border: 1px solid #002395 !important;
}
html[data-theme="light"] .fr-status-upcoming {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}
html[data-theme="light"] .fr-team-name {
  color: #0f172a !important;
}

/* VOD Cards Light */
html[data-theme="light"] .fr-vod-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03) !important;
}
html[data-theme="light"] .fr-vod-title {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-vod-desc {
  color: #475569 !important;
}
html[data-theme="light"] .fr-vod-audio {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

/* Single Guide Articles Light */
html[data-theme="light"] .fr-single-guide-section {
  background: #f8fafc !important;
}
html[data-theme="light"] .fr-single-guide-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}
html[data-theme="light"] .fr-single-guide-card h2,
html[data-theme="light"] .fr-single-guide-card h3,
html[data-theme="light"] .fr-single-guide-card h4 {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-single-guide-card p,
html[data-theme="light"] .fr-single-guide-card li {
  color: #334155 !important;
}
html[data-theme="light"] .fr-crumb-current {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-guide-pill-badge {
  background: rgba(0, 35, 149, 0.08) !important;
  border-color: #93c5fd !important;
  color: #002395 !important;
}
html[data-theme="light"] .fr-guide-sticky-bottom-cta {
  background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border: 1.5px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}
html[data-theme="light"] .fr-guide-sticky-bottom-cta h3 {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-guide-sticky-bottom-cta p {
  color: #475569 !important;
}
html[data-theme="light"] .fr-guide-sticky-bottom-cta .fr-btn-secondary {
  background: #ffffff !important;
  color: #002395 !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* Telegram VIP Box Light */
html[data-theme="light"] .fr-telegram-join-box {
  background: linear-gradient(135deg, #002395 0%, #001766 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 15px 35px rgba(0, 35, 149, 0.25) !important;
}

/* Mobile Sticky Bar Light */
html[data-theme="light"] .fr-mobile-bar {
  background: rgba(255, 255, 255, 0.98) !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="light"] .fr-mbar-plans {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

/* Exit Modal Light */
html[data-theme="light"] .fr-exit-box {
  background: #ffffff !important;
  border: 2px solid #002395 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}
html[data-theme="light"] .fr-exit-box h3 {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-exit-box p {
  color: #334155 !important;
}
html[data-theme="light"] .fr-exit-close {
  color: #64748b !important;
}
html[data-theme="light"] .fr-exit-dismiss {
  color: #64748b !important;
}

/* FAQs Light */
html[data-theme="light"] .fr-faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
html[data-theme="light"] .fr-faq-question {
  color: #0f172a !important;
}
html[data-theme="light"] .fr-faq-answer {
  color: #334155 !important;
}

/* 3. RESET GLOBAL ET SCROLL NATUREL SANS BLOCAGE */
html {
  overflow-x: clip !important;
  overflow-y: auto !important;
  height: auto !important;
  min-height: 100%;
  -webkit-overflow-scrolling: touch;
}

@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden !important;
  }
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  background-color: var(--fr-bg-base) !important;
  color: var(--fr-text-body) !important;
  line-height: 1.7;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  min-height: 100vh;
}

#page, .site-content, #content, #primary, #main,
article.page, article.post, .ast-article-single, .entry-content,
.ast-container, .content-area, .ast-plain-container {
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  color: var(--fr-text-main) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* 4. RUBAN TRICOLORE DU HAUT (TOP BANNER ACCENT) */
.fr-tricolore-header-stripe {
  height: 4px;
  width: 100%;
  background: var(--fr-tricolore-bar);
  position: relative;
  z-index: 9999;
}

/* 5. HERO SECTION BROADCAST 4K */
.fr-hero-section {
  position: relative;
  background: var(--fr-hero-mesh);
  padding: 70px 20px 80px;
  text-align: center;
  border-bottom: 1px solid var(--fr-border);
  overflow: hidden;
}

.fr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 85, 165, 0.18);
  border: 1px solid var(--fr-border-blue);
  color: #60a5fa;
  padding: 8px 18px;
  border-radius: var(--fr-radius-pill);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 85, 165, 0.2);
}

.fr-hero-title {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.fr-hero-title .fr-gradient-text {
  background: linear-gradient(135deg, #0055A5 0%, #2563eb 45%, #ed2939 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fr-hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--fr-text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
}

.fr-hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* BOUTONS TRICOLORES */
.fr-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--fr-red) 0%, #b91c1c 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px var(--fr-red-glow);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px var(--fr-red-glow);
}

.fr-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--fr-border-blue);
  color: var(--fr-text-main) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 12px;
  text-decoration: none !important;
  transition: all 0.25s ease;
}
.fr-btn-secondary:hover {
  background: var(--fr-blue);
  border-color: var(--fr-blue-bright);
}

/* 6. HERO TRUST BADGES BAR */
.fr-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-md);
  max-width: 900px;
  margin: 0 auto;
}
.fr-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fr-text-main);
}
.fr-trust-icon {
  color: #22c55e;
}

/* 7. SECTION CHAÎNES ET FILTRES */
.fr-channels-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.fr-section-header {
  text-align: center;
  margin-bottom: 40px;
}
.fr-section-tag {
  color: var(--fr-red-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.fr-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-top: 8px;
}

.fr-search-bar-wrap {
  position: relative;
  max-width: 600px;
  margin: 0 auto 30px;
}
input.fr-search-input,
.fr-search-bar-wrap input[type="text"],
.fr-search-bar-wrap .fr-search-input {
  width: 100% !important;
  padding: 15px 22px 15px 56px !important;
  background: var(--fr-bg-input);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-pill) !important;
  color: var(--fr-text-main);
  font-size: 15px;
  box-sizing: border-box !important;
  transition: all 0.2s ease;
}
input.fr-search-input:focus,
.fr-search-bar-wrap input[type="text"]:focus,
.fr-search-bar-wrap .fr-search-input:focus {
  outline: none;
  border-color: var(--fr-blue-bright);
  box-shadow: 0 0 20px var(--fr-blue-glow);
}
.fr-search-bar-wrap .fr-search-icon {
  position: absolute !important;
  left: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--fr-text-muted);
  font-size: 18px !important;
  pointer-events: none !important;
  line-height: 1 !important;
  z-index: 2 !important;
}

.fr-filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.fr-filter-pill {
  background: var(--fr-bg-surface);
  border: 1px solid var(--fr-border);
  color: var(--fr-text-muted);
  padding: 8px 18px;
  border-radius: var(--fr-radius-pill);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fr-filter-pill:hover,
.fr-filter-pill.active {
  background: var(--fr-blue);
  color: #ffffff;
  border-color: var(--fr-blue-bright);
  box-shadow: 0 4px 15px var(--fr-blue-glow);
}

.fr-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.fr-channel-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.fr-channel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fr-tricolore-bar);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fr-channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--fr-border-blue);
  box-shadow: var(--fr-shadow-card);
}
.fr-channel-card:hover::before {
  opacity: 1;
}

.fr-channel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.fr-channel-icon {
  font-size: 26px;
}
.fr-quality-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.fr-badge-4k {
  background: rgba(237, 41, 57, 0.15);
  color: #f87171;
  border: 1px solid rgba(237, 41, 57, 0.4);
}
.fr-badge-fhd {
  background: rgba(0, 85, 165, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(0, 85, 165, 0.35);
}

.fr-channel-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.fr-channel-desc {
  font-size: 13px;
  color: var(--fr-text-muted);
  flex-grow: 1;
  margin-bottom: 16px;
  line-height: 1.5;
}
.fr-channel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fr-lang-tag {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}
.fr-channel-test-link {
  font-size: 13px;
  font-weight: 800;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}
.fr-channel-test-link:hover {
  color: #ffffff;
}

/* 8. GRILLE DE TARIFS (PRICING GRID) */
.fr-pricing-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}
.fr-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.fr-plan-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}
.fr-plan-featured {
  background: linear-gradient(170deg, #131d33 0%, #0d1222 100%);
  border: 2px solid var(--fr-blue-bright);
  box-shadow: 0 20px 50px rgba(0, 85, 165, 0.35);
  transform: scale(1.04);
  z-index: 2;
}
.fr-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fr-red);
  color: #ffffff;
  padding: 5px 16px;
  border-radius: var(--fr-radius-pill);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.fr-plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.fr-plan-price-wrap {
  margin: 16px 0 24px;
}
.fr-plan-price {
  font-size: 48px;
  font-weight: 900;
  color: var(--fr-text-main);
}
.fr-plan-featured .fr-plan-name {
  color: #ffffff !important;
}
.fr-plan-featured .fr-plan-price {
  color: #60a5fa !important;
}
.fr-plan-featured .fr-plan-features li {
  color: #e2e8f0 !important;
}
.fr-plan-currency {
  font-size: 24px;
  vertical-align: super;
}
.fr-plan-period {
  font-size: 14px;
  color: var(--fr-text-muted);
}
.fr-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  flex-grow: 1;
}
.fr-plan-features li {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fr-plan-features li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 900;
}

/* 9. MATRICE DE COMPATIBILITÉ FAI FRANÇAIS (ORANGE, FREE, SFR, BOUYGUES) */
.fr-isp-section {
  background: var(--fr-bg-surface);
  border-top: 1px solid var(--fr-border);
  border-bottom: 1px solid var(--fr-border);
  padding: 70px 20px;
  margin: 70px 0;
}
.fr-isp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
}
.fr-isp-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-md);
  padding: 24px;
  text-align: center;
}
.fr-isp-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #22c55e;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 10px;
}

/* 10. BARRE D'ACTION MOBILE STICKY (24H ESSAI GRATUIT & TARIFS) */
.fr-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: rgba(5, 8, 17, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--fr-border);
  padding: 10px 16px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
}
@media (max-width: 768px) {
  .fr-mobile-bar {
    display: block;
  }
}
.fr-mbar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fr-mbar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
}
.fr-mbar-plans {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fr-text-main) !important;
  border: 1px solid var(--fr-border);
}
.fr-mbar-trial {
  background: linear-gradient(135deg, var(--fr-red) 0%, #b91c1c 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 15px var(--fr-red-glow);
}

/* 11. BOUTON FLOTTANT WHATSAPP DESKTOP */
.fr-floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: var(--fr-radius-pill);
  font-weight: 800;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.25s ease;
}
.fr-floating-wa:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.55);
}
@media (max-width: 768px) {
  .fr-floating-wa {
    display: none;
  }
}

/* 12. EXIT-INTENT MODAL */
.fr-exit-overlay {
  display: none;
  pointer-events: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.fr-exit-overlay.active {
  display: flex;
  pointer-events: auto;
}
.fr-exit-box {
  background: var(--fr-bg-card);
  border: 2px solid var(--fr-border-blue);
  border-radius: var(--fr-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}
.fr-exit-close {
  position: absolute;
  top: 14px; right: 14px;
  background: none; border: none;
  color: var(--fr-text-muted);
  font-size: 24px; cursor: pointer;
}

/* HIDE UNWANTED ASTRA CLUTTER */
#masthead, .site-header, .site-footer, .entry-header,
#secondary, .widget-area, #comments, .comments-area,
.post-navigation, .ast-pagination, .ast-archive-description {
  display: none !important;
}

/* TOP TICKER BAR */
.fr-top-ticker {
  background: #03060c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  font-size: 13px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: center;
}
.fr-ticker-dot {
  background: #22c55e;
  color: #050811;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

/* BESPOKE TRICOLORE NAVBAR */
.fr-navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 9998;
  background: var(--fr-nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fr-border);
  padding: 14px 20px;
}
.fr-navbar {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fr-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.fr-brand-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--fr-text-main);
  letter-spacing: -0.02em;
}
.fr-brand-badge {
  background: var(--fr-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--fr-border-blue);
}

.fr-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.fr-nav-links a {
  color: var(--fr-text-body) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.fr-nav-links a:hover {
  color: #60a5fa !important;
}

.fr-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fr-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--fr-border);
  color: #ffffff;
  font-size: 20px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

/* MOBILE DRAWER */
.fr-mobile-drawer {
  display: none;
  background: #0a1120;
  border-top: 1px solid var(--fr-border);
  padding: 16px 20px;
}
.fr-mobile-drawer.active {
  display: block;
}
.fr-mobile-drawer-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fr-mobile-drawer-grid a {
  color: #e2e8f0 !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 1024px) {
  .fr-nav-links {
    display: none;
  }
  .fr-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .fr-navbar {
    gap: 8px;
  }
  .fr-brand-name {
    font-size: 17px !important;
    white-space: nowrap;
  }
  .fr-brand-badge {
    display: none !important;
  }
  .fr-nav-actions .fr-theme-toggle-btn {
    display: none !important; /* Theme toggle is prominently located inside mobile drawer */
  }
  .fr-nav-actions .fr-btn-primary {
    padding: 8px 12px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }
}

/* 13. FOOTER OFFICIEL FRANCE IPTV DIRECT */
.fr-main-footer {
  background: #03060c;
  border-top: 1px solid var(--fr-border);
  padding: 60px 20px 45px;
  margin-top: 70px;
  position: relative;
  z-index: 10;
}
.fr-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.fr-footer-top {
  display: grid;
  grid-template-columns: 1.8fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fr-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  text-decoration: none !important;
}
.fr-footer-desc {
  color: var(--fr-text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 20px;
}
.fr-footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--fr-text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.fr-footer-col ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fr-footer-col ul a {
  color: var(--fr-text-muted) !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.fr-footer-col ul a:hover {
  color: #60a5fa !important;
}
.fr-footer-bottom {
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #64748b;
}
@media (max-width: 900px) {
  .fr-footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .fr-footer-top {
    grid-template-columns: 1fr;
  }
  .fr-main-footer {
    padding-bottom: 100px; /* Space for mobile fixed bar */
  }
}

/* ==========================================================================
   14. ÉVÉNEMENTS SPORTIFS EN DIRECT & MATCH FIXTURES ENGINE
   ========================================================================== */
.fr-matches-section {
  padding: 60px 20px 70px;
  max-width: 1240px;
  margin: 0 auto;
}
.fr-matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.fr-match-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.fr-match-card:hover {
  transform: translateY(-4px);
  border-color: var(--fr-border-blue);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.fr-match-card.is-live {
  border-color: rgba(237, 41, 57, 0.6);
  box-shadow: 0 0 25px rgba(237, 41, 57, 0.2);
}
.fr-match-card.is-live::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #ed2939;
}
.fr-match-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fr-match-league {
  font-size: 13px;
  font-weight: 800;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fr-match-status {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--fr-radius-pill);
  letter-spacing: 0.5px;
}
.fr-status-live {
  background: rgba(237, 41, 57, 0.2);
  color: #ef4444;
  border: 1px solid rgba(237, 41, 57, 0.5);
  animation: fr-pulse-glow 2s infinite ease-in-out;
}
@keyframes fr-pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.fr-status-upcoming {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid var(--fr-border);
}
.fr-match-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.fr-team-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.fr-team-crest {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.fr-team-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--fr-text-main);
  line-height: 1.25;
}
.fr-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
}
.fr-score-digits {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 14px;
  border-radius: 8px;
  border: 1px solid var(--fr-border);
}
.fr-vs-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: var(--fr-text-muted);
  letter-spacing: 1px;
}
.fr-match-time-badge {
  font-size: 11px;
  color: #60a5fa;
  font-weight: 700;
  margin-top: 4px;
}
.fr-match-meta {
  font-size: 13px;
  color: var(--fr-text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  margin-bottom: 18px;
}
.fr-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fr-match-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fr-blue);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 13px;
  padding: 11px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-top: auto;
}
.fr-match-watch-btn:hover {
  background: #0033a0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 85, 165, 0.35);
}
.fr-match-watch-btn.is-live-btn {
  background: linear-gradient(135deg, #ed2939, #b91c1c);
  box-shadow: 0 4px 15px rgba(237, 41, 57, 0.4);
}
.fr-match-watch-btn.is-live-btn:hover {
  background: linear-gradient(135deg, #f87171, #dc2626);
}

/* ==========================================================================
   15. SHOWCASE VOD CINÉMA & SÉRIES 4K (100 000+ TITRES)
   ========================================================================== */
.fr-vod-section {
  padding: 60px 20px 80px;
  max-width: 1240px;
  margin: 0 auto;
}
.fr-vod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.fr-vod-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.fr-vod-card:hover {
  transform: translateY(-6px);
  border-color: var(--fr-border-blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}
.fr-vod-poster-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0a1120;
}
.fr-vod-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fr-vod-card:hover .fr-vod-poster {
  transform: scale(1.04);
}
.fr-vod-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--fr-border-blue);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.fr-vod-quality-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--fr-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.fr-vod-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fr-vod-rating-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: #94a3b8;
}
.fr-vod-rating {
  color: #facc15;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fr-vod-audio {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 11px;
}
.fr-vod-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--fr-text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}
.fr-vod-desc {
  font-size: 13px;
  color: var(--fr-text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fr-vod-cast {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 16px;
}
.fr-vod-cta-btn {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--fr-blue);
  border: 1px solid var(--fr-border-blue);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}
.fr-vod-cta-btn:hover {
  background: #0033a0;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 85, 165, 0.4);
}

/* ==========================================================================
   16. BOUTONS D'ACTIONS COMBINÉS (GUIDES + ESSAI WHATSAPP)
   ========================================================================== */
.fr-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.fr-guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 85, 165, 0.12);
  border: 1px solid rgba(0, 85, 165, 0.35);
  color: #0055a5 !important;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  text-align: center;
}
html[data-theme="dark"] .fr-guide-btn {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8 !important;
}
.fr-guide-btn:hover {
  background: rgba(0, 85, 165, 0.22);
  border-color: #0055a5;
  color: #002395 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 85, 165, 0.2);
}
html[data-theme="dark"] .fr-guide-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  color: #ffffff !important;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

/* ==========================================================================
   17. ARTICLES INDIVIDUELS & GUIDES DE MATCHS ET VOD
   ========================================================================== */
.fr-single-guide-section {
  padding: 40px 20px 80px;
  background: var(--fr-bg-base);
}
.single .entry-header,
.single-post header.entry-header,
.single .entry-meta,
.single .ast-single-post-order {
  display: none !important;
}
.fr-single-guide-container {
  max-width: 920px;
  margin: 0 auto;
}
.fr-breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fr-text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.fr-breadcrumb-nav a {
  color: #60a5fa !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}
.fr-breadcrumb-nav a:hover {
  color: #ffffff !important;
}
.fr-crumb-current {
  color: var(--fr-text-main);
  font-weight: 700;
}
.fr-single-guide-header {
  margin-bottom: 24px;
}
.fr-guide-pill-badge {
  display: inline-block;
  background: rgba(0, 85, 165, 0.2);
  border: 1px solid #38bdf8;
  color: #60a5fa;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--fr-radius-pill);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fr-single-guide-h1 {
  font-size: clamp(24px, 3.8vw, 38px) !important;
  font-weight: 900 !important;
  color: var(--fr-text-main) !important;
  line-height: 1.25 !important;
  margin: 0 0 14px !important;
}
.fr-single-guide-meta-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fr-text-muted);
}
.fr-single-guide-card {
  background: var(--fr-bg-card);
  border: 1px solid var(--fr-border);
  border-radius: var(--fr-radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--fr-shadow-card);
  position: relative;
  overflow: hidden;
}
.fr-single-guide-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--fr-tricolore-bar);
}
.fr-guide-sticky-bottom-cta {
  margin-top: 40px;
  padding: 30px 24px;
  background: linear-gradient(135deg, #091226 0%, #030816 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: var(--fr-radius-md);
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}
.fr-guide-cta-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid #22c55e;
  color: #4ade80;
  font-weight: 800;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--fr-radius-pill);
  text-transform: uppercase;
}

/* TYPOGRAPHIE ET CONTRASTE MULTI-THÈMES POUR LES GUIDES */
.fr-single-guide-card p,
.fr-single-guide-card li,
.fr-match-guide-container p,
.fr-match-guide-container li,
.fr-movie-guide-container p,
.fr-movie-guide-container li {
  color: var(--fr-text-body) !important;
}
.fr-single-guide-card strong,
.fr-match-guide-container strong,
.fr-movie-guide-container strong {
  color: var(--fr-text-main) !important;
}
.fr-single-guide-card h2,
.fr-single-guide-card h3,
.fr-single-guide-card h4,
.fr-match-guide-container h2,
.fr-match-guide-container h3,
.fr-match-guide-container h4,
.fr-movie-guide-container h2,
.fr-movie-guide-container h3,
.fr-movie-guide-container h4 {
  color: var(--fr-text-main) !important;
}

/* Blocs d'analyse tactique et citations */
.fr-single-guide-card div[style*="#e2e8f0"],
.fr-match-guide-container div[style*="#e2e8f0"],
.fr-single-guide-card div[style*="border-left"] div,
.fr-match-guide-container div[style*="border-left"] div {
  color: var(--fr-text-body) !important;
}
.fr-single-guide-card div[style*="border-left"],
.fr-match-guide-container div[style*="border-left"] {
  background: rgba(0, 35, 149, 0.06) !important;
  border-left-color: var(--fr-blue) !important;
}

/* Blocs CTA et Telegram avec fond sombre dégradé fixe */
.fr-guide-sticky-bottom-cta h3,
.fr-telegram-join-box h3,
.fr-match-guide-container div[style*="linear-gradient"] h3,
.fr-movie-guide-container div[style*="linear-gradient"] h3 {
  color: #ffffff !important;
}
.fr-guide-sticky-bottom-cta p,
.fr-telegram-join-box p,
.fr-match-guide-container div[style*="linear-gradient"] p,
.fr-movie-guide-container div[style*="linear-gradient"] p {
  color: #cbd5e1 !important;
}
.fr-guide-sticky-bottom-cta .fr-btn-secondary {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.fr-guide-sticky-bottom-cta .fr-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* ==========================================================================
   16. CANAL VIP TELEGRAM OFFICIEL (@FRANCEIPTVDIRECT)
   ========================================================================== */
.fr-telegram-join-box {
  background: linear-gradient(135deg, #091226 0%, #030816 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: var(--fr-radius-lg);
  padding: clamp(22px, 3.5vw, 32px);
  margin: 36px 0 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(56, 189, 248, 0.08);
  position: relative;
  overflow: hidden;
}
.fr-telegram-join-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--fr-tricolore-bar);
}
.fr-tg-box-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}
.fr-tg-box-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fr-tg-box-headings {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fr-tg-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--fr-radius-pill);
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.fr-tg-title {
  color: #ffffff !important;
  font-size: clamp(18px, 2.5vw, 22px) !important;
  font-weight: 800 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.fr-tg-desc {
  color: #cbd5e1 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  margin: 0 0 20px !important;
}
.fr-tg-desc strong {
  color: #ffffff !important;
}
.fr-tg-actions {
  margin-bottom: 16px;
}
.fr-btn-tg-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 800;
  padding: 13px 26px;
  border-radius: var(--fr-radius-pill);
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fr-btn-tg-join:hover {
  background: linear-gradient(135deg, #0099e6 0%, #0077b3 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.55);
}
.fr-tg-trust {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #94a3b8;
}
.fr-tg-trust span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   FRANCE IPTV DIRECT — LUXURY MODALS (CHECKOUT, MATCH GUIDE, CHANNEL ACTION)
   ========================================================================== */

/* 1. CHECKOUT MODAL */
.fr-modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 6, 12, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.fr-modal-backdrop.active {
  display: flex !important;
}
.fr-modal-box {
  background: #0b1325 !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 20px !important;
  max-width: 480px !important;
  width: 100% !important;
  padding: 28px !important;
  position: relative !important;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.15) !important;
  color: #ffffff !important;
  animation: frModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  box-sizing: border-box !important;
}
.fr-modal-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
}
.fr-modal-close:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

/* 2. MATCH QUICK GUIDE MODAL */
.fr-mgm-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.fr-mgm-overlay.active {
  display: flex !important;
}
.fr-mgm-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(5, 8, 17, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
.fr-mgm-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 520px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  background: linear-gradient(145deg, #0b1325 0%, #060b14 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.15) !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  animation: frModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
.fr-mgm-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.fr-mgm-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}
.fr-mgm-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
}
.fr-mgm-subrow {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
}

/* 3. CHANNEL ACTION MODAL */
.fr-cam-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.fr-cam-overlay.active {
  display: flex !important;
}
.fr-cam-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(5, 8, 17, 0.85) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}
.fr-cam-card {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 490px !important;
  background: linear-gradient(145deg, #0b1325 0%, #060b14 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.2) !important;
  padding: 26px 24px 22px !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  animation: frModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}
.fr-cam-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #94a3b8 !important;
  font-size: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.fr-cam-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  color: #ef4444 !important;
  border-color: #ef4444 !important;
}

@keyframes frModalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Zero Dead-Click Interactive Hover States */
.fr-team-side.js-fr-team-guide {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease !important;
  border-radius: 10px !important;
  padding: 4px 8px !important;
}
.fr-team-side.js-fr-team-guide:hover {
  transform: translateY(-2px) scale(1.03) !important;
  background: rgba(56, 189, 248, 0.1) !important;
}
.fr-meta-line.js-fr-channel-modal {
  transition: background 0.2s ease, transform 0.2s ease !important;
  border-radius: 8px !important;
  padding: 4px 8px !important;
}
.fr-meta-line.js-fr-channel-modal:hover {
  background: rgba(56, 189, 248, 0.12) !important;
  transform: translateX(4px) !important;
}
.fr-channel-card {
  cursor: pointer !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, box-shadow 0.22s ease !important;
}
.fr-channel-card:hover {
  transform: translateY(-3px) scale(1.02) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.2) !important;
}
