/* One More Chance — the game's website (27.10.2026, second design). Built by Tools/site_home.py.
   Modern page, the game's own art inside it: real phone covers and screenshots in phone frames, the board tray and
   cubes, medals, icons. Premium themes are shown closed (grey, a lock), as in the game. */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 1000; font-display: swap; src: url(fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 1000; font-display: swap; src: url(fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 1000; font-display: swap; src: url(fonts/nunito-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 1000; font-display: swap; src: url(fonts/nunito-cyrillic-ext.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500 1000; font-display: swap; src: url(fonts/nunito-vietnamese.woff2) format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

:root {
  color-scheme: light;
  --ink: #08170b; --forest: #0c2911; --forest-2: #123a18; --forest-3: #1b5424; --leaf: #3dbb28; --lime: #a6e43a;
  --gold: #ffc531; --gold-2: #ff9d1a; --gold-ink: #4a2a00; --coral: #ff5a3c;
  --cream: #fff9ee; --sand: #f6ecd6; --paper: #fffdf8;
  --dark: #1c2817; --mute: #5d6b54; --light: #f3fbef; --lmute: rgba(243, 251, 239, .74);
  --line: rgba(28, 40, 23, .1);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px; --gutter: 24px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --sh-1: 0 1px 2px rgba(20, 35, 12, .06), 0 10px 28px rgba(20, 35, 12, .09);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .12), 0 28px 60px -12px rgba(0, 0, 0, .35);
}
:lang(ja) { --font: "Nunito", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif; }
:lang(ko) { --font: "Nunito", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif; }
:lang(zh-Hans) { --font: "Nunito", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(zh-Hant) { --font: "Nunito", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); font-weight: 600; font-size: 17px; line-height: 1.6; color: var(--dark);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:lang(ja) h1, :lang(ja) h2, :lang(ko) h1, :lang(ko) h2, :lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hant) h1, :lang(zh-Hant) h2 { letter-spacing: 0; line-height: 1.25; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

/* ———— Type ———— */
.h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.lead { font-size: clamp(1.05rem, .95rem + .45vw, 1.28rem); line-height: 1.55; color: var(--mute); font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase;
  color: #2f8a17; margin-bottom: 14px; }
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
:lang(ja) .kicker, :lang(ko) .kicker, :lang(zh-Hans) .kicker, :lang(zh-Hant) .kicker { letter-spacing: .04em; }
.head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.head h2 { margin-bottom: 16px; }
.head.light h2 { color: #fff; }
.head.light .lead { color: var(--lmute); }
.head.light .kicker { color: var(--lime); }

/* ———— Buttons ———— */
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55em; height: var(--h); padding: 0 26px;
  border: 0; border-radius: 999px; font-weight: 900; font-size: 1.05rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 1.15rem; }
.btn-gold { color: var(--gold-ink); background: linear-gradient(180deg, #ffe58a 0%, #ffc531 42%, #ff9d1a 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 rgba(160, 75, 0, .35), 0 10px 26px -6px rgba(255, 140, 20, .55); }
.btn-gold:hover { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .65), inset 0 -3px 0 rgba(160, 75, 0, .35), 0 16px 34px -6px rgba(255, 140, 20, .7); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-dark { color: #fff; background: var(--forest-2); box-shadow: 0 10px 24px -8px rgba(12, 41, 17, .55); }
.btn-dark:hover { background: var(--forest-3); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn.shine { position: relative; overflow: hidden; isolation: isolate; }
.btn.shine::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 4.5s 2s var(--ease) infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* The stores (official badges come with the release; until then «coming soon» in the same shape). */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 14px; border-radius: 14px; background: #050806; color: #fff;
  text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), 0 8px 20px -8px rgba(0, 0, 0, .5); line-height: 1.1; text-align: left; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .7rem; font-weight: 700; opacity: .78; letter-spacing: .01em; }
.store b { display: block; font-size: 1.12rem; font-weight: 900; letter-spacing: -.01em; }

/* ———— Phone frame: the game's real screens and covers inside ———— */
.phone { --w: 280px; position: relative; flex: none; width: var(--w); padding: calc(var(--w) * .034); border-radius: calc(var(--w) * .172);
  background: linear-gradient(150deg, #474c55 0%, #17191d 14%, #08090b 48%, #1a1c21 84%, #444952 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24), inset 0 0 0 calc(var(--w) * .012) #000, 0 42px 80px -24px rgba(0, 0, 0, .65), 0 18px 34px -14px rgba(0, 0, 0, .5); }
.phone::before { content: ""; position: absolute; right: calc(var(--w) * -.011); top: 27%; width: calc(var(--w) * .013); height: 13%; border-radius: 0 4px 4px 0; background: #2b2e35; }
.phone::after { content: ""; position: absolute; left: calc(var(--w) * -.011); top: 22%; width: calc(var(--w) * .013); height: 7%; border-radius: 4px 0 0 4px; background: #2b2e35; }
.scr { position: relative; aspect-ratio: 1206 / 2622; border-radius: calc(var(--w) * .138); overflow: hidden; background: #0a0d0a; isolation: isolate; }
.scr > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scr::before { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * .026); left: 50%; width: calc(var(--w) * .3); height: calc(var(--w) * .086);
  transform: translateX(-50%); border-radius: 99px; background: #000; }
.scr::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 26%, transparent 42%); }
.scr .layer { opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); transform: scale(1.03); }
.scr .layer.on { opacity: 1; transform: none; }

/* Premium themes, closed as in the game: grey, a lock, the word Premium. */
.locked img:not(.lk) { filter: grayscale(1) brightness(.8) contrast(.92); }
.lock { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: rgba(10, 14, 10, .78); color: #ffe27a; font-size: .8rem; font-weight: 900; letter-spacing: .02em; white-space: nowrap;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 122, .4), 0 6px 14px rgba(0, 0, 0, .35); }
.lock img { position: static; width: 18px; height: 18px; }

/* ———— Header ———— */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s; }
.nav.solid { background: rgba(8, 26, 11, .82); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .5);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 900; font-size: 1.12rem; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.links { display: flex; gap: 4px; margin-left: auto; }
.links a { color: rgba(255, 255, 255, .86); text-decoration: none; font-weight: 800; font-size: .98rem; padding: 8px 13px; border-radius: 999px; transition: background-color .2s, color .2s; white-space: nowrap; }
.links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.nav-end .btn { --h: 42px; padding: 0 18px; font-size: .95rem; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  color: #fff; font-weight: 800; font-size: .95rem; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 18px; height: 18px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; width: 230px; border-radius: 18px;
  background: #fff; box-shadow: var(--sh-2); display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang li a { display: block; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--dark); font-weight: 800; font-size: .92rem; }
.lang li a:hover { background: var(--sand); }
.lang li a[aria-current] { background: #e7f6dc; color: #1f6d10; }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  cursor: pointer; position: relative; flex: none; }
.burger span, .burger span::before, .burger span::after { position: absolute; width: 18px; height: 2px; border-radius: 2px; background: #fff; content: "";
  transition: transform .3s var(--ease), background-color .2s; }
.burger span { left: 13px; top: 21px; }
.burger span::before { left: 0; top: -6px; }
.burger span::after { left: 0; top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ———— Hero ———— */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; align-items: center; padding: 104px 0 150px; color: #fff; overflow: hidden; isolation: isolate;
  background: var(--forest); }
.hero > .wrap { position: relative; z-index: 2; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-img { position: absolute; inset: -4%; background: center / cover no-repeat; filter: brightness(.52) saturate(1.2); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background:
  radial-gradient(55% 60% at 74% 48%, rgba(255, 205, 80, .28), transparent 70%),
  linear-gradient(90deg, rgba(6, 22, 8, .9) 0%, rgba(6, 22, 8, .62) 40%, rgba(6, 22, 8, .1) 72%, rgba(6, 22, 8, .3) 100%),
  linear-gradient(180deg, rgba(6, 22, 8, .6) 0%, transparent 24%, transparent 72%, rgba(6, 22, 8, .7) 100%); }
.rays { position: absolute; left: 30%; top: -30%; width: 90%; height: 130%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: .6;
  background: repeating-conic-gradient(from 160deg at 30% 0%, rgba(255, 236, 160, 0) 0deg 6deg, rgba(255, 236, 160, .13) 8deg 11deg, rgba(255, 236, 160, 0) 14deg 21deg);
  -webkit-mask-image: radial-gradient(75% 75% at 30% 0%, #000 15%, transparent 72%); mask-image: radial-gradient(75% 75% at 30% 0%, #000 15%, transparent 72%);
  transform-origin: 30% 0; animation: rays 14s ease-in-out infinite alternate; }
@keyframes rays { to { transform: rotate(6deg); opacity: .85; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 30px; align-items: center; }
.hero-copy { max-width: 600px; }
.hero-logo { width: min(480px, 100%); height: auto; margin: 0 0 20px -8px; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .45)); }
.hero h1 { font-size: clamp(2.1rem, 1.25rem + 2.7vw, 3.75rem); line-height: 1.04; text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero-lead { margin-top: 18px; font-size: clamp(1.06rem, 1rem + .35vw, 1.26rem); line-height: 1.55; color: rgba(255, 255, 255, .86); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 800; color: rgba(255, 255, 255, .84); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--lime); }
.hero-art { position: relative; height: 720px; }
.stack { position: absolute; inset: 96px 0 0; transition: transform .8s var(--ease); }
.stack .phone { position: absolute; top: 50%; left: 50%; }
.ph-cw, .ph-c { --w: clamp(220px, 20.5vw, 286px); }
.ph-cw { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); animation: float 7s ease-in-out infinite; }
.stack .ph-cw .phone { position: relative; top: auto; left: auto; z-index: 1; }
.ph-cw .parrot { width: calc(var(--w) * .5); left: calc(var(--w) * (.21 - .694 * .5)); top: calc(var(--w) * -.404 * .5 * 2.183 + 3px); transform-origin: 69.4% 40.4%; }
.ph-cw .parrot.back { z-index: 0; }
.ph-cw .parrot.front { z-index: 2; clip-path: inset(0 0 55.5% 0); filter: none; }
.ph-l, .ph-r { --w: clamp(176px, 16.5vw, 232px); z-index: 1; filter: brightness(.82) saturate(.95); }
.ph-l { transform: translate(-112%, -45%) rotate(-9deg); animation: floatL 8s ease-in-out infinite; }
.ph-r { transform: translate(12%, -45%) rotate(9deg); animation: floatR 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 12px)); } }
@keyframes floatL { 50% { transform: translate(-112%, calc(-45% + 9px)) rotate(-8deg); } }
@keyframes floatR { 50% { transform: translate(12%, calc(-45% - 9px)) rotate(8deg); } }
.parrot { position: absolute; z-index: 6; pointer-events: none; height: auto; max-width: none; transform-origin: 65% 40%; animation: sway 4.6s ease-in-out infinite;
  filter: drop-shadow(4px 8px 8px rgba(0, 0, 0, .4)); }
@keyframes sway { 0%, 100% { transform: rotate(-10.6deg); } 50% { transform: rotate(-7.4deg); } }
.cue { position: absolute; left: 50%; bottom: 92px; z-index: 3; width: 30px; height: 48px; margin-left: -15px; border-radius: 99px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55); }
.cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
.curve { position: absolute; left: 0; bottom: -1px; z-index: 3; display: block; width: 100%; height: 70px; color: var(--cream); }

/* Cubes that float in the air (the game's own tiles), with depth. */
.cubes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.cube { position: absolute; width: var(--s, 56px); aspect-ratio: 1; will-change: transform; }
.cube i { display: block; width: 100%; height: 100%; background: center / contain no-repeat; transform: rotate(var(--r, 0deg));
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .35)); animation: bob var(--t, 7s) ease-in-out var(--dl, 0s) infinite alternate; }
.cube.far i { filter: blur(2px) brightness(.8); opacity: .75; }
.cube.near i { filter: blur(4px) brightness(.95); }
@keyframes bob { from { transform: translateY(0) rotate(var(--r, 0deg)); } to { transform: translateY(-20px) rotate(calc(var(--r, 0deg) + 14deg)); } }

/* ———— Sections ———— */
.sec { position: relative; padding: clamp(84px, 9vw, 130px) 0; }
.cream { background: var(--cream); }
.sand { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 14%, var(--sand) 86%, var(--cream) 100%); }
.forest { color: #fff; background: radial-gradient(90% 60% at 50% 0%, #1f5f28 0%, transparent 65%), linear-gradient(180deg, #0f3315 0%, #0a2410 100%); overflow: hidden; isolation: isolate; }
.forest > .wrap { position: relative; z-index: 2; }
.sky { background: linear-gradient(180deg, var(--cream) 0%, #d4f1fc 22%, #e6f7ff 70%, var(--cream) 100%); overflow: hidden; }

/* Numbers under the hero. */
.stats { position: relative; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); margin: calc(-1 * clamp(84px, 9vw, 130px) - 74px) auto 90px;
  background: #fff; border-radius: 28px; box-shadow: var(--sh-1), 0 30px 60px -30px rgba(20, 40, 10, .35); }
.stats > div { padding: 28px 16px 24px; text-align: center; }
.stats > div + div { box-shadow: inset 1px 0 0 var(--line); }
.stats b { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.3rem); font-weight: 1000; line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffb31a 10%, #e9700b 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { display: block; margin-top: 8px; font-weight: 800; color: var(--mute); font-size: .98rem; line-height: 1.3; }

/* How to play: three steps with little live pictures. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { position: relative; background: #fff; border-radius: 28px; padding: 16px 16px 28px; box-shadow: var(--sh-1);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .9s var(--ease) var(--d, 0s); }
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-1), 0 30px 50px -24px rgba(20, 40, 10, .35); }
.vis { position: relative; height: 230px; border-radius: 20px; overflow: hidden; margin-bottom: 22px;
  background: radial-gradient(120% 90% at 50% 0%, #f5fbea 0%, #e2f2cc 60%, #d2eab6 100%); display: grid; place-items: center; }
.step .num { position: absolute; top: 28px; left: 28px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 1000; color: var(--gold-ink); background: linear-gradient(180deg, #ffe58a, #ffb21f); box-shadow: 0 4px 10px rgba(200, 110, 0, .35); }
.step h3 { font-size: 1.4rem; margin: 0 10px 10px; }
.step p { margin: 0 10px; color: var(--mute); }
.all-rules { margin-top: 30px; background: #fff; border-radius: 24px; box-shadow: var(--sh-1); overflow: hidden; }
.all-rules summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 24px;
  font-weight: 900; font-size: 1.1rem; color: #22711a; }
.all-rules summary::-webkit-details-marker { display: none; }
.chev { width: 28px; height: 28px; border-radius: 50%; background: #e8f6dd; position: relative; transition: transform .3s var(--ease); flex: none; }
.chev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -6px 0 0 -4px; border: solid #22711a; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
details[open] > summary .chev { transform: rotate(180deg); }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; padding: 0 36px 26px; }
.rule { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.rule .n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 1000; font-size: .9rem; background: #e8f6dd; color: #22711a; }
.rule h4 { font-size: 1.08rem; margin: 5px 0 6px; }
.rule p { color: var(--mute); font-size: .98rem; }
.rule p + p { margin-top: 4px; }

/* Mini scenes in the steps, drawn with the game's cubes (game.js). */
.mcards { display: flex; gap: 18px; align-items: center; }
.mcard { position: relative; width: 112px; height: 112px; border-radius: 20px; background: #fffaf0; display: grid; place-items: center;
  box-shadow: inset 0 0 0 3px #e3c879, 0 8px 18px -8px rgba(80, 60, 0, .4); transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s, opacity .5s; }
.mcard.on { transform: translateY(-10px) scale(1.06); box-shadow: inset 0 0 0 3px #ffc531, 0 0 0 5px rgba(255, 197, 49, .45), 0 18px 26px -10px rgba(120, 80, 0, .5); }
.mcard.no { filter: grayscale(1); opacity: .6; }
.shape { position: relative; }
.shape .tile { position: absolute; }
.ban { position: absolute; top: -9px; right: -9px; width: 30px; height: 30px; border-radius: 50%; background: #e2372f; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.ban::after { content: ""; position: absolute; left: 7px; right: 7px; top: 13px; height: 4px; border-radius: 2px; background: #fff; }
.vis-chance .arrow { width: 54px; height: 54px; display: grid; place-items: center; }
.vis-chance .arrow img { width: 46px; height: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.vis-chance .mcard.new { opacity: 0; transform: scale(.6); }
.vis-chance.go .mcard.new { animation: popin .7s 1.1s var(--ease) both; }
.vis-chance.go .mcard.no { animation: nudge .5s .2s ease both; }
.vis-chance.go .arrow img { animation: clover 1.1s .5s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: translateY(-6px) scale(1.04); box-shadow: inset 0 0 0 3px #ffc531, 0 0 0 5px rgba(255, 197, 49, .45), 0 18px 26px -10px rgba(120, 80, 0, .5); } }
@keyframes nudge { 30% { transform: translateX(-6px); } 60% { transform: translateX(5px); } }
@keyframes clover { 0% { opacity: 0; transform: scale(.3) rotate(-90deg); } 55% { opacity: 1; transform: scale(1.2) rotate(10deg); } 100% { opacity: 1; transform: none; } }
.vis-win { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.vis-win .board { --size: 172px; }
.vis-win .crown { position: absolute; top: 14px; right: 18px; width: 58px; height: 58px; animation: crownbob 3s ease-in-out infinite; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.vis-win .chip { height: 32px; font-size: .88rem; }
@keyframes crownbob { 50% { transform: translateY(-6px) rotate(6deg); } }

/* Chips (the game's counters). */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; font-weight: 900; font-size: .95rem;
  color: #fff; background: rgba(9, 28, 12, .8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); white-space: nowrap; }
.chip img { width: 20px; height: 20px; }
.chip.warn b { color: #ff8a7a; }

/* ———— The board, as the game draws it (game.js): the tray, wells and cubes ———— */
.board { --cell: calc(var(--size) / 10.6); position: relative; width: var(--size); height: var(--size); user-select: none; -webkit-user-select: none; touch-action: none; }
.board .tray { position: absolute; pointer-events: none; max-width: none; }
.board .grid { position: absolute; left: calc(var(--cell) * .8); top: calc(var(--cell) * .8); width: calc(var(--cell) * 9); height: calc(var(--cell) * 9);
  display: grid; grid-template-columns: repeat(9, 1fr); grid-template-rows: repeat(9, 1fr); }
.board .well { margin: 4%; border-radius: 18%; background: rgba(62, 84, 10, .22); box-shadow: inset 0 2px 3px rgba(40, 55, 6, .45), inset 0 -1px 0 rgba(255, 255, 255, .25); }
.board .well.dot { position: relative; }
.board .well.dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 24%; height: 24%; margin: -12% 0 0 -12%; border-radius: 50%; background: #3a4a0d; opacity: .7; }
.board .tiles, .board .ghost { position: absolute; left: calc(var(--cell) * .8); top: calc(var(--cell) * .8); width: calc(var(--cell) * 9); height: calc(var(--cell) * 9); pointer-events: none; }
.tile { position: absolute; width: calc(100% / 9); height: calc(100% / 9); background: center / 100% 100% no-repeat; }
.tile.drop { animation: drop .5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes drop { 0% { transform: translateY(-140%) scale(1.15); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
.ghost .tile { opacity: .94; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .35)); }
.ghost.bad .tile { filter: grayscale(1) brightness(1.15) opacity(.55); }
.ghost.bad .tile::after { content: ""; position: absolute; inset: 8%; border: 2px dashed rgba(40, 40, 40, .75); border-radius: 18%;
  background: repeating-linear-gradient(45deg, rgba(60, 60, 60, .25) 0 4px, transparent 4px 9px); }
.board.shake { animation: shake .42s ease; }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.slot { position: absolute; width: calc(100% / 9); height: calc(100% / 9); border-radius: 18%; box-shadow: inset 0 0 0 3px rgba(255, 228, 120, .95), 0 0 18px rgba(255, 220, 90, .85);
  background: rgba(255, 236, 140, .28); animation: glow 1.6s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: inset 0 0 0 3px rgba(255, 238, 150, 1), 0 0 30px rgba(255, 220, 90, 1); } }

/* ———— Play right here ———— */
.game { position: relative; display: grid; grid-template-columns: auto minmax(0, 380px); gap: 44px; align-items: center; justify-content: center;
  max-width: 1060px; margin: 0 auto; padding: 40px; border-radius: 36px; background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 90px -40px rgba(0, 0, 0, .6); }
.game-board { position: relative; }
.game { --size: min(520px, 44vw); }
.game-board { padding-top: calc(var(--size) * .17); }
.board .parrot { transform-origin: 69.4% 40.4%; }
.game-side { display: flex; flex-direction: column; gap: 18px; min-height: 480px; justify-content: center; }
.hud { display: flex; flex-wrap: wrap; gap: 8px; }
.hud .chip { background: rgba(0, 0, 0, .3); }
.tip { min-height: 3.2em; margin-bottom: 8px; color: rgba(255, 255, 255, .92); font-size: 1.05rem; line-height: 1.5; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; justify-content: center; }
.cards.one { grid-template-columns: minmax(0, 200px); }
.pcard { position: relative; aspect-ratio: 1; border: 0; border-radius: 22px; background: #fffaf0; cursor: pointer; display: grid; place-items: center; padding: 12px;
  box-shadow: inset 0 0 0 3px #e3c879, 0 10px 22px -10px rgba(0, 0, 0, .5); transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s; }
.pcard:hover { transform: translateY(-3px); }
.pcard.on { transform: translateY(-6px) scale(1.03); box-shadow: inset 0 0 0 3px #ffc531, 0 0 0 5px rgba(255, 197, 49, .45), 0 18px 30px -12px rgba(0, 0, 0, .55); }
.pcard.no { cursor: default; filter: grayscale(.95); opacity: .55; }
.pcard.no::after { content: ""; position: absolute; right: 10px; top: 10px; width: 26px; height: 26px; border-radius: 50%; background: #e2372f; }
.pcard.no::before { content: ""; position: absolute; right: 16px; top: 21px; width: 14px; height: 4px; background: #fff; z-index: 1; border-radius: 2px; }
.pcard .mini { position: relative; }
.pcard .mini .tile { position: absolute; }
.tools { display: flex; align-items: center; gap: 10px; }
.tool { width: 50px; height: 50px; flex: none; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: #fff;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .26); transition: background-color .2s, transform .2s var(--ease); }
.tool:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.tool svg { width: 24px; height: 24px; }
.tools .btn { flex: 1; margin-left: 4px; padding: 0 18px; }
.chance-box { text-align: center; }
.result { text-align: center; }
.r-title { font-size: 1.8rem; font-weight: 1000; color: #fff; }
.r-num { margin: 10px 0 4px; }
.r-num span { display: block; color: var(--lmute); font-weight: 800; }
.r-num b { display: block; font-size: 5rem; line-height: 1; font-weight: 1000; background: linear-gradient(180deg, #ffe58a, #ffb21f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.r-why { color: var(--lmute); min-height: 1.4em; }
.r-after { margin: 14px 0 18px; color: rgba(255, 255, 255, .88); }
.r-acts { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ———— Play together: a phone that stays while the story scrolls ———— */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; }
.story-step { min-height: 72vh; display: flex; align-items: center; }
.story-step:first-child { min-height: 58vh; align-items: flex-start; padding-top: 8vh; }
.story-step:last-child { min-height: 62vh; }
.story-card { max-width: 480px; padding: 34px; border-radius: 28px; background: #fff; box-shadow: var(--sh-1); opacity: .5; transform: scale(.97);
  transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .5s; }
.story-step.on .story-card { opacity: 1; transform: none; box-shadow: var(--sh-1), 0 30px 60px -30px rgba(20, 40, 10, .4); }
.ico { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px; color: var(--gold-ink);
  background: linear-gradient(180deg, #ffe58a, #ffb21f); box-shadow: 0 8px 18px -6px rgba(220, 120, 0, .55); }
.ico svg { width: 30px; height: 30px; }
.story-card h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); margin-bottom: 12px; }
.story-card p { color: var(--mute); font-size: 1.08rem; }
.story-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--mute); font-size: 1.04rem; }
.story-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.story-card li svg { width: 20px; height: 20px; margin-top: 4px; color: #2f9a1d; }
.story-card .phone { display: none; }
.story-stage { position: sticky; top: max(80px, calc(50vh - 330px)); height: min(660px, calc(100vh - 100px)); display: grid; place-items: center; }
.story-stage::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 49, .5), rgba(61, 187, 40, .18) 50%, transparent 70%); filter: blur(12px); }
.story-stage .phone { --w: min(300px, calc((min(660px, 100vh - 100px) - 30px) * .45)); }

/* ———— Daily challenge ———— */
.daily { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: center; }
.daily-art { position: relative; display: grid; place-items: center; padding: 20px 0; }
.daily-art .phone { --w: min(300px, 70vw); transform: rotate(-4deg); }
.badge { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 18px; background: #fff;
  box-shadow: 0 18px 34px -14px rgba(10, 60, 90, .45); font-weight: 1000; font-size: 1.3rem; color: var(--dark); animation: badge 5s ease-in-out infinite alternate; }
.badge img { width: 30px; height: 30px; }
.badge.b1 { left: max(0px, calc(50% - 230px)); top: 16%; }
.badge.b2 { right: max(0px, calc(50% - 230px)); bottom: 18%; animation-delay: -2.5s; }
@keyframes badge { to { transform: translateY(-14px); } }
.daily-copy h2 { margin-bottom: 16px; }
.share-wrap { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.share { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; width: 230px; flex: none; padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--sh-1); }
.share i { aspect-ratio: 1; border-radius: 4px; }
.in .share i { animation: popcell .45s var(--ease) both; animation-delay: calc(var(--i) * 12ms); }
@keyframes popcell { from { transform: scale(0); } to { transform: none; } }

/* ———— Themes: a carousel of phones with the covers ———— */
.night { color: #fff; background: #07140a; overflow: hidden; isolation: isolate; }
.night > .wrap { position: relative; z-index: 2; }
.th-bg { position: absolute; inset: 0; z-index: 0; }
.th-bg div { position: absolute; inset: -40px; background: center / cover no-repeat; opacity: 0; transition: opacity 1.2s var(--ease); filter: blur(20px) brightness(.42) saturate(1.2); }
.th-bg div.lock-bg { filter: blur(20px) brightness(.3) grayscale(1); }
.th-bg div.on { opacity: 1; }
.th-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 10, .6), rgba(7, 20, 10, .1) 40%, rgba(7, 20, 10, .75)); }
.flow { position: relative; height: 600px; perspective: 1500px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.flow-item { position: absolute; left: 50%; top: 0; border: 0; padding: 0; background: none; cursor: pointer;
  transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s; will-change: transform; }
.flow-item .phone { --w: 262px; }
.flow-item .lock { left: 50%; bottom: 44px; transform: translateX(-50%); }
.flow-nav { position: absolute; top: 50%; z-index: 30; width: 54px; height: 54px; margin-top: -27px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .32); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background-color .2s, transform .2s var(--ease); }
.flow-nav:hover { background: rgba(255, 255, 255, .26); transform: scale(1.06); }
.flow-nav svg { width: 24px; height: 24px; }
.flow-nav.prev { left: max(0px, calc(50% - 470px)); }
.flow-nav.next { right: max(0px, calc(50% - 470px)); }
.flow-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; min-height: 40px; }
.flow-label b { font-size: 1.7rem; font-weight: 1000; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: .82rem; font-weight: 900; letter-spacing: .02em; }
.tag.free { background: #d9f5c6; color: #1e6810; }
.tag.prem { background: rgba(255, 213, 80, .16); color: #ffd860; box-shadow: inset 0 0 0 1px rgba(255, 213, 80, .5); }
.tag img { width: 16px; height: 16px; }
.flow-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tdot { position: relative; width: 54px; height: 68px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .6; background: #000;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .2); transition: opacity .3s, transform .3s var(--ease), box-shadow .3s; }
.tdot img { width: 100%; height: 100%; object-fit: cover; }
.tdot.locked img { filter: grayscale(1) brightness(.7); }
.tdot .lk { position: absolute; right: 4px; bottom: 4px; width: 18px; height: 18px; }
.tdot.on { opacity: 1; transform: translateY(-4px); box-shadow: 0 0 0 3px var(--gold), 0 10px 20px -8px rgba(0, 0, 0, .6); }
.tdot:hover { opacity: 1; }

/* ———— Medals and titles ———— */
.medals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 20px; }
.medal { text-align: center; }
.medal .m { width: 118px; height: 118px; margin: 0 auto 14px; transition: transform .4s var(--ease); filter: drop-shadow(0 14px 16px rgba(80, 60, 0, .25)); }
.medal:hover .m { transform: translateY(-6px) rotate(-4deg) scale(1.05); }
.medal b { display: block; font-size: 1.02rem; font-weight: 900; line-height: 1.25; }
.medal span { display: block; margin-top: 4px; font-size: .9rem; color: var(--mute); line-height: 1.4; }
.ladder { margin: 70px auto 0; max-width: 980px; padding: 30px 34px 34px; border-radius: 28px; background: #fff; box-shadow: var(--sh-1); }
.ladder-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-weight: 900; font-size: 1.12rem; line-height: 1.4; }
.ladder-head img { width: 42px; height: 42px; flex: none; }
.rungs { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.rungs::before, .rungs::after { content: ""; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 15px; height: 8px; border-radius: 8px; background: #f0e6cf; }
.rungs::after { right: auto; width: 0; background: linear-gradient(90deg, #ffd34a, #ff9d1a); transition: width 2.2s .3s var(--ease); }
.in .rungs::after { width: calc(100% - 100% / 6); }
.rung { position: relative; z-index: 1; text-align: center; padding: 0 4px; }
.rung i { width: 38px; height: 38px; margin: 0 auto 10px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 4px #ffc531, 0 4px 10px rgba(180, 110, 0, .25);
  display: grid; place-items: center; font-style: normal; font-weight: 1000; font-size: .78rem; color: var(--gold-ink); }
.rung b { display: block; font-size: .95rem; font-weight: 900; line-height: 1.25; }
.rung span { display: block; font-size: .82rem; color: var(--mute); }

/* ———— Premium ———— */
.prem-sec { color: #fff; background: radial-gradient(70% 70% at 80% 30%, rgba(255, 197, 49, .2), transparent 60%), linear-gradient(160deg, #13391a 0%, #0a2410 70%); overflow: hidden; }
.prem { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.prem-crown { width: 84px; height: 84px; margin-bottom: 18px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.prem h2 { color: #fff; margin-bottom: 26px; }
.prem-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.prem-list li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; font-size: 1.08rem; font-weight: 800; line-height: 1.45; }
.prem-list svg { width: 26px; height: 26px; color: var(--gold); }
.prem .note { margin-top: 26px; color: var(--lmute); font-size: .98rem; }
.prem-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pt { position: relative; aspect-ratio: 300 / 384; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.pt > img { width: 100%; height: 100%; object-fit: cover; }
.pt .lock { left: 10px; bottom: 10px; }
.pt .nm { position: absolute; left: 0; right: 0; top: 0; padding: 10px 12px 28px; font-weight: 900; font-size: .9rem; background: linear-gradient(180deg, rgba(0, 0, 0, .65), transparent); }
.free-card { margin-top: 18px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.free-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: var(--lime); }
.free-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.free-card li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: rgba(255, 255, 255, .9); font-weight: 700; }
.free-card svg { width: 18px; height: 18px; margin-top: 4px; color: var(--lime); }

/* ———— Questions ———— */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { margin-bottom: 16px; }
.faq-side .btn { margin-top: 26px; }
.faq-side .mail { display: block; margin-top: 14px; color: var(--mute); font-weight: 800; text-decoration: none; }
.faq-side .also { margin: 34px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.faq-side .also li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); font-weight: 800; font-size: .9rem; color: var(--mute); }
.faq-list { display: grid; gap: 12px; }
.faq-list details { border-radius: 20px; background: #fff; box-shadow: var(--sh-1); transition: box-shadow .3s; }
.faq-list details[open] { box-shadow: var(--sh-1), 0 20px 40px -24px rgba(20, 40, 10, .35); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 900; font-size: 1.08rem; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .a { padding: 0 24px 22px; color: var(--mute); }
.faq-list .a p + p { margin-top: 8px; }
.faq-list .a a { color: #1f7a12; font-weight: 800; }

/* ———— Get the game ———— */
.final { position: relative; padding: clamp(110px, 11vw, 160px) 0; color: #fff; overflow: hidden; isolation: isolate; text-align: center; background: var(--forest); }
.final-bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; filter: brightness(.45) saturate(1.2); }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 50% 50%, rgba(255, 200, 70, .22), transparent 70%), linear-gradient(180deg, rgba(6, 22, 8, .6), rgba(6, 22, 8, .25) 40%, rgba(6, 22, 8, .8)); }
.final .wrap { position: relative; z-index: 2; }
.final-in { display: grid; justify-items: center; gap: 26px; }
.final-logo { width: min(420px, 82vw); height: auto; filter: drop-shadow(0 14px 26px rgba(0, 0, 0, .45)); }
.final h2 { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3.2rem); max-width: 820px; text-shadow: 0 4px 24px rgba(0, 0, 0, .4); }
.final .stores { justify-content: center; }
.final-parrot { position: absolute; z-index: 2; right: max(8px, calc(50% - 600px)); bottom: 40px; width: min(260px, 24vw); height: auto; animation: badge 4s ease-in-out infinite alternate; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); }
@media (max-width: 980px) { .final-parrot { display: none; } }

/* ———— Footer ———— */
.foot { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 64px 0 34px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.4fr; gap: 40px; }
.foot .brand { margin-bottom: 14px; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot a { color: #fff; text-decoration: none; font-weight: 800; }
.foot a:hover { text-decoration: underline; }
.foot-langs { grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px !important; }
.foot-langs a { font-weight: 700; color: rgba(255, 255, 255, .78); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.foot-bottom .tm { opacity: .7; }

/* ———— Appear on scroll ———— */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .step[data-reveal].in:hover { transform: translateY(-6px); transition-delay: 0s; }
.rise { animation: rise 1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* ———— Privacy, support and the invite page (build_site.py) ———— */
.top { position: sticky; top: 0; z-index: 50; background: rgba(8, 26, 11, .94); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
select#lang { font: inherit; font-weight: 800; font-size: .95rem; color: #fff; padding: 9px 14px; border-radius: 999px; margin-left: auto; cursor: pointer;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); }
select#lang option { color: var(--dark); }
main.doc { padding: 54px 0 80px; min-height: 100vh; background: radial-gradient(90% 50% at 50% 0%, #e4f5d6 0%, transparent 70%), var(--cream); }
main.doc .wrap { width: min(860px, 100% - 32px); }
main.doc nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; }
main.doc nav a { color: var(--dark); text-decoration: none; font-weight: 800; font-size: .92rem; padding: 8px 15px; border-radius: 999px; background: #fff; box-shadow: var(--sh-1); }
main.doc nav a.on { background: var(--forest-2); color: #fff; }
main.doc .card { display: block; padding: 34px 38px; border-radius: 28px; background: #fff; box-shadow: var(--sh-1); aspect-ratio: auto; cursor: auto; }
main.doc h1 { margin: 0 0 10px; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.15; overflow-wrap: anywhere; }
main.doc h2 { margin: 26px 0 8px; font-size: 1.2rem; line-height: 1.3; }
main.doc p { margin: 0 0 12px; font-size: 1rem; overflow-wrap: anywhere; }
main.doc .muted { color: var(--mute); font-size: .92rem; }
main.doc a.mail, main.doc .links a { color: #1f7a12; font-weight: 900; }
main.doc .links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
main.doc .badge { position: static; display: inline-block; margin-top: 8px; padding: 13px 20px; border-radius: 14px; background: #050806; color: #fff; font-weight: 900; font-size: 1rem; text-decoration: none; animation: none; box-shadow: none; }
main.doc .card.invite { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
main.doc .card.invite img { width: 100%; max-width: 300px; justify-self: center; border-radius: 22px; box-shadow: var(--sh-2); }
a.open-game { display: inline-block; padding: 14px 26px; border-radius: 999px; color: var(--gold-ink); font-weight: 1000; text-decoration: none;
  background: linear-gradient(180deg, #ffe58a 0%, #ffc531 42%, #ff9d1a 100%); box-shadow: inset 0 -3px 0 rgba(160, 75, 0, .35), 0 10px 22px -8px rgba(255, 140, 20, .6); }
main.doc ~ footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 26px 0; font-size: .9rem; }
section[hidden] { display: none; }
.nb { white-space: nowrap; }

/* ———— Narrower screens ———— */
@media (max-width: 1180px) {
  .links a { padding: 8px 9px; font-size: .92rem; }
  .medal .m { width: 100px; height: 100px; }
}
@media (max-width: 980px) {
  .links { position: absolute; top: 72px; left: 12px; right: 12px; margin: 0; flex-direction: column; gap: 2px; padding: 10px; border-radius: 22px;
    background: rgba(8, 26, 11, .97); box-shadow: var(--sh-2); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .links a { padding: 13px 16px; font-size: 1.05rem; }
  .nav.open .links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: rgba(8, 26, 11, .94); }
  .nav-end { margin-left: auto; }
  .burger { display: block; }
  .hero { padding: 100px 0 140px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; text-align: center; }
  .hero-copy { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
  .hero-logo { margin: 0 0 14px; width: min(420px, 86%); }
  .hero-lead { margin-inline: auto; }
  .hero-cta, .stores, .facts { justify-content: center; }
  .hero-art { height: 640px; margin-top: 16px; }
  .stack { inset: 92px 0 0; }
  .hero-shade { background: radial-gradient(70% 40% at 50% 74%, rgba(255, 205, 80, .24), transparent 70%), linear-gradient(180deg, rgba(6, 22, 8, .8) 0%, rgba(6, 22, 8, .62) 45%, rgba(6, 22, 8, .35) 75%, rgba(6, 22, 8, .7) 100%); }
  .ph-cw, .ph-c { --w: 236px; } .ph-l, .ph-r { --w: 192px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { box-shadow: inset 0 1px 0 var(--line); }
  .stats > div:nth-child(4) { box-shadow: inset 1px 0 0 var(--line), inset 0 1px 0 var(--line); }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .rules-grid { grid-template-columns: 1fr; padding: 0 22px 20px; }
  .game { grid-template-columns: 1fr; gap: 26px; padding: 24px; justify-items: center; }
  .game { --size: min(500px, calc(100vw - 110px)); }
  .game-side { min-height: 0; width: 100%; max-width: 520px; }
  .story { grid-template-columns: 1fr; gap: 0; }
  .story-stage { display: none; }
  .story-step, .story-step:first-child, .story-step:last-child { min-height: 0; padding: 0 0 26px; }
  .story-card { opacity: 1; transform: none; max-width: 560px; margin: 0 auto; text-align: center; }
  .story-card .ico { margin-inline: auto; }
  .story-card ul { text-align: left; }
  .story-card .phone { display: block; --w: min(250px, 64vw); margin: 28px auto 0; }
  .daily { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .daily-copy { order: -1; }
  .share-wrap { justify-content: center; }
  .medals { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .rungs { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .rungs::before, .rungs::after { display: none; }
  .prem { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .faq-side { position: static; text-align: center; }
  .faq-side .also { justify-content: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .flow { height: 520px; }
  .flow-item .phone { --w: 222px; }
  .flow-nav.prev { left: 0; } .flow-nav.next { right: 0; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .nav .brand span { display: none; }
  .nav-in { gap: 10px; height: 64px; }
  .links { top: 64px; }
  .lang summary { padding: 0 12px; }
  .nav-end .btn { --h: 40px; padding: 0 15px; }
  .hero { padding: 88px 0 124px; }
  .hero h1 { font-size: 2rem; }
  .hero-art { height: 540px; }
  .stack { inset: 80px 0 0; }
  .ph-cw, .ph-c { --w: 196px; } .ph-l, .ph-r { --w: 156px; }
  .ph-l { transform: translate(-98%, -43%) rotate(-9deg); } .ph-r { transform: translate(-2%, -43%) rotate(9deg); }
  @keyframes floatL { 50% { transform: translate(-98%, calc(-43% + 8px)) rotate(-8deg); } }
  @keyframes floatR { 50% { transform: translate(-2%, calc(-43% - 8px)) rotate(8deg); } }
  .btn-lg { --h: 56px; padding: 0 26px; font-size: 1.08rem; }
  .store { height: 50px; padding: 0 16px 0 12px; }
  .store b { font-size: 1.02rem; }
  .stats > div { padding: 22px 8px 18px; }
  .stats span { font-size: .9rem; }
  .head { margin-bottom: 40px; }
  .vis { height: 210px; }
  .mcard { width: 92px; height: 92px; }
  .mcards { gap: 12px; }
  .game { padding: 16px 12px 20px; border-radius: 28px; }
  .game { --size: calc(100vw - 80px); }
  .game-board { padding-left: calc(var(--size) * .05); }
  .tool { width: 46px; height: 46px; }
  .tools { gap: 8px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 138px)); }
  .cards.one { grid-template-columns: minmax(0, 138px); }
  .hero-art { margin-top: 8px; }
  .story-card { padding: 26px 20px; }
  .flow { height: 450px; }
  .flow-item .phone { --w: 190px; }
  .flow-item .lock { bottom: 30px; }
  .flow-nav { width: 44px; height: 44px; margin-top: -22px; }
  .flow-label b { font-size: 1.4rem; }
  .tdot { width: 34px; height: 44px; border-radius: 9px; }
  .flow-dots { gap: 6px; }
  .tdot .lk { width: 13px; height: 13px; right: 2px; bottom: 2px; }
  .ladder { padding: 24px 16px; }
  .ladder-head { font-size: 1rem; }
  .medal .m { width: 86px; height: 86px; }
  .badge { font-size: 1.1rem; padding: 8px 12px 8px 10px; }
  .badge img { width: 24px; height: 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-langs { grid-template-columns: repeat(2, auto); }
  main.doc .card { padding: 26px 22px; }
  main.doc .card.invite { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .rise { opacity: 1; transform: none; }
}
