/* ==========================================================================
   Horus Games — public website (landing, catalog, guide, help, legal, accounts)
   A royal Egyptian jewel box: malachite velvet, polished gold, lapis and turquoise
   inlays, carved sandstone and warm temple light.
   ========================================================================== */
:root {
  --ink: #061612;
  --ink-2: #0a201b;
  --velvet: #25463d;
  --malachite: #0e3a31;
  --malachite-2: #165246;
  --lapis: #1d3a8f;
  --turquoise: #36c2ad;
  --gold: #e9b955;
  --gold-2: #f6d27e;
  --gold-light: #ffe7ad;
  --gold-deep: #a8742a;
  --carnelian: #d2553c;
  --text: #efe7cf;
  --muted: #d0cbb3;
  --dim: #a5ad9a;
  --sand-ink: #3b2710;
  --radius: 16px;
  --shadow: 0 24px 44px -26px rgba(0, 0, 0, .95), 0 3px 10px rgba(0, 0, 0, .35);
  --wrap: 1240px;
  --head: 78px;
  --serif: 'Philosopher', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --stone: url('../assets/images/site/stone.webp');
  --band: url('../assets/images/gold-band-2.0.webp');
  /* Polished gold for type and buttons, a brushed gold rim for panels. */
  --gold-metal: linear-gradient(180deg, #fffaea 0%, #ffe7a4 22%, #f5c560 46%, #d29437 66%, #b17323 84%, #eab35a 100%);
  --gold-edge: linear-gradient(150deg, #fff1bd 0%, #c48b37 22%, #f7da90 46%, #9a6424 72%, #efc977 100%);
  --panel: linear-gradient(180deg, rgba(28, 74, 63, .94) 0%, rgba(16, 48, 41, .96) 58%, rgba(11, 37, 32, .97) 100%);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: #8a6a2c #0a201b; }
body.site {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 120% 60% at 50% 0, rgba(46, 104, 88, .3), transparent 70%) no-repeat,
    linear-gradient(rgba(7, 27, 22, .9), rgba(5, 20, 16, .94)), var(--stone) center/760px, var(--ink);
  color: var(--text); font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: rgba(233, 185, 85, .45); color: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-2); text-decoration-color: rgba(233, 185, 85, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0; color: #fff1cc; letter-spacing: .005em; text-wrap: balance; }
p, li { text-wrap: pretty; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: #2f2008; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
main { flex: 1; }

/* ---------- Gold typography and ornaments ---------- */
.gold-text {
  background: linear-gradient(180deg, #fffbe8 0%, #ffe8a8 24%, #f5c662 50%, #c98c30 72%, #f0c36a 90%, #ffe9a8 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold-2);
  filter: drop-shadow(0 1px 0 #5c3a10) drop-shadow(0 2px 0 #2a1806) drop-shadow(0 6px 10px rgba(0, 0, 0, .5));
}
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 800 12.5px/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: #f3d58c; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.eyebrow::before, .eyebrow::after { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { transform: scaleX(-1); }
.eyebrow.left::before { display: none; }
.ornament { display: block; width: 136px; height: 29px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.ornament.left { margin: 0 0 -2px -4px; }
.section-head { display: grid; justify-items: center; gap: 14px; text-align: center; max-width: 800px; margin: 0 auto 54px; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 54px); }
.section-head p { color: var(--muted); font-size: 18.5px; max-width: 680px; }
.section-head.left { justify-items: start; text-align: left; margin-left: 0; }

/* ---------- Buttons: polished gold, malachite, glass ---------- */
.btn {
  --h: 52px; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 28px; border-radius: 999px; border: 1px solid transparent;
  font: 700 16.5px/1 var(--serif); letter-spacing: .02em; text-decoration: none; white-space: nowrap;
  transition: filter .2s, transform .15s, box-shadow .25s;
}
.btn svg.i { width: 19px; height: 19px; }
.btn:active { transform: translateY(1px); }
.btn-gold {
  color: #3a2306; text-shadow: 0 1px 0 rgba(255, 242, 205, .75); border-color: #fff2c2;
  background: var(--gold-metal);
  box-shadow: 0 0 0 1px #5c3a0e, 0 3px 0 1px #6e4710, 0 6px 0 1px #3a2608, 0 16px 26px -8px rgba(0, 0, 0, .8), 0 0 28px -6px rgba(255, 200, 90, .55), inset 0 1px 0 #fffbea, inset 0 -3px 6px rgba(120, 70, 10, .55);
}
/* A glossy upper half and a light that sweeps across now and then. */
.btn-gold::before { content: ''; position: absolute; z-index: -1; left: 7%; right: 7%; top: 2px; height: 46%; border-radius: 999px 999px 60% 60% / 999px 999px 100% 100%; background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, 0)); pointer-events: none; }
.btn-gold::after { content: ''; position: absolute; z-index: 1; top: -30%; bottom: -30%; left: -45%; width: 32%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-22deg); animation: btn-shine 6s ease-in-out infinite; pointer-events: none; mix-blend-mode: soft-light; }
.btn-gold:hover { color: #3a2306; filter: brightness(1.08) saturate(1.05); box-shadow: 0 0 0 1px #5c3a0e, 0 3px 0 1px #6e4710, 0 6px 0 1px #3a2608, 0 18px 30px -8px rgba(0, 0, 0, .8), 0 0 40px -4px rgba(255, 205, 100, .75), inset 0 1px 0 #fffbea, inset 0 -3px 6px rgba(120, 70, 10, .55); }
.btn-gold svg.i:first-child { fill: currentColor; stroke-width: 1; }
@keyframes btn-shine { 0%, 64% { left: -45%; } 82%, 100% { left: 125%; } }
.btn-stone {
  color: #ffe9b0; text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  background: linear-gradient(180deg, #2f7764 0%, #18503f 52%, #0f3a31 100%) padding-box, var(--gold-edge) border-box;
  box-shadow: 0 3px 0 #06201a, 0 14px 24px -10px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 240, 190, .35), inset 0 -2px 5px rgba(0, 0, 0, .35);
}
.btn-stone:hover { color: #fff4d2; filter: brightness(1.15); box-shadow: 0 3px 0 #06201a, 0 14px 24px -10px rgba(0, 0, 0, .85), 0 0 26px -6px rgba(54, 194, 173, .55), inset 0 1px 0 rgba(255, 240, 190, .35); }
.btn-ghost { color: var(--gold-light); border-color: rgba(240, 205, 130, .55); background: rgba(6, 24, 20, .35); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .1); }
.btn-ghost:hover { color: #fff3cf; border-color: var(--gold-2); background: rgba(18, 53, 45, .6); }
.btn-sm { --h: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { --h: 62px; padding: 0 36px; font-size: 19.5px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { filter: grayscale(.6) brightness(.8); cursor: not-allowed; }
.btn-danger { color: #ffe6dc; border-color: #e0795f; background: linear-gradient(#7c2b1c, #4c180e); box-shadow: 0 4px 0 #2a0c06, 0 10px 22px -8px #000c, inset 0 1px #ffb8a055; }
.btn-danger:hover { color: #fff; filter: brightness(1.12); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 16px var(--serif); text-decoration: none; }
.link-arrow svg.i { width: 18px; transition: transform .2s; }
.link-arrow:hover svg.i { transform: translateX(4px); }

/* ---------- Header: malachite velvet over the gold inlay band ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--head);
  background: linear-gradient(180deg, rgba(255, 236, 180, .06), transparent 45%),
    linear-gradient(180deg, rgba(44, 77, 66, .86), rgba(33, 61, 52, .9)), var(--stone) center/560px, var(--velvet);
  /* The inlay band of the painted frame, tiled crisply (never stretched): gold beads, lapis, turquoise and lotuses. */
  border-bottom: 12px solid transparent; border-image: var(--band) 0 0 64 0 / 0 0 12px 0 / 0 round;
  box-shadow: inset 0 1px 0 rgba(255, 236, 180, .16), 0 12px 26px -6px rgba(0, 0, 0, .7);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 22px; width: min(100% - 32px, 1360px); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--gold-2); text-decoration: none; flex: none; }
.brand svg { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 0 7px rgba(246, 210, 126, .3)) drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); transition: filter .3s; }
.brand:hover svg { filter: drop-shadow(0 0 11px rgba(246, 210, 126, .55)) drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.brand-name { display: grid; line-height: 1; font: 700 25px/1 var(--serif); letter-spacing: .14em; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #ffe3a0; filter: drop-shadow(0 1px 0 #4a2c0b) drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.brand-name small { font: 700 8.5px/1 var(--sans); letter-spacing: .62em; margin-top: 6px; padding-left: 2px; -webkit-text-fill-color: #eddcab; }
.main-menu { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.main-menu a { position: relative; padding: 11px 13px; border-radius: 10px; color: #f5e9c9; font: 700 15.5px/1 var(--serif); text-decoration: none; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .55); transition: color .2s; }
.main-menu a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #ffe08a, transparent); box-shadow: 0 0 10px rgba(255, 214, 120, .75); transform: scaleX(0); transition: transform .3s cubic-bezier(.2, .7, .3, 1); }
.main-menu a:hover { color: #fff4d4; }
.main-menu a:hover::after { transform: scaleX(.7); }
.main-menu a[aria-current='page'] { color: var(--gold-light); }
.main-menu a[aria-current='page']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.lang-select { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(240, 205, 130, .5); background: rgba(6, 24, 20, .32); color: var(--gold-light); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .1); }
.lang-select svg.i { width: 17px; height: 17px; }
.lang-select select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; padding: 0 16px 0 0; font: 700 14px var(--sans); letter-spacing: .06em; cursor: pointer; color: inherit; }
.lang-select::after { content: ''; position: absolute; right: 12px; top: 17px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); pointer-events: none; }
.lang-select option { background: #12302a; color: #fbe8b4; }
.user-chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 5px; border-radius: 999px; border: 1px solid rgba(240, 205, 130, .5); background: rgba(6, 24, 20, .32); color: #fff0cc; text-decoration: none; font: 700 15px var(--serif); max-width: 220px; box-shadow: inset 0 1px 0 rgba(255, 240, 200, .1); }
.user-chip:hover { color: #fff; border-color: var(--gold-2); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; font: 700 17px/1 var(--serif); color: #3d2809; background: radial-gradient(circle at 50% 30%, #fff0b4, #e1ae4d 60%, #a8742a); box-shadow: inset 0 1px #fff9df, 0 0 0 2px #0b2621, 0 0 0 3px rgba(233, 185, 85, .6); }
.user-chip span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-auth-state='user'] [data-auth='guest'], [data-auth-state='guest'] [data-auth='user'], [data-auth-state='unknown'] [data-auth='user'] { display: none !important; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(240, 205, 130, .5); background: rgba(6, 24, 20, .32); color: var(--gold-light); align-items: center; justify-content: center; }
.drawer { display: none; }

/* ---------- Bookmark bar ---------- */
.bookmark-bar { position: relative; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 46px; background: linear-gradient(90deg, #0f2659, #1d3a8f 50%, #0f2659); color: #f3e7c6; font: 600 14px/1.3 var(--sans); text-align: center; border-bottom: 1px solid rgba(233, 185, 85, .5); }
.bookmark-bar kbd { padding: 2px 7px; border-radius: 6px; border: 1px solid rgba(233, 185, 85, .6); background: #0b1a45; font: 700 13px var(--sans); color: var(--gold-light); }
.bookmark-bar button { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #f3e7c6; display: grid; place-items: center; }
.bookmark-bar button:hover { background: rgba(255, 255, 255, .1); }
.bookmark-bar[hidden] { display: none; }

/* ---------- Home: the first screen ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(880px, calc(100vh - var(--head))); display: flex; align-items: center; padding: 56px 0 90px; }
.hero::before { content: ''; position: absolute; inset: -3%; z-index: -3; background: url('../assets/images/site/palace.webp') center 35%/cover; animation: hero-pan 46s ease-in-out infinite alternate; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse 50% 60% at 74% 46%, rgba(255, 196, 100, .16), transparent 70%),
  linear-gradient(90deg, rgba(5, 18, 15, .95) 0%, rgba(5, 18, 15, .8) 34%, rgba(5, 18, 15, .3) 62%, rgba(5, 18, 15, .55) 100%),
  linear-gradient(0deg, #061612 0%, rgba(6, 22, 18, 0) 32%), linear-gradient(180deg, rgba(6, 22, 18, .5), transparent 24%); }
@keyframes hero-pan { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.2%, 1%); } }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: 36px; }
.hero-copy { display: grid; gap: 22px; justify-items: start; max-width: 640px; }
.hero h1 { font-size: clamp(42px, 5.6vw, 84px); line-height: 1.01; letter-spacing: -.005em; }
.hero-text { font-size: clamp(17px, 1.45vw, 20px); color: #eee2c3; max-width: 570px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.hero-signin { color: var(--muted); font-size: 15.5px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #e0d8bc; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note span::before { content: ''; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, #8ff0dd, #2aa995); box-shadow: 0 0 10px rgba(54, 194, 173, .8); }
/* The welcome offer: a gold coin and the two amounts of the start. */
.offer { display: inline-flex; align-items: flex-start; gap: 14px; padding: 12px 24px 12px 12px; border-radius: 20px; border: 1px solid transparent; background: linear-gradient(180deg, rgba(22, 62, 52, .9), rgba(9, 32, 27, .94)) padding-box, var(--gold-edge) border-box; box-shadow: 0 18px 32px -20px #000, inset 0 1px 0 rgba(255, 240, 190, .14); }
.offer-coin { align-self: center; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; flex: none; font: 700 28px/1 var(--serif); color: #6b4511; text-shadow: 0 1px 0 #ffefc0; background: radial-gradient(circle at 35% 28%, #fff6cf, #f2c45c 45%, #c58a33 75%, #8f5d1f); box-shadow: inset 0 0 0 3px #f9df98, inset 0 0 0 5px #b07a2c, inset 0 -3px 6px #7a4f17, 0 6px 14px rgba(0, 0, 0, .6), 0 0 26px rgba(246, 199, 90, .5); }
.offer-item { display: grid; gap: 4px; }
.offer-item strong { font: 700 clamp(26px, 2.5vw, 36px)/1 var(--serif); }
.offer-item small { font: 700 12px/1.25 var(--sans); color: #ddd6bb; letter-spacing: .03em; max-width: 170px; }
.offer-plus { align-self: center; font: 700 30px/1 var(--serif); color: #f3cf78; text-shadow: 0 0 14px rgba(246, 199, 90, .7); }
.coin { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; flex: none; font: 700 14px/1 var(--serif); color: #6b4511; background: radial-gradient(circle at 35% 28%, #fff1b8, #e6b24a 55%, #a87428); box-shadow: inset 0 0 0 2px #f8d98c, inset 0 -2px 3px #8a5a1c, 0 2px 4px rgba(0, 0, 0, .55); }
/* The stage: sun rays, a warm halo, the cards, sparkles and turning coins. */
.hero-stage { position: relative; height: clamp(400px, 48vw, 640px); }
.hero-stage .rays { position: absolute; left: 50%; top: 47%; width: min(170%, 1040px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255, 226, 150, .21) 0deg 4deg, rgba(255, 226, 150, 0) 4deg 12deg); -webkit-mask-image: radial-gradient(closest-side, #000 14%, rgba(0, 0, 0, .55) 40%, transparent 70%); mask-image: radial-gradient(closest-side, #000 14%, rgba(0, 0, 0, .55) 40%, transparent 70%); animation: rays-spin 140s linear infinite; pointer-events: none; }
.hero-stage .halo { position: absolute; left: 50%; top: 46%; width: 82%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 205, 120, .42), rgba(255, 190, 90, .14) 52%, transparent 74%); pointer-events: none; }
@keyframes rays-spin { to { rotate: 360deg; } }
.hero-fan { position: absolute; inset: 0; z-index: 1; }
.hero-fan .card-mini { position: absolute; top: 50%; left: 50%; width: clamp(170px, 17vw, 252px); aspect-ratio: .56; translate: -50% -50%; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.hero-fan .card-mini:nth-child(1) { transform: translateX(-62%) rotate(-11deg) scale(.86); z-index: 1; }
.hero-fan .card-mini:nth-child(2) { transform: translateX(62%) rotate(11deg) scale(.86); z-index: 1; }
.hero-fan .card-mini:nth-child(3) { transform: translateY(-2%) scale(1.04); z-index: 2; box-shadow: 0 30px 50px -18px #000, 0 0 60px -10px rgba(255, 200, 100, .5); }
.hero-stage:hover .card-mini:nth-child(1) { transform: translateX(-74%) rotate(-14deg) scale(.88); }
.hero-stage:hover .card-mini:nth-child(2) { transform: translateX(74%) rotate(14deg) scale(.88); }
.hero-fan::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 1%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent); z-index: 0; }
.card-mini { --rim: clamp(9px, 1vw, 15px); display: block; background: #0b1d18; box-shadow: 0 24px 40px -16px #000; text-decoration: none; }
.card-mini img { position: absolute; inset: calc(var(--rim) * .35); width: calc(100% - var(--rim) * .7); height: calc(100% - var(--rim) * .7); object-fit: cover; }
.card-mini::before { content: ''; position: absolute; inset: calc(var(--rim) * .35); background: linear-gradient(0deg, rgba(5, 20, 16, .95), transparent 46%); z-index: 1; }
.card-mini .frame { position: absolute; inset: 0; z-index: 2; border: solid transparent; border-width: var(--rim) var(--rim) calc(var(--rim) * 1.096); border-image: url('../assets/images/lobby-card-frame-1.18.webp') 94 94 103 94 / var(--rim) var(--rim) calc(var(--rim) * 1.096) stretch; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)); }
.card-mini b { position: absolute; z-index: 3; left: 12%; right: 12%; bottom: 9%; text-align: center; font: 700 clamp(16px, 1.5vw, 23px)/1.05 var(--serif); }
.spark { position: absolute; z-index: 3; width: calc(20px * var(--s, 1)); height: calc(20px * var(--s, 1)); margin: calc(-10px * var(--s, 1)); pointer-events: none; background: radial-gradient(circle, #fffdf0 0 10%, rgba(255, 232, 150, .7) 22%, transparent 60%); opacity: 0; animation: twinkle 5s ease-in-out var(--d, 0s) infinite; }
.spark::before, .spark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, #fffbe2 47% 53%, transparent); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.spark::after { transform: rotate(45deg) scale(.55); opacity: .7; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(-12deg); } 40%, 55% { opacity: 1; transform: scale(1) rotate(0); } }
.float-coin { position: absolute; z-index: 3; width: calc(50px * var(--s, 1)); aspect-ratio: 1; pointer-events: none; animation: coin-bob 7s ease-in-out var(--d, 0s) infinite; }
.float-coin i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font: 700 calc(25px * var(--s, 1))/1 var(--serif); font-style: normal; color: #6b4511; text-shadow: 0 1px 0 #ffefc0; background: radial-gradient(circle at 35% 28%, #fff6cf, #f2c45c 45%, #c58a33 75%, #8f5d1f); box-shadow: inset 0 0 0 calc(3px * var(--s, 1)) #f9df98, inset 0 0 0 calc(5px * var(--s, 1)) #b07a2c, inset 0 -3px 6px #7a4f17, 0 12px 20px rgba(0, 0, 0, .55), 0 0 22px rgba(246, 199, 90, .45); animation: coin-turn 6s linear var(--d, 0s) infinite; }
@keyframes coin-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes coin-turn { from { transform: perspective(240px) rotateY(0); } to { transform: perspective(240px) rotateY(360deg); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-fan .card-mini:nth-child(3) { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { translate: -50% calc(-50% - 10px); } }
}

/* ---------- The ticker of free coins ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; height: 60px; display: flex; align-items: center; background: linear-gradient(180deg, #13306e, #0b1d4a 55%, #081438); border-block: 1px solid rgba(240, 205, 130, .6); box-shadow: inset 0 1px 0 rgba(255, 240, 200, .14), inset 0 -10px 20px rgba(0, 0, 0, .35), 0 12px 26px -12px rgba(0, 0, 0, .9); }
.ticker::before, .ticker::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, #0b1d4a, transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, #0b1d4a, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 600 15px var(--sans); color: #e9e5d2; }
.tk b { font: 700 21px/1 var(--serif); background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 #3a2508); }
.tk .coin { width: 26px; height: 26px; font-size: 13px; }
.tk-note { font: 800 12.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #9df2e1; }
.tk-sep { font-style: normal; color: #f3cf78; text-shadow: 0 0 10px rgba(246, 199, 90, .85); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(60px, 8vw, 110px) 0 clamp(48px, 6vw, 84px); border-bottom: 12px solid transparent; border-image: var(--band) 0 0 64 0 / 0 0 12px 0 / 0 round; }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -2; background: #0b2420 center/cover no-repeat; animation: hero-pan 50s ease-in-out infinite alternate; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 80% at 80% 40%, rgba(255, 196, 100, .12), transparent 70%), linear-gradient(90deg, rgba(5, 18, 15, .94) 0%, rgba(5, 18, 15, .72) 45%, rgba(5, 18, 15, .38) 100%), linear-gradient(0deg, rgba(6, 22, 18, .95) 0%, transparent 50%); }
.page-hero .wrap { display: grid; gap: 18px; justify-items: start; }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 68px); max-width: 880px; }
.page-hero p { max-width: 720px; font-size: clamp(16.5px, 1.4vw, 19.5px); color: #ece0c0; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.page-hero.center .wrap { justify-items: center; text-align: center; }
.page-hero.compact { padding: 50px 0 42px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 600 13.5px var(--sans); color: var(--dim); }
.crumbs a { color: #ded4b5; text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span::before { content: '/'; margin-right: 8px; color: #8a8f7c; }

/* ---------- Sections and their materials ---------- */
.section { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(72px, 8.5vw, 122px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
/* Malachite velvet between two gold inlay bands — the material of the header. */
.band-malachite { background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(255, 214, 140, .07), transparent 70%), linear-gradient(180deg, rgba(43, 77, 65, .86), rgba(30, 57, 49, .9)), var(--stone) center/620px, var(--velvet); }
.band-malachite::before, .band-malachite::after { content: ''; position: absolute; left: 0; right: 0; height: 12px; z-index: 1; pointer-events: none; background: var(--band) 0 0 / 124px 12px repeat-x; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .45)); }
.band-malachite::before { top: 0; }
.band-malachite::after { bottom: 0; }
/* Night in the temple: dark stone lit from above. */
.band-dark { background: radial-gradient(ellipse 70% 60% at 50% 0, rgba(54, 194, 173, .1), transparent 70%), linear-gradient(180deg, rgba(4, 16, 13, .84), rgba(4, 16, 13, .93)), url('../assets/images/site/temple-night.webp') center/cover; }
.band-sand { color: var(--sand-ink); background: radial-gradient(ellipse 80% 70% at 50% 50%, transparent 55%, rgba(90, 55, 15, .22)), url('../assets/images/horus-stone.jpg') center/520px, #d6b37a; padding-block: clamp(100px, 10vw, 140px); }
.band-sand::before, .band-sand::after { content: ''; position: absolute; left: 0; right: 0; height: 52px; background: url('../assets/images/site/frieze-top.webp') center / auto 52px repeat-x; filter: drop-shadow(0 2px 3px rgba(59, 39, 16, .3)); }
.band-sand::before { top: 0; }
.band-sand::after { bottom: 0; background-image: url('../assets/images/site/frieze-bottom.webp'); }
.band-sand h2, .band-sand h3 { color: #4a2f10; text-shadow: 0 1px 0 #f7dfa6, 0 -1px 0 #8c6327; }
.band-sand .gold-text { background: none; -webkit-text-fill-color: #4a2f10; filter: none; }
.band-sand .section-head p, .band-sand p { color: #4d3818; }
.band-sand .eyebrow { color: #7a4f17; text-shadow: none; }
.band-sand .eyebrow::before, .band-sand .eyebrow::after { background: linear-gradient(90deg, transparent, #7a4f17); }
.band-sand .ornament { filter: drop-shadow(0 1px 1px rgba(59, 39, 16, .45)); }
.band-palace { isolation: isolate; overflow: hidden; }
.band-palace::before { content: ''; position: absolute; inset: 0; z-index: -3; background: url('../assets/images/site/palace.webp') center 40%/cover; }
.band-palace::after { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 50%, rgba(6, 22, 18, .55), rgba(6, 22, 18, .92) 70%); }

/* ---------- Jewel panels: malachite inside a brushed gold rim ---------- */
:is(.feature, .way, .rank, .game-row, .coin-stat, .spec, .soon-panel, .summary-box, .toc, .article-card, .faq details) {
  border: 1px solid transparent;
  background: var(--panel) padding-box, var(--stone) center/520px padding-box, var(--gold-edge) border-box;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 240, 190, .12), inset 0 0 30px rgba(0, 0, 0, .22);
}
:is(.feature, .way, .rank, .coin-stat, .game-row)::before { content: ''; position: absolute; inset: 5px; border-radius: calc(var(--radius) - 4px); border: 1px solid rgba(233, 185, 85, .2); pointer-events: none; }
:is(.feature, .way, .rank, .article-card, .game-row) { transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s; }
:is(.feature, .way, .rank, .article-card, .game-row):hover { transform: translateY(-5px); box-shadow: var(--shadow), 0 0 40px -8px rgba(246, 199, 90, .4), inset 0 1px 0 rgba(255, 240, 190, .16), inset 0 0 30px rgba(0, 0, 0, .22); }

/* ---------- Game cards ---------- */
.game-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.game-grid::before { content: ''; position: absolute; inset: -12% -8% -16%; z-index: -1; pointer-events: none; background: radial-gradient(60% 55% at 50% 55%, rgba(255, 214, 130, .17), transparent 70%); }
.game-card { --rim: clamp(10px, 1.15vw, 17px); position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: .6; min-height: 380px; background: #0b1d18; box-shadow: 0 30px 46px -26px #000, 0 0 0 1px rgba(0, 0, 0, .35); isolation: isolate; transition: transform .45s cubic-bezier(.2, .7, .3, 1), box-shadow .45s; }
.game-card:hover { transform: translateY(-8px); box-shadow: 0 40px 50px -28px #000, 0 0 0 1px rgba(255, 227, 160, .25), 0 0 48px -6px rgba(246, 199, 90, .45); }
/* A glint runs across the gold when the card is hovered. */
.game-card::after { content: ''; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255, 244, 210, .45) 50%, transparent 60%) no-repeat; background-size: 260% 100%; background-position: 130% 0; mix-blend-mode: soft-light; transition: background-position 1.1s cubic-bezier(.2, .7, .3, 1); }
.game-card:hover::after { background-position: -30% 0; }
.game-card .art { position: absolute; inset: calc(var(--rim) * .35); overflow: hidden; z-index: -1; }
.game-card .art img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 40%); transform: scale(1.03); transition: transform 1.2s cubic-bezier(.2, .7, .3, 1); }
.game-card:hover .art img { transform: scale(1.08); }
.game-card .art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 16, 13, .66) 0%, transparent 22%), linear-gradient(0deg, #051410 0%, rgba(7, 26, 21, .95) 24%, rgba(10, 33, 27, .77) 42%, transparent 66%); box-shadow: inset 0 0 26px rgba(0, 0, 0, .8); }
.game-card .frame { position: absolute; inset: 0; z-index: 2; pointer-events: none; border: solid transparent; border-width: var(--rim) var(--rim) calc(var(--rim) * 1.096); border-image: url('../assets/images/lobby-card-frame-1.18.webp') 94 94 103 94 / var(--rim) var(--rim) calc(var(--rim) * 1.096) stretch; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .8)) drop-shadow(0 0 5px rgba(0, 0, 0, .6)); }
.game-card .badge { position: absolute; z-index: 3; top: calc(var(--rim) + 12px); left: calc(var(--rim) + 12px); max-width: calc(100% - 2 * var(--rim) - 24px); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 5px; border-radius: 999px; font: 800 11px/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--gold-light); background: linear-gradient(#2a5d50, #0e2923) padding-box, var(--gold-edge) border-box; border: 1px solid transparent; box-shadow: 0 3px 8px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 240, 190, .2); }
.badge.blue { color: #fff1c4; background: linear-gradient(#3555c4, #121f68) padding-box, linear-gradient(150deg, #dbe6ff, #7f9cff 40%, #dbe6ff 60%, #5b78d8) border-box; }
.badge.soon { color: #ffdb86; background: linear-gradient(#4a371d, #1b1309) padding-box, var(--gold-edge) border-box; }
.badge svg.i { width: 13px; height: 13px; stroke-width: 2.2; }
.game-card .body { position: relative; z-index: 3; display: grid; justify-items: center; gap: 10px; padding: 0 calc(var(--rim) + 16px) calc(var(--rim) + 20px); text-align: center; }
.game-card h3 { font-size: clamp(21px, 1.9vw, 28px); }
.game-card .tagline { font: 600 14.5px/1.45 var(--sans); color: #ece2c3; text-shadow: 0 1px 2px #000; }
.game-card .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.chip { padding: 4px 10px; border-radius: 12px; border: 1px solid rgba(233, 185, 85, .4); background: rgba(10, 32, 27, .8); color: #f1e3bd; font: 600 12px/1.3 var(--sans); }
.game-card .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.game-card.is-soon .art img { filter: saturate(.92) brightness(.92); }
.tile-horus { --focus: 82% 40%; }
.tile-pharaoh { --focus: 50% 0%; }
.tile-anubis { --focus: 68% 40%; }
.tile-ra { --focus: 66% 30%; }

/* ---------- Column helpers (media queries can override them) ---------- */
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-2-fixed { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split-wide, .split[data-flip] { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split > *, .game-layout > *, .coins-split > * { min-width: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Catalog rows ---------- */
.game-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.game-row { position: relative; display: grid; grid-template-columns: minmax(170px, 40%) minmax(0, 1fr); gap: 26px; align-items: stretch; padding: 22px; border-radius: 20px; }
.game-row .game-card { min-height: 0; width: 100%; aspect-ratio: .6; align-self: center; text-decoration: none; color: inherit; }
.game-row .game-card .body { padding-bottom: calc(var(--rim) + 16px); }
.game-row .details { display: grid; align-content: center; gap: 12px; }
.game-row h2 { font-size: clamp(26px, 2.4vw, 34px); }
.game-row .tagline { font: 800 12.5px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8ff0dd; }
.game-row p { color: var(--muted); font-size: 15.5px; }
.game-row .bonus { display: flex; align-items: center; gap: 10px; font: 700 15px var(--serif); color: var(--gold-light); }
.game-row .bonus svg.i { width: 20px; height: 20px; color: var(--gold-2); }
.game-row .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.game-row .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.game-row.is-soon .details > h2 { color: #f2e4c0; }

/* ---------- Feature cards and medallions ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature { position: relative; display: grid; gap: 12px; align-content: start; padding: 30px 28px 28px; border-radius: var(--radius); }
.feature h3 { font-size: 23px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.medallion { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: #4a2e0c; background: radial-gradient(circle at 50% 28%, #fff4c8, #eab955 50%, #9c6a25); box-shadow: 0 0 0 3px #0b2622, 0 0 0 4.5px #e1b75e, 0 0 22px rgba(246, 199, 90, .35), 0 8px 16px rgba(0, 0, 0, .6), inset 0 2px 2px #fffbe0, inset 0 -3px 5px #7d531b; }
.medallion svg.i { width: 28px; height: 28px; stroke-width: 1.9; }
.medallion.turq { color: #e9fff9; background: radial-gradient(circle at 50% 28%, #9af5e3, #2aa995 52%, #10594e); box-shadow: 0 0 0 3px #0b2622, 0 0 0 4.5px #e1b75e, 0 0 22px rgba(54, 194, 173, .4), 0 8px 16px rgba(0, 0, 0, .6), inset 0 2px 2px #c8fff3; }
.medallion.lapis { color: #fff1c4; background: radial-gradient(circle at 50% 28%, #8ea9ff, #2c49b0 52%, #121f68); box-shadow: 0 0 0 3px #0b2622, 0 0 0 4.5px #e1b75e, 0 0 22px rgba(80, 120, 255, .35), 0 8px 16px rgba(0, 0, 0, .6), inset 0 2px 2px #c9d6ff; }

/* ---------- Plate (the painted frame of the lobby) ---------- */
.plate { position: relative; border: 9px solid transparent; border-image: url('../assets/images/lobby-plate-frame-1.18.webp') 47 47 51 47 / 9px 9px 10px stretch; background: var(--panel), var(--stone) center/420px; box-shadow: var(--shadow), 0 0 50px -16px rgba(246, 199, 90, .25), inset 0 0 18px rgba(0, 0, 0, .55); padding: clamp(22px, 3vw, 38px); }
.plate-light { border: 9px solid transparent; border-image: url('../assets/images/lobby-plate-frame-1.18.webp') 47 47 51 47 / 9px 9px 10px stretch; background: #f1dcab url('../assets/images/horus-stone.jpg') center/480px; color: var(--sand-ink); box-shadow: 0 16px 30px -16px rgba(59, 39, 16, .67); }

/* ---------- Guest vs account ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid rgba(233, 185, 85, .16); vertical-align: middle; }
.compare thead th { font: 700 19px var(--serif); color: var(--gold-light); border-bottom: 1px solid rgba(233, 185, 85, .4); }
.compare thead th:last-child { color: #3a2306; text-shadow: 0 1px 0 rgba(255, 242, 205, .7); background: var(--gold-metal); border-radius: 12px 12px 0 0; box-shadow: 0 -6px 18px -6px rgba(246, 199, 90, .5); }
.compare tbody th { font: 600 15.5px var(--sans); color: #efe3c1; }
.compare td { color: var(--muted); }
.compare td:last-child { color: #fff1cc; background: rgba(233, 185, 85, .08); box-shadow: inset 1px 0 0 rgba(233, 185, 85, .3), inset -1px 0 0 rgba(233, 185, 85, .3); }
.compare tr:last-child td:last-child { border-radius: 0 0 12px 12px; box-shadow: inset 1px 0 0 rgba(233, 185, 85, .3), inset -1px 0 0 rgba(233, 185, 85, .3), inset 0 -1px 0 rgba(233, 185, 85, .3); }
.mark { display: inline-flex; align-items: center; gap: 8px; }
.mark::before { content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #36c2ad url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23062a24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat; box-shadow: 0 0 10px rgba(54, 194, 173, .5); }
.mark.no::before { background: #6b6a58 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23162420' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 12h10'/%3E%3C/svg%3E") center/13px no-repeat; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split .copy { display: grid; gap: 18px; justify-items: start; }
.split .copy h2 { font-size: clamp(32px, 3.6vw, 50px); }
.split .copy p { color: var(--muted); font-size: 17.5px; }
.small-note { font-size: 14px; color: var(--dim); }

/* ---------- Steps on carved sandstone ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.step { position: relative; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 40px 26px 32px; }
.step .num { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; font: 700 31px/1 var(--serif); color: #5a3610; text-shadow: 0 1px 0 #ffefc0; background: radial-gradient(circle at 35% 28%, #fff6cf, #f2c45c 45%, #c58a33 75%, #8f5d1f); box-shadow: inset 0 0 0 4px #f9df98, inset 0 0 0 6px #b07a2c, inset 0 -4px 8px #7a4f17, 0 0 0 3px #f3dca5, 0 0 0 5px #8c6327, 0 14px 22px rgba(59, 39, 16, .45); }
.step h3 { font-size: 24px; }
.step p { font-size: 16px; }
.band-sand .step { border-radius: 18px; background: linear-gradient(180deg, rgba(255, 244, 214, .4), rgba(246, 226, 179, .2)); box-shadow: inset 0 0 0 1px rgba(140, 99, 39, .35), inset 0 2px 10px rgba(255, 255, 255, .3), inset 0 -10px 24px rgba(140, 99, 39, .12), 0 16px 28px -18px rgba(59, 39, 16, .7); }

/* ---------- Coins: the treasure vault ---------- */
.coins-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.coin-stat { position: relative; display: grid; justify-items: center; gap: 8px; padding: 26px 16px 24px; border-radius: var(--radius); text-align: center; }
.coin-stat .medallion { width: 50px; height: 50px; }
.coin-stat .medallion svg.i { width: 24px; height: 24px; }
.coin-stat strong { font: 700 clamp(32px, 3vw, 44px)/1 var(--serif); }
.coin-stat span:last-child { font: 600 14.5px/1.35 var(--sans); color: var(--muted); }
.coins-strip.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.coins-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: center; }
.coins-split .copy > .btn { justify-self: start; }
.coins-art { position: relative; isolation: isolate; }
.coins-art img { width: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .8)); animation: treasure-glow 7s ease-in-out infinite; }
.coins-art::before { content: ''; position: absolute; inset: 6% 4% 2%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(247, 199, 95, .38), rgba(247, 199, 95, .1) 55%, transparent 75%); }
.coins-art::after { content: ''; position: absolute; left: 50%; top: 48%; width: 150%; aspect-ratio: 1; translate: -50% -50%; z-index: -2; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 226, 150, .13) 0deg 4deg, transparent 4deg 13deg); -webkit-mask-image: radial-gradient(closest-side, #000 12%, transparent 68%); mask-image: radial-gradient(closest-side, #000 12%, transparent 68%); animation: rays-spin 160s linear infinite reverse; }
@keyframes treasure-glow { 0%, 100% { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .8)) brightness(1); } 50% { filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .8)) brightness(1.08); } }

/* ---------- Article cards ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.article-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); text-decoration: none; color: inherit; }
.article-card:hover { color: inherit; }
.article-card .cover { position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid rgba(233, 185, 85, .4); }
.article-card .cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 28, 23, .55), transparent 45%); }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .3, 1); }
.article-card:hover .cover img { transform: scale(1.06); }
.article-card .text { display: grid; gap: 10px; padding: 22px 24px 26px; }
.article-card .meta { display: flex; gap: 10px; align-items: center; font: 800 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8ff0dd; }
.article-card .meta span + span::before { content: '·'; margin-right: 10px; color: var(--dim); }
.article-card h3 { font-size: 22px; color: #fff0c8; }
.article-card p { color: var(--muted); font-size: 15px; }
.article-card .more { margin-top: 4px; font: 700 15px var(--serif); color: var(--gold-2); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-bar button { padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(233, 185, 85, .45); background: rgba(10, 32, 27, .7); color: #efe3c0; font: 700 15px var(--serif); transition: background .2s, border-color .2s; }
.filter-bar button:hover { border-color: var(--gold-2); }
.filter-bar button[aria-pressed='true'] { color: #3a2306; text-shadow: 0 1px 0 rgba(255, 242, 205, .7); background: var(--gold-metal); border-color: #fff2c2; box-shadow: 0 0 22px -4px rgba(246, 199, 90, .55); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.faq details { border-radius: 14px; transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow), 0 0 34px -10px rgba(246, 199, 90, .35), inset 0 1px 0 rgba(255, 240, 190, .12); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 22px 19px 24px; cursor: pointer; font: 700 18px/1.35 var(--serif); color: #fff0c8; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 50% 30%, #fff4c8, #e3ad4a 55%, #9c6a25) ; box-shadow: inset 0 1px 0 #fffbe0, 0 2px 6px rgba(0, 0, 0, .5); -webkit-mask: none; transition: transform .3s; }
.faq summary::before { content: ''; order: 2; position: absolute; right: 33px; width: 8px; height: 8px; border: solid #4a2e0c; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .3s; z-index: 1; }
.faq summary { position: relative; }
.faq details[open] summary::before { transform: translateY(2px) rotate(-135deg); }
.faq .answer { padding: 0 24px 22px; color: var(--muted); display: grid; gap: 10px; }
.faq .answer ul { margin: 0; padding-left: 20px; }
.help-search { display: flex; align-items: center; gap: 10px; width: min(100%, 580px); padding: 0 20px; height: 58px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(180deg, rgba(14, 44, 37, .95), rgba(8, 28, 23, .97)) padding-box, var(--gold-edge) border-box; box-shadow: var(--shadow), 0 0 30px -10px rgba(246, 199, 90, .4); color: var(--gold-2); }
.help-search input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 17px; color: var(--text); }
.help-search input::placeholder { color: #a7ab95; }
.help-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 0 38px; }
.help-cats a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(233, 185, 85, .45); background: rgba(10, 32, 27, .7); color: #efe3c0; font: 700 15px var(--serif); text-decoration: none; transition: border-color .2s, color .2s; }
.help-cats a:hover { border-color: var(--gold-2); color: #fff1cc; }
.help-section + .help-section { margin-top: 50px; }
.help-section h2 { display: flex; align-items: center; gap: 14px; font-size: 31px; margin: 0 0 20px; }
.empty-search { text-align: center; color: var(--muted); padding: 26px; }

/* ---------- Call to action under the palace light ---------- */
.cta { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; padding: clamp(80px, 10vw, 136px) 0; }
.cta::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(1100px, 160vw); aspect-ratio: 1; translate: -50% -50%; z-index: -1; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 226, 150, .11) 0deg 4deg, transparent 4deg 12deg); -webkit-mask-image: radial-gradient(closest-side, #000 8%, transparent 66%); mask-image: radial-gradient(closest-side, #000 8%, transparent 66%); animation: rays-spin 180s linear infinite; pointer-events: none; }
.cta h2 { font-size: clamp(34px, 4.4vw, 62px); max-width: 880px; }
.cta p { max-width: 660px; color: #ece0c0; font-size: 18.5px; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 10px; }

/* ---------- Footer: velvet malachite under the gold band and the winged sun ---------- */
.site-footer { position: relative; margin-top: auto; padding: 72px 0 30px; background: linear-gradient(180deg, rgba(40, 72, 62, .9), rgba(20, 44, 37, .95) 42%, rgba(9, 25, 21, .98)), var(--stone) center/620px, #1c3c33; border-top: 12px solid transparent; border-image: var(--band) 64 0 0 0 / 12px 0 0 0 / 0 round; color: var(--muted); font-size: 15px; }
.footer-crest { position: absolute; left: 50%; top: -6px; width: 168px; height: 36px; translate: -50% -50%; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .65)); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 34px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand p { max-width: 330px; }
.footer-col h3 { font: 800 12.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col button { color: #e2dabd; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; font-size: 15px; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: var(--gold-light); }
.age-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(233, 185, 85, .7); color: var(--gold-light); font: 800 15px var(--sans); box-shadow: inset 0 0 12px rgba(233, 185, 85, .2), 0 0 14px -4px rgba(233, 185, 85, .4); }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.footer-langs { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-langs a { font: 800 13px var(--sans); letter-spacing: .08em; color: #ddd5b8; text-decoration: none; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(233, 185, 85, .35); }
.footer-langs a[aria-current='true'] { color: #3a2306; background: var(--gold-metal); border-color: #fff2c2; }
.footer-legal { display: grid; gap: 10px; margin-top: 46px; padding-top: 26px; border-top: 1px solid rgba(233, 185, 85, .18); font-size: 13px; line-height: 1.6; color: var(--dim); }
.footer-legal strong { color: #d6ceb0; }

/* ---------- Prose (legal, articles) ---------- */
.doc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--head) + 24px); max-height: calc(100vh - var(--head) - 48px); overflow: auto; display: grid; gap: 4px; padding: 22px 18px; border-radius: var(--radius); }
.toc h2 { font: 800 12.5px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 8px; padding-left: 10px; }
.toc a { display: block; padding: 7px 10px; border-radius: 8px; color: #ddd4b6; text-decoration: none; font-size: 14.5px; line-height: 1.35; border-left: 2px solid transparent; transition: background .2s, color .2s; }
.toc a:hover, .toc a.is-active { background: rgba(233, 185, 85, .12); color: #fff1cc; border-left-color: var(--gold-2); }
.prose { max-width: 780px; font-size: 17px; line-height: 1.78; color: #e8e1ca; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(25px, 2.4vw, 32px); margin-top: 2.1em; padding-top: .2em; color: #ffecc0; }
.prose h3 { font-size: 21px; margin-top: 1.7em; color: #fbe3ae; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose p.lead { font-size: 19.5px; line-height: 1.65; color: #f3e9cd; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--gold-2); }
.prose strong { color: #fff3d4; }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 3px solid var(--gold); background: rgba(11, 36, 32, .9); border-radius: 0 12px 12px 0; color: #efe6c9; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 11px 14px; text-align: left; vertical-align: top; border: 1px solid rgba(233, 185, 85, .22); }
.prose th { background: linear-gradient(180deg, #1c5145, #123a32); color: var(--gold-light); font-family: var(--sans); font-weight: 700; }
.prose td { background: rgba(10, 31, 27, .8); }
.prose code { padding: 2px 6px; border-radius: 6px; background: #0b2420; border: 1px solid rgba(233, 185, 85, .22); font-size: .9em; color: var(--gold-light); }
.prose aside.note { padding: 16px 20px; border-radius: 12px; background: linear-gradient(180deg, rgba(18, 48, 42, .92), rgba(13, 38, 34, .95)); border: 1px solid rgba(54, 194, 173, .45); color: #e6efe6; box-shadow: inset 3px 0 0 rgba(54, 194, 173, .7); }
.prose aside.note.warn { border-color: rgba(210, 85, 60, .55); background: linear-gradient(180deg, rgba(58, 29, 20, .92), rgba(38, 19, 14, .95)); box-shadow: inset 3px 0 0 rgba(210, 85, 60, .8); }
.prose aside.note > * + * { margin-top: .6em; }
.prose a { color: var(--gold-2); }
.summary-box { position: relative; padding: 24px 28px; border-radius: var(--radius); margin-bottom: 36px; }
.summary-box h2 { font: 800 12.5px/1.2 var(--sans) !important; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2) !important; margin: 0 0 14px !important; }
.summary-box ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.summary-box li { display: flex; gap: 12px; color: #efe7cf; line-height: 1.5; }
.summary-box li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: .55em; transform: rotate(45deg); background: var(--gold); box-shadow: 0 0 8px rgba(246, 199, 90, .6); }
.updated { font: 600 14px var(--sans); color: #d6cdad; }
.article-head { display: grid; gap: 16px; max-width: 820px; }
.article-cover { position: relative; max-width: 1000px; margin: 0 auto 46px; border-radius: 18px; overflow: hidden; border: 1px solid transparent; background: var(--gold-edge) border-box; box-shadow: var(--shadow), 0 0 50px -16px rgba(246, 199, 90, .35); aspect-ratio: 16/7; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 17px; }
.article-body { max-width: 780px; margin: 0 auto; }

/* ---------- Game page ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.spec { position: relative; display: grid; gap: 4px; padding: 17px 19px; border-radius: 14px; }
.spec span { font: 800 11.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8ff0dd; }
.spec strong { font: 700 21px/1.2 var(--serif); color: #fff0c8; }
.game-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.game-poster { position: relative; align-self: stretch; }
.game-poster > .game-card { position: sticky; top: calc(var(--head) + 24px); }
.game-poster .game-card { min-height: 0; }
.howto { counter-reset: how; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.howto li { counter-increment: how; display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; color: var(--muted); }
.howto li::before { content: counter(how); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 700 19px var(--serif); color: #5a3610; text-shadow: 0 1px 0 #ffefc0; background: radial-gradient(circle at 35% 28%, #fff6cf, #f2c45c 45%, #c58a33 75%, #8f5d1f); box-shadow: inset 0 0 0 2px #f9df98, inset 0 0 0 3.5px #b07a2c, 0 4px 10px rgba(0, 0, 0, .5); }
.paytable { width: 100%; border-collapse: collapse; font-size: 15px; }
.paytable th, .paytable td { padding: 10px 12px; border-bottom: 1px solid rgba(233, 185, 85, .16); text-align: center; }
.paytable th:first-child, .paytable td:first-child { text-align: left; }
.paytable thead th { font: 800 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8ff0dd; }
.paytable td:first-child { display: flex; align-items: center; gap: 12px; font: 700 16px var(--serif); color: #fff0c8; }
.paytable td { color: var(--gold-light); font-weight: 700; line-height: 1.2; }
.paytable tbody tr { transition: background .2s; }
.paytable tbody tr:hover { background: rgba(233, 185, 85, .07); }
.paytable td small { display: block; margin-top: 3px; font: 600 11.5px var(--sans); color: #8ff0dd; }
.paytable caption { caption-side: bottom; text-align: left; padding-top: 12px; font-size: 14px; color: var(--dim); }
.sym { width: 44px; height: 40px; border-radius: 8px; flex: none; background: url('../assets/images/site/symbols-sand.webp') 0 0/400% 300%; box-shadow: 0 0 0 1px rgba(233, 185, 85, .5), 0 3px 8px rgba(0, 0, 0, .5); }
.sym-sheet { width: 44px; height: 40px; border-radius: 8px; flex: none; background-color: #0b1530; background-repeat: no-repeat; background-size: contain; background-position: center; box-shadow: 0 0 0 1px rgba(233, 185, 85, .5), 0 3px 8px rgba(0, 0, 0, .5); }
.soon-panel { display: grid; gap: 12px; padding: 26px; border-radius: var(--radius); color: var(--muted); }

/* ---------- Ranks & coins pages ---------- */
.sub-title { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 22px; }
/* The four ranks on one gold path, under "how levels grow". */
.rank-path { position: relative; list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 20px; }
.rank-path::before { content: ''; position: absolute; left: 29px; top: 34px; bottom: 34px; width: 2px; background: repeating-linear-gradient(180deg, rgba(246, 210, 126, .85) 0 6px, transparent 6px 12px); filter: drop-shadow(0 0 4px rgba(246, 199, 90, .6)); }
.rank-path li { position: relative; display: flex; align-items: center; gap: 18px; }
.rank-path .rank-icon { width: 60px; height: 68px; font-size: 23px; flex: none; }
.rank-path .rank-step { display: grid; gap: 3px; }
.rank-path b { font: 700 23px/1.1 var(--serif); color: #fff0c8; }
.rank-path small { font: 800 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8ff0dd; }
.rank-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.rank { position: relative; display: grid; gap: 10px; justify-items: center; text-align: center; padding: 32px 20px 28px; border-radius: var(--radius); }
.rank .levels { font: 800 12.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #8ff0dd; }
.rank h3 { font-size: 27px; }
.rank p { color: var(--muted); font-size: 15px; }
.rank-icon { display: grid; place-items: center; width: 78px; height: 88px; clip-path: polygon(50% 0, 100% 22%, 100% 76%, 50% 100%, 0 76%, 0 22%); font: 700 31px/1 var(--serif); color: #5a3610; text-shadow: 0 1px 0 #ffefc0; background: radial-gradient(circle at 50% 30%, #fff6cf, #f2c45c 45%, #c58a33 75%, #8f5d1f); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.way-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.way { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: start; padding: 24px 26px; border-radius: var(--radius); }
.way .medallion { grid-row: span 3; }
.way h3 { font-size: 21px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.way .amount { font: 700 22px/1 var(--serif); }
.way p { color: var(--muted); font-size: 15.5px; }
.way .how { font: 700 13.5px var(--sans); color: #8ff0dd; }
.tips { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.tips li { display: flex; gap: 14px; align-items: flex-start; }
.tips li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: .55em; transform: rotate(45deg); background: linear-gradient(135deg, #f6d27e, #a8742a); box-shadow: 0 0 0 3px rgba(243, 220, 165, .8); }

/* ---------- Forms & auth ---------- */
.auth-page { position: relative; isolation: isolate; display: grid; place-items: center; padding: clamp(36px, 6vw, 80px) 16px; min-height: calc(100vh - var(--head)); }
.auth-page::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/images/site/palace.webp') center/cover; }
.auth-page::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 35%, rgba(255, 196, 100, .1), transparent 50%), radial-gradient(ellipse at 50% 30%, rgba(6, 22, 18, .55), rgba(6, 22, 18, .93) 72%); }
.auth-card { width: min(100%, 510px); display: grid; gap: 18px; padding: clamp(26px, 4vw, 42px); }
.auth-card .plate-head { display: grid; justify-items: center; gap: 10px; text-align: center; }
.auth-card h1 { font-size: clamp(30px, 3.4vw, 42px); }
.auth-card .sub { color: var(--muted); text-align: center; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label, .field .label { font: 700 14px var(--sans); color: #efe3c1; }
.field .hint { font-size: 13px; color: var(--dim); }
.input { position: relative; display: flex; align-items: center; }
.input input, .input select, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid rgba(233, 185, 85, .45); background: rgba(5, 18, 15, .78); color: var(--text); font-size: 16px; outline: 0; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45); transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.55; }
.input input:focus, .input select:focus, .field textarea:focus { border-color: var(--gold-2); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .45), 0 0 0 3px rgba(233, 185, 85, .25), 0 0 20px -4px rgba(246, 199, 90, .4); }
.input input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: #e0795f; box-shadow: 0 0 0 3px rgba(210, 85, 60, .25); }
.input .toggle { position: absolute; right: 8px; width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); display: grid; place-items: center; }
.input .toggle:hover { color: var(--gold-light); background: rgba(255, 255, 255, .06); }
.input input.has-toggle { padding-right: 52px; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.strength i { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .1); transition: background .25s; }
.strength[data-score='1'] i:nth-child(-n+1) { background: #d2553c; }
.strength[data-score='2'] i:nth-child(-n+2) { background: #e09a3c; }
.strength[data-score='3'] i:nth-child(-n+3) { background: #c9c24a; }
.strength[data-score='4'] i { background: #36c2ad; box-shadow: 0 0 8px rgba(54, 194, 173, .6); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid rgba(233, 185, 85, .7); background: #061612; display: grid; place-items: center; cursor: pointer; }
.check input:checked { background: var(--gold-metal); border-color: var(--gold-light); }
.check input:checked::after { content: ''; width: 6px; height: 11px; border: solid #3d2809; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check a { color: var(--gold-2); }
.form-alert { display: none; padding: 12px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.form-alert.show { display: block; }
.form-alert.error { background: rgba(58, 25, 18, .9); border: 1px solid rgba(210, 85, 60, .6); color: #ffd9cd; }
.form-alert.success { background: rgba(15, 58, 51, .9); border: 1px solid rgba(54, 194, 173, .6); color: #d9fff5; }
.form-alert.info { background: rgba(18, 40, 92, .9); border: 1px solid rgba(127, 156, 255, .55); color: #e2e9ff; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 15px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 185, 85, .4), transparent); }
.guest-link { text-align: center; }
.state-panel { display: grid; justify-items: center; gap: 14px; text-align: center; }
.state-panel .medallion { width: 74px; height: 74px; }
.state-panel .medallion svg.i { width: 34px; height: 34px; }
.state-panel[hidden] { display: none; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(233, 185, 85, .2); border-top-color: var(--gold-2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.account-card { display: grid; gap: 16px; }
.account-card h2 { font-size: 26px; }
.profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.profile-head .avatar { width: 66px; height: 66px; font-size: 32px; }
.profile-head h2 { font-size: clamp(26px, 3vw, 36px); }
.verified { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 800 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.verified.yes { color: #062a24; background: linear-gradient(180deg, #9af5e3, #36c2ad); box-shadow: 0 0 14px -2px rgba(54, 194, 173, .6); }
.verified.no { color: #ffe1b0; background: #6b3d14; border: 1px solid #e09a3c; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px; background: rgba(5, 18, 15, .6); border: 1px solid rgba(233, 185, 85, .25); box-shadow: inset 0 2px 8px rgba(0, 0, 0, .35); }
.stat span { font: 800 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8ff0dd; }
.stat strong { font: 700 22px/1.2 var(--serif); color: #fff0c8; }
.sync-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 15px; }
.sync-dot { width: 10px; height: 10px; border-radius: 50%; background: #6b6a58; }
.sync-dot.ok { background: var(--turquoise); box-shadow: 0 0 10px var(--turquoise); }
.sync-dot.busy { background: var(--gold-2); animation: pulse 1s ease-in-out infinite; }
.sync-dot.error { background: var(--carnelian); }
@keyframes pulse { 50% { opacity: .35; } }
.danger { border-color: rgba(210, 85, 60, .4) !important; }
.danger h2 { color: #ffc9b8; }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Dialogs, cookie notice, toasts ---------- */
dialog.site-dialog { width: min(560px, calc(100vw - 28px)); max-height: 88vh; overflow: auto; padding: 0; border: 0; background: transparent; color: var(--text); }
dialog.site-dialog::backdrop { background: rgba(4, 16, 13, .8); backdrop-filter: blur(4px); }
dialog.site-dialog .plate { display: grid; gap: 16px; }
dialog.site-dialog h2 { font-size: 28px; }
.dialog-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(233, 185, 85, .45); background: #0a201b; color: var(--gold-light); display: grid; place-items: center; }
.consent-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; padding: 14px 0; border-top: 1px solid rgba(233, 185, 85, .16); }
.consent-row strong { font: 700 17px var(--serif); color: #fff0c8; }
.consent-row p { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.pill { padding: 4px 10px; border-radius: 999px; font: 800 12px var(--sans); letter-spacing: .06em; }
.pill.on { color: #062a24; background: var(--turquoise); }
.pill.off { color: #d7d1bc; background: #2c3a35; }
.cookie-notice { position: fixed; z-index: 60; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px)); display: grid; gap: 12px; padding: 18px 20px; border-radius: 16px; border: 1px solid transparent; background: linear-gradient(180deg, rgba(20, 58, 49, .98), rgba(11, 38, 33, .99)) padding-box, var(--gold-edge) border-box; box-shadow: 0 20px 40px rgba(0, 0, 0, .8); font-size: 14.5px; color: #e9e2c8; }
.cookie-notice .row-actions { gap: 10px; }
.cookie-notice[hidden] { display: none; }
.site-toasts { position: fixed; z-index: 70; right: 16px; bottom: 16px; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.site-toast { padding: 14px 18px; border-radius: 12px; border: 1px solid transparent; background: linear-gradient(180deg, rgba(20, 58, 49, .98), rgba(11, 38, 33, .99)) padding-box, var(--gold-edge) border-box; color: #f2e9cf; box-shadow: 0 14px 30px rgba(0, 0, 0, .7); animation: toast-in .3s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 404 ---------- */
.notfound { display: grid; place-items: center; gap: 18px; text-align: center; padding: 120px 20px; }
.notfound .glyph { font: 700 130px/1 var(--serif); }

/* ---------- Column helpers win over the default grids of the components ---------- */
.feature-grid.cols-2, .coins-strip.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid.cols-4, .steps.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Entrances on scroll (only with motion allowed, see site.js) ---------- */
.reveal-ready .rv:not(.is-in) { opacity: 0; }
.reveal-ready .rv.is-in { animation: rv-in .9s cubic-bezier(.2, .7, .3, 1) var(--rd, 0s) both; }
@keyframes rv-in { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@media print { .reveal-ready .rv { opacity: 1 !important; animation: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .main-menu a { padding: 10px 9px; font-size: 14.5px; }
  .header-actions .btn-ghost { display: none; }
}
@media (max-width: 1080px) {
  :root { --head: 70px; }
  .main-menu, .header-actions .lang-select, .header-actions [data-auth] { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .drawer { position: fixed; inset: calc(var(--head) + 12px) 0 0 0; z-index: 49; display: grid; align-content: start; gap: 18px; padding: 24px 20px 40px; overflow: auto; background: linear-gradient(180deg, rgba(40, 72, 62, .97), rgba(12, 32, 27, .99)), var(--stone) center/560px, #1c3c33; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .7, .3, 1), visibility 0s linear .35s; }
  .drawer.open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .7, .3, 1); }
  .drawer nav { display: grid; gap: 4px; }
  .drawer nav a { padding: 14px 12px; border-radius: 12px; color: #f5e9c9; font: 700 21px var(--serif); text-decoration: none; border-bottom: 1px solid rgba(233, 185, 85, .16); }
  .drawer nav a[aria-current='page'] { color: var(--gold-light); background: rgba(233, 185, 85, .12); }
  .drawer .drawer-actions { display: grid; gap: 12px; }
  .drawer .lang-select { justify-self: start; height: 46px; }
  body.drawer-open { overflow: hidden; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-stage { height: 380px; order: -1; }
  .hero { padding-top: 26px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-rows { grid-template-columns: 1fr; }
  .feature-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .coins-split, .game-layout, .account-grid, .split-wide, .split[data-flip] { grid-template-columns: 1fr; }
  .cols-4, .feature-grid.cols-4, .steps.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-poster { max-width: 420px; }
  .game-poster > .game-card { position: relative; top: auto; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .coins-art { max-width: 560px; justify-self: center; }
}
@media (max-width: 720px) {
  body.site { font-size: 15.5px; }
  .site-header { border-bottom-width: 10px; border-image-width: 0 0 10px 0; }
  .site-footer { border-top-width: 10px; border-image-width: 10px 0 0 0; }
  .page-hero { border-bottom-width: 10px; border-image-width: 0 0 10px 0; }
  .band-malachite::before, .band-malachite::after { height: 10px; background-size: 104px 10px; }
  .wrap { width: calc(100% - 32px); }
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 20px; }
  .header-actions .btn-gold { --h: 42px; padding: 0 16px; font-size: 15px; }
  .hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .hero-stage { height: 310px; }
  .hero-fan .card-mini { width: 150px; }
  .float-coin { --s: .7 !important; }
  .hero-actions .btn { width: 100%; }
  .offer { width: 100%; justify-content: center; padding: 12px 14px; gap: 10px; }
  .offer-coin { width: 46px; height: 46px; font-size: 22px; }
  .offer-item small { max-width: 110px; }
  .ticker { height: 52px; }
  .tk { font-size: 14px; }
  .tk b { font-size: 18px; }
  .feature-grid, .article-grid, .steps, .way-grid, .cols-2, .cols-4, .feature-grid.cols-2, .feature-grid.cols-4, .steps.cols-4 { grid-template-columns: 1fr; }
  .coins-strip.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paytable th, .paytable td { padding: 9px 6px; font-size: 13.5px; }
  .paytable td:first-child { gap: 8px; font-size: 14px; }
  .sym, .sym-sheet { width: 34px; height: 31px; }
  .coins-strip, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare th, .compare td { padding: 12px 10px; font-size: 14px; }
  .compare thead th { font-size: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .band-sand::before, .band-sand::after { height: 38px; background-size: auto 38px; }
  .prose { font-size: 16.5px; }
  .faq summary { font-size: 17px; padding: 16px 18px; }
  .faq summary::before { right: 29px; }
  .cookie-notice { left: 12px; bottom: 12px; }
  .bookmark-bar { font-size: 13px; padding: 8px 44px 8px 14px; justify-content: flex-start; text-align: left; }
  .section-head { margin-bottom: 40px; }
  .ornament { width: 116px; height: 25px; }
}
@media (max-width: 460px) {
  .game-grid, .rank-grid { grid-template-columns: 1fr; }
  .plate { padding: 16px 12px; }
  .compare th, .compare td { padding: 10px 6px; font-size: 12.5px; hyphens: auto; overflow-wrap: break-word; }
  .compare thead th { font-size: 14.5px; }
  .compare { table-layout: fixed; }
  .compare thead th:first-child, .compare tbody th { width: 32%; }
  .mark { gap: 6px; }
  .mark::before { width: 15px; height: 15px; background-size: 11px; }
  .game-row { grid-template-columns: 1fr; }
  .game-row .game-card { max-width: 260px; justify-self: center; }
  .game-card { aspect-ratio: .68; min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .offer-item strong { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .spark { display: none; }
}
