/* 360 for Games: cream, gold and sky. No external scripts, no cookies. */
:root {
  --cream: #fff8ec;
  --cream-2: #fdf0d8;
  --paper: #ffffff;
  --gold: #f2b33d;
  --gold-deep: #b97a0c;
  --gold-soft: #fde7b3;
  --sky: #4fb3e8;
  --sky-deep: #1d6aa3;
  --sky-soft: #dcf0fb;
  --ink: #26324a;
  --ink-soft: #55607a;
  --line: #ecdcbd;
  --leaf: #3f9d5c;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(120, 84, 20, .12), 0 2px 6px rgba(120, 84, 20, .08);
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  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; } * { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-deep); text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255, 248, 236, .92); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.3rem; white-space: nowrap; }
.brand img { height: 54px; width: auto; display: block; }
.brand small { font-weight: 600; color: var(--gold-deep); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--gold-soft); color: var(--ink); }
.lang { display: flex; gap: 2px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { font-size: .82rem; font-weight: 800; text-decoration: none; color: var(--ink-soft); padding: 4px 9px; border-radius: 999px; }
.lang a[aria-current="true"] { background: var(--sky); color: #fff; }
@media (max-width: 760px) {
  .site-head .wrap { flex-wrap: wrap; gap: 6px 10px; padding-top: 8px; padding-bottom: 8px; }
  .brand { font-size: 1.12rem; }
  .brand img { height: 40px; }
  .lang { margin-left: auto; }
  .nav { order: 3; width: 100%; margin: 0 -8px; overflow-x: auto; }
  .nav a { padding: 6px 10px; font-size: .95rem; white-space: nowrap; }
}

/* Buttons and badges */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.1rem; text-decoration: none; padding: 12px 22px; border-radius: 999px; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #ffc955, var(--gold)); color: #3b2a05; box-shadow: 0 4px 0 #c98a12, 0 10px 20px rgba(201, 138, 18, .25); }
.btn-gold:hover { color: #3b2a05; }
.btn-ghost { background: var(--paper); color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.appstore { display: inline-flex; align-items: center; gap: 12px; background: #111; color: #fff; text-decoration: none; border-radius: 14px; padding: 9px 18px 9px 14px; min-height: 56px; position: relative; }
.appstore:hover { color: #fff; background: #000; }
.appstore svg { width: 26px; height: 30px; fill: #fff; flex: none; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; }
.appstore small { font-size: .74rem; opacity: .85; }
.appstore b { font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.soon { display: inline-block; margin-left: 4px; background: var(--gold); color: #3b2a05; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 3px 9px; vertical-align: middle; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 22px; }

/* Hero */
.hero { position: relative; padding: 56px 0 40px; background:
  radial-gradient(900px 420px at 85% -10%, var(--sky-soft), transparent 70%),
  radial-gradient(700px 400px at 0% 0%, var(--gold-soft), transparent 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--gold-deep); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--gold); border-radius: 3px; }
.lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 36em; }
.verse { font-style: italic; color: var(--ink-soft); border-left: 4px solid var(--gold); padding: 4px 0 4px 14px; margin-top: 26px; max-width: 34em; }
.verse cite { font-style: normal; font-weight: 700; display: block; color: var(--gold-deep); font-size: .92rem; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 460px; }
.phone { width: 210px; border-radius: 34px; padding: 8px; background: #1b2236; box-shadow: 0 24px 50px rgba(30, 40, 70, .28); }
.phone img { border-radius: 27px; aspect-ratio: 1320 / 2868; object-fit: cover; width: 100%; background: var(--sky-soft); }
.phones .phone:nth-child(1) { transform: rotate(-7deg) translate(26px, 18px); }
.phones .phone:nth-child(2) { width: 236px; z-index: 2; }
.phones .phone:nth-child(3) { transform: rotate(7deg) translate(-26px, 18px); }
@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .phones { min-height: 0; }
  .phone { width: 31%; max-width: 190px; border-radius: 24px; padding: 5px; }
  .phone img { border-radius: 20px; }
  .phones .phone:nth-child(2) { width: 35%; max-width: 214px; }
  .phones .phone:nth-child(1) { transform: rotate(-6deg) translate(14px, 10px); }
  .phones .phone:nth-child(3) { transform: rotate(6deg) translate(-14px, 10px); }
}

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 880px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.section-alt .card { background: var(--cream); box-shadow: none; }
.card p:last-child { margin-bottom: 0; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); margin-bottom: 12px; }
.ico svg { width: 26px; height: 26px; stroke: var(--gold-deep); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ico.sky { background: var(--sky-soft); }
.ico.sky svg { stroke: var(--sky-deep); }

/* Featured game */
.feature { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #fffaf0, #fff 60%, var(--sky-soft)); border: 1px solid var(--line); border-radius: 30px; padding: 32px; box-shadow: var(--shadow); }
.app-icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 12px 26px rgba(40, 50, 80, .22); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; padding: 0; list-style: none; }
.tags li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .9rem; }
@media (max-width: 640px) { .feature { grid-template-columns: 1fr; padding: 22px; } .app-icon { width: 112px; height: 112px; border-radius: 26px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 18px; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 2.3rem; line-height: 1; color: var(--gold-deep); }
.stat span { font-weight: 700; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 22px; margin-top: 24px; }
.gallery figure { margin: 0; flex: 0 0 200px; scroll-snap-align: start; }
.gallery .phone { width: 100%; border-radius: 30px; padding: 6px; box-shadow: 0 10px 24px rgba(30, 40, 70, .2); }
.gallery .phone img { border-radius: 25px; }
.gallery figcaption { text-align: center; font-weight: 700; margin-top: 10px; font-size: .95rem; }
@media (max-width: 560px) { .gallery figure { flex-basis: 64%; } }

.promise li { margin-bottom: 8px; }
ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%; background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

.coming { border: 2px dashed var(--line); background: transparent; box-shadow: none; text-align: center; }

/* Legal / document pages */
.doc-hero { padding: 48px 0 18px; background: radial-gradient(700px 300px at 90% 0%, var(--sky-soft), transparent 70%); }
.doc-hero .meta { color: var(--ink-soft); font-weight: 700; }
.doc { padding: 20px 0 70px; }
.doc h2 { font-size: 1.6rem; margin-top: 1.8em; scroll-margin-top: 90px; }
.doc h3 { margin-top: 1.4em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin-bottom: 6px; }
.summary { background: var(--paper); border: 2px solid var(--gold-soft); border-radius: var(--radius); padding: 22px 24px; margin: 10px 0 26px; }
.summary h2 { margin-top: 0; font-size: 1.35rem; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 22px; margin-bottom: 10px; }
.toc ol { margin: 6px 0 0; padding-left: 1.3em; columns: 2; column-gap: 28px; }
@media (max-width: 560px) { .toc ol { columns: 1; } }
table.facts { width: 100%; border-collapse: collapse; margin: 10px 0 18px; background: var(--paper); border-radius: 14px; overflow: hidden; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.facts th { width: 38%; font-weight: 800; }
@media (max-width: 560px) { table.facts th, table.facts td { display: block; width: 100%; } table.facts th { border-bottom: 0; padding-bottom: 0; } }
.contact-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; margin: 22px 0; }
.contact-box h2, .contact-box h3 { color: #fff; margin: 0 0 4px; }
.contact-box p { margin: 0; opacity: .9; }
.contact-box a.btn { word-break: break-all; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; margin-bottom: 12px; }
details summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.12rem; list-style-position: outside; }
details[open] summary { margin-bottom: 8px; }
details p:last-child, details ul:last-child, details ol:last-child { margin-bottom: 0; }

/* Footer */
.site-foot { background: var(--ink); color: #dfe5f1; padding: 44px 0 30px; font-size: .96rem; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
.foot-grid h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 6px; }
.foot-note { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 28px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: #b9c2d6; font-size: .88rem; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }
.doc ul.checks { padding-left: 0; }
@media (min-width: 881px) { .hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.4rem); } }

/* Games grid */
.games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 1000px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .games-grid { grid-template-columns: 1fr; } }
.gcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); text-align: center; align-items: center; }
.gcard img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 22px rgba(40, 50, 80, .2); margin-bottom: 14px; }
.gcard h3 { margin: 0 0 4px; font-size: 1.35rem; }
.gcard .sub { font-weight: 700; color: var(--ink-soft); font-size: .92rem; margin-bottom: 10px; }
.gcard p { font-size: .98rem; }
.gcard .note { margin-top: auto; display: inline-block; font-weight: 800; font-size: .84rem; border-radius: 999px; padding: 4px 12px; background: var(--leaf-soft, #e4f6dd); color: #2b6b1d; }
.gcard .note.warn { background: var(--gold-soft); color: var(--ink); }
.gcard .note.soon-note { background: var(--sky-soft); color: var(--sky-deep); }
.gcard .more { margin: 12px 0 8px; font-weight: 800; }
