*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #0b0c12;
  --panel: rgba(25, 25, 37, .82);
  --ink: #f7f4ec;
  --muted: #aaa8b7;
  --line: rgba(255,255,255,.11);
  --coral: #ff735e;
  --gold: #ffd36a;
  --violet: #9d8cff;
  --mint: #6ee7c5;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 20; padding: 10px 14px; color: #181218; background: var(--gold); border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.aurora { position: fixed; z-index: -1; width: 46vw; height: 46vw; border-radius: 50%; opacity: .16; filter: blur(110px); pointer-events: none; }
.aurora-one { top: -24vw; left: -12vw; background: var(--coral); }
.aurora-two { right: -20vw; top: 18vh; background: var(--violet); }
.site-header, main, footer { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo > span { width: 38px; height: 38px; display: grid; place-items: center; color: #20151a; background: linear-gradient(140deg, var(--coral), var(--gold)); border-radius: 12px; font: 900 21px Georgia, serif; box-shadow: 0 10px 30px rgba(255,115,94,.2); }
.logo strong { font-size: 18px; letter-spacing: -.02em; }
.logo small { align-self: flex-end; margin: 0 0 8px -5px; color: #777484; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.header-actions { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 13px; }
.header-actions a { text-underline-offset: 4px; }
.online { display: flex; align-items: center; gap: 7px; }
.online i { width: 7px; height: 7px; background: var(--mint); border-radius: 50%; box-shadow: 0 0 0 5px rgba(110,231,197,.09); }
main { padding: 24px 0 82px; }
.hero { max-width: 820px; }
.eyebrow, .section-heading p { margin: 0; color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .2em; }
.hero h1 { margin: 14px 0 18px; font-size: clamp(58px, 7.2vw, 92px); line-height: .91; letter-spacing: -.075em; }
.hero h1 br { display: none; }
.hero h1 span { color: transparent; background: linear-gradient(105deg, var(--coral), var(--gold) 46%, var(--violet)); background-clip: text; -webkit-background-clip: text; }
.hero > p:not(.eyebrow) { max-width: 630px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-stats span { padding: 9px 14px; color: #c8c5d0; background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }
.hero-stats strong { margin-right: 4px; color: var(--ink); font-size: 14px; }
.games { margin-top: 6px; scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 7px 0 0; font-size: 30px; letter-spacing: -.04em; }
.section-heading > span { color: #777484; font-size: 12px; }
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.game-card { min-width: 0; overflow: hidden; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 28px; text-decoration: none; box-shadow: 0 28px 80px rgba(0,0,0,.22); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.game-card:hover { transform: translateY(-7px); border-color: rgba(255,255,255,.24); box-shadow: 0 34px 90px rgba(0,0,0,.34); }
.game-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.card-visual { height: 190px; position: relative; overflow: hidden; }
.guess-visual { background: radial-gradient(circle at 50% 45%, rgba(255,211,106,.24), transparent 26%), linear-gradient(145deg, #3f2633, #201a2a); }
.guess-visual::before, .undercover-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent); }
.question-mark { position: absolute; left: 50%; top: 48%; translate: -50% -50%; color: var(--gold); font: 900 128px/1 Georgia, serif; text-shadow: 0 18px 50px rgba(255,211,106,.2); transform: rotate(7deg); }
.answer-chip { position: absolute; padding: 7px 11px; background: rgba(11,12,18,.68); border: 1px solid var(--line); border-radius: 9px; font: 800 10px ui-monospace, monospace; letter-spacing: .13em; backdrop-filter: blur(8px); }
.answer-chip.yes { left: 13%; top: 25%; color: var(--mint); transform: rotate(-8deg); }
.answer-chip.no { right: 13%; top: 31%; color: var(--coral); transform: rotate(8deg); }
.answer-chip.maybe { right: 23%; bottom: 18%; color: var(--violet); transform: rotate(-4deg); }
.undercover-visual { background: radial-gradient(circle at 50% 70%, rgba(157,140,255,.25), transparent 30%), linear-gradient(145deg, #252446, #1a1b2c); }
.drawguess-visual { background:#fffaf0; }
.drawguess-visual::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(23,33,51,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(23,33,51,.055) 1px,transparent 1px); background-size:24px 24px; }
.draw-sun { position:absolute; width:46px; height:46px; left:19%; top:19%; border:8px solid #ffd45a; border-radius:50%; transform:rotate(-8deg); }
.draw-mountain { position:absolute; left:22%; bottom:21%; width:150px; height:82px; background:linear-gradient(145deg,#62d1aa,#3aa889); clip-path:polygon(0 100%,37% 25%,55% 62%,72% 38%,100% 100%); }
.draw-pencil { position:absolute; right:15%; top:22%; color:#ff5f57; font:900 70px/1 Georgia,serif; transform:rotate(-20deg); filter:drop-shadow(0 9px 8px rgba(255,95,87,.2)); }
.seat { position: absolute; width: 74px; height: 74px; display: grid; place-items: center; z-index: 1; color: #d8d3e8; background: #34334f; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; font-size: 24px; font-weight: 900; box-shadow: 0 18px 35px rgba(0,0,0,.3); }
.seat-one { left: 14%; top: 43%; transform: rotate(-9deg); }
.seat-two { left: 50%; top: 20%; translate: -50% 0; color: #211923; background: linear-gradient(145deg, var(--coral), #ff9b68); transform: rotate(4deg); }
.seat-three { right: 14%; top: 43%; transform: rotate(9deg); }
.secret-line { position: absolute; left: 23%; right: 23%; bottom: 30px; height: 4px; background: linear-gradient(90deg, transparent, var(--violet), transparent); border-radius: 5px; opacity: .5; }
.flappy-visual { background: linear-gradient(180deg, #4ec0ca 0%, #71c5cf 60%, #ded895 100%); overflow: hidden; }
.flappy-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to bottom, black, transparent); }
.bird-pipe { position: absolute; right: 22%; top: 0; bottom: 40%; width: 56px; background: linear-gradient(90deg, #5ba83a, #74c043 50%, #5ba83a); border: 3px solid #4a8a2a; border-radius: 6px; box-shadow: 0 0 0 3px #2d5a1a inset; }
.bird-pipe::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: -10px; height: 22px; background: linear-gradient(90deg, #5ba83a, #74c043 50%, #5ba83a); border: 3px solid #4a8a2a; border-radius: 8px; }
.bird-flappy { position: absolute; left: 28%; top: 52%; translate: -50% -50%; font-size: 52px; filter: drop-shadow(0 6px 8px rgba(0,0,0,.3)); transform: rotate(-6deg); animation: bird-bob 1.6s ease-in-out infinite; }
@keyframes bird-bob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-6px); } }

.raiden-visual { background: radial-gradient(ellipse at 50% 100%, #1a2550 0%, #050816 70%); overflow: hidden; }
.raiden-visual::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.6) .6px, transparent .6px); background-size: 22px 22px; opacity: .35; animation: raid-stars 6s linear infinite; }
@keyframes raid-stars { from { background-position: 0 0; } to { background-position: 0 220px; } }
.raid-ship { position: absolute; left: 28%; bottom: 16%; font-size: 38px; filter: drop-shadow(0 0 10px rgba(93,127,255,.7)); animation: raid-ship 1.4s ease-in-out infinite; }
@keyframes raid-ship { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.raid-bullet { position: absolute; left: 28%; bottom: 32%; color: #7fd0ff; font-size: 18px; text-shadow: 0 0 8px #4d6cff; animation: raid-bul .9s linear infinite; }
@keyframes raid-bul { 0% { opacity: 1; transform: translateY(0); } 80% { opacity: 0; } 100% { opacity: 0; transform: translateY(-40px); } }
.raid-enemy { position: absolute; right: 20%; top: 18%; font-size: 34px; filter: drop-shadow(0 0 6px rgba(168,85,247,.6)); animation: raid-en 2.4s ease-in-out infinite; }
@keyframes raid-en { 0%, 100% { transform: translate(0,0) rotate(-6deg); } 50% { transform: translate(-10px,8px) rotate(6deg); } }

.soldier-visual { background: linear-gradient(180deg, #6ec6ff, #c9efff); }
.soldier-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.soldier-badge { position: absolute; left: 12%; bottom: 12%; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: linear-gradient(180deg, #fbbf24, #f59e0b); border: 3px solid #b45309; border-radius: 12px; font: 900 17px/1 system-ui, sans-serif; box-shadow: 0 8px 18px rgba(30,20,0,.22); transform: rotate(-6deg); }
.soldier-badge.multi { left: auto; right: 10%; bottom: 18%; color: #fff; background: linear-gradient(180deg, #a855f7, #7e22ce); border-color: #581c87; transform: rotate(7deg); }

.card-copy { padding: 22px 28px 24px; }
.card-topline { display: flex; justify-content: space-between; align-items: center; color: #777484; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.live-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--mint); }
.live-badge::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.lock-badge { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); }
.lock-badge::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.card-copy h3 { margin: 11px 0 8px; font-size: 31px; letter-spacing: -.04em; }
.card-copy > p { min-height: 52px; margin: 0; color: var(--muted); line-height: 1.7; }
.card-meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: #888594; font-size: 11px; }
.card-meta span { padding: 5px 8px; background: rgba(255,255,255,.05); border-radius: 7px; }
.card-meta strong { margin-left: auto; color: var(--ink); font-size: 13px; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 38px; color: #686674; border-top: 1px solid var(--line); font-size: 12px; }
footer span { color: #9a97a6; font-weight: 800; }
footer p { margin: 0; }
@media (max-width: 1040px) {
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-header, main, footer { width: min(100% - 28px, 560px); }
  .site-header { height: 70px; }
  .header-actions { gap: 12px; }
  .online { display: none; }
  main { padding-top: 40px; }
  .hero h1 { font-size: clamp(54px, 18vw, 78px); }
  .hero h1 br { display: block; }
  .games { margin-top: 54px; }
  .game-grid { grid-template-columns: 1fr; }
  .card-visual { height: 200px; }
  .section-heading > span { display: none; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 360px) {
  .logo small { display: none; }
  .hero h1 { font-size: 51px; }
  .hero-stats { gap: 7px; }
  .card-copy { padding-inline: 21px; }
  .seat { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .game-card { transition: none; }
}

/* Wealth lab: browser-only simulation. */
.wealth-visual{background:#e8efda;position:relative;overflow:hidden}.wealth-orb{position:absolute;display:grid;place-items:center;border-radius:50%;box-shadow:inset -8px -10px 18px #203b3520,0 10px 25px #203b3514;font-weight:700}.orb-one{width:100px;height:100px;left:22%;top:40px;background:#80b59a;color:#235a44;font-size:42px}.orb-two{width:145px;height:145px;left:45%;top:10px;background:#d7ee91;color:#6c8638;font-size:65px}.orb-three{width:65px;height:65px;left:12%;top:115px;background:#e7be95;color:#986534;font-size:28px}.wealth-tag{position:absolute;bottom:14px;right:18px;color:#365d47;font-size:12px;letter-spacing:2px}.wealth-card:hover .wealth-orb{transform:translateY(-5px)}
