/* Layout: the website is dressed as the game itself — navy resource bar on top, sky + clouds behind,
   in-game parchment popups for content, gold-rimmed blue/green buttons, and the game's bottom tab bar on phones. */
:root {
  /* colour — sampled from the game UI */
  --navy: #142f6c;
  --navy-2: #1d4596;
  --sky-1: #2f86e8;
  --sky-2: #8fcaff;
  --cloud: #fff4f2;
  --cloud-pink: #f8dce4;
  --gold: #f7c843;
  --gold-hi: #ffe58a;
  --gold-lo: #b9780f;
  --gold-deep: #7d4b06;
  --parch: #f8edd3;
  --parch-2: #efdcb2;
  --ink: #4a2c0c;
  --ink-soft: #7a5a32;
  --blue-hi: #6fb0ff;
  --blue: #2a64e0;
  --blue-lo: #1a3fa6;
  --green-hi: #7fe05a;
  --green: #35ab2c;
  --green-lo: #1d7a1d;
  --ruby: #e2353f;
  --white: #ffffff;
  --sea: #0d5fb8;

  /* type */
  --display: "M PLUS Rounded 1c", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { 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: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--blue-lo); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* language toggle: every bilingual string ships both spans */
html[data-lang="en"] [lang="el"]:not(html) { display: none !important; }
html:not([data-lang="en"]) [lang="en"]:not(html) { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- meander (Greek key) trim ---------- */
.meander {
  height: 22px;
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='22' viewBox='0 0 32 22'%3E%3Cpath d='M0 19H26V3H8V15H20V9H14' fill='none' stroke='%237d4b06' stroke-width='3' stroke-linecap='square'/%3E%3C/svg%3E");
  background-size: 32px 22px;
  background-repeat: repeat-x;
  background-position: center;
  border-block: 3px solid var(--gold-deep);
}

/* ---------- buttons, as drawn in the game ---------- */
.btn {
  --hi: var(--blue-hi); --mid: var(--blue); --lo: var(--blue-lo);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .7em 1.6em .78em;
  font-family: var(--display); font-weight: 900; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--white); text-decoration: none; white-space: nowrap;
  text-shadow: 0 2px 0 rgba(10, 30, 90, .55);
  background: linear-gradient(180deg, var(--hi) 0%, var(--mid) 48%, var(--lo) 100%);
  border: 0; border-radius: 999px; cursor: pointer;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, .45),
    inset 0 -4px 0 rgba(0, 0, 0, .18),
    0 0 0 4px var(--gold),
    0 0 0 6px var(--gold-lo),
    0 7px 0 6px var(--gold-deep),
    0 12px 22px 6px rgba(20, 30, 70, .28);
  transition: transform .12s ease, filter .12s ease;
}
.btn::before { /* glossy highlight */
  content: ""; position: absolute; inset: 4px 12% auto; height: 38%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
.btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn:active { transform: translateY(4px); box-shadow:
    inset 0 3px 0 rgba(255,255,255,.45), inset 0 -4px 0 rgba(0,0,0,.18),
    0 0 0 4px var(--gold), 0 0 0 6px var(--gold-lo), 0 3px 0 6px var(--gold-deep); }
.btn:focus-visible { outline: 4px solid var(--white); outline-offset: 10px; }
.btn--green { --hi: var(--green-hi); --mid: var(--green); --lo: var(--green-lo); text-shadow: 0 2px 0 rgba(10, 60, 10, .55); }
.btn--small { font-size: .9rem; padding: .5em 1.15em .56em; }

/* store buttons */
.stores { display: flex; flex-wrap: wrap; gap: 26px 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  padding: .55em 1.4em .6em 1.05em; text-align: left; line-height: 1.1;
}
.store small { display: block; font-size: .7rem; font-weight: 800; opacity: .9; letter-spacing: .02em; }
.store b { display: block; font-size: 1.25rem; font-weight: 900; }
.store svg { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 2px 0 rgba(10,30,90,.5)); }

