/* =====================================================================
   CASINO-BLACKJACK.CSS — styles du Blackjack (copie de ton blackjack.css, adaptée)

   Ce fichier garde les règles de ton ancien blackjack.css (cartes, animations,
   mises, résultat, historique...) avec ces changements :
     - la mise en page en colonnes de l'ancien site est retirée
       (elle est refaite pour le casino dans css/casino-games.css)
     - les couleurs et polices passent à celles du jeu redessiné
       (or #ffe18a / #d8a83e, police Cinzel)
     - le logo imgur du tapis est retiré (remplacé par le jeton du casino)
     - les règles responsive du site sont retirées (cadre fixe 1600x900)
   Les dimensions, positions et ajustements propres au casino sont dans
   css/casino-games.css (chargé APRÈS ce fichier : il a le dernier mot).
   ===================================================================== */

/* ==========================================================================
   BLACKJACK — tapis violet sur le thème du site
   (fond #080b10, jaune #ffe18a, violet #a855f7, or #ffe18a).
   Les ids et noms de classes utilisés par blackjack.js sont inchangés.
   ========================================================================== */

/* ---- TAPIS (feutrine violette) ---- */
.bj-table {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 30px 28px 34px;
  /* Feutrine violette : halo central + dégradé + vignettage */
  background:
    radial-gradient(ellipse 85% 60% at 50% 36%, rgba(168, 85, 247, 0.28), transparent 62%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.015) 0 3px, transparent 3px 6px),
    radial-gradient(ellipse 130% 105% at 50% 0%, #3d2080 0%, #251248 46%, #12082b 100%);
  /* Rail bois + liseré or via ombres empilées */
  border: 3px solid #d8a83e;
  box-shadow:
    0 0 0 10px #4a2c17,
    0 0 0 12px #d8a83e,
    inset 0 0 110px rgba(0, 0, 0, 0.55),
    inset 0 0 26px rgba(0, 0, 0, 0.5),
    0 22px 50px rgba(0, 0, 0, 0.55);
}

/* Logo en filigrane au centre du tapis */
.bj-table-logo {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 250px;
  height: 250px;
  transform: translate(-50%, -50%);
  background: none;
  opacity: 0.13;
  filter: drop-shadow(0 0 18px rgba(255, 225, 138, 0.35));
  pointer-events: none;
}

/* Anneau doré autour du logo */
.bj-table-logo::after {
  content: '';
  position: absolute;
  inset: -16px;
  border: 2px solid rgba(255, 225, 138, 0.28);
  border-radius: 50%;
}

/* ---- ZONES DE JEU ---- */
.bj-zone {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 0.3rem;
}

.bj-zone h2 {
  margin: 0 0 0.45rem;
}

