/* Slingora website: plain CSS, no build step. */
@font-face {
  font-family: "Lilita One";
  src: url("../assets/fonts/LilitaOne-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --navy: #13285a;
  --navy-deep: #0b1a3a;
  --blue: #2457b8;
  --sky: #3fa2ec;
  --sky-light: #8fd3ff;
  --gold: #ffcc2e;
  --gold-light: #ffe680;
  --orange: #f58a2a;
  --red: #e8401a;
  --ice: #7fd0f5;
  --zap: #ffd23f;
  --earth: #a8703f;
  --purple: #6a3fb5;
  --ink: #1b2440;
  --muted: #5a6685;
  --paper: #ffffff;
  --cream: #fff8ea;
  --line: #e3e8f3;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(11, 26, 58, .18);
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .4em; letter-spacing: .5px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(19, 40, 90, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: #fff;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.6rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand:hover { color: var(--gold); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: #dfe8ff; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .4px;
  padding: 12px 22px; border-radius: 16px; border: 0; cursor: pointer;
  text-decoration: none; color: var(--navy);
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, #f5a312);
  box-shadow: 0 5px 0 #b97a06, 0 10px 20px rgba(11,26,58,.25);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 7px 0 #b97a06, 0 14px 24px rgba(11,26,58,.28); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #b97a06, 0 6px 12px rgba(11,26,58,.25); }
.btn.small { font-size: 1rem; padding: 8px 16px; border-radius: 12px; box-shadow: 0 4px 0 #b97a06; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b0f1a; color: #fff; text-decoration: none;
  padding: 10px 20px 10px 16px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25);
  min-width: 210px; transition: transform .12s ease, background .12s ease;
}
.store:hover { color: #fff; transform: translateY(-2px); background: #161c2c; }
.store svg { width: 30px; height: 30px; flex: none; }
.store small { display: block; font-size: .72rem; opacity: .8; line-height: 1.2; }
.store strong { display: block; font-size: 1.2rem; line-height: 1.2; font-weight: 700; }
.store.soon { cursor: default; }
.store.soon:hover { transform: none; background: #0b0f1a; }
.stores { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #8fd3ff 0%, #3fa2ec 45%, #1f6fc4 100%);
  padding: 56px 0 90px;
}
.hero::before { /* sun rays */
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg at 70% 40%, rgba(255,255,255,.09) 0 6deg, transparent 6deg 18deg);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-logo { width: min(380px, 80%); margin: 0 0 18px -8px; filter: drop-shadow(0 12px 18px rgba(11,26,58,.3)); }
.hero h1 { text-shadow: 0 4px 0 var(--navy), 0 10px 22px rgba(11,26,58,.35); }
.hero h1 .gold { color: var(--gold); }
.hero .lead { font-size: 1.2rem; max-width: 34em; color: #f2f7ff; }
.hero-art { position: relative; }
.hero-art img {
  border-radius: 28px; border: 8px solid #fff; box-shadow: var(--shadow), 0 0 0 6px var(--navy);
  transform: rotate(2.5deg);
}
.hero-art .burst { position: absolute; left: -26px; top: -30px; transform: rotate(-12deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; padding: 0; list-style: none; }
.chips li { background: rgba(11,26,58,.35); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; width: 100%; }

/* starburst badge */
.burst {
  width: 132px; height: 132px; display: grid; place-items: center; text-align: center;
  font-family: var(--display); color: #c4161c; font-size: 1.25rem; line-height: 1;
  background: var(--gold);
  clip-path: polygon(50% 0,58% 13%,72% 5%,74% 20%,89% 17%,84% 31%,98% 36%,87% 47%,98% 59%,84% 64%,89% 80%,74% 77%,71% 93%,58% 85%,50% 100%,42% 85%,29% 93%,26% 77%,11% 80%,16% 64%,2% 59%,13% 47%,2% 36%,16% 31%,11% 17%,26% 20%,28% 5%,42% 13%);
  filter: drop-shadow(4px 6px 0 var(--navy));
}

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.eyebrow { display: inline-block; font-family: var(--display); color: var(--blue); letter-spacing: 1.5px; text-transform: uppercase; font-size: .95rem; margin-bottom: 8px; }

/* heroes / elements */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 28px rgba(11,26,58,.10); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11,26,58,.16); }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card .body { padding: 20px 22px 24px; }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }
.tag { display: inline-block; font-family: var(--display); font-size: .9rem; letter-spacing: .5px; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; color: #fff; }
.tag.fire { background: linear-gradient(90deg, var(--orange), var(--red)); }
.tag.ice { background: linear-gradient(90deg, #58c4f5, #2a7fd0); }
.tag.zap { background: linear-gradient(90deg, #ffc21a, #e0a000); color: var(--navy); }
.tag.earth { background: linear-gradient(90deg, #a8703f, #6e4422); }

/* chain reaction strip */
.reactions { background: linear-gradient(135deg, #24166b, #6a3fb5); color: #fff; position: relative; overflow: hidden; }
.reactions::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 45%); }
.reactions .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.reactions .eyebrow { color: var(--gold); }
.reactions img { border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow); transform: rotate(-2deg); }
.rules { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 12px 16px; }
.rules b { font-family: var(--display); font-weight: 400; font-size: 1.15rem; min-width: 7.5em; color: var(--gold); }

/* worlds */
.worlds { background: var(--cream); }
.world-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: w; }
.world {
  border-radius: 18px; padding: 18px 18px 20px; color: #fff; position: relative; min-height: 150px;
  box-shadow: 0 8px 20px rgba(11,26,58,.15);
}
.world::before { counter-increment: w; content: "World " counter(w); display: block; font-size: .8rem; opacity: .85; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.world h3 { font-size: 1.35rem; margin: 4px 0 6px; }
.world p { font-size: .92rem; margin: 0 0 10px; opacity: .95; }
.world .diff { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; background: rgba(0,0,0,.25); padding: 3px 10px; border-radius: 999px; }
.w1 { background: linear-gradient(160deg, #6fcf4f, #2f8a3a); }
.w2 { background: linear-gradient(160deg, #f5a24a, #c2541a); }
.w3 { background: linear-gradient(160deg, #8fb8e8, #3a5fa8); }
.w4 { background: linear-gradient(160deg, #ff7a3a, #8a1f1a); }
.w5 { background: linear-gradient(160deg, #8a6ff0, #3a2a8a); }
.w6 { background: linear-gradient(160deg, #3fc8d8, #1f7a9a); }
.w7 { background: linear-gradient(160deg, #6a7a9a, #2a3450); }
.w8 { background: linear-gradient(160deg, #c35bd8, #1e0f3a); }
.worlds-shot { margin: 40px auto 0; width: min(100%, 900px); border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid #fff; }

/* screenshots */
.shots { background: linear-gradient(180deg, #1f6fc4, #13285a); color: #fff; }
.shots .section-head p { color: #d6e4ff; }
.shots .eyebrow { color: var(--gold); }
.carousel { position: relative; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin;
  overscroll-behavior-x: contain;
}
.track figure { margin: 0; scroll-snap-align: center; }
.track img { border-radius: 18px; box-shadow: 0 16px 32px rgba(0,0,0,.35); cursor: zoom-in; width: 100%; }
.carousel-btn {
  position: absolute; top: calc(50% - 30px); width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); font-size: 1.6rem; font-weight: 900; box-shadow: 0 4px 0 #b97a06;
  display: grid; place-items: center;
}
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn:disabled { opacity: .35; cursor: default; }

/* fair play */
.fair .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fact { border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.fact .icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 14px; background: var(--cream); }
.fact h3 { font-size: 1.3rem; }
.fact p { color: var(--muted); margin: 0; }

/* faq */
.faq { background: #f4f7fd; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 4px 22px; }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; color: var(--blue); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); }

/* final CTA */
.cta { text-align: center; color: #fff; background: radial-gradient(100% 120% at 50% 0%, #ffcf6b, #e8401a 70%); }
.cta h2 { text-shadow: 0 4px 0 #7a1f1f; }
.cta .stores { justify-content: center; margin-top: 26px; }
.cta img { width: 120px; margin: 0 auto 18px; border-radius: 28px; box-shadow: 0 12px 26px rgba(0,0,0,.3); }

/* footer */
.site-footer { background: var(--navy-deep); color: #b9c6e6; padding: 46px 0 34px; font-size: .95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.legal-note { width: 100%; font-size: .82rem; color: #8090b8; margin: 0; }

/* ---------- document pages (privacy, terms, support) ---------- */
.page-hero { background: linear-gradient(135deg, #1f6fc4, #13285a); color: #fff; padding: 64px 0 56px; }
.page-hero p { color: #d6e4ff; margin: 0; }
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 820px; }
.doc h2 { font-size: 1.9rem; margin-top: 1.6em; color: var(--navy); }
.doc h3 { font-size: 1.3rem; margin-top: 1.2em; color: var(--navy); }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .45em; }
.toc { background: #f4f7fd; border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; margin-bottom: 30px; }
.toc ol { margin: 8px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.note { background: var(--cream); border-left: 5px solid var(--gold); border-radius: 0 14px 14px 0; padding: 14px 18px; margin: 18px 0; }
table.data { width: 100%; border-collapse: collapse; margin: 14px 0 20px; font-size: .95rem; }
table.data th, table.data td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
table.data th { background: #f4f7fd; color: var(--navy); }
.table-scroll { overflow-x: auto; }
.contact-card { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; }
.contact-card strong { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--navy); display: block; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 12, 28, .92); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 90vh; border-radius: 14px; }
.lightbox button { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .store { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .reactions .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; margin: 10px auto 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .fair .grid { grid-template-columns: 1fr; }
  .carousel-btn { display: none; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 10px 16px 18px; gap: 2px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  section { padding: 64px 0; }
  .hero { padding: 36px 0 80px; }
  .hero-art .burst { width: 100px; height: 100px; font-size: 1rem; left: -8px; top: -20px; }
  .toc ol { columns: 1; }
  .store { min-width: 0; flex: 1 1 200px; }
}
@media (max-width: 520px) {
  .cards, .world-grid { grid-template-columns: 1fr; }
  .track { grid-auto-columns: 88%; }
}