/* gold headline lettering, like in-game popup titles */
.gold-title {
  font-family: var(--display); font-weight: 900;
  color: var(--gold);
  letter-spacing: .01em;
  text-shadow:
    0 0 0 var(--gold-deep),
    2px 2px 0 var(--gold-deep), -2px 2px 0 var(--gold-deep), 2px -2px 0 var(--gold-deep), -2px -2px 0 var(--gold-deep),
    0 3px 0 var(--gold-deep), 0 -3px 0 var(--gold-deep), 3px 0 0 var(--gold-deep), -3px 0 0 var(--gold-deep),
    0 7px 0 var(--gold-deep), 0 10px 14px rgba(40, 20, 0, .35);
}
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 800; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); background: var(--navy); padding: .35em 1em; border-radius: 999px;
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px var(--gold-lo);
}

/* ---------- parchment popup panel ---------- */
.panel {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% 0%, #fffaf0 0%, rgba(255,250,240,0) 60%),
    radial-gradient(80% 60% at 100% 100%, var(--parch-2) 0%, rgba(239,220,178,0) 70%),
    var(--parch);
  border-radius: var(--radius);
  box-shadow:
    inset 0 0 0 3px #fff3d2,
    0 0 0 6px var(--gold),
    0 0 0 9px var(--gold-lo),
    0 18px 40px rgba(20, 30, 80, .35);
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: linear-gradient(180deg, var(--navy-2), var(--navy));
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 3px 0 var(--gold-lo), 0 8px 20px rgba(10, 20, 60, .35);
}
.topbar__in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.topbar__logo img { height: 50px; width: auto; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)); }
.topbar__nav { display: flex; gap: 10px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 800; font-size: .92rem; color: var(--white);
  text-decoration: none; padding: 5px 14px 5px 6px; border-radius: 999px;
  background: rgba(5, 15, 50, .55);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
  transition: background .15s;
}
.pill img { width: 28px; height: 28px; object-fit: contain; }
.pill:hover { background: rgba(5, 15, 50, .85); }
.pill:focus-visible, .lang:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lang {
  font-family: var(--display); font-weight: 900; font-size: .85rem; color: var(--navy);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); border: 0; cursor: pointer;
  border-radius: 999px; padding: 7px 12px; box-shadow: 0 0 0 2px var(--gold-lo), 0 3px 0 2px var(--gold-deep);
}
@media (max-width: 860px) {
  .topbar__nav .pill { display: none; }
  .topbar__logo img { height: 42px; }
  .topbar__in { min-height: 60px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    linear-gradient(180deg, var(--sky-1) 0%, #5aa6f5 45%, var(--sky-2) 100%);
  padding-block: clamp(28px, 5vw, 64px) 0;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 4vw, 56px); align-items: end;
  position: relative; z-index: 2;
}
.hero__copy { padding-bottom: clamp(70px, 9vw, 130px); min-width: 0; }
.hero__logo { width: min(560px, 100%); margin-left: -10px; filter: drop-shadow(0 12px 18px rgba(10, 30, 90, .35)); animation: bob 5s ease-in-out infinite; }
.hero__lead {
  font-family: var(--display); font-weight: 800; color: var(--white);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; max-width: 30ch;
  margin-block: 18px 30px; text-shadow: 0 2px 0 rgba(10, 40, 110, .45);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--display); font-weight: 800; font-size: .88rem; color: var(--navy);
  background: rgba(255,255,255,.85); padding: 5px 13px 5px 6px; border-radius: 999px;
  box-shadow: 0 2px 0 rgba(10,40,110,.25);
}
.chip img { width: 24px; height: 24px; object-fit: contain; }

.hero__stage { position: relative; min-height: 560px; min-width: 0; }
.phone {
  position: relative; width: 270px; aspect-ratio: 9 / 16; max-width: 100%;
  border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #273a6c, #0d1733);
  box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px var(--gold-lo), 0 30px 50px rgba(10, 20, 60, .45);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 29px; }
