/* ==========================================================================
   Akharin Chaman (آخرین چمن) landing page
   ========================================================================== */

@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-arabic.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Lalezar";
  src: url("/assets/fonts/lalezar-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/assets/fonts/vazirmatn.woff2") format("woff2-variations"), url("/assets/fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #0c2414;
  --bg-2: #10301b;
  --bg-3: #174224;
  --panel: rgba(20, 56, 31, 0.72);
  --panel-solid: #14361f;
  --line: rgba(255, 214, 92, 0.22);
  --line-2: rgba(255, 255, 255, 0.09);
  --sun: #ffcf3f;
  --sun-2: #ffa41f;
  --sun-deep: #a8560c;
  --leaf: #7cc142;
  --leaf-2: #4f9a2a;
  --leaf-deep: #2f6414;
  --parch: #fff4dc;
  --text: #f7f1df;
  --muted: #b9cdb4;
  --dim: #87a184;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  --font-display: "Lalezar", "Vazirmatn", system-ui, sans-serif;
  --font-body: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --nav-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sun); text-decoration: none; }
a:hover { color: #ffe37f; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; margin: 0; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--sun); color: #2a1a03; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --b-top: #ffe673; --b-bot: var(--sun-2); --b-edge: var(--sun-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-size: 21px; line-height: 1;
  color: #3a2003; padding: 17px 28px 19px; border-radius: 999px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, var(--b-top), var(--b-bot));
  box-shadow: 0 6px 0 var(--b-edge), 0 14px 28px rgba(255, 170, 30, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.6);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn:hover { color: #3a2003; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 8px 0 var(--b-edge), 0 18px 34px rgba(255, 170, 30, 0.36), inset 0 2px 0 rgba(255, 255, 255, 0.6); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--b-edge), inset 0 2px 0 rgba(255, 255, 255, 0.6); }
.btn--sm { font-size: 17px; padding: 11px 18px 13px; box-shadow: 0 4px 0 var(--b-edge), inset 0 2px 0 rgba(255, 255, 255, 0.55); }
.btn--sm svg { width: 18px; height: 18px; }
.btn--lg { font-size: 23px; padding: 19px 34px 21px; }

.store {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 22px; border-radius: 999px; color: var(--text);
  background: rgba(8, 26, 13, 0.72); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.store img { width: 40px; height: 40px; border-radius: 50%; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-size: 12px; color: var(--muted); }
.store b { font-family: var(--font-display); font-weight: 400; font-size: 20px; }
.store:hover { color: var(--text); transform: translateY(-2px); border-color: rgba(124, 193, 66, 0.8); background: rgba(14, 40, 20, 0.88); }

.round-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--panel); border: 1px solid var(--line); color: var(--sun); transition: background .15s ease, transform .15s ease; }
.round-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.round-btn:hover { background: var(--bg-3); transform: scale(1.06); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); transition: background .25s ease, box-shadow .25s ease; }
.nav.is-scrolled, .nav.is-open { background: rgba(8, 26, 13, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px rgba(0, 0, 0, 0.3); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.nav__brand:hover { color: var(--text); }
.nav__brand img { width: 48px; height: 48px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .45)); transition: transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.nav__brand:hover img { transform: rotate(-10deg) scale(1.08); }
.nav__brand span { font-family: var(--font-display); font-size: 26px; line-height: 1; text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.nav__links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav__links a { color: var(--text); font-weight: 600; font-size: 16px; padding: 8px 14px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav__links a:hover { background: rgba(255, 255, 255, 0.08); color: var(--sun); }
.nav__dl { display: none; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, min(100svh, 960px)); display: flex; align-items: center; isolation: isolate; overflow: hidden; padding-top: var(--nav-h); }
.hero__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to left, rgba(12, 36, 20, 0.93) 0%, rgba(12, 36, 20, 0.7) 30%, rgba(12, 36, 20, 0.1) 58%, transparent 72%),
    linear-gradient(to bottom, rgba(7, 24, 12, 0.55) 0%, transparent 18%);
}
.hero__grass { position: absolute; inset: auto 0 -1px; height: 90px; z-index: 1; pointer-events: none; background: var(--bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22l4-14 3 15 4-19 4 20 3-12 4 13 4-18 3 17 5-15 3 14 4-20 4 21 3-11 4 12 5-17 3 16 4-13 3 14 5-19 3 18 4-12 4 13 3-16 4 15 5-18 3 17 4-14 3 15 4-11 4 12 3-17 4 16 5-13 3 13v19z'/%3E%3C/svg%3E") bottom / 220px 100% repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22l4-14 3 15 4-19 4 20 3-12 4 13 4-18 3 17 5-15 3 14 4-20 4 21 3-11 4 12 5-17 3 16 4-13 3 14 5-19 3 18 4-12 4 13 3-16 4 15 5-18 3 17 4-14 3 15 4-11 4 12 3-17 4 16 5-13 3 13v19z'/%3E%3C/svg%3E") bottom / 220px 100% repeat-x; }
.hero__content { display: flex; justify-content: flex-start; position: relative; z-index: 2; }
.hero__copy { max-width: 580px; padding-block: 40px 120px; }
.hero__logo { margin: 0 0 4px -10px; }
.hero__logo img { width: min(460px, 100%); filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.5)); animation: logoIn .9s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.7) rotate(3deg); } to { opacity: 1; transform: none; } }
.eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.eyebrow span { font-size: 13px; font-weight: 700; color: #e4f7cf; padding: 4px 12px; border-radius: 99px; background: rgba(124, 193, 66, 0.18); border: 1px solid rgba(124, 193, 66, 0.5); }
.hero__title { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 54px); line-height: 1.3; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5); }
.hero__title em { font-style: normal; background: linear-gradient(180deg, #fff07a, #ffb02a); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 rgba(110, 50, 0, .55)); }
.hero__lead { color: #e3eedd; font-size: 18px; margin-top: 14px; max-width: 540px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); }
.cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 30px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(124, 193, 66, 0.25); }

.hero__petals { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__petals i { position: absolute; top: -30px; width: 14px; height: 9px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #b5e36b, #4f9a2a); opacity: 0; animation: leaf 14s linear infinite; }
.hero__petals i:nth-child(2n) { background: linear-gradient(135deg, #ffe680, #ffb02a); width: 10px; height: 10px; border-radius: 50% 50% 50% 0; }
.hero__petals i:nth-child(1) { left: 6%; animation-delay: 0s; }
.hero__petals i:nth-child(2) { left: 19%; animation-delay: 3s; animation-duration: 17s; }
.hero__petals i:nth-child(3) { left: 33%; animation-delay: 6s; }
.hero__petals i:nth-child(4) { left: 48%; animation-delay: 1.5s; animation-duration: 16s; }
.hero__petals i:nth-child(5) { left: 61%; animation-delay: 8s; }
.hero__petals i:nth-child(6) { left: 74%; animation-delay: 4.5s; animation-duration: 19s; }
.hero__petals i:nth-child(7) { left: 88%; animation-delay: 10s; }
@keyframes leaf { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: .9; } 50% { transform: translate(-60px, 50vh) rotate(260deg); } 90% { opacity: .7; } 100% { transform: translate(30px, 100vh) rotate(540deg); opacity: 0; } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -40px; }
.stat {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: var(--radius); background: linear-gradient(180deg, #1d4a2a, #133520);
  border: 1px solid var(--line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.stat img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.4)); }
.stat b { font-family: var(--font-display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--sun); }
.stat span { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 110px; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section__head--start { text-align: start; margin-inline: 0; }
.section__head h2 { font-size: clamp(36px, 4.6vw, 56px); text-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.section__head p:not(.kicker) { color: var(--muted); margin-top: 14px; font-size: 18px; }
.section__head .btn { margin-top: 26px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 20px; color: var(--leaf); margin-bottom: 8px; }
.kicker::before { content: ""; width: 18px; height: 12px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #b5e36b, #4f9a2a); }
.chip { display: inline-block; font-size: 13px; font-weight: 800; padding: 3px 12px; border-radius: 99px; background: rgba(124, 193, 66, 0.18); color: #d9f5bd; border: 1px solid rgba(124, 193, 66, 0.5); }

/* ---------- How to play ---------- */
.how { background: radial-gradient(900px 500px at 50% 0%, rgba(255, 207, 63, 0.10), transparent 70%); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.step:hover { transform: translateY(-6px); border-color: var(--line); }
.step__art { aspect-ratio: 1 / 0.86; overflow: hidden; }
.step__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.step:hover .step__art img { transform: scale(1.06); }
.step__body { position: relative; padding: 34px 24px 26px; }
.step__num { position: absolute; top: -30px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 30px; line-height: 1; color: #3a2003; background: radial-gradient(circle at 40% 35%, #fff2a0, var(--sun) 45%, var(--sun-2)); box-shadow: 0 0 0 5px var(--panel-solid), 0 6px 16px rgba(0, 0, 0, .4); }
.step h3 { font-size: 28px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 40%; left: -26px; width: 28px; height: 28px; z-index: 2; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffcf3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E"); }

/* ---------- Trailer ---------- */
.trailer { background: linear-gradient(180deg, transparent, var(--bg-2) 25%, var(--bg-2) 75%, transparent); }
.trailer__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.trailer__grid .section__head { margin-bottom: 0; }
.trailer__frame { position: relative; padding: 10px; border-radius: 28px; background: linear-gradient(145deg, #8a5a2b, #5a3a1b 40%, #8a5a2b); box-shadow: var(--shadow), inset 0 2px 0 rgba(255, 255, 255, .2); }
.trailer__frame::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 70px; height: 70px; background: no-repeat center / contain url("/assets/img/icons/icon_sun.webp"); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); animation: spin 24s linear infinite; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.trailer__frame video { width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #000; object-fit: cover; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 22px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-5px); border-color: var(--line); }
.card__art { width: 100%; aspect-ratio: 1 / 0.8; object-fit: cover; }
.card__body { padding: 22px 24px 26px; }
.card h3 { font-size: 28px; margin: 10px 0 6px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.card--wide { grid-column: span 2; flex-direction: row; }
.card--wide .card__art { width: 50%; aspect-ratio: auto; height: 100%; min-height: 340px; }
.card--wide .card__body { align-self: center; padding: 30px 34px; }
.card--wide h3 { font-size: 36px; }
.card--badges { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; background: radial-gradient(circle at 50% 110%, rgba(255, 207, 63, 0.22), transparent 60%), var(--panel); }
.card--badges .card__body { flex: 1; padding: 30px 34px; }
.badges { flex: none; list-style: none; padding: 26px 34px; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 18px; justify-items: center; }
.badges img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); transition: transform .3s cubic-bezier(.2, 1.4, .4, 1); }
.badges li:nth-child(odd) img { transform: rotate(-6deg); }
.badges li:nth-child(even) img { transform: rotate(5deg) translateY(6px); }
.card--badges:hover .badges img { transform: none; }
.leagues { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px; }
.leagues img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45)); transition: transform .2s ease; }
.leagues img:hover { transform: translateY(-4px) scale(1.12); }

/* ---------- Journey ---------- */
.journey { background: radial-gradient(800px 600px at 80% 50%, rgba(63, 198, 216, 0.10), transparent 70%); }
.journey__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.journey__art { order: 2; position: relative; }
.journey__art img { width: 100%; border-radius: 32px; box-shadow: var(--shadow); border: 6px solid #2b5a33; transform: rotate(-2deg); transition: transform .4s ease; }
.journey__art:hover img { transform: rotate(0) scale(1.02); }
.journey__art::after { content: ""; position: absolute; bottom: -26px; right: -18px; width: 110px; height: 110px; background: no-repeat center / contain url("/assets/img/icons/icon_map.webp"); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); transform: rotate(8deg); }
.journey__body .section__head { margin-bottom: 28px; }
.lands { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.land { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-2); border-inline-start: 4px solid var(--c); }
.land__n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 21px; color: #10220f; background: var(--c); }
.land b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 21px; line-height: 1.3; }
.land small { color: var(--muted); font-size: 13px; }

/* ---------- Gallery ---------- */
.shots {
  --pad: max(24px, calc((100vw - 1200px) / 2 + 24px));
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 24px; scroll-padding-inline: var(--pad);
  scrollbar-width: thin; scrollbar-color: rgba(124, 193, 66, .6) transparent;
}
.shots::-webkit-scrollbar { height: 8px; }
.shots::-webkit-scrollbar-thumb { background: rgba(124, 193, 66, .5); border-radius: 8px; }
.shot { flex: none; width: min(640px, 86vw); padding: 0; border: 0; cursor: zoom-in; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: var(--panel-solid); box-shadow: var(--shadow); outline-offset: 4px; transition: transform .25s ease; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot:hover { transform: translateY(-4px); }
.shots__nav { display: flex; gap: 12px; justify-content: center; margin-top: 10px; }

/* ---------- Download ---------- */
.download { position: relative; isolation: isolate; overflow: hidden; padding-block: 120px; margin-top: 40px; }
.download__bg { position: absolute; inset: 0; z-index: -2; display: block; }
.download__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%; }
.download::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(12, 36, 20, 0.92) 0%, rgba(12, 36, 20, 0.66) 38%, transparent 70%), linear-gradient(to bottom, var(--bg) 0%, transparent 16%, transparent 84%, var(--bg) 100%); }
.download__inner { display: flex; justify-content: flex-start; }
.download__box { width: min(560px, 100%); padding: 36px; border-radius: 30px; background: rgba(8, 26, 13, 0.74); border: 1px solid var(--line); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.download__box h2 { font-size: clamp(34px, 4vw, 48px); }
.download__box > p:not(.kicker) { color: var(--muted); margin-top: 8px; }
.platforms { display: grid; gap: 12px; margin-top: 26px; }
.platform { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 20px; color: var(--text); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); transition: transform .15s ease, border-color .15s ease, background .15s ease; }
.platform:hover { color: var(--text); transform: translateX(-4px); border-color: rgba(124, 193, 66, .7); background: rgba(124, 193, 66, 0.1); }
.platform__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; }
.platform--web .platform__icon { background: linear-gradient(180deg, #b5e36b, var(--leaf-2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45); }
.platform--web .platform__icon svg { width: 28px; height: 28px; fill: none; stroke: #0f2a0a; stroke-width: 2; }
.platform--web { border-color: rgba(124, 193, 66, 0.55); background: rgba(124, 193, 66, 0.1); }
.platform__text { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.platform__text b { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.platform__text small { color: var(--muted); font-size: 13px; }
.platform__go { margin-inline-start: auto; flex: none; white-space: nowrap; font-family: var(--font-display); font-size: 17px; color: #3a2003; padding: 8px 18px 10px; border-radius: 999px; background: linear-gradient(180deg, #ffe673, var(--sun-2)); box-shadow: 0 3px 0 var(--sun-deep); }
.qr { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.qr img { flex: none; width: 112px; height: 112px; padding: 8px; border-radius: 16px; background: #fff; }
.qr p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.qr b { display: block; color: var(--text); font-size: 15px; }
.is-android .platform[data-platform="android"] { order: -1; }

/* ---------- FAQ ---------- */
.faq__wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; max-width: 1040px; }
.faq__mascot { order: 2; }
.faq__mascot img { width: 100%; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.5)); animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.faq .section__head { margin-bottom: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line-2); transition: border-color .2s ease; }
.faq details[open] { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; line-height: 1; color: #0f2a0a; background: linear-gradient(180deg, #b5e36b, var(--leaf-2)); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 30px; background: #071a0d; border-top: 1px solid var(--line); padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.3fr; gap: 32px; align-items: start; }
.footer__studio p { color: var(--muted); font-size: 15px; margin-top: 12px; }
.footer__logo img { width: 124px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col h3 { font-size: 20px; color: var(--text); margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: 15px; }
.footer__col a:hover { color: var(--sun); }
.footer__promo { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 20px; color: var(--text); background: linear-gradient(135deg, rgba(40, 70, 140, 0.35), rgba(255, 170, 40, 0.12)); border: 1px solid rgba(255, 197, 61, 0.35); transition: transform .2s ease, border-color .2s ease; }
.footer__promo:hover { color: var(--text); transform: translateY(-3px); border-color: rgba(255, 197, 61, 0.7); }
.footer__promo img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.footer__promo span { display: flex; flex-direction: column; line-height: 1.4; }
.footer__promo small { color: #ffd87a; font-size: 12px; font-weight: 700; }
.footer__promo b { font-family: var(--font-display); font-weight: 400; font-size: 24px; }
.footer__promo em { font-style: normal; color: var(--muted); font-size: 13px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; margin-top: 40px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--dim); }
.footer__top { color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: rgba(3, 12, 6, 0.93); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 48px); width: auto; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__close { position: absolute; top: 16px; inset-inline-end: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; font-size: 30px; line-height: 1; background: rgba(255, 255, 255, 0.12); color: #fff; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255, 255, 255, 0.12); color: #fff; display: grid; place-items: center; }
.lightbox__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__nav--prev { right: 16px; }
.lightbox__nav--next { left: 16px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(124, 193, 66, 0.4); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .journey__art.reveal.is-in img { transform: rotate(-2deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links a { padding: 8px 10px; font-size: 15px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .card--wide, .card--badges { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__inner { gap: 12px; }
  .nav__toggle { display: flex; }
  .nav__play { margin-inline-start: auto; }
  .nav__links {
    position: absolute; inset: var(--nav-h) 0 auto; margin: 0; flex-direction: column; gap: 2px; padding: 10px 16px 18px;
    background: rgba(8, 26, 13, 0.97); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 12px 14px; font-size: 17px; border-radius: 12px; }
  .nav__dl { display: block; }

  .hero { min-height: 0; display: block; padding-top: 0; }
  .hero__bg { position: relative; height: 64svh; min-height: 380px; max-height: 560px; }
  .hero__bg img { object-position: 26% 50%; }
  .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(12, 36, 20, 0.7) 22%, transparent 50%), linear-gradient(to bottom, rgba(12, 36, 20, 0.75) 0%, transparent 20%); }
  .hero::before { display: none; }
  .hero__petals, .hero__grass { display: none; }
  .hero__content { margin-top: -120px; }
  .hero__copy { padding-block: 0 40px; max-width: none; }
  .hero__logo { margin: 0 0 4px; }
  .hero__logo img { width: min(360px, 80vw); }
  .stats { margin-top: 8px; }

  .section { padding-block: 80px; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 560px; margin-inline: auto; }
  .steps .step:not(:last-child)::after { top: auto; bottom: -36px; left: 50%; translate: -50% 0; transform: rotate(-90deg); }
  .step__art { aspect-ratio: 16 / 10; }
  .trailer__grid { grid-template-columns: 1fr; gap: 28px; }
  .journey__grid { grid-template-columns: 1fr; gap: 36px; }
  .journey__art { order: 0; width: 100%; max-width: 520px; margin-inline: auto; }
  .faq__wrap { grid-template-columns: 1fr; }
  .faq__mascot { display: none; }
  .download { padding-block: 0 70px; }
  .download__bg { position: relative; height: 48svh; min-height: 300px; max-height: 460px; }
  .download__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(12, 36, 20, 0.6) 30%, transparent 60%), linear-gradient(to bottom, var(--bg) 0%, transparent 25%); }
  .download::before { display: none; }
  .download__inner { margin-top: -110px; position: relative; }
  .download__box { width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .shots { --pad: 16px; gap: 14px; }
  .nav__brand img { width: 40px; height: 40px; }
  .nav__brand span { font-size: 22px; }
  .nav__play { font-size: 15px; padding: 9px 14px 11px; }
  .hero__lead { font-size: 16px; }
  .cta { align-items: stretch; }
  .cta .btn--lg { font-size: 21px; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .store { padding: 10px 12px; gap: 10px; }
  .store img { width: 34px; height: 34px; }
  .store b { font-size: 18px; }
  .stats { gap: 10px; }
  .stat { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 16px 10px; }
  .stat img { grid-row: auto; width: 44px; height: 44px; margin-bottom: 6px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 13px; }
  .feature-grid { grid-template-columns: 1fr; }
  .card--wide, .card--badges { flex-direction: column; }
  .card--badges .card__body { padding: 22px 24px 8px; }
  .badges { padding: 8px 20px 26px; }
  .card--wide .card__art { width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 0.8; }
  .card--wide .card__body { padding: 22px 24px 26px; }
  .card--wide h3 { font-size: 30px; }
  .lands { grid-template-columns: 1fr; }
  .journey__art::after { width: 80px; height: 80px; right: -6px; }
  .download__box { padding: 24px 18px; border-radius: 24px; }
  .platform { gap: 12px; padding: 12px; }
  .platform__text b { font-size: 20px; }
  .qr { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
}

@media (hover: none) and (pointer: coarse) { .qr { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
