/* E-commerce Billionaire — site styles (no framework) */
:root {
  --navy: #14213d;
  --navy-2: #1d2d52;
  --navy-3: #0d1629;
  --orange: #ff8a00;
  --orange-dk: #d96f00;
  --gold: #ffc53d;
  --gold-dk: #d99a0b;
  --green: #22c55e;
  --green-dk: #15983f;
  --cream: #fff8ec;
  --paper: #ffffff;
  --ink: #1b2440;
  --muted: #5b6785;
  --line: #e8e1d3;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(20, 33, 61, .12);
  --maxw: 1080px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #c25e00; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--orange-dk); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 10px; font-weight: 800; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 18px; letter-spacing: .2px; min-width: 0; }
.brand:hover { color: #fff; }
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand b { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 6px; flex: none; }
.nav a { color: #dfe6f7; text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 10px; border-radius: 12px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.1); }
.lang { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; }
.nav .lang a { padding: 4px 10px; border-radius: 999px; font-size: 13px; }
.nav .lang a[aria-current="true"] { background: var(--gold); color: var(--navy); }
@media (max-width: 480px) { .nav .hide-sm { display: none; } .brand { font-size: 16px; } }

/* ---------- language suggestion ---------- */
.lang-hint { display: none; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 15px; }
.lang-hint.show { display: block; }
.lang-hint .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; text-align: center; }
.lang-hint a { color: var(--navy); }
.lang-hint button { font: inherit; background: none; border: 0; color: var(--navy); cursor: pointer; font-size: 20px; line-height: 1; padding: 2px 6px; }

/* ---------- buttons (3D-ish, like the game) ---------- */
.btn {
  --c: var(--orange); --c-dk: var(--orange-dk); --t: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 900; font-size: 18px; color: var(--t); text-decoration: none;
  background: var(--c);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 82%, #fff) 0%, var(--c) 55%);
  border: 0; border-radius: 18px; padding: 14px 26px; cursor: pointer;
  box-shadow: 0 6px 0 var(--c-dk), 0 12px 22px rgba(0,0,0,.18);
  transform: translateY(0); transition: transform .08s, box-shadow .08s;
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.btn:hover { color: var(--t); transform: translateY(-1px); box-shadow: 0 7px 0 var(--c-dk), 0 14px 24px rgba(0,0,0,.2); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--c-dk), 0 4px 10px rgba(0,0,0,.18); }
.btn.green { --c: var(--green); --c-dk: var(--green-dk); }
.btn.gold { --c: var(--gold); --c-dk: var(--gold-dk); --t: var(--navy); text-shadow: none; }

/* App Store style button (text version of the badge) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #000; color: #fff; border: 1.5px solid #a6a6a6; border-radius: 14px;
  padding: 9px 22px 9px 16px; min-height: 58px; line-height: 1.1;
  box-shadow: 0 5px 0 #000, 0 12px 22px rgba(0,0,0,.25); transition: transform .08s, box-shadow .08s;
}
.appstore:hover { color: #fff; transform: translateY(-1px); }
.appstore:active { transform: translateY(4px); box-shadow: 0 1px 0 #000, 0 4px 10px rgba(0,0,0,.25); }
.appstore svg { width: 30px; height: 30px; fill: #fff; flex: none; }
.appstore small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .2px; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }
.appstore strong { display: block; font-size: 24px; font-weight: 600; letter-spacing: -.3px; font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(255,197,61,.18), transparent 70%),
    radial-gradient(40% 40% at 85% 90%, rgba(34,197,94,.18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 36px 0 64px;
}
.hero::after { /* soft wave into cream */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -42px; height: 84px;
  background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero .logo { width: min(260px, 64vw); margin: 0 auto -6px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.35)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.hero h1 { margin: 0; font-weight: 900; line-height: 1.05; font-size: clamp(34px, 8vw, 64px); letter-spacing: -.5px; }
.hero h1 .l1 { display: block; font-size: .55em; color: #fff; letter-spacing: .5px; }
.hero h1 .l2 { display: block; color: var(--gold); text-shadow: 0 4px 0 #b77800, 0 10px 24px rgba(0,0,0,.35); }
.hero .tagline { font-size: clamp(18px, 3.6vw, 22px); font-weight: 700; color: #e6ecfa; max-width: 620px; margin: 16px auto 26px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; position: relative; z-index: 1; }
.hero .meta { margin-top: 18px; font-size: 14px; font-weight: 700; color: #b8c3de; position: relative; z-index: 1; }
.coin { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffe28a, var(--gold) 55%, var(--gold-dk)); box-shadow: 0 2px 0 #a86f00; opacity: .8; animation: bob 5s ease-in-out infinite; }
.coin.c1 { left: 8%; top: 22%; } .coin.c2 { right: 10%; top: 14%; width: 16px; height: 16px; animation-delay: -1.5s; }
.coin.c3 { right: 16%; top: 58%; width: 26px; height: 26px; animation-delay: -3s; } .coin.c4 { left: 14%; top: 70%; width: 14px; height: 14px; animation-delay: -2s; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-title { text-align: center; font-weight: 900; font-size: clamp(26px, 5vw, 38px); line-height: 1.15; margin: 0 0 8px; color: var(--navy); }
.section-sub { text-align: center; color: var(--muted); font-weight: 700; margin: 0 auto 30px; max-width: 640px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 20px 20px 18px;
  box-shadow: 0 4px 0 var(--line), var(--shadow); border: 1px solid var(--line);
}
.card .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 10px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.12); }
.ico.o { background: #ffe3c2; } .ico.g { background: #d6f7e2; } .ico.y { background: #fff0c4; } .ico.b { background: #dde6fb; } .ico.p { background: #f6ddf4; } .ico.c { background: #d4f3f6; }
.card h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; color: var(--navy); line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* screenshots */
.shots-band { background: linear-gradient(180deg, var(--cream), #fde9cc); }
.shots {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 26px;
  margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
}
.shots figure { margin: 0; flex: 0 0 min(62vw, 230px); scroll-snap-align: center; text-align: center; }
.phone { border-radius: 30px; padding: 7px; background: var(--navy); box-shadow: 0 8px 0 var(--navy-3), 0 18px 30px rgba(20,33,61,.25); }
.phone img { border-radius: 24px; width: 100%; aspect-ratio: 1170 / 2532; object-fit: cover; background: #e9e2d4; }
.shots figcaption { margin-top: 12px; font-weight: 800; font-size: 15px; color: var(--navy); }
@media (min-width: 1000px) { .shots { justify-content: center; overflow: visible; } .shots figure { flex-basis: 190px; } .shots figure:nth-child(even) { transform: translateY(24px); } }

/* languages */
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 0 auto; padding: 0; list-style: none; }
.langs li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 15px; box-shadow: 0 3px 0 var(--line); }

.final-cta { text-align: center; }
.final-cta .card { max-width: 720px; margin: 0 auto; padding: 32px 20px; background: var(--navy); color: #fff; border: 0; box-shadow: 0 6px 0 var(--navy-3), var(--shadow); }
.final-cta h2 { margin: 0 0 6px; font-weight: 900; font-size: clamp(24px, 5vw, 34px); color: var(--gold); line-height: 1.2; }
.final-cta p { color: #d7def0; margin: 0 0 22px; font-weight: 700; }

/* ---------- document pages (legal / support) ---------- */
.page-head { background: var(--navy); color: #fff; padding: 34px 0 40px; }
.page-head h1 { margin: 0; font-weight: 900; font-size: clamp(28px, 6vw, 44px); line-height: 1.15; }
.page-head p { margin: 8px 0 0; color: #c9d3ea; font-weight: 700; }
.doc { padding: 0 0 56px; }
.doc .wrap { max-width: 820px; }
.doc article { background: var(--paper); border-radius: var(--radius); margin-top: -18px; position: relative; padding: 26px 20px 30px; box-shadow: 0 4px 0 var(--line), var(--shadow); border: 1px solid var(--line); }
@media (min-width: 700px) { .doc article { padding: 36px 44px 40px; } }
.doc h2 { font-weight: 900; color: var(--navy); font-size: 23px; line-height: 1.25; margin: 34px 0 10px; scroll-margin-top: 80px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-weight: 900; color: var(--navy); font-size: 18px; margin: 22px 0 6px; }
.doc p, .doc li { overflow-wrap: anywhere; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc .lead { font-size: 18px; font-weight: 700; color: var(--muted); }
.note { background: #fff6dd; border: 1px solid #f5d98a; border-radius: 16px; padding: 14px 16px; margin: 16px 0; }
.note.green { background: #e7f9ee; border-color: #a9e5bf; }
.toc { background: #f6f3ec; border-radius: 16px; padding: 14px 18px; margin: 18px 0 8px; }
.toc strong { display: block; margin-bottom: 4px; color: var(--navy); }
.toc ol { margin: 0; columns: 2 220px; column-gap: 24px; }
.toc li { break-inside: avoid; font-size: 15px; }

.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { background: var(--navy); color: #fff; font-weight: 800; }
tbody tr:nth-child(even) td { background: #fbf8f2; }
tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 16px; margin: 10px 0; background: #fff; box-shadow: 0 3px 0 var(--line); }
.faq summary { cursor: pointer; font-weight: 900; color: var(--navy); padding: 14px 44px 14px 16px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "–"; background: var(--green); }
.faq details > div { padding: 0 16px 14px; }
.faq details > div > :first-child { margin-top: 0; }

.contact-box { text-align: center; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 18px; margin: 28px 0 0; }
.contact-box p { margin: 0 0 14px; color: #d7def0; font-weight: 700; }
.contact-box .btn { font-size: 16px; padding: 12px 18px; max-width: 100%; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-3); color: #aab6d3; padding: 30px 0 36px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer a { color: #e3e9f7; text-decoration: none; font-weight: 800; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copy { margin: 0; }

/* 404 */
.nf { text-align: center; padding: 70px 0; }
.nf .big { font-size: 80px; font-weight: 900; color: var(--orange); line-height: 1; margin: 0; text-shadow: 0 5px 0 var(--orange-dk); }

/* compact brand on narrow phones */
.brand .short { display: none; }
@media (max-width: 440px) { .brand .full { display: none; } .brand .short { display: inline; } }

/* summary tables turn into cards on phones */
@media (max-width: 640px) {
  .table-wrap:has(table.stack) { border: 0; overflow: visible; }
  table.stack { min-width: 0; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 10px; overflow: hidden; background: #fff; box-shadow: 0 3px 0 var(--line); }
  table.stack tbody tr:nth-child(even) td { background: transparent; }
  table.stack td { border: 0; padding: 4px 14px; }
  table.stack td:first-child { background: var(--navy) !important; color: #fff; font-weight: 900; padding: 9px 14px; }
  table.stack td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); margin-top: 6px; }
  table.stack td:last-child { padding-bottom: 12px; }
}
.hero .wrap { position: relative; z-index: 1; }
.coin.c3 { right: 5%; top: 40%; }
@media (max-width: 480px) { .lang-hint { font-size: 14px; } .lang-hint .wrap { gap: 4px 10px; } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(3, 1fr); } }