/* Plaque dorée : Croupier / Toi */
.bj-plaque {
  display: inline-block;
  vertical-align: middle;
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1c1917;
  background: linear-gradient(180deg, #fff06a, #e6b900);
  border-radius: 999px;
  padding: 4px 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 3px 10px rgba(0, 0, 0, 0.5);
}

/* Valeur de main : chiffre voyant, couleur à part (cyan lumineux) */
.bj-score {
  display: inline-block;
  vertical-align: middle;
  min-width: 58px;
  margin-left: 10px;
  padding: 2px 14px;
  border-radius: 12px;
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.4;
  color: #4de3ff;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(77, 227, 255, 0.75);
  text-shadow: 0 0 14px rgba(77, 227, 255, 0.9);
  box-shadow:
    0 0 16px rgba(77, 227, 255, 0.35),
    0 3px 10px rgba(0, 0, 0, 0.5);
}

.bj-score:empty {
  display: none;
}

/* Mise en cours, imprimée sur la feutrine sous les cartes du joueur */
.bj-bet-current {
  position: relative;
  z-index: 1;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.bj-bet-current span {
  font-family: "Cinzel", serif;
  font-weight: 800;
  color: var(--yellow, #ffe18a);
}

.bj-cards {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  min-height: 118px;
  flex-wrap: wrap;
}

/* ---- MESSAGES ---- */
.bj-message {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff8dc;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  min-height: 1.5em;
  margin: 0.4rem 0;
}

/* ---- BOUTONS D'ACTION (jetons de table, visibles seulement en manche) ---- */
.bj-controls {
  position: relative;
  z-index: 1;
  display: none;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 0.6rem;
}

.bj-table.playing .bj-controls {
  display: flex;
}

.bj-btn {
  min-width: 150px;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 3px dashed rgba(255, 255, 255, 0.75);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.bj-btn-hit {
  background: radial-gradient(circle at 50% 30%, #2fd67c, #1a9e54 70%);
  color: #062d1a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow:
    0 0 0 4px rgba(6, 45, 26, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.55);
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-btn-hit:hover:not(:disabled) {
    filter: brightness(1.12);
    transform: translateY(-2px);
  }
}

.bj-btn:not(.bj-btn-hit) {
  background: radial-gradient(circle at 50% 30%, #ff6b6b, #c0392b 70%);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  box-shadow:
    0 0 0 4px rgba(60, 10, 8, 0.9),
    0 6px 16px rgba(0, 0, 0, 0.55);
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-btn:not(.bj-btn-hit):hover:not(:disabled) {
    filter: brightness(1.12);
    transform: translateY(-2px);
  }
}

.bj-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(0.5);
}

/* ---- CARTES (grand format) ---- */
.bj-card {
  width: 76px;
  height: 106px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  user-select: none;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(160deg, #ffffff 0%, #f3ecd8 100%);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.bj-card.red {
  color: #c0392b;
  border: 2px solid #c0392b;
}

.bj-card.black {
  color: #1a1a2e;
  border: 2px solid #2c2c34;
}

/* Dos de carte aux couleurs du site */
.bj-card-hidden {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 225, 138, 0.25), transparent 65%),
    repeating-linear-gradient(45deg, rgba(168, 85, 247, 0.35) 0 6px, rgba(20, 16, 36, 0.9) 6px 12px),
    linear-gradient(135deg, #241d4d, #120f22);
  border: 2px solid var(--yellow, #ffe18a);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.55),
    0 0 14px rgba(255, 225, 138, 0.3);
}

.bj-card-banana {
  font-size: 2.3rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.bj-card-rank {
  font-size: 1.2rem;
  line-height: 1;
}

.bj-card-suit {
  font-size: 1.6rem;
  line-height: 1;
}

/* ---- ANIMATIONS ---- */
.bj-card.deal-in {
  animation: bj-deal-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

@keyframes bj-deal-in {
  0% {
    transform: translateY(-140px) translateX(40px) rotate(25deg) scale(0.5);
    opacity: 0;
  }
  70% { opacity: 1; }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg) scale(1);
    opacity: 1;
  }
}

.bj-card.hit-in {
  animation: bj-hit-in 0.2s ease-out both;
}

@keyframes bj-hit-in {
  0% {
    transform: translateY(-30px) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.bj-card.flip-in {
  animation: bj-flip-in 0.25s ease-out;
}

@keyframes bj-flip-in {
  from { transform: rotateY(90deg); opacity: 0.2; }
  to   { transform: rotateY(0deg); opacity: 1; }
}

/* ---- SIDEBAR : panneaux façon reward-card du site ---- */
.bj-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(23, 21, 32, 0.98), rgba(11, 14, 19, 0.98));
  border: 1px solid #302c40;
  border-radius: 12px;
  padding: 18px 19px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

/* Barre dégradée jaune → violet en haut, comme les cartes du site */
.bj-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow, #ffe18a), var(--purple, #a855f7), transparent);
  box-shadow: 0 0 10px rgba(255, 225, 138, 0.35);
  opacity: 0.9;
}

/* Titre façon .category-block h2 du site */
.bj-panel-title {
  display: block;
  font-family: "Cinzel", serif;
  color: var(--yellow, #ffe18a);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid #3b354a;
  padding-bottom: 7px;
}

.bj-panel-title::after {
  content: '';
  display: block;
  width: 55%;
  height: 2px;
  margin-top: 5px;
  background: linear-gradient(90deg, var(--yellow, #ffe18a), transparent);
  box-shadow: 0 0 7px rgba(255, 225, 138, 0.28);
}

.bj-panel-points {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text, #f5f2ff);
  margin-bottom: 0.6rem;
}

.bj-panel-points span {
  color: var(--yellow, #ffe18a);
  font-family: "Cinzel", serif;
}

.bj-panel-recap {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim, #8f8aa5);
}

.bj-panel-recap b {
  color: var(--text, #f5f2ff);
}

/* ---- MISES SUR LE TAPIS (visibles quand aucune manche en cours) ---- */
.bj-table-bets-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 0.5rem;
}

.bj-table.playing .bj-table-bets-wrap {
  display: none;
}

.bj-table-bets-title {
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow, #ffe18a);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.55rem;
}

.bj-table-bets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.bj-table-bets .bj-bet-btn {
  flex: 0 1 auto;
  min-width: 108px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Mise conseillée pour commencer */
.bj-bet-btn.bj-bet-advice {
  border-color: #2fd67c;
  box-shadow:
    0 0 14px rgba(47, 214, 124, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.5);
}

.bj-bet-btn.bj-bet-advice::after {
  content: ' ★ douce';
  font-size: 0.72em;
  color: #2fd67c;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-bet-btn.bj-bet-advice:hover:not(:disabled)::after {
    color: #062d1a;
  }
}

/* Rappel des gains, imprimé sur la feutrine */
.bj-payouts {
  margin: 0.6rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.bj-bet-btn {
  padding: 0.5rem 0.6rem;
  border: 2px solid var(--yellow, #ffe18a);
  border-radius: 8px;
  background: linear-gradient(180deg, #181622 0%, #0d1016 100%);
  color: var(--yellow, #ffe18a);
  font-family: "Cinzel", serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  white-space: nowrap;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-bet-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, #fff06a 0%, #ffe18a 100%);
    color: #17120a;
    transform: translateY(-1px);
    box-shadow: 0 0 12px rgba(255, 225, 138, 0.4);
  }
}

.bj-bet-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

.bj-bet-btn.bj-bet-max {
  border-color: #e74c3c;
  color: #e74c3c;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-bet-btn.bj-bet-max:hover:not(:disabled) {
    background: #e74c3c;
    color: #fff;
    box-shadow: 0 0 12px rgba(231, 76, 60, 0.4);
  }
}

/* ---- RÈGLES (colonne gauche) ---- */
.bj-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text, #f5f2ff);
}

.bj-rules b {
  color: var(--yellow, #ffe18a);
}

/* ---- LEADERBOARD ---- */
.bj-lb-section {
  margin-top: 0.5rem;
}

.bj-lb-section h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim, #8f8aa5);
  margin: 0 0 0.3rem;
}

.bj-lb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #ddd;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bj-lb-row:last-child {
  border-bottom: none;
}

.bj-lb-name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 130px;
}

.bj-lb-val {
  font-weight: 700;
  font-family: "Cinzel", serif;
  color: var(--yellow, #ffe18a);
  flex-shrink: 0;
}

/* Grind : verts en positif, rouges en négatif */
.bj-lb-val.pos {
  color: #2fd67c;
  text-shadow: 0 0 8px rgba(47, 214, 124, 0.35);
}

.bj-lb-val.neg {
  color: #ff6b6b;
  text-shadow: 0 0 8px rgba(255, 107, 107, 0.35);
}

.bj-lb-empty {
  font-size: 0.75rem;
  color: var(--text-dim, #8f8aa5);
  text-align: center;
  padding: 0.3rem 0;
}

/* ---- Encart liens Banasino (colonne gauche) ---- */
.bj-banasino-text {
  margin: 0 0 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dim, #8f8aa5);
}

.bj-banasino-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bj-banasino-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 20px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--yellow, #ffe18a);
  background: linear-gradient(180deg, #181622 0%, #0d1016 100%);
  border: 2px solid var(--yellow, #ffe18a);
  border-radius: 5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-banasino-link:hover {
    background: linear-gradient(180deg, #fff06a 0%, #ffe18a 100%);
    color: #17120a;
    border-color: #fff3a0;
    box-shadow: 0 0 10px rgba(255, 225, 138, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    filter: brightness(1.1);
  }
}

/* ---- HISTORIQUE ---- */
.bj-history-panel {
  display: flex;
  flex-direction: column;
}

.bj-history-log {
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
  min-height: 200px;
  /* Gouttière réservée : la scrollbar ne recouvre plus les chiffres */
  scrollbar-gutter: stable;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--yellow, #ffe18a) #10131a;
}

.bj-history-log::-webkit-scrollbar {
  width: 5px;
}

.bj-history-log::-webkit-scrollbar-track {
  background: #10131a;
}

.bj-history-log::-webkit-scrollbar-thumb {
  background: var(--yellow, #ffe18a);
  border-radius: 3px;
}

.bj-history-empty {
  font-size: 0.75rem;
  color: var(--text-dim, #8f8aa5);
  text-align: center;
  padding: 0.3rem 0;
}

.bj-history-round {
  margin-bottom: 0.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(255, 225, 138, 0.15);
}

.bj-history-round:last-child {
  border-bottom: none;
}

.bj-history-round-title {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: "Cinzel", serif;
  color: var(--yellow, #ffe18a);
  margin-bottom: 0.15rem;
  opacity: 0.85;
}

.bj-history-entry {
  font-size: 0.68rem;
  color: #ccc;
  padding: 0.05rem 0 0.05rem 0.4rem;
  line-height: 1.3;
  display: flex;
  gap: 0.2rem;
  align-items: baseline;
}

.bj-history-entry .bj-h-icon {
  flex-shrink: 0;
  width: 12px;
  text-align: center;
  font-size: 0.6rem;
}

.bj-history-entry .bj-h-cards {
  color: #fff;
  font-weight: 600;
}

.bj-history-entry .bj-h-val {
  color: var(--yellow, #ffe18a);
  font-weight: 700;
  margin-left: auto;
  flex-shrink: 0;
}

.bj-history-result {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.25rem;
  border-radius: 4px;
  text-align: center;
  margin-top: 0.15rem;
}

.bj-history-result.win {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
}

.bj-history-result.lose {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}

.bj-history-result.push {
  background: rgba(241, 196, 15, 0.15);
  color: #f1c40f;
}

.bj-history-result.blackjack {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
}

/* ---- RÉSULTAT : bandeau flottant centré sur le tapis ----
   (position absolue : la table garde toujours la même hauteur,
   rien ne bouge quand le bandeau apparaît) ---- */
.bj-result {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  display: none;
  width: min(460px, calc(100% - 40px));
  margin: 0;
  text-align: center;
  padding: 0.8rem 1.2rem 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.82);
  border: 2px solid var(--gold, #ffe18a);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 210, 28, 0.2);
  transform: translate(-50%, -50%);
}

.bj-result.show {
  display: block;
  animation: bj-pop-in 0.25s cubic-bezier(0.18, 1.4, 0.5, 1);
}

/* Voile léger sur la feutrine seule (pas tout l'écran) pendant le résultat */
.bj-table.has-result::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Quand le résultat est affiché, on masque Tirer/Rester (manche finie) */
.bj-table.has-result .bj-controls {
  display: none;
}

.bj-result-title {
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.bj-result[data-result="win"] .bj-result-title { color: #2fd67c; text-shadow: 0 0 14px rgba(47, 214, 124, 0.6); }
.bj-result[data-result="blackjack"] .bj-result-title {
  background: linear-gradient(180deg, #fffbdc 0%, #ffe18a 55%, #d8a83e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 225, 138, 0.5));
}
.bj-result[data-result="push"] .bj-result-title { color: #f1c40f; text-shadow: 0 0 14px rgba(241, 196, 15, 0.6); }
.bj-result[data-result="lose"] .bj-result-title { color: #ff6b6b; text-shadow: 0 0 14px rgba(255, 107, 107, 0.6); }

.bj-result-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text, #f5f2ff);
  margin-bottom: 0.7rem;
}

.bj-result-actions {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.bj-result-actions .bj-btn {
  min-width: 0;
  padding: 0.5rem 1.2rem;
  font-size: 0.82rem;
  border-width: 2px;
}

.bj-btn-rebet {
  background: linear-gradient(180deg, #fff06a, #e6b900) !important;
  color: #1c1917 !important;
  text-shadow: none !important;
  border: 2px solid #fff3a0 !important;
  box-shadow: 0 0 14px rgba(255, 225, 138, 0.45), 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-btn-rebet:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
  }
}

.bj-btn-newbet {
  background: transparent !important;
  color: var(--yellow, #ffe18a) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7) !important;
  border: 2px solid rgba(255, 225, 138, 0.6) !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  /* Souris uniquement : au doigt il n'y a pas de survol, l'effet resterait "collé" après un appui */
  .bj-btn-newbet:hover {
    background: rgba(255, 225, 138, 0.12) !important;
    transform: translateY(-1px);
  }
}

@keyframes bj-pop-in {
  from { transform: translate(-50%, -50%) scale(0.92); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ---- RESPONSIVE ---- */
