/* =====================================================================
   AndroGO Arcade — COMO JOGAR (par do arcade-howto.js)
   Mesmo visual neon do arcade-ui.css: só classes .ah-* novas. --hc = cor da página/seção.
   ===================================================================== */

/* ---------- botões nos menus do core ---------- */
.ah-menu-btn .ac-ico, .ah-pause-btn .ac-ico { width:1.15em; height:1.15em; color:var(--ac-cyan); filter:drop-shadow(0 0 4px rgba(0,240,255,.7)); }
.ac-menu .ah-menu-btn { min-height:44px; font-size:.74em !important; letter-spacing:.12em; }
/* link de texto pro guia do site (só no navegador): discreto, embaixo do COMO JOGAR */
.ah-guide { display:block; align-self:center; text-align:center; margin-top:.15em; padding:.35em .6em; font-size:.62em; letter-spacing:.06em;
            color:var(--ac-dim); text-decoration:underline; text-underline-offset:3px; opacity:.85; }
.ah-guide:hover, .ah-guide:focus-visible { color:var(--ac-cyan); opacity:1; }
.ah-set-row .ac-btn--xs { flex:none; }

/* ---------- tela ---------- */
.ah-scr { padding-bottom:calc(var(--ac-sab) + 12px); }
.ah-scr .ac-header { margin:8px 0 8px; }
@media (min-height:760px) { .ah-scr .ac-header { margin-top:52px; margin-bottom:12px; } }

/* seções (chips) */
.ah-chips { flex:none; width:100%; max-width:480px; display:flex; gap:7px; overflow-x:auto; overflow-y:hidden; padding:3px 2px 9px;
  scroll-snap-type:x proximity; touch-action:pan-x; -webkit-overflow-scrolling:touch; overscroll-behavior:contain;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 14px,#000 calc(100% - 14px),transparent 100%); }
.ah-chips::-webkit-scrollbar { width:0; height:0; }
.ah-chip { flex:none; scroll-snap-align:center; min-height:38px; padding:0 14px; border-radius:19px; white-space:nowrap;
  font-family:var(--ac-display); font-weight:700; font-size:.6em; letter-spacing:.08em; text-transform:uppercase; color:var(--ac-dim);
  background:rgba(14,10,34,.85); box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.1); transition:color .2s, background .2s, box-shadow .2s, transform .12s; }