.phone::after { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 7px; margin-left: -35px; border-radius: 9px; background: rgba(0,0,0,.55); }
.hero .phone { position: absolute; right: 4%; bottom: 70px; transform: rotate(4deg); z-index: 1; }
.hero__captain { position: absolute; left: -2%; bottom: 40px; width: 300px; z-index: 3; filter: drop-shadow(0 18px 18px rgba(20, 30, 80, .35)); }
.float { position: absolute; z-index: 4; filter: drop-shadow(0 8px 8px rgba(20, 30, 80, .35)); }
.float--coin { width: 82px; top: 30px; left: 8%; animation: bob 4s ease-in-out infinite; }
.float--coin2 { width: 54px; top: 170px; right: 0; animation: bob 4.6s .6s ease-in-out infinite; }
.float--ruby { width: 92px; bottom: 210px; right: -8px; animation: bob 5.2s .3s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* cloud bank at the bottom of sky sections */
.clouds {
  position: absolute; left: 0; right: 0; bottom: -2px; height: 150px; z-index: 2; pointer-events: none;
  background:
    radial-gradient(90px 70px at 4% 78%, var(--cloud) 98%, transparent 100%),
    radial-gradient(120px 90px at 15% 92%, var(--cloud-pink) 98%, transparent 100%),
    radial-gradient(140px 95px at 29% 86%, var(--cloud) 98%, transparent 100%),
    radial-gradient(110px 80px at 44% 96%, var(--cloud-pink) 98%, transparent 100%),
    radial-gradient(150px 100px at 58% 88%, var(--cloud) 98%, transparent 100%),
    radial-gradient(120px 90px at 73% 95%, var(--cloud-pink) 98%, transparent 100%),
    radial-gradient(150px 105px at 88% 86%, var(--cloud) 98%, transparent 100%),
    radial-gradient(100px 80px at 100% 92%, var(--cloud-pink) 98%, transparent 100%),
    linear-gradient(180deg, transparent 72%, var(--cloud) 72%);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-bottom: 0; text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .stores, .chips { justify-content: center; }
  .hero__stage { min-height: 430px; }
  .hero .phone { width: 196px; right: 50%; margin-right: -150px; bottom: 64px; }
  .hero__captain { width: 196px; left: 50%; margin-left: -190px; bottom: 34px; }
  .clouds { height: 90px; background:
    radial-gradient(70px 46px at 8% 82%, var(--cloud) 98%, transparent 100%),
    radial-gradient(90px 58px at 33% 92%, var(--cloud-pink) 98%, transparent 100%),
    radial-gradient(84px 54px at 60% 84%, var(--cloud) 98%, transparent 100%),
    radial-gradient(90px 58px at 90% 90%, var(--cloud-pink) 98%, transparent 100%),
    linear-gradient(180deg, transparent 72%, var(--cloud) 72%); }
  .float--coin { left: 4%; top: 10px; width: 64px; }
  .float--ruby { right: 2%; bottom: 260px; width: 70px; }
}

/* ---------- section scaffolding ---------- */
.section { position: relative; padding-block: clamp(64px, 9vw, 120px); }
.section--cloud { background: linear-gradient(180deg, var(--cloud) 0%, #fde9ee 100%); }
.section--sea {
  background: linear-gradient(180deg, rgba(8, 60, 140, .25), rgba(8, 40, 110, .55)), url("../img/sea-chart.webp") center / cover;
  color: var(--white);
}
.section--navy { background: radial-gradient(80% 70% at 50% 0%, #2856b8 0%, var(--navy) 70%); color: var(--white); }
.section__head { text-align: center; display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.section__head p { max-width: 58ch; font-size: 1.08rem; }
.section--sea .section__head p, .section--navy .section__head p { color: #e9f3ff; }

/* ---------- how it plays ---------- */
.loop { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
.step { padding: 74px 22px 26px; text-align: center; display: grid; gap: 10px; align-content: start; margin-top: 56px; }
.step__icon { position: absolute; top: -62px; left: 50%; width: 124px; height: 124px; margin-left: -62px; object-fit: contain; filter: drop-shadow(0 8px 8px rgba(60, 30, 0, .3)); }
.step h3 { font-size: 1.5rem; color: var(--navy); }
.step p { font-size: .98rem; color: var(--ink-soft); }
.step__tag {
  justify-self: center; font-family: var(--display); font-weight: 800; font-size: .78rem; color: var(--white);
  background: var(--ruby); border-radius: 999px; padding: 2px 10px; box-shadow: 0 2px 0 #9c1d25;
}
@media (max-width: 980px) { .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .loop { grid-template-columns: 1fr; } }

/* ---------- try-the-slot ---------- */
.slot-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: clamp(70px, 9vw, 110px); }
.slot-copy h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.slot-copy p { color: var(--ink-soft); max-width: 46ch; }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin-top: 22px; }
.legend div { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; }
.legend img { width: 40px; height: 40px; object-fit: contain; }

.machine { display: grid; justify-items: center; gap: 30px; }
.machine__body {
  width: min(430px, 100%); padding: 18px 18px 22px; border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, #8a5520, #5b3510);
  box-shadow: inset 0 0 0 4px var(--gold), inset 0 0 0 7px var(--gold-lo), 0 20px 40px rgba(60, 30, 0, .35);
  position: relative;
}
.machine__pediment {
  margin: -50px auto 14px; width: 82%; padding: 10px 0 12px; text-align: center;
  font-family: var(--display); font-weight: 900; color: var(--gold); font-size: 1.05rem; letter-spacing: .06em;
  background: linear-gradient(180deg, #a76c2b, #6a3f12); border-radius: 14px 14px 6px 6px;
  clip-path: polygon(8% 30%, 50% 0, 92% 30%, 100% 100%, 0 100%);
  padding-top: 26px; text-shadow: 0 2px 0 var(--gold-deep);
  box-shadow: inset 0 0 0 3px var(--gold);
}
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.reel {
  height: 128px; overflow: hidden; border-radius: 14px; position: relative;
  background: linear-gradient(180deg, #d9cdb4 0%, #fffaf0 30%, #fffaf0 70%, #d9cdb4 100%);
  box-shadow: inset 0 0 0 3px var(--gold), inset 0 6px 12px rgba(0,0,0,.25);
}
.reel__strip { display: grid; will-change: transform; }
.reel__strip img { width: 100%; height: 128px; object-fit: contain; padding: 16px; }
.machine__bet {
  margin: 14px auto 0; width: max-content; font-family: var(--display); font-weight: 900; color: var(--white);
  background: linear-gradient(180deg, #43c63a, #20871f); padding: 2px 16px; border-radius: 999px; box-shadow: 0 0 0 2px var(--gold-lo);
}
.nectar {
  width: min(330px, 100%); display: grid; gap: 4px; justify-items: center;
  font-family: var(--display); font-weight: 800; color: var(--ink);
}
.nectar__bar { width: 100%; height: 22px; border-radius: 999px; background: #3a2408; box-shadow: 0 0 0 3px var(--gold); overflow: hidden; position: relative; }
.nectar__fill { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(180deg, #ffe07a, #f1a81a); transition: width .3s; }
.nectar__label { position: absolute; inset: 0; display: grid; place-items: center; font-size: .82rem; color: var(--white); text-shadow: 0 1px 0 #6a3f00, 0 0 3px #6a3f00; }
.spin-btn { font-size: 2rem; padding: .35em 1.9em .45em; flex-direction: column; gap: 0; line-height: 1.05; }
.spin-btn small { font-size: .78rem; font-weight: 800; opacity: .92; }
.spin-btn[disabled] { filter: grayscale(.6) brightness(.9); cursor: not-allowed; }
.result {
  min-height: 2.6em; font-family: var(--display); font-weight: 900; font-size: 1.2rem; color: var(--navy); text-align: center;
}
.result.win { color: var(--gold-lo); animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (max-width: 860px) { .slot-wrap { grid-template-columns: 1fr; } .slot-copy { text-align: center; } .slot-copy p { margin-inline: auto; } }

/* ---------- islands ---------- */
.islands { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 26px 18px; }
.isle { display: grid; justify-items: center; gap: 8px; text-align: center; transition: transform .2s ease; }
.isle:nth-child(even) { transform: translateY(34px); }
.isle img { width: 100%; max-width: 170px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 20, 60, .45)); transition: transform .2s ease; }
.isle:hover img { transform: translateY(-6px) rotate(-2deg); }
.isle span {
  font-family: var(--display); font-weight: 900; font-size: .9rem; letter-spacing: .04em; color: var(--white);
  background: var(--navy); padding: 3px 12px; border-radius: 999px; box-shadow: 0 0 0 2px var(--gold);
}
.isle__n { color: var(--gold); margin-right: 4px; }
.islands-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 40px; margin-top: 80px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2.6rem, 6vw, 3.8rem); line-height: 1; }
.stat span { font-family: var(--display); font-weight: 800; color: #e9f3ff; }
@media (max-width: 980px) { .islands { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .islands { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; } .isle:nth-child(even) { transform: none; } .isle span { font-size: .72rem; padding: 2px 8px; } }

/* ---------- cards ---------- */
.cards-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(30px, 5vw, 60px); align-items: center; }
.cardgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gcard {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  padding: 6px; border-radius: 16px; box-shadow: 0 8px 18px rgba(60, 30, 0, .3);
  transition: transform .2s ease;
}
.gcard:nth-child(4n+1) { transform: rotate(-2deg); }
.gcard:nth-child(4n+3) { transform: rotate(2deg); }
.gcard:hover { transform: translateY(-6px) rotate(0); }
.gcard img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; }
.gcard figcaption {
  font-family: var(--display); font-weight: 900; font-size: .78rem; letter-spacing: .05em; text-align: center; color: var(--white);
  background: var(--navy); margin: 6px 2px 2px; border-radius: 8px; padding: 2px 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.albums { padding: 28px 26px; }
.albums h3 { font-size: 1.7rem; color: var(--navy); margin-bottom: 6px; }
.albums > p { color: var(--ink-soft); margin-bottom: 16px; }
.albums ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.albums li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: .95rem; color: var(--ink);
  background: rgba(255,255,255,.55); border-radius: 12px; padding: 6px 12px; box-shadow: inset 0 0 0 2px var(--parch-2);
}
.albums li b { color: var(--white); background: var(--green); border-radius: 999px; padding: 0 10px; font-size: .8rem; box-shadow: 0 2px 0 var(--green-lo); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .cards-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cardgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cardgrid .gcard:nth-child(n+10) { display: none; } }

/* ---------- more to do ---------- */
.extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.extra { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.extra img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); }
.extra h3 { font-size: 1.2rem; color: var(--gold); margin-bottom: 4px; }
.extra p { font-size: .95rem; color: #dce8ff; }
@media (max-width: 980px) { .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .extras { grid-template-columns: 1fr; } }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.event { grid-column: span 2; border-radius: 18px; overflow: hidden; position: relative; background: var(--navy);
  box-shadow: 0 0 0 4px var(--gold), 0 0 0 6px var(--gold-lo), 0 14px 26px rgba(20, 30, 80, .3); }
.event--wide { grid-column: span 3; }
.event img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.event:hover img { transform: scale(1.04); }
.event figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 16px 14px;
  background: linear-gradient(180deg, rgba(10, 20, 60, 0) 0%, rgba(10, 20, 60, .78) 45%, rgba(10, 20, 60, .92) 100%);
  color: var(--white);
}
.event b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.25rem; color: var(--gold); text-shadow: 0 2px 0 rgba(0,0,0,.4); }
.event span { font-size: .9rem; }
@media (max-width: 900px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } .event, .event--wide { grid-column: span 1; } }
@media (max-width: 520px) { .events { grid-template-columns: 1fr; } }

/* ---------- screenshots ---------- */
.shots { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 10px 34px; scrollbar-width: thin; }
.shots .phone { flex: none; width: 230px; scroll-snap-align: center; }
.shots .phone:nth-child(odd) { transform: translateY(18px); }
.shots-note { text-align: center; font-size: .85rem; color: var(--ink-soft); }

/* ---------- FAQ (settings-row style) ---------- */
.faq { max-width: 820px; margin-inline: auto; padding: 30px clamp(16px, 3vw, 34px); display: grid; gap: 14px; }
.faq details { border-radius: 16px; background: linear-gradient(180deg, #fff6df, #f4e2b8); box-shadow: inset 0 0 0 3px var(--gold), inset 0 0 0 5px #fff3d2; }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 24px; gap: 14px; align-items: center;
  padding: 12px 16px; font-family: var(--display); font-weight: 900; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 16px; }
.faq__ico {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--gold);
  font-weight: 900; font-size: 1.2rem;
  background: radial-gradient(circle at 40% 35%, #4f8df0, var(--blue-lo)); box-shadow: 0 0 0 3px var(--gold), 0 0 0 5px var(--gold-lo);
}
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--gold-lo); text-align: center; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px 74px; color: var(--ink); }
@media (max-width: 520px) { .faq details > div { padding-left: 20px; } }

/* ---------- final call ---------- */
.final { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky-2), var(--sky-1)); padding-block: clamp(70px, 9vw, 110px) 0; }
.final__in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: 30px; }
.final__cap { width: min(330px, 100%); justify-self: center; position: relative; z-index: 3; margin-bottom: -10px; }
.final__copy { padding-bottom: clamp(60px, 8vw, 110px); position: relative; z-index: 3; }
.final__copy h2 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.final__copy p { color: var(--white); font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: 30px; text-shadow: 0 2px 0 rgba(10,40,110,.4); }
@media (max-width: 800px) { .final__in { grid-template-columns: 1fr; text-align: center; } .final__copy { order: -1; padding-bottom: 0; } .final .stores { justify-content: center; } .final__cap { width: 230px; } }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #c9d6f5; padding-block: 34px 40px; font-size: .92rem; }
.footer__in { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.footer img { height: 54px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: var(--white); text-decoration: none; font-weight: 700; }
.footer a:hover { color: var(--gold); }
.footer small { display: block; width: 100%; color: #93a6d6; font-size: .82rem; }

/* ---------- bottom tab bar (phones), like the game ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .tabbar {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(180deg, var(--navy-2), var(--navy));
    border-top: 3px solid var(--gold); box-shadow: 0 -6px 18px rgba(10, 20, 60, .35);
  }
  .tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--white);
    font-family: var(--display); font-weight: 900; font-size: .64rem; letter-spacing: .03em; padding: 4px 0; border-radius: 12px; }
  .tabbar img { width: 36px; height: 36px; object-fit: contain; }
  .tabbar a.is-home { background: linear-gradient(180deg, #ffe58a, #f2b630); color: var(--navy); box-shadow: 0 0 0 2px var(--gold-lo); margin-top: -14px; padding-top: 8px; }
}

/* ---------- legal / support pages ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: 50px 120px; text-align: center;
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2)); }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); position: relative; z-index: 3; }
.page-hero p { color: var(--white); font-family: var(--display); font-weight: 800; position: relative; z-index: 3; margin-top: 14px; text-shadow: 0 2px 0 rgba(10,40,110,.4); }
.page-body { background: linear-gradient(180deg, var(--cloud), #fde9ee); padding-block: 10px 90px; }
.doc { max-width: 860px; margin: 0 auto; padding: clamp(24px, 5vw, 50px); }
.doc h2 { font-size: 1.45rem; color: var(--navy); margin: 34px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { color: var(--ink); max-width: 68ch; }
.doc p + p { margin-top: 10px; }
.doc ul, .doc ol { padding-left: 1.3em; display: grid; gap: 6px; margin: 10px 0; }
.doc .meta { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 2px solid var(--parch-2); }
.doc th { font-family: var(--display); color: var(--navy); }
.table-scroll { overflow-x: auto; }
.mailbox {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(180deg, #fff6df, #f4e2b8); box-shadow: inset 0 0 0 3px var(--gold);
}
.mailbox code { font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--navy); word-break: break-all; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 52px; min-height: 40px; }
.steps-list li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--display); font-weight: 900; color: var(--white);
  background: radial-gradient(circle at 40% 35%, #4f8df0, var(--blue-lo)); box-shadow: 0 0 0 3px var(--gold);
}
.note { margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: #e6f0ff; color: var(--navy); font-size: .95rem; }

/* 20 albums: two columns of regular sets, then the rare ones */
.albums__list { grid-template-columns: 1fr 1fr; }
.albums__list li { font-size: .88rem; }
.albums h4 { margin: 18px 0 8px; font-size: 1.05rem; color: var(--navy); }
.albums__rare li { background: linear-gradient(90deg, #3E0F73, #6a2bb0); color: #fff; }
.albums__rare li i { font-style: normal; font-size: .62rem; letter-spacing: .06em; background: rgba(255,255,255,.18); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
.albums__rare li b { background: var(--gold, #f2b51d); color: #3a1b00; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
@media (max-width: 520px) { .albums__list { grid-template-columns: 1fr; } }
.cards-layout { align-items: start; }
