/* Shared theme for every domain (pill style, light surface, blue accent).
   The original reference theme.css was not available; this file recreates the
   layout classes used by resources/views/site. */
:root {
  --site-bg: #f7f7f5;
  --site-surface: #ffffff;
  --site-ink: #16181d;
  --site-muted: #5b6270;
  --site-accent: #1d5bd8;
  --site-accent-ink: #ffffff;
  --site-border: rgba(22, 24, 29, .08);
  --bs-primary: var(--site-accent);
  --bs-primary-rgb: 29, 91, 216;
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { background: var(--site-bg); color: var(--site-ink); padding-bottom: 72px; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
.fw-black { font-weight: 900; }
.btn-primary { --bs-btn-bg: var(--site-accent); --bs-btn-border-color: var(--site-accent); --bs-btn-hover-bg: #174bb3; --bs-btn-hover-border-color: #174bb3; }
.text-bg-primary { background-color: var(--site-accent) !important; }

.portal-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--site-border); }
.portal-nav .nav-link { font-weight: 600; color: var(--site-ink); border-radius: 999px; padding: .45rem .9rem !important; }
.portal-nav .nav-link.active, .portal-nav .nav-link:hover { background: rgba(29,91,216,.08); color: var(--site-accent); }
.brand-logo { height: 40px; width: auto; max-width: 180px; object-fit: contain; }
.footer-brand-logo { height: 44px; width: auto; max-width: 200px; object-fit: contain; }
.brand-text { font-weight: 900; letter-spacing: -.02em; color: var(--site-ink); }

.announce-ticker { background: var(--site-ink); color: #fff; font-size: .875rem; }
.announce-ticker-inner { width: max-content; animation: ticker 30s linear infinite; padding: .5rem 0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-ticker-inner { animation: none; } }

.hero-carousel-wrap { position: relative; background: #0f1b33; }
.hero-carousel-img { height: clamp(380px, 52vw, 560px); object-fit: cover; }
.hero-placeholder { background: radial-gradient(circle at 20% 20%, #2f6ff0 0, #0f1b33 60%); }
.hero-carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,14,28,.85) 0%, rgba(8,14,28,.35) 70%, transparent 100%); }
.hero-carousel-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(1.25rem, 5vw, 4rem); color: #fff; max-width: 760px; }
.hero-lede { color: rgba(255,255,255,.85); }
.hero-title-accent { background: linear-gradient(90deg, #fff, #b8cdfb); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-kicker { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.section-lede { max-width: 760px; }
.brand-card { background: var(--site-surface); border: 1px solid var(--site-border); box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.market-focus-section .list-group-item { border-color: var(--site-border); }

.toc-shell { position: sticky; top: 64px; z-index: 5; background: rgba(247,247,245,.95); border-bottom: 1px solid var(--site-border); padding: .5rem 0; }
.toc-shell .container-xl { display: flex; align-items: center; gap: 1rem; }
.toc-label { font-weight: 700; font-size: .85rem; white-space: nowrap; }
.toc-nav { display: flex; gap: .5rem; white-space: nowrap; }
.toc-link { display: inline-flex; gap: .4rem; align-items: center; padding: .3rem .75rem; border-radius: 999px; background: var(--site-surface); border: 1px solid var(--site-border); text-decoration: none; color: var(--site-ink); font-size: .85rem; }
.toc-link span:first-child { font-weight: 800; color: var(--site-accent); }

.games-tab { border-radius: 999px !important; border: 1px solid var(--site-border) !important; color: var(--site-ink); font-weight: 700; background: var(--site-surface); }
.games-tab.active { background: var(--site-accent) !important; color: #fff !important; }
.game-card { overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
a.game-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.game-thumb { position: relative; aspect-ratio: 4 / 3; background: #e9edf5; display: grid; place-items: center; color: #9aa4b5; font-size: 2rem; overflow: hidden; }
.game-tag { position: absolute; top: .5rem; left: .5rem; font-size: .7rem; }
.card-slider { scroll-snap-type: x mandatory; }
.slider-item { width: min(260px, 70vw); scroll-snap-align: start; }

.app-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(29,91,216,.1); color: var(--site-accent); font-size: 1.4rem; margin-bottom: .75rem; }
.method-chip { background: var(--site-surface); border: 1px solid var(--site-border); }

.faq-accordion .accordion-item { border: 1px solid var(--site-border); border-radius: 16px !important; overflow: hidden; margin-bottom: .75rem; }
.faq-accordion .accordion-button { font-weight: 700; gap: .75rem; }
.faq-q-badge { display: inline-grid; place-items: center; min-width: 2rem; height: 2rem; border-radius: 999px; background: rgba(29,91,216,.1); color: var(--site-accent); font-size: .8rem; font-weight: 800; }

.portal-footer { background: var(--site-surface); border-top: 1px solid var(--site-border); }
.footer-title { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.footer-link-grid { display: grid; gap: .4rem; }
.footer-link { color: var(--site-muted); text-decoration: none; font-size: .9rem; }
.footer-link:hover { color: var(--site-accent); }
.footer-bottom { border-top: 1px solid var(--site-border); color: var(--site-muted); font-size: .85rem; }

.back-top { right: 1rem; bottom: 88px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--site-ink); color: #fff; font-size: 1.5rem; z-index: 20; text-decoration: none; }
@media (min-width: 992px) { .back-top { bottom: 1.5rem; } }
.bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-around; align-items: flex-end; background: var(--site-surface); border-top: 1px solid var(--site-border); padding: .4rem .5rem calc(.4rem + env(safe-area-inset-bottom)); }
.bottom-bar-item, .bottom-bar-cta { display: flex; flex-direction: column; align-items: center; gap: .1rem; font-size: .7rem; font-weight: 600; color: var(--site-muted); text-decoration: none; min-width: 56px; }
.bottom-bar-item i { font-size: 1.25rem; }
.bottom-bar-cta-btn { display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; background: var(--site-accent); color: #fff; font-size: 1.4rem; box-shadow: 0 6px 16px rgba(29,91,216,.35); }
