/* ============================================================
   CASINO partilhado — visual NOVO dos jogos, igual no dono e no cliente.
   Cores concretas (sem depender de variáveis de tema) para render igual
   dentro da app do dono (styles.css) e da loja do cliente (loja.css).
   Usado pela Bonanza do cliente (cliente-games.js) com as classes bz-*/bonanza-*.
   ============================================================ */

/* Palco escuro de casino dentro do modal do cliente */
.cg-modal.cg-casino {
  background: radial-gradient(circle at 50% -5%, rgba(255,107,208,0.22), transparent 55%),
              radial-gradient(circle at 88% 92%, rgba(150,77,255,0.18), transparent 50%),
              linear-gradient(165deg, #2a1742 0%, #1a1030 55%, #0e0a1d 100%);
  border: 1px solid rgba(202,162,74,0.35);
  box-shadow: 0 0 0 2px rgba(202,162,74,0.5), 0 0 0 6px rgba(14,11,6,0.9), 0 30px 80px rgba(0,0,0,0.7);
  color: #fff;
}
.cg-casino .cg-title-game { background: linear-gradient(180deg,#fff,#ffe6a3); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); }

/* Cenário VIVO (#68): luz a girar + brilhos a flutuar por trás do jogo (dopamina) */
.cg-modal.cg-casino { position: relative; overflow: hidden; }
.cg-modal.cg-casino > * { position: relative; z-index: 1; }
.cg-modal.cg-casino::before { content: ''; position: absolute; inset: -40%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 12deg, rgba(255,213,74,0.05) 12deg 16deg, transparent 16deg 30deg,
              rgba(150,77,255,0.06) 30deg 34deg, transparent 34deg 60deg);
  animation: cgRays 18s linear infinite; }
.cg-modal.cg-casino::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.7;
  background-image:
    radial-gradient(2px 2px at 12% 90%, rgba(255,223,120,0.9), transparent),
    radial-gradient(2px 2px at 30% 80%, rgba(255,255,255,0.7), transparent),
    radial-gradient(3px 3px at 55% 95%, rgba(255,213,74,0.8), transparent),
    radial-gradient(2px 2px at 72% 85%, rgba(150,200,255,0.7), transparent),
    radial-gradient(2px 2px at 88% 92%, rgba(255,107,208,0.7), transparent),
    radial-gradient(2px 2px at 45% 88%, rgba(255,255,255,0.6), transparent);
  background-repeat: repeat; background-size: 100% 100%; animation: cgFloatUp 7s linear infinite; }
@keyframes cgRays { to { transform: rotate(360deg); } }
@keyframes cgFloatUp { 0% { transform: translateY(0); opacity: 0.2; } 30% { opacity: 0.8; } 100% { transform: translateY(-120%); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cg-modal.cg-casino::before, .cg-modal.cg-casino::after { animation: none !important; } }

/* ---- Barra de progresso ---- */
.bonanza-bar-wrap { width: 100%; margin: 4px 0 12px; }
.bonanza-bar { position: relative; height: 28px; border-radius: 99px; background: #0c1322; overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.55), 0 0 0 2px rgba(243,209,104,0.55), 0 0 14px rgba(243,209,104,0.2);
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 9.9%); }
.bonanza-fill { position: relative; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg,#4d8df7,#2dd47f); box-shadow: 0 0 12px rgba(45,212,127,0.5);
  transition: width 0.5s cubic-bezier(.25,.8,.3,1); }
.bonanza-fill::after { content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  background-size: 220% 100%; animation: bzShine 1.4s linear infinite; }
.bonanza-fill.hot { background: linear-gradient(90deg,#2dd47f,#ffd54a,#ff9f45); box-shadow: 0 0 18px rgba(245,181,61,0.7); }
.bonanza-fill.hot::after { animation-duration: 0.9s; }
.bonanza-fill.max { background: linear-gradient(90deg,#ffd54a,#2dd47f,#4d8df7,#ff6b9d,#ffd54a); background-size: 300% 100%; animation: bzRainbow 1s linear infinite; box-shadow: 0 0 26px rgba(255,213,74,0.9); }
.bonanza-fill.max::after { animation-duration: 0.5s; }
@keyframes bzShine { from { background-position: 220% 0; } to { background-position: -120% 0; } }
@keyframes bzRainbow { to { background-position: 300% 0; } }
.bonanza-check { position: absolute; top: 50%; transform: translate(-50%,-50%); z-index: 3; pointer-events: none; }
.bonanza-check span { display:flex; align-items:center; justify-content:center; min-width: 30px; height: 18px; padding: 0 4px; font-size: 0.58rem; font-weight: 800; color: #fff; background: #15151b; border: 2px solid #f3d168; border-radius: 99px; }
.bonanza-bar-label { text-align: center; font-size: 1.2rem; font-weight: 900; color: #fff; margin-top: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.55); transition: color 0.2s; }
.bonanza-bar-label.bump { animation: bzCount 0.55s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes bzCount { 0%{transform:scale(1);} 30%{transform:scale(1.5); color:#ffd54a; text-shadow:0 0 20px rgba(255,213,74,0.95);} 60%{transform:scale(0.94);} 100%{transform:scale(1);} }
.bonanza-bar-label.fire .bzl-num { animation: bzNumFire 0.3s ease-in-out infinite alternate; display:inline-block; }
@keyframes bzNumFire { from { transform: scale(1) rotate(-1.5deg);} to { transform: scale(1.08) rotate(1.5deg);} }

/* ---- Máquina + grelha ---- */
.bonanza-machine { position: relative; width: 100%; padding: 9px; border-radius: 16px; background: linear-gradient(160deg,#2a1e0a,#14100a);
  box-shadow: 0 0 0 2px #f3d168, 0 0 22px rgba(243,209,104,0.25), inset 0 2px 12px rgba(0,0,0,0.6); margin-bottom: 4px; }
.bonanza-machine::before, .bonanza-machine::after { content:''; position:absolute; left:9px; right:9px; height:5px; border-radius:99px;
  background: repeating-linear-gradient(90deg,#ffe9a8 0 5px, rgba(110,74,18,0.5) 5px 13px); animation: bzMarquee 0.9s linear infinite; }
.bonanza-machine::before { top:-2px; } .bonanza-machine::after { bottom:-2px; }
@keyframes bzMarquee { to { background-position: 13px 0; } }
.bonanza-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; width: 100%; min-height: 220px;
  background: radial-gradient(ellipse at 50% 30%,#0e1626,#060a12); border: 1px solid rgba(0,0,0,0.6); padding: 6px; border-radius: 12px; box-shadow: inset 0 4px 14px rgba(0,0,0,0.7); }
.bz-cell { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 10px;
  background: linear-gradient(160deg,#1d2942,#121a2c); box-shadow: inset 0 1px 2px rgba(255,255,255,0.07), inset 0 -3px 6px rgba(0,0,0,0.4); }
.bz-cell svg.gico { width: 26px; height: 26px; display: block; }
.bz-cell.bz-drop { animation: bzDrop 0.5s cubic-bezier(0.22,0.7,0.3,1) both; }
@keyframes bzDrop { 0%{transform:translateY(calc(var(--drop,3) * -120%)); opacity:0;} 30%{opacity:1;} 68%{transform:translateY(8%);} 84%{transform:translateY(-4%);} 93%{transform:translateY(2%);} 100%{transform:translateY(0); opacity:1;} }
.bz-cell.bz-win { background: radial-gradient(circle, rgba(255,213,74,0.4), rgba(45,212,127,0.25)); box-shadow: 0 0 0 2px #ffd54a, 0 0 14px rgba(255,213,74,0.7); animation: bzPop 0.42s ease; z-index: 2; }
@keyframes bzPop { 0%{transform:scale(1);} 45%{transform:scale(1.22);} 100%{transform:scale(1);} }

/* ---- Ícones ESPECIAIS (respin/cashback/freespins) — dopamina ---- */
.bz-cell.bz-special { z-index: 4; background: radial-gradient(circle, rgba(255,255,255,0.35), rgba(77,141,247,0.25));
  box-shadow: 0 0 0 3px #ffd23f, 0 0 26px rgba(255,213,74,0.95);
  animation: bzSpecialIn 0.5s cubic-bezier(0.2,1.4,0.5,1) both, bzSpecialPulse 0.7s 0.5s ease-in-out infinite alternate; }
.bz-cell.bz-special svg.gico { filter: drop-shadow(0 0 6px rgba(255,255,255,0.9)); }
.bz-cell.bz-special-hit { box-shadow: 0 0 0 4px #fff, 0 0 34px rgba(255,213,74,1);
  animation: bzSpecialIn 0.5s cubic-bezier(0.2,1.4,0.5,1) both, bzSpecialHit 0.45s ease-in-out infinite alternate; }
.bz-cell.bz-scatter { background: radial-gradient(circle, rgba(255,210,74,0.55), rgba(177,77,255,0.3)); box-shadow: 0 0 0 3px #ffd23f, 0 0 22px rgba(255,210,74,0.9); animation: bzSpecialPulse 0.6s ease infinite alternate; z-index: 3; }
@keyframes bzSpecialIn { from{transform:scale(0.2) rotate(-25deg); opacity:0;} to{transform:scale(1) rotate(0); opacity:1;} }
@keyframes bzSpecialPulse { from{transform:scale(1);} to{transform:scale(1.13);} }
@keyframes bzSpecialHit { from{transform:scale(1.05) rotate(-4deg);} to{transform:scale(1.22) rotate(4deg);} }

/* ---- Partículas / ganhos / multiplicador / banners ---- */
.bz-particle { position: fixed; width: 9px; height: 9px; border-radius: 50%; z-index: 2600; pointer-events: none; animation: bzParticle 0.8s ease-out forwards; }
@keyframes bzParticle { 0%{transform:translate(0,0) scale(1); opacity:1;} 100%{transform:translate(var(--dx),var(--dy)) scale(0.2); opacity:0;} }
.bz-gain { position: fixed; z-index: 2600; transform: translate(-50%,-50%); font-size: 1.75rem; font-weight: 900; white-space: nowrap; pointer-events: none;
  background: linear-gradient(180deg,#fff,#ffd54a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 10px rgba(0,0,0,0.7)); animation: bzGain 1.1s ease-out forwards; }
@keyframes bzGain { 0%{opacity:0; transform:translate(-50%,-30%) scale(0.5);} 25%{opacity:1; transform:translate(-50%,-60%) scale(1.15);} 100%{opacity:0; transform:translate(-50%,-160%) scale(1);} }
.bz-mult { position: fixed; z-index: 2600; font-size: 1.7rem; font-weight: 900; color: #fff; background: linear-gradient(145deg,#ff6b9d,#b14dff); padding: 6px 14px; border-radius: 99px; box-shadow: 0 6px 20px rgba(177,77,255,0.6); pointer-events: none; animation: bzMult 1s cubic-bezier(.175,.885,.32,1.275) forwards; }
@keyframes bzMult { 0%{opacity:0; transform:scale(0.2) rotate(-15deg);} 30%{opacity:1; transform:scale(1.2) rotate(6deg);} 70%{transform:scale(1) rotate(0);} 100%{opacity:0; transform:scale(1.1) translateY(-30px);} }
.bz-banner { position: fixed; left: 50%; top: 36%; transform: translate(-50%,-50%); z-index: 2600; font-size: 1.6rem; font-weight: 900; letter-spacing: 0.03em; color: #2a1d00; padding: 12px 24px; border-radius: 99px; pointer-events: none; white-space: nowrap; background: linear-gradient(145deg,#ffd54a,#ffb300); box-shadow: 0 10px 40px rgba(255,179,0,0.7); animation: bzBannerPop 1.5s ease forwards; }
.bz-banner--free { color: #fff; background: linear-gradient(145deg,#ff6bd0,#b14dff); box-shadow: 0 10px 50px rgba(177,77,255,0.8); }
.bz-banner--respin { color: #fff; background: linear-gradient(145deg,#4d8df7,#7fd0ff); box-shadow: 0 10px 50px rgba(77,141,247,0.85); }
.bz-banner--cash { color: #5a3b00; background: linear-gradient(145deg,#ffe14d,#ffb01c); box-shadow: 0 10px 50px rgba(255,176,28,0.85); }
@keyframes bzBannerPop { 0%{opacity:0; transform:translate(-50%,-50%) scale(0.3);} 18%{opacity:1; transform:translate(-50%,-50%) scale(1.15);} 35%{transform:translate(-50%,-50%) scale(1);} 80%{opacity:1;} 100%{opacity:0; transform:translate(-50%,-120%) scale(1);} }

/* ---- Contador de free spins ---- */
.bz-freecounter { display:flex; flex-direction:column; align-items:center; gap:1px; margin-bottom:6px; color:#ffd54a; font-weight:900; }
.bz-freecounter .fc-label { font-size:0.6rem; letter-spacing:0.1em; color:#cdb6ff; }
.bz-freecounter .fc-num { font-size:1.6rem; line-height:1; }
.bz-freecounter .fc-num.pop { animation: bzPop 0.4s ease; }

/* ---- Tabela de prémios ---- */
.bz-paytable { margin-top: 12px; text-align: left; background: rgba(0,0,0,0.28); border: 1px solid rgba(243,209,104,0.25); border-radius: 12px; padding: 10px 12px; }
.bz-pt-title { font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; color: #ffd54a; text-align: center; margin-bottom: 6px; }
.bz-prize { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.bz-prize--special { background: rgba(255,255,255,0.04); border-radius: 10px; padding: 5px 6px; margin: 2px 0; }
.bz-prize-ico { width: 24px; height: 24px; flex: 0 0 auto; }
.bz-prize-ico svg { width: 100%; height: 100%; }
.bz-prize--special .bz-prize-ico { animation: bzSpecialPulse 0.9s ease-in-out infinite alternate; }
.bz-prize-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.bz-prize-info { font-size: 0.78rem; line-height: 1.25; }
.bz-prize-info b { color: #fff; }
.bz-prize-info small { display: block; color: #b9c2d6; font-size: 0.68rem; }
.bz-prize-info small svg.gico { width: 1.15em; height: 1.15em; vertical-align: -0.25em; margin: 0 1px; }

/* ---- Linha JOGAR + TURBO ---- */
.bz-play-row { display: flex; gap: 10px; align-items: stretch; margin-top: 14px; }
.bz-play-row .bz-play-main { flex: 1; }
.bz-turbo-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 84px; padding: 0 12px;
  font-weight: 900; font-size: 1.2rem; line-height: 1; border: 2px solid #f5b53d; border-radius: 14px; cursor: pointer;
  background: linear-gradient(160deg,#2a2008,#1a1404); color: #ffd54a; transition: transform 0.12s, box-shadow 0.2s, background 0.2s; }
.bz-turbo-btn .bz-turbo-lbl { font-size: 0.6rem; letter-spacing: 0.08em; }
.bz-turbo-btn:hover { transform: translateY(-1px); }
.bz-turbo-btn.is-on { background: linear-gradient(160deg,#ffd54a,#ff9f1c); color: #1a1404; border-color: #fff3c4;
  box-shadow: 0 0 0 2px rgba(255,213,74,0.4), 0 0 18px rgba(255,159,28,0.7); animation: bzTurboPulse 0.7s ease-in-out infinite; }
@keyframes bzTurboPulse { 0%,100%{box-shadow:0 0 0 2px rgba(255,213,74,0.4), 0 0 14px rgba(255,159,28,0.6);} 50%{box-shadow:0 0 0 3px rgba(255,213,74,0.6), 0 0 26px rgba(255,159,28,0.95);} }

.bz-mascot-row { display: flex; align-items: flex-end; justify-content: center; gap: 8px; }
.bz-mascot { width: 56px; flex: 0 0 auto; }
.bz-mascot svg { width: 100%; height: auto; }

@media (max-width: 480px) {
  .bonanza-grid { gap: 4px; min-height: 180px; }
  .bz-cell svg.gico { width: 20px; height: 20px; }
  .bz-mascot { width: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .bonanza-fill::after, .bz-cell.bz-special, .bz-cell.bz-special-hit, .bz-cell.bz-scatter, .bz-turbo-btn.is-on,
  .bz-particle, .bz-gain, .bz-mult, .bz-banner, .bonanza-fill.max, .bz-prize--special .bz-prize-ico, .bonanza-bar-label.fire .bzl-num { animation: none !important; }
}

/* ===== MEGA STU (Mega Ball) ===== */
.ms-cards { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: center; margin-bottom: 12px; }
.ms-cards-label { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; color: #cdb6ff; text-transform: uppercase; margin-right: 4px; }
.ms-card-opt { min-width: 38px; padding: 6px 10px; border-radius: 10px; border: 2px solid rgba(243,209,104,0.4); background: rgba(0,0,0,0.25); color: #ffd54a; font-weight: 900; font-size: 0.9rem; cursor: pointer; transition: transform 0.1s, background 0.2s; }
.ms-card-opt:hover { transform: translateY(-1px); }
.ms-card-opt.on { background: linear-gradient(160deg,#ffd54a,#ff9f1c); color: #1a1404; border-color: #fff3c4; box-shadow: 0 0 14px rgba(255,159,28,0.6); }
.ms-card-opt:disabled { opacity: 0.55; cursor: default; }
.ms-tip { text-align: center; font-size: 0.82rem; color: #cdb6ff; margin: 0 0 10px; padding: 0 clamp(10px, 16vw, 78px); }
.ms-tip b { color: #ffd54a; }
.ms-cards-area { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 12px; }
.ms-card { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 7px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(33,24,66,0.9), rgba(18,13,38,0.95)); border: 2px solid rgba(243,209,104,0.35);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45); width: min(46vw, 188px); }
.ms-cards-area:has(.ms-card:only-child) .ms-card { width: min(78vw, 260px); }
.ms-cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 7px; font-weight: 800; font-size: 0.82rem;
  background: radial-gradient(circle at 35% 30%, #2b3a5e, #131c2e); color: #aeb9d4;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.06), inset 0 -2px 4px rgba(0,0,0,0.4); transition: transform 0.18s; }
.ms-cell.free { background: radial-gradient(circle at 35% 30%, #6b4dff, #3a268f); color: #fff; font-size: 1rem; }
.ms-cell.hit { background: radial-gradient(circle at 35% 30%, #ffe14d, #ff9f1c); color: #1a1404;
  box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(255,213,74,0.9); animation: msHit 0.45s ease; }
.ms-cell.row-win { box-shadow: 0 0 0 2px #2dd47f, 0 0 16px rgba(45,212,127,0.95); animation: msRowWin 0.6s ease; }
@keyframes msHit { 0%{transform:scale(1.45);} 60%{transform:scale(0.9);} 100%{transform:scale(1);} }
@keyframes msRowWin { 0%,100%{transform:scale(1);} 40%{transform:scale(1.12);} }
.ms-draw-row { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 8px; flex-wrap: wrap; }
.ms-current { min-width: 50px; height: 50px; padding: 0 8px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 900; font-size: 1.5rem; color: #1a1404; background: radial-gradient(circle at 35% 30%, #ffe14d, #ff9f1c);
  box-shadow: 0 4px 12px rgba(255,159,28,0.5); }
.ms-current.pop { animation: msPop 0.3s cubic-bezier(.2,1.4,.4,1); }
.ms-current.mega { background: radial-gradient(circle at 35% 30%, #b18cff, #6b4dff); color: #fff; box-shadow: 0 0 0 3px #fff, 0 0 22px rgba(149,108,255,0.95); }
@keyframes msPop { 0%{transform:scale(0.4);} 60%{transform:scale(1.2);} 100%{transform:scale(1);} }
.ms-lines-row { text-align: center; font-size: 0.86rem; font-weight: 700; color: #cdb6ff; margin-bottom: 6px; }
.ms-lines-row b { color: #2dd47f; font-size: 1.05rem; }
.ms-chip.mega { background: linear-gradient(160deg,#b18cff,#6b4dff); color: #fff; }
.ms-drawn-wrap { display: flex; align-items: center; gap: 8px; justify-content: center; margin-bottom: 10px; min-height: 34px; flex-wrap: wrap; }
.ms-drawn-label { font-size: 0.7rem; font-weight: 800; color: #cdb6ff; text-transform: uppercase; }
.ms-drawn { display: flex; gap: 6px; flex-wrap: wrap; }
.ms-chip { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 0.82rem; background: #2b3550; color: #fff; animation: msChipIn 0.3s ease; }
.ms-chip.hit { background: linear-gradient(160deg,#ffe14d,#ff9f1c); color: #1a1404; }
@keyframes msChipIn { from{transform:scale(0.2);opacity:0;} to{transform:scale(1);opacity:1;} }
.ms-mult { text-align: center; margin-top: 6px; opacity: 0; transition: opacity 0.3s; }
.ms-mult.show { opacity: 1; }
.ms-mult-cap { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: #ff9f1c; }
.ms-mult-val { font-size: 2.4rem; font-weight: 900; background: linear-gradient(180deg,#fff,#ffd54a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ms-mult-val.locked { animation: msMultLock 0.5s cubic-bezier(.2,1.4,.4,1); }
@keyframes msMultLock { 0%{transform:scale(0.6);} 60%{transform:scale(1.3);} 100%{transform:scale(1);} }

/* ============================================================
   MENU DE JOGOS — design partilhado e profissional (cliente + dono)
   ============================================================ */
.gc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; margin: 8px 0 14px; }
.gc-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 18px 12px 13px;
  border-radius: 18px; cursor: pointer; text-align: center; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in srgb, var(--gc) 17%, #141826), color-mix(in srgb, var(--gc) 6%, #0c0f19));
  border: 1.5px solid color-mix(in srgb, var(--gc) 45%, transparent);
  box-shadow: 0 8px 22px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.16s, box-shadow 0.16s, border-color 0.16s; }
.gc-card::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 48% at 50% 0%, color-mix(in srgb, var(--gc) 30%, transparent), transparent 70%); opacity: 0.7; }
.gc-card:hover { transform: translateY(-4px) scale(1.02); border-color: var(--gc);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--gc) 42%, rgba(0,0,0,0.5)); }
.gc-card:active { transform: translateY(-1px) scale(0.99); }
.gc-emblem { position: relative; width: 60px; height: 60px; display: grid; place-items: center;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.5)); animation: gcEmblemFloat 3s ease-in-out infinite; }
.gc-emblem svg { width: 100%; height: 100%; display: block; }
@keyframes gcEmblemFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.gc-text { position: relative; display: flex; flex-direction: column; gap: 1px; }
.gc-name { font-size: 0.92rem; font-weight: 900; letter-spacing: 0.02em; color: #fff; }
.gc-desc { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.6); }
.gc-go { position: relative; margin-top: 3px; font-size: 0.64rem; font-weight: 900; letter-spacing: 0.09em; color: var(--gc);
  padding: 3px 12px; border-radius: 999px; background: color-mix(in srgb, var(--gc) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--gc) 45%, transparent); transition: background 0.16s, color 0.16s; }
.gc-card:hover .gc-go { background: var(--gc); color: #0c0f19; }
@media (prefers-reduced-motion: reduce) { .gc-emblem { animation: none; } }

/* ============================================================ Mascote "Le Bandit" in-game (cliente) */
.cg-mascot { position: absolute; top: -6px; right: -2px; width: 84px; height: 91px; z-index: 4;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45)); animation: cgMascotBob 2.6s ease-in-out infinite; pointer-events: none; }
.cg-mascot .bandit-svg { width: 100%; height: 100%; display: block; }
@keyframes cgMascotBob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
/* estados de humor: idle por defeito; happy/angry trocam via [data-mood] */
.cg-mascot .m-happy, .cg-mascot .m-angry { display: none; }
.cg-mascot[data-mood="happy"] .m-idle, .cg-mascot[data-mood="angry"] .m-idle { display: none; }
.cg-mascot[data-mood="happy"] .m-happy { display: block; }
.cg-mascot[data-mood="angry"] .m-angry { display: block; }
.cg-mascot.mascot-react[data-mood="happy"] { animation: cgMascotHappy 0.6s cubic-bezier(.3,1.4,.5,1); }
.cg-mascot.mascot-react[data-mood="angry"] { animation: cgMascotAngry 0.5s ease; }
@keyframes cgMascotHappy { 0% { transform: scale(1); } 35% { transform: scale(1.22) translateY(-8px) rotate(6deg); } 100% { transform: scale(1); } }
@keyframes cgMascotAngry { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px) rotate(-4deg); } 60% { transform: translateX(6px) rotate(4deg); } }
@media (max-width: 430px) { .cg-mascot { width: 66px; height: 72px; top: -4px; } }
@media (prefers-reduced-motion: reduce) { .cg-mascot { animation: none; } .cg-mascot.mascot-react { animation: none !important; } }
