/* ═══════════════════════════════════════════════════════════════
   BOOKMAKER CHOICE — LISTE PREMIUM COMPACTE
   Version 5.0 — Refonte layout : grille → pile de lignes
   ═══════════════════════════════════════════════════════════════ */

/* ── Body ── */
.bookmaker-choice-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
}

.bookmaker-choice-page::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(245,166,35,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,212,255,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 60%, rgba(0,229,160,0.03) 0%, transparent 50%);
}

/* ── Animated background shapes ── */
.animated-background { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.floating-shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .04; }
.shape-1 { width: 300px; height: 300px; background: var(--amber); top: 10%; left: -8%; animation: floatShape 18s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: var(--cyan); bottom: 15%; right: -10%; animation: floatShape 22s ease-in-out 3s infinite reverse; }
.shape-3 { width: 200px; height: 200px; background: var(--green); top: 50%; left: 40%; animation: floatShape 15s ease-in-out 6s infinite; }
.shape-4 { width: 250px; height: 250px; background: var(--red); top: 20%; right: 20%; animation: floatShape 20s ease-in-out 2s infinite reverse; }

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.1); }
  66%       { transform: translate(-20px, 25px) scale(.95); }
}

/* ── Language switcher top ── */
.language-switcher-top {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 50;
}

/* ── Main content ── */
.main-content { position: relative; z-index: 1; padding: 60px 16px 40px; }
.container-choice { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }

/* ══════════════════════════════════════════
   HERO HEADER
   ══════════════════════════════════════════ */
.choice-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px 20px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.choice-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--g-amber);
}

.choice-logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 18px rgba(245,166,35,.65));
  animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

.logo-glow {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,166,35,.18) 0%, transparent 70%);
  animation: glowP 3s ease-in-out infinite;
}

@keyframes glowP {
  0%, 100% { opacity: .6; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.2); }
}

.choice-title {
  font-family: var(--font-hud);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--g-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  line-height: 1.2;
}

.choice-subtitle { color: var(--t2); font-size: .88rem; line-height: 1.5; }

/* ══════════════════════════════════════════
   BOUTON FACEBOOK — sobre, une seule ligne
   ══════════════════════════════════════════ */
.facebook-video-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  width: 100%;
  border: 1px solid rgba(0,212,255,.2);
  background: rgba(0,212,255,.04);
  border-radius: var(--r-md);
  color: var(--t2);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.facebook-video-button:hover {
  background: rgba(0,212,255,.09);
  border-color: rgba(0,212,255,.35);
  color: var(--cyan);
}

.fb-button-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}

.fb-button-icon svg { width: 15px; height: 15px; }

.fb-button-label {
  flex: 1;
  font-size: .82rem;
  font-weight: 500;
  color: inherit;
  text-align: left;
  font-family: var(--font-body);
  letter-spacing: .2px;
}

.fb-button-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  transition: color var(--t-fast), transform var(--t-fast);
}

.fb-button-arrow svg { width: 14px; height: 14px; }
.facebook-video-button:hover .fb-button-arrow { color: var(--cyan); transform: translateX(2px); }

/* ══════════════════════════════════════════
   LISTE BOOKMAKERS — pile verticale premium
   ══════════════════════════════════════════ */
.bookmaker-options-container {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Chaque ligne = une option bookmaker */
.bookmaker-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--stroke-soft);
  text-decoration: none;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: background var(--t-fast);
  /* Transition subtile sur le fond */
}

.bookmaker-option:last-child {
  border-bottom: none;
}

.bookmaker-option::after {
  /* Indicateur de survol — ligne à gauche */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--g-amber);
  opacity: 0;
  transition: opacity var(--t-fast);
  border-radius: 0 2px 2px 0;
}

.bookmaker-option:hover {
  background: rgba(245,166,35,.03);
}

.bookmaker-option:hover::after {
  opacity: 1;
}

/* ── Logo : petit, à gauche ── */
.bookmaker-logo-wrapper {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  background: var(--panel-3);
  border: 1px solid var(--stroke-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.bookmaker-option:hover .bookmaker-logo-wrapper {
  border-color: var(--stroke);
}

.bookmaker-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* ── Zone info : nom + badge ── */
.bookmaker-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.bookmaker-name {
  font-family: var(--font-hud);
  font-size: .9rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: .5px;
  line-height: 1;
}

/* ── Badge : discret, inline sous le nom ── */
.bookmaker-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 6px;
  border-radius: 20px;
  background: var(--g-amber);
  color: #080400;
  font-family: var(--font-hud);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  width: fit-content;
}

.bookmaker-badge svg { flex-shrink: 0; }

.bookmaker-badge-alt {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

/* ── CTA : cercle flèche à droite ── */
.bookmaker-cta {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(245,166,35,.09);
  border: 1px solid rgba(245,166,35,.18);
  color: var(--amber);
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.bookmaker-option:hover .bookmaker-cta {
  background: rgba(245,166,35,.2);
  transform: translateX(3px);
  box-shadow: 0 0 14px rgba(245,166,35,.2);
}

.cta-icon { display: block; }

/* ── Features : masquées (supprimées du markup, règle défensive) ── */
.bookmaker-features { display: none; }
.cta-text            { display: none; }
.card-shine          { display: none; }
.card-glow           { display: none; }

/* ══════════════════════════════════════════
   INFO CARDS
   ══════════════════════════════════════════ */
.info-cards-container { display: flex; flex-direction: column; gap: 10px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--panel);
  border: 1px solid var(--stroke-soft);
}

.info-card-primary { border-left: 3px solid var(--cyan); }
.info-card-success { border-left: 3px solid var(--amber); }
.info-card-warning { border-left: 3px solid var(--red); }

.info-card-icon { flex-shrink: 0; }
.info-card-primary .info-card-icon { color: var(--cyan); }
.info-card-success .info-card-icon { color: var(--amber); }
.info-card-warning .info-card-icon { color: var(--red); }

.info-card-title {
  font-family: var(--font-hud);
  font-size: .72rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.info-card-text { color: var(--t2); font-size: .85rem; line-height: 1.65; }
.info-card-text strong { color: var(--t1); }

.promo-highlight {
  font-family: var(--font-hud);
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--amber);
  background: rgba(245,166,35,.12);
  padding: 1px 6px;
  border-radius: var(--r-xs);
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.choice-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--r-md);
  background: var(--panel);
}

.footer-icon { color: var(--t3); flex-shrink: 0; }
.footer-text { color: var(--t3); font-size: .78rem; text-align: center; }

/* ══════════════════════════════════════════
   RESPONSIVE — TABLETTE
   ══════════════════════════════════════════ */
@media (min-width: 480px) {
  .bookmaker-option { padding: 16px 22px; gap: 16px; }
  .bookmaker-logo-wrapper { width: 48px; height: 48px; }
  .bookmaker-logo { width: 40px; height: 40px; }
  .bookmaker-name { font-size: .95rem; }
  .bookmaker-cta { width: 36px; height: 36px; }
}

@media (min-width: 640px) {
  .container-choice { gap: 18px; }
  .choice-header { padding: 32px 28px 24px; gap: 14px; }
  .bookmaker-option { padding: 17px 24px; }
}

/* ══════════════════════════════════════════
   ACCESSIBILITÉ & PRÉFÉRENCES
   ══════════════════════════════════════════ */
.bookmaker-option:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
  background: rgba(245,166,35,.04);
}

.facebook-video-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
