/* ============================================================
   SCREENS
   ============================================================ */
.screen {
  display: none;
  flex-direction: column;
  min-height: 100vh;
}

.screen.active {
  display: flex;
}

/* ============================================================
   ACCUEIL — fond navy avec lueur verte subtile (Stake style)
   ============================================================ */
#screen-accueil {
  background: radial-gradient(ellipse 80% 50% at 50% -5%, rgba(31,223,100,0.07) 0%, transparent 65%),
              #0f212e;
}

/* ============================================================
   QUIZ — boutons de choix
   ============================================================ */
.choice-btn {
  transition: background 0.12s, border-color 0.12s, transform 0.08s;
  -webkit-tap-highlight-color: transparent;
}
.choice-btn:focus,
.choice-btn:focus-visible {
  outline: none;
  border-color: #2d4455;
}
.choice-btn:active {
  transform: scale(0.98);
  background: #213743;
}
/* Hover uniquement sur desktop (pas sur mobile tactile) */
@media (hover: hover) {
  .choice-btn:hover {
    background: #213743;
    border-color: #1fdf64;
  }
}

/* ============================================================
   CASINO CARDS — blur & unblur
   ============================================================ */
.card-inner {
  transition: filter 0.4s ease;
}

.card-locked .card-inner {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.card-locked::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 33, 46, 0.25);
  border-radius: inherit;
  z-index: 5;
  pointer-events: none;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #213743;
  border-top-color: #1fdf64;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

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

/* ============================================================
   COMPAT BAR — animation au chargement
   ============================================================ */
.compat-fill {
  width: 0;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   MISC
   ============================================================ */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0f212e; }
::-webkit-scrollbar-thumb { background: #2d4455; border-radius: 2px; }
