/* Ponscasino.io: folha de estilos propria (sem Tailwind). Tema escuro, acento verde. */
:root {
  --bg: #0f1320; --surface: #171c2c; --surface-2: #1f2537; --surface-3: #283048; --border: #2b3247;
  --text: #f2f4f8; --text-2: #aeb6c9; --text-3: #7d869d; --brand: #1ae5a1; --brand-dark: #12b47e; --on-brand: #06251a;
  --red: #e5484d; --gold: #f5b942; --radius: 12px; --sidebar: 240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); font-family: Inter, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.45; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ---- shell ---- */
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar); flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 16px 12px; overflow-y: auto; z-index: 40; }
.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 34px; width: auto; }
.logo-text { font-family: "Be Vietnam Pro", Inter, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #fff; line-height: 1; }
.menu { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
.menu-label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin: 14px 10px 6px; }
.menu-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text-2); font-weight: 500; }
.menu-item:hover, .menu-item.active { background: var(--surface-2); color: var(--text); }
.menu-ico { width: 22px; text-align: center; font-size: 16px; }
.sidebar-foot { margin-top: auto; padding: 14px 6px 4px; border-top: 1px solid var(--border); }
.chain-badge { height: 16px; width: auto; }
.sidebar-note { margin-top: 8px; font-size: 11px; color: var(--text-3); }
.drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 39; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; background: rgba(15,19,32,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.icon-btn { display: none; background: transparent; border: 0; color: var(--text); font-size: 22px; cursor: pointer; padding: 4px 8px; }
.brand-mobile { display: none; }
.search-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text-3); cursor: pointer; }
.search-btn:hover { color: var(--text); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.btn { height: 40px; padding: 0 16px; border-radius: 10px; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.btn.primary { background: var(--brand); color: var(--on-brand); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.ghost { background: var(--surface-2); color: var(--text); }
.btn.ghost:hover { background: var(--surface-3); }
.btn:disabled { opacity: .5; cursor: default; }
.balance-wrap { position: relative; }
.balance-btn { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.balance-btn .caret { color: var(--text-3); font-size: 11px; }
.currency-menu { position: absolute; right: 0; top: 46px; min-width: 250px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 6px; box-shadow: 0 14px 40px rgba(0,0,0,.45); z-index: 50; }
.currency-item { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border-radius: 8px; border: 0; background: transparent; color: var(--text); cursor: pointer; font-size: 14px; text-align: left; }
.currency-item:hover, .currency-item.active { background: var(--surface-2); }
.currency-item small { color: var(--text-3); }
.currency-item.demo .code { color: var(--gold); }
.currency-sep { height: 1px; background: var(--border); margin: 6px 4px; }

/* ---- conteudo ---- */
[data-home], [data-views] { padding: 20px; max-width: 1240px; width: 100%; margin: 0 auto; }
.section { margin-top: 28px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title { font-size: 18px; font-weight: 600; margin: 0; }
.pc-hero { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
@media (min-width: 768px) { .pc-hero { grid-template-columns: 220px 1fr; padding: 28px 36px; } }
.pc-hero-img { width: 180px; max-width: 60%; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(0,0,0,.45)); }
@media (min-width: 768px) { .pc-hero-img { width: 200px; max-width: none; } }
.pc-hero-title { font-family: "Be Vietnam Pro", Inter, sans-serif; font-weight: 800; font-size: 32px; margin: 0 0 8px; }
.pc-hero-sub { color: var(--text-2); font-size: 15px; margin: 0 0 16px; }
.pc-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .pc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.pc-card { display: block; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 5; transition: transform .15s ease, box-shadow .15s ease; position: relative; }
.pc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.pc-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pc-view { display: flex; flex-direction: column; gap: 20px; }
.pc-view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-view-title { font-weight: 600; font-size: 20px; }
.pc-back { background: var(--surface-2); color: var(--text-2); border: 0; border-radius: 8px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.pc-back:hover { background: var(--surface-3); color: var(--text); }
.pc-empty { padding: 60px 20px; text-align: center; color: var(--text-3); font-size: 14px; background: var(--surface); border-radius: 12px; }
.pc-empty strong { display: block; color: var(--text); font-size: 18px; margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; background: var(--surface); border-radius: 10px; padding: 4px; }
.tab { border: 0; background: transparent; color: var(--text-3); padding: 8px 12px; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 13px; }
.tab.active { background: var(--surface-2); color: var(--text); }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 12px; }
.bets-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.bets-table th { text-align: left; color: var(--text-3); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.bets-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); }
.bets-table tr:last-child td { border-bottom: 0; }
.bets-table td.empty { text-align: center; color: var(--text-3); padding: 28px; }
.bets-table .win { color: var(--brand); }
@media (max-width: 640px) { .hide-sm { display: none; } }

/* ---- footer e nav mobile ---- */
.footer { margin-top: auto; padding: 28px 20px 90px; border-top: 1px solid var(--border); max-width: 1240px; width: 100%; margin-left: auto; margin-right: auto; }
.footer-text { color: var(--text-3); max-width: 560px; margin: 10px 0; }
.footer-links { display: flex; gap: 10px; }
.footer-links a { color: var(--brand); font-weight: 600; }
.footer-badges { display: flex; align-items: center; gap: 18px; margin: 18px 0; opacity: .85; }
.footer-badges img { height: 18px; width: auto; }
.age { width: 30px; height: 30px; border: 2px solid var(--text-3); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--text-3); }
.footer-copy { color: var(--text-3); font-size: 12px; }
.mobile-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; height: 62px; background: var(--surface); border-top: 1px solid var(--border); z-index: 35; }
.mobile-nav button { flex: 1; border: 0; background: transparent; color: var(--text-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 18px; cursor: pointer; }
.mobile-nav button span { font-size: 10px; }
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .25s ease; height: 100vh; }
  body[data-drawer-open] .sidebar { transform: translateX(0); }
  body[data-drawer-open] .drawer-backdrop { display: block; }
  body[data-drawer-open] { overflow: hidden; }
  .icon-btn { display: inline-block; }
  .brand-mobile { display: inline-flex; }
  .brand-mobile img { height: 28px; }
  .brand-mobile .logo-text { font-size: 17px; }
  .search-btn span { display: none; }
  .search-btn { padding: 0 10px; }
  .mobile-nav { display: flex; }
  .topbar { padding: 0 12px; }
  [data-home], [data-views] { padding: 14px; }
}
@media (max-width: 640px) { .btn.ghost[data-demo] { display: none; } .balance-btn { padding: 0 10px; } }

/* ---- modal ---- */
.pc-modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pc-modal { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; width: 100%; max-width: 460px; max-height: 90vh; overflow: auto; padding: 20px; }
.pc-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pc-modal-title { font-weight: 600; font-size: 16px; }
.pc-modal-close { background: transparent; border: 0; color: var(--text-3); font-size: 22px; cursor: pointer; line-height: 1; }
.pc-modal-body { font-size: 14px; color: var(--text-2); line-height: 1.5; }
.pc-modal-body p { margin: 0 0 10px; }
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 8px; border: 0; font-weight: 600; font-size: 14px; cursor: pointer; background: var(--brand); color: var(--on-brand); }
.pc-btn:hover { background: var(--brand-dark); }
.pc-btn.secondary { background: var(--surface-2); color: var(--text); }
.pc-btn.secondary:hover { background: var(--surface-3); }
.pc-btn:disabled { opacity: .5; cursor: default; }
.pc-search-input { width: 100%; height: 44px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); padding: 0 12px; font-size: 14px; outline: none; }
.pc-search-input:focus { border-color: var(--brand); }
.pc-search-results { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pc-search-hint { margin-top: 12px; color: var(--text-3); font-size: 13px; text-align: center; }
.pc-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.pc-tab { flex: 1; height: 36px; border: 0; border-radius: 8px; background: var(--surface-2); color: var(--text-2); font-weight: 600; cursor: pointer; }
.pc-tab.active { background: var(--brand); color: var(--on-brand); }
.pc-label { display: block; font-size: 12px; color: var(--text-3); margin: 10px 0 6px; }
.pc-row { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pc-status { margin-top: 10px; font-size: 13px; color: var(--brand); min-height: 18px; }
.pc-hint { font-size: 12px; color: var(--text-3); }
.pc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-table th, .pc-table td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--border); }
.pc-table th { color: var(--text-3); font-weight: 500; }
.pc-kv { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-2); margin-top: 8px; }
.pc-kv b { color: var(--text); }
.pc-code { display: block; font-size: 11px; word-break: break-all; color: var(--text); margin: 4px 0 8px; font-family: ui-monospace, Consolas, monospace; }
.pc-pre { margin-top: 12px; font-size: 12px; white-space: pre-wrap; word-break: break-all; color: var(--text-2); background: var(--bg); border-radius: 8px; padding: 10px; }
.pc-h3 { font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.pc-fair-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .pc-fair-grid { grid-template-columns: 1fr 1fr; } }
.pc-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 1024px) { .pc-stats { grid-template-columns: repeat(4, 1fr); } }
.pc-stat { background: var(--surface-2); border-radius: 12px; padding: 14px; }
.pc-stat-label { font-size: 12px; color: var(--text-3); }
.pc-stat-value { font-size: 18px; font-weight: 600; margin-top: 4px; }
.pc-demo-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(245,185,66,.18); color: var(--gold); font-weight: 600; margin-left: 6px; }