.ah-chip:first-child { margin-left:10px; } .ah-chip:last-child { margin-right:10px; }
.ah-chip:active { transform:scale(.93); }
.ah-chip.is-on { color:#05040e; background:var(--hc,#00f0ff);
  box-shadow:0 0 14px color-mix(in srgb,var(--hc,#00f0ff) 60%,transparent), inset 0 1px 0 rgba(255,255,255,.5); }

/* carrossel */
.ah-view { position:relative; flex:1; min-height:0; max-height:640px; width:100%; max-width:480px; overflow:hidden; touch-action:pan-y; }
.ah-track { display:flex; height:100%; transition:transform .36s var(--ac-ease-out); will-change:transform; }
.ah-track.ah-nudge { animation:ah-nudge 1.1s .35s var(--ac-ease-out); }
@keyframes ah-nudge { 0%,100% { translate:0 0; } 35% { translate:-26px 0; } 65% { translate:4px 0; } }
.ah-slot { flex:0 0 100%; min-width:0; height:100%; padding:2px 8px 4px; }

.ah-card { position:relative; height:100%; display:flex; flex-direction:column; border-radius:22px; overflow:hidden; background:var(--ac-panel);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), inset 0 0 0 1.5px color-mix(in srgb,var(--hc) 45%,transparent),
             0 0 24px color-mix(in srgb,var(--hc) 18%,transparent), 0 14px 34px rgba(0,0,0,.5);
  transition:opacity .3s, transform .36s var(--ac-ease-out); }
.ah-slot:not(.is-cur) .ah-card { opacity:.55; transform:scale(.95); }
.ah-illus { position:relative; flex:none; height:clamp(112px,44%,300px); margin:10px 10px 0; border-radius:15px; overflow:hidden;
  background:radial-gradient(110% 120% at 50% 110%,color-mix(in srgb,var(--hc) 22%,#160a30) 0%,#0b0820 62%,#07061a 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07), inset 0 -18px 30px rgba(0,0,0,.25); }
.ah-illus canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
.ah-illus.is-empty { display:none; }
.ah-illus > svg { width:100%; height:100%; }

.ah-txt { flex:1; min-height:0; overflow-y:auto; overflow-x:hidden; padding:10px 16px 14px; touch-action:pan-y; overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch; }
.ah-txt::-webkit-scrollbar { width:0; }
.ah-kick { display:flex; justify-content:space-between; gap:8px; color:var(--hc); font-family:var(--ac-display); font-weight:700; font-size:.56em;
  letter-spacing:.16em; text-transform:uppercase; opacity:.9; }
.ah-kick span { color:var(--ac-mute); letter-spacing:.08em; }
.ah-txt h3 { margin:5px 0 6px; font-family:var(--ac-display); font-weight:900; font-size:1.06em; letter-spacing:.06em; line-height:1.15; color:#fff;
  text-shadow:0 0 12px color-mix(in srgb,var(--hc) 70%,transparent); }
.ah-txt p { margin:0; color:#d9dcf5; font-weight:600; font-size:.98em; line-height:1.3; }
.ah-txt b { color:var(--hc); font-weight:700; text-shadow:0 0 8px color-mix(in srgb,var(--hc) 45%,transparent); }
.ah-list { margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:5px; }
.ah-list li { position:relative; padding-left:16px; color:#d9dcf5; font-weight:600; font-size:.95em; line-height:1.27; }
.ah-list li::before { content:''; position:absolute; left:2px; top:.5em; width:7px; height:7px; border-radius:2px; transform:rotate(45deg);
  background:var(--hc); box-shadow:0 0 6px var(--hc); }

/* navegação */
.ah-nav { flex:none; width:100%; max-width:480px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 8px 0; }
.ah-nav .ac-iconbtn { width:52px; height:52px; border-radius:16px; }
.ah-nav .ac-iconbtn .ac-ico { width:26px; height:26px; }
.ah-nav .ah-prev.is-off { opacity:.3; pointer-events:none; }
.ah-nav .ah-next.is-ok { color:#04121a; background:linear-gradient(180deg,#a5ffc9,#39ff88 55%,#12b85a);
  box-shadow:inset 0 2px 0 rgba(255,255,255,.6), 0 0 18px rgba(57,255,136,.55); animation:ac-pulse 1.6s ease-in-out infinite; }
.ah-dots { flex:1; display:flex; justify-content:center; align-items:center; gap:5px; min-width:0; overflow:hidden; }
.ah-dots i { flex:none; width:6px; height:6px; border-radius:3px; background:rgba(255,255,255,.18); transition:width .25s var(--ac-ease-out), background .25s; }
.ah-dots i.is-on { width:20px; background:var(--ac-cyan); box-shadow:0 0 8px rgba(0,240,255,.8); }
.ah-count:empty { display:none; }
.ah-count { flex:1; text-align:center; font-family:var(--ac-num); font-weight:700; color:var(--ac-dim); letter-spacing:.06em; }

/* "Quer ver todas as regras?" / dica com link (toast clicável) */
.ac-toast.ah-offer { pointer-events:auto; padding:6px 6px 6px 14px; gap:8px; }
.ah-offer > span { flex:1; min-width:0; line-height:1.15; }
.ah-offer-go { flex:none; min-height:38px; padding:0 14px; border-radius:11px; font-family:var(--ac-display); font-weight:900; font-size:.68em;
  letter-spacing:.1em; color:#04121a; background:linear-gradient(180deg,#7ffaff,#00d4f0); box-shadow:0 0 12px rgba(0,240,255,.5); }
.ah-offer-go:active { transform:scale(.93); }
.ah-offer-x { flex:none; width:34px; height:38px; display:flex; align-items:center; justify-content:center; color:var(--ac-dim); }
.ah-offer-x .ac-ico { width:18px; height:18px; color:inherit; }
.ah-link { display:inline-flex; align-items:center; gap:.35em; min-height:34px; padding:2px 6px; color:var(--ac-cyan); font-weight:700; font-size:.88em;
  text-decoration:underline; text-underline-offset:3px; pointer-events:auto; }
.ah-link .ac-ico { width:1.1em; height:1.1em; }

@media (min-width:600px) {
  .ah-txt p, .ah-list li { font-size:.92em; }
  .ah-illus { height:clamp(140px,48%,320px); }
}
@media (max-height:600px) {
  .ah-chip { min-height:34px; }
  .ah-nav { padding-top:6px; }
  .ah-nav .ac-iconbtn { width:48px; height:48px; }
  .ah-txt { padding:8px 14px 10px; }
}
@media (prefers-reduced-motion:reduce) {
  .ah-track { transition-duration:.01s; }
  .ah-track.ah-nudge, .ah-nav .ah-next.is-ok { animation:none; }
}