/* ---- jogos ---- */
.pc-game { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .pc-game { grid-template-columns: 320px 1fr; } }
.pc-game-panel, .pc-game-stage { background: var(--surface); border-radius: 12px; padding: 16px; min-height: 320px; }
.pc-game-stage { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--text-3); }
.pc-bet { display: flex; flex-direction: column; gap: 6px; }
.pc-amount { display: flex; gap: 6px; }
.pc-amount .pc-search-input { flex: 1; }
.pc-mini { height: 44px; padding: 0 10px; border: 0; border-radius: 8px; background: var(--surface-3); color: var(--text); font-weight: 600; cursor: pointer; }
.pc-bet-btn { margin-top: 10px; width: 100%; height: 48px; font-size: 15px; }
.pc-fair { margin-top: 12px; font-size: 11px; color: var(--text-3); }
.pc-fair a { color: var(--brand); }
.pc-range { width: 100%; accent-color: var(--brand); }
.pc-history { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; justify-content: center; }
.pc-chip { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); }
.pc-chip.win { background: var(--brand); color: var(--on-brand); }
.pc-paytable { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pc-bucket { font-size: 11px; padding: 3px 5px; border-radius: 6px; background: var(--surface-3); color: var(--text-2); }
.pc-bucket.hot { background: var(--brand); color: var(--on-brand); }
.pc-bucket.active { outline: 2px solid #fff; }
.pc-dice { width: 100%; padding: 40px 10px 10px; }
.pc-dice-bar { position: relative; height: 12px; border-radius: 999px; background: var(--red); }
.pc-dice-fill { position: absolute; top: 0; bottom: 0; background: var(--brand); border-radius: 999px; }
.pc-dice-marker { position: absolute; top: -34px; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px; font-size: 13px; font-weight: 600; transition: left .4s ease; }
.pc-dice-marker.win { border-color: var(--brand); color: var(--brand); }
.pc-dice-marker.lose { color: var(--red); }
.pc-dice-result { margin-top: 24px; font-size: 18px; font-weight: 600; color: var(--text); }
.pc-limbo-num { font-size: 64px; font-weight: 800; color: var(--text); }
.pc-limbo-num.win { color: var(--brand); }
.pc-limbo-num.lose { color: var(--red); }
.pc-limbo-sub { color: var(--text-3); }
.pc-mines-grid { display: grid; grid-template-columns: repeat(5, 56px); gap: 8px; justify-content: center; }
.pc-tile { width: 56px; height: 56px; border: 0; border-radius: 10px; background: var(--surface-3); font-size: 24px; cursor: pointer; transition: transform .1s; }
.pc-tile:hover:not(:disabled) { transform: scale(1.06); }
.pc-tile:disabled { cursor: default; opacity: .8; }
.pc-tile.safe { background: var(--brand); }
.pc-tile.mine { background: var(--red); }
.pc-mines-info { margin-top: 12px; color: var(--text-2); font-size: 14px; }
.pc-plinko canvas { max-width: 100%; height: auto; }
.pc-buckets { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 6px; }
.pc-plinko-result { margin-top: 10px; font-size: 18px; font-weight: 600; color: var(--text); }
.pc-keno-grid { display: grid; grid-template-columns: repeat(8, 44px); gap: 6px; justify-content: center; }
.pc-keno-n { width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--surface-3); color: var(--text); font-weight: 600; cursor: pointer; }
.pc-keno-n.picked { background: var(--brand); color: var(--on-brand); }
.pc-keno-n.drawn { outline: 2px solid var(--text-3); }
.pc-keno-n.hit { background: var(--gold); color: #111; outline: 2px solid #fff; }
.pc-keno-result { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--text); }
.pc-roulette { width: 100%; }
.pc-rresult { text-align: center; font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 12px; min-height: 40px; }
.pc-rball { display: inline-block; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; font-weight: 800; color: #fff; }
.pc-rtable { display: flex; gap: 6px; }
.pc-rgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; flex: 1; }
.pc-rnum { height: 34px; border: 0; border-radius: 6px; color: #fff; font-weight: 600; cursor: pointer; font-size: 12px; }
.pc-rnum.red, .pc-rball.red { background: #d63a3a; }
.pc-rnum.black, .pc-rball.black { background: #2b3040; }
.pc-rnum.green, .pc-rball.green { background: #16a34a; }
.pc-rzero { width: 34px; height: auto; }
.pc-rnum.has-chip, .pc-rout.has-chip { outline: 2px solid var(--gold); }
.pc-rnum.won { outline: 3px solid #fff; }
.pc-routside { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 8px; }
.pc-rout { height: 34px; border: 0; border-radius: 6px; background: var(--surface-3); color: var(--text); font-size: 12px; font-weight: 600; cursor: pointer; }
.pc-bets { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; min-height: 24px; }
.pc-bets .pc-chip { cursor: pointer; }
.pc-tower { display: flex; flex-direction: column; gap: 6px; }
.pc-trow { display: flex; align-items: center; gap: 6px; opacity: .55; }
.pc-trow.active { opacity: 1; }
.pc-trow.passed { opacity: .85; }
.pc-tmult { width: 64px; font-size: 11px; color: var(--text-3); text-align: right; }
.pc-ttile { width: 52px; height: 34px; border: 0; border-radius: 8px; background: var(--surface-3); cursor: pointer; }
.pc-trow.active .pc-ttile { outline: 1px solid var(--brand); }
.pc-ttile:disabled { cursor: default; }
.pc-ttile.safe { background: var(--brand); }
.pc-ttile.reveal { background: rgba(26, 229, 161, .35); }
.pc-ttile.boom { background: var(--red); }
.pc-bj { width: 100%; text-align: center; }
.pc-bj-hand { margin: 10px 0; }
.pc-cards, .pc-card-faces { display: flex; gap: 8px; justify-content: center; min-height: 64px; margin-top: 6px; }
.pc-card-face { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 64px; border-radius: 8px; background: #fff; color: #111; font-weight: 700; font-size: 16px; }
.pc-card-face.red { color: #d63a3a; }
.pc-card-face.back { background: repeating-linear-gradient(45deg, #2b3040, #2b3040 4px, #3a4159 4px, #3a4159 8px); }
.pc-card-face small { font-size: 12px; }
.pc-slot-grid { display: grid; grid-template-columns: repeat(5, 64px); gap: 6px; justify-content: center; }
.pc-slot-cell { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; font-size: 34px; border-radius: 10px; background: var(--surface-3); }
.pc-slot-cell.win { outline: 3px solid var(--brand); background: rgba(26, 229, 161, .25); }
.pc-slot-result { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--text); text-align: center; }

/* ---- animacoes dos jogos ---- */
@keyframes pc-pop-kf { 0% { transform: scale(.6); opacity: .4; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes pc-shake-kf { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes pc-flip-kf { 0% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
@keyframes pc-drop-kf { 0% { transform: translateY(-18px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes pc-bounce-kf { 0% { transform: translateY(0); } 35% { transform: translateY(8px); } 70% { transform: translateY(-4px); } 100% { transform: translateY(0); } }
@keyframes pc-deal-kf { 0% { transform: translate(60px, -50px) rotate(12deg); opacity: 0; } 100% { transform: translate(0, 0) rotate(0); opacity: 1; } }
@keyframes pc-glow-kf { 0%, 100% { box-shadow: 0 0 0 rgba(26,229,161,0); } 50% { box-shadow: 0 0 18px rgba(26,229,161,.75); } }
@keyframes pc-reel-stop-kf { 0% { transform: translateY(-6px); } 50% { transform: translateY(4px); } 100% { transform: translateY(0); } }
@keyframes pc-rocket-kf { 0%, 100% { margin-left: 0; } 50% { margin-left: 3px; } }
.pc-pop { animation: pc-pop-kf .35s cubic-bezier(.2,.9,.3,1.3); }
.pc-shake { animation: pc-shake-kf .45s ease; }
.pc-flip { animation: pc-flip-kf .35s ease-out; backface-visibility: hidden; }
.pc-drop { animation: pc-drop-kf .3s ease-out; }
.pc-bounce { animation: pc-bounce-kf .5s ease; }
.pc-deal { animation: pc-deal-kf .4s cubic-bezier(.2,.8,.3,1) backwards; }
.pc-flip-in { animation: pc-flip-kf .5s ease-out; }
.pc-reel-stop { animation: pc-reel-stop-kf .25s ease-out; }
.pc-mines-info.win, .pc-dice-result.win, .pc-plinko-result.win, .pc-keno-result.win, .pc-slot-result.win { color: var(--brand); }
.pc-mines-info.lose, .pc-dice-result.lose, .pc-plinko-result.lose, .pc-keno-result.lose { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .pc-pop, .pc-shake, .pc-flip, .pc-drop, .pc-bounce, .pc-deal, .pc-flip-in, .pc-reel-stop { animation: none; } }

/* dice */
.pc-dice-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-bottom: 6px; }
.pc-dice-marker { transition: none; }
.pc-dice-marker.rolling { color: var(--text); animation: pc-glow-kf .6s ease infinite; }
/* limbo */
.pc-limbo-sky { position: relative; height: 150px; width: 100%; max-width: 360px; margin: 0 auto 10px; border-radius: 12px; background: linear-gradient(180deg, rgba(26,229,161,.06), rgba(255,255,255,.02)); overflow: hidden; }
.pc-limbo-rocket { position: absolute; left: 50%; bottom: 12px; margin-left: -18px; font-size: 36px; transition: transform .2s; }
.pc-limbo-rocket.flying { animation: pc-rocket-kf .12s linear infinite; }
.pc-limbo-rocket.crashed { animation: pc-shake-kf .5s ease; }
.pc-limbo-target { position: absolute; top: 10px; left: 0; right: 0; font-size: 11px; color: var(--text-3); border-top: 1px dashed rgba(255,255,255,.2); padding-top: 2px; }
.pc-limbo-num.counting { color: var(--text-2); }
/* mines e tower */
.pc-tile { perspective: 400px; }
.pc-tile-face { display: block; }
.pc-tile.safe, .pc-tile.mine { color: #fff; opacity: 1; font-size: 26px; }
.pc-ttile { font-size: 16px; }
.pc-trow { transition: opacity .25s; }
.pc-trow.active .pc-ttile:not(:disabled) { animation: pc-glow-kf 1.4s ease infinite; }
/* keno */
.pc-keno-drawn { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 10px; min-height: 30px; }
.pc-keno-ball { width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: var(--surface-3); color: var(--text); font-size: 12px; font-weight: 700; }
.pc-keno-ball.hit { background: var(--gold); color: #111; }
/* roulette */
.pc-wheel-wrap { position: relative; width: 300px; max-width: 100%; margin: 0 auto 14px; }
.pc-wheel { width: 100%; height: auto; display: block; }
.pc-wheel-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 150px; text-align: center; font-size: 12px; color: var(--text-2); pointer-events: none; }
.pc-wheel-center.spinning { color: var(--text-3); }
.pc-wheel-num { display: block; font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.pc-wheel-center.red .pc-wheel-num { color: #ff6b6b; }
.pc-wheel-center.green .pc-wheel-num { color: var(--brand); }
.pc-wheel-sub { display: block; margin-top: 4px; font-size: 11px; color: var(--text-2); }
/* slot */
.pc-slot-frame { position: relative; display: inline-block; padding: 8px; border-radius: 14px; background: var(--surface-2); }
.pc-reel { width: 64px; height: 204px; overflow: hidden; border-radius: 10px; background: var(--surface-3); position: relative; }
.pc-reel-strip { display: flex; flex-direction: column; gap: 6px; will-change: transform; }
.pc-reel .pc-slot-cell { flex: none; height: 64px; background: transparent; }
.pc-reel.spinning .pc-slot-cell { filter: blur(1.5px); }
.pc-slot-grid { gap: 6px; }

/* ---- animacoes da chrome do site ---- */
@keyframes pc-fade-kf { from { opacity: 0; } to { opacity: 1; } }
@keyframes pc-view-in-kf { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pc-modal-in-kf { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pc-row-in-kf { from { opacity: 0; transform: translateY(-8px); background: rgba(26,229,161,.18); } to { opacity: 1; transform: translateY(0); background: transparent; } }
@keyframes pc-delta-kf { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(-22px); } }
@keyframes pc-spin-kf { to { transform: rotate(360deg); } }
@keyframes pc-menu-in-kf { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.pc-view-in { animation: pc-view-in-kf .3s ease-out; }
.pc-modal-backdrop { animation: pc-fade-kf .18s ease-out; }
.pc-modal-backdrop .pc-modal { animation: pc-modal-in-kf .26s cubic-bezier(.2,.9,.3,1.1); }
.pc-modal-backdrop.closing { animation: pc-fade-kf .18s ease-in reverse both; pointer-events: none; }
.bets-table tr.fresh td { animation: pc-row-in-kf .7s ease-out; }
.currency-menu { animation: pc-menu-in-kf .18s ease-out; }
.pc-delta { position: absolute; right: 0; top: 100%; margin-top: 4px; font-size: 12px; font-weight: 700; white-space: nowrap; pointer-events: none; animation: pc-delta-kf 1.3s ease-out forwards; }
.pc-delta.up { color: var(--brand); }
.pc-delta.down { color: var(--text-3); }
.pc-btn.loading { color: transparent; position: relative; }
.pc-btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(6,37,26,.35); border-top-color: var(--on-brand); animation: pc-spin-kf .6s linear infinite; }
.pc-btn.secondary.loading::after { border-color: rgba(255,255,255,.25); border-top-color: var(--text); }
.pc-card img { transition: transform .3s ease; }
.pc-card:hover img { transform: scale(1.05); }
.menu-item, .btn, .pc-btn, .tab, .pc-tab, .pc-mini { transition: background .15s ease, color .15s ease, transform .1s ease; }
.btn:active:not(:disabled), .pc-btn:active:not(:disabled), .pc-mini:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .pc-view-in, .pc-modal-backdrop, .pc-modal-backdrop .pc-modal, .bets-table tr.fresh td, .currency-menu, .pc-delta { animation: none; }
  .pc-card img, .pc-card { transition: none; }
}
