/* Snow Dash: styled after the game's own UI – violet candy panels with a gold rim, white snow caps,
   glossy stars, Nunito Black headings (as in v1) and a sky full of falling snow. */

@font-face { font-family: "Nunito"; src: url(/assets/fonts/Nunito-Black.ttf) format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(/assets/fonts/Poppins-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --violet: #7a3cf2;
  --violet-deep: #4f1fb8;
  --violet-ink: #2b1468;
  --pink: #ff5fae;
  --pink-deep: #e23c93;
  --gold: #ffc93c;
  --gold-deep: #e39a12;
  --ice: #bfe7ff;

  --bg: #f4f8ff;
  --bg-2: #e6f0ff;
  --surface: #ffffff;
  --ink: #22174a;
  --ink-soft: #5b5480;
  --line: #dfe3f6;
  --hud: rgba(58, 24, 140, .62);
  --hud-line: rgba(255, 255, 255, .9);
  --shadow: 0 14px 34px rgba(60, 30, 140, .16), 0 2px 6px rgba(60, 30, 140, .1);
  --radius: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120d2e; --bg-2: #0c0922; --surface: #1f1848; --ink: #f4f0ff; --ink-soft: #bdb4e6; --line: #33296a;
    --hud: rgba(20, 10, 60, .72); --shadow: 0 14px 34px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120d2e; --bg-2: #0c0922; --surface: #1f1848; --ink: #f4f0ff; --ink-soft: #bdb4e6; --line: #33296a;
  --hud: rgba(20, 10, 60, .72); --shadow: 0 14px 34px rgba(0, 0, 0, .4); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 600 16px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Nunito", "Poppins", sans-serif; font-weight: 900; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 5vw, 52px); }
h2 em, h1 em { font-style: normal; color: var(--violet); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 12px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
main { position: relative; z-index: 1; }

/* Falling snow over the whole page (drawn by snowdash.js) */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* ---------- HUD primitives ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; color: #fff;
  background: linear-gradient(180deg, rgba(140, 80, 255, .75), rgba(70, 25, 170, .75));
  border: 2.5px solid var(--gold); border-radius: 999px; padding: 5px 16px 5px 6px;
  box-shadow: 0 4px 12px rgba(40, 10, 100, .3), inset 0 2px 0 rgba(255,255,255,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; cursor: pointer; padding: 0;
  font: 900 26px/1 "Nunito", sans-serif; color: #fff;
  background: radial-gradient(circle at 35% 30%, #b88bff, var(--violet) 55%, var(--violet-deep));
  border: 3px solid var(--gold); box-shadow: 0 4px 0 var(--gold-deep), 0 8px 16px rgba(40, 10, 100, .35);
  transition: transform .15s ease;
}
.round-btn:hover { transform: scale(1.07); }
.round-btn:active { transform: scale(.94); }

/* Candy buttons, like the game's "Žaisti" pill: violet gloss, gold rim and a snow cap on top */
.candy {
  position: relative; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; cursor: pointer;
  font: 900 clamp(17px, 1.9vw, 21px)/1.2 "Nunito", sans-serif; color: #fff; padding: 12px 28px 12px 12px; border-radius: 999px;
  background: linear-gradient(180deg, #c06bff 0%, var(--violet) 48%, var(--violet-deep) 100%);
  border: 3px solid var(--gold); box-shadow: 0 5px 0 var(--gold-deep), 0 12px 24px rgba(60, 20, 140, .4), inset 0 3px 0 rgba(255,255,255,.35);
  text-shadow: 0 2px 0 rgba(40, 10, 100, .5); transition: transform .15s ease, filter .15s;
}
.candy::before { /* the snow cap, the game's own (hud_snow_l / hud_snow_r) */
  content: ""; position: absolute; left: 8%; right: 6%; top: -17px; height: 34px; pointer-events: none;
  background: url(/assets/snowdash/hud_snow_l.webp) left top / auto 100% no-repeat, url(/assets/snowdash/hud_snow_r.webp) right top / auto 100% no-repeat;
}
.candy img { width: 46px; height: 46px; margin: -6px 0; }
.candy:hover { transform: translateY(-3px); filter: brightness(1.08); }
.candy:active { transform: translateY(2px); }
.candy--gold { padding-left: 10px; }
.candy--ghost { background: rgba(30, 10, 80, .35); border-color: rgba(255,255,255,.9); box-shadow: 0 8px 18px rgba(20, 5, 60, .3); padding: 14px 26px; }
.candy--ghost::before { display: none; }

/* ---------- Top HUD ---------- */
.hud { position: fixed; z-index: 50; top: 12px; left: 12px; right: 12px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.hud > * { pointer-events: auto; }
.hud__brand { display: block; width: 92px; filter: drop-shadow(0 4px 8px rgba(40, 10, 100, .4)); transition: transform .2s; }
.hud__brand:hover { transform: rotate(-4deg) scale(1.05); }
.hud__stars { font: 900 20px "Nunito", sans-serif; }
.hud__stars img { width: 32px; height: 32px; }
.hud__stars small { opacity: .8; font-size: 15px; }
.hud__stars.pop img { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.6) rotate(18deg); } }
.hud__nav {
  display: flex; gap: 2px; margin-left: auto; padding: 4px; border-radius: 999px; border: 2.5px solid var(--gold);
  background: linear-gradient(180deg, rgba(140, 80, 255, .8), rgba(70, 25, 170, .8)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hud__nav a { color: #fff; text-decoration: none; padding: 7px 14px; border-radius: 999px; font-size: 14.5px; white-space: nowrap; }
.hud__nav a:hover { background: rgba(255,255,255,.18); }
.hud__nav a.is-current { color: var(--gold); }
.hud__nav .nav-home { background: var(--pink-deep); }
.hud__nav .nav-home:hover { background: var(--pink); }
.hud__lang { padding: 3px; gap: 2px; }
.hud__lang button { font: inherit; font-size: 13.5px; color: #fff; background: none; border: 0; border-radius: 99px; padding: 6px 10px; cursor: pointer; }
.hud__lang button[aria-pressed="true"] { background: #fff; color: var(--violet-deep); }
.hud__menu { display: none; gap: 4px; align-content: center; }
.hud__menu span { display: block; width: 20px; height: 3px; border-radius: 2px; background: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(100svh, 50vw + 80px); display: grid; align-items: center; overflow: hidden; color: #fff; padding: 120px 0 100px; }
.hero__bg { position: absolute; inset: -3%; background: 30% 0 / cover no-repeat; animation: drift 30s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.06) translate(-1%, -1%); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(40, 12, 110, .78) 0%, rgba(40, 12, 110, .5) 40%, rgba(40, 12, 110, 0) 66%), linear-gradient(0deg, rgba(30, 10, 80, .55), transparent 30%); }
.hero__inner { position: relative; width: min(1180px, 100% - 32px); margin-inline: auto; display: flex; flex-direction: column; align-items: flex-end; }
.hero__inner > :not(.hero__logo) { width: 100%; max-width: 560px; }
.hero__inner > * { max-width: 600px; }
.hero__logo { align-self: flex-end; margin-right: max(0px, calc((560px - clamp(220px, 26vw, 360px)) / 2)); width: clamp(220px, 26vw, 360px); height: auto; filter: drop-shadow(0 10px 24px rgba(40, 10, 100, .5)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-1deg); } }
.hero h1 { font-size: clamp(38px, 5vw, 64px); margin: 10px 0 12px; text-shadow: 0 4px 0 rgba(60, 20, 140, .55), 0 6px 22px rgba(0,0,0,.35); }
.hero h1 em { color: var(--gold); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.95); text-shadow: 0 2px 8px rgba(30, 10, 80, .7); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 22px 14px; margin: 18px 0 26px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 12px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; }
.hero__badges li { display: flex; align-items: center; gap: 6px; background: rgba(40, 12, 110, .5); border: 1.5px solid rgba(255,255,255,.5); border-radius: 99px; padding: 4px 14px 4px 6px; }
.hero__badges img { width: 22px; height: 22px; }
.hero__scroll { position: absolute; bottom: 24px; left: 50%; width: 34px; height: 54px; margin-left: -17px; border: 3px solid #fff; border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 10px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(14px); opacity: 0; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 680px; }
.light { color: #fff !important; text-shadow: 0 2px 12px rgba(20, 5, 60, .5); }
h2.light em { color: var(--gold); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--violet-deep); background: #ece3ff; padding: 4px 16px 4px 6px; border-radius: 99px; }
.kicker img { width: 28px; height: 28px; object-fit: contain; }
.kicker--light { background: rgba(30, 10, 80, .45); color: #fff; border: 2px solid rgba(255,255,255,.8); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kicker:not(.kicker--light) { background: #2c2266; color: #e6dcff; } }
:root[data-theme="dark"] .kicker:not(.kicker--light) { background: #2c2266; color: #e6dcff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) h2 em { color: #b58cff; } }
:root[data-theme="dark"] h2 em { color: #b58cff; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 3px solid var(--surface); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 54px; align-items: center; }
.split--rev { grid-template-columns: 1.15fr 1fr; }

/* A phone in landscape, with the screenshot inside */
.phone { position: relative; margin: 0; border-radius: 34px; border: 10px solid #1d1538; background: #1d1538; aspect-ratio: 2340 / 1080; overflow: hidden; box-shadow: 0 30px 60px rgba(40, 15, 110, .35), 0 0 0 2px rgba(255,255,255,.4); }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.phone--tilt { transform: rotate(2deg); }
.phone--wide { max-width: 900px; margin: 54px auto 0; }
.phone__tag { position: absolute; left: 18px; bottom: 18px; font: 900 17px "Nunito", sans-serif; }
.phone__tag img { width: 28px; height: 28px; border-radius: 0; }

.feats { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.feats li { display: flex; gap: 14px; align-items: center; }
.feats img { width: 54px; height: 54px; object-fit: contain; flex: none; background: #f0e9ff; border-radius: 18px; padding: 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .feats img { background: #2c2266; } }
:root[data-theme="dark"] .feats img { background: #2c2266; }
.feats b { display: block; font-family: "Nunito"; font-weight: 900; font-size: 19px; }
.feats span { color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; }
.feats b { color: var(--ink); }

/* Sky section: the six countries */
.section--sky { background: linear-gradient(180deg, #6fb6ff 0%, #8a63f5 55%, #6a2fe0 100%); color: #fff; overflow: hidden; }
.section--sky::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 70px; background: radial-gradient(60px 40px at 10% 0, var(--bg) 98%, transparent), radial-gradient(90px 50px at 32% 0, var(--bg) 98%, transparent), radial-gradient(70px 44px at 55% 0, var(--bg) 98%, transparent), radial-gradient(100px 54px at 80% 0, var(--bg) 98%, transparent), radial-gradient(70px 40px at 98% 0, var(--bg) 98%, transparent); }
.countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.country {
  position: relative; border-radius: 30px; overflow: visible; cursor: zoom-in;
  background: linear-gradient(180deg, #a874ff, var(--violet) 40%, var(--violet-deep)); border: 3px solid var(--gold);
  box-shadow: 0 6px 0 var(--gold-deep), 0 20px 40px rgba(30, 10, 90, .45); transition: transform .25s ease;
}
.country:hover { transform: translateY(-6px) rotate(-.6deg); }
.country::before { /* snow on the card's roof, cut from the game's panel art */
  content: ""; position: absolute; left: -4px; right: -4px; top: -16px; height: 34px; z-index: 2; pointer-events: none;
  background: url(/assets/snowdash/panel_cap.webp) center top / 100% 100% no-repeat;
}
.country__shot { aspect-ratio: 16 / 8.5; background: center 60% / cover no-repeat; border-radius: 26px 26px 0 0; border-bottom: 3px solid var(--gold); }
.country__body { padding: 16px 20px 18px; }
.country h3 { display: flex; align-items: center; gap: 12px; font-size: 25px; margin-bottom: 8px; text-shadow: 0 2px 0 rgba(40, 10, 100, .5); }
.country h3 img { width: 44px; height: auto; flex: none; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.country h3 small { display: block; font: 600 14px "Poppins", sans-serif; color: var(--ice); text-shadow: none; }
.country p { color: rgba(255,255,255,.92); font-size: 15px; line-height: 1.5; }
.country__toy { display: flex; align-items: center; gap: 10px; margin: 0; background: rgba(30, 10, 80, .35); border-radius: 99px; padding: 4px 16px 4px 4px; width: fit-content; }
.country__toy img { width: 44px; height: 44px; background: #fff; border-radius: 50%; padding: 3px; }
.country__toy b { color: var(--gold); }
.country--final { border-color: #fff4b0; }

/* Ways to play */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.mode { text-align: center; padding: 26px 18px 18px; border-radius: 28px; background: var(--surface); border: 3px solid var(--line); box-shadow: var(--shadow); transition: transform .2s; }
.mode:hover { transform: translateY(-5px); border-color: var(--violet); }
.mode img { width: 78px; height: 78px; object-fit: contain; margin: 0 auto 12px; filter: drop-shadow(0 6px 8px rgba(80, 40, 160, .25)); }
.mode p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.friend { position: relative; display: flex; align-items: center; gap: 22px; margin-top: 26px; padding: 18px 26px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, var(--pink-deep), var(--violet)); border: 3px solid var(--gold); box-shadow: 0 5px 0 var(--gold-deep), var(--shadow); }
.friend > img:first-child { width: 86px; height: auto; flex: none; margin: -24px 0; }
.friend h3 { margin: 0 0 2px; font-size: 24px; }
.friend p { margin: 0; color: rgba(255,255,255,.92); font-size: 15.5px; }

/* Wardrobe */
.section--candy { background: radial-gradient(1200px 500px at 20% 0, #ff8fd0 0, transparent 60%), linear-gradient(160deg, #ff6fb8, #8a4bff 60%, #5a24d6); color: #fff; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 24px 0 0; }
.chips li { padding: 8px 18px; border-radius: 99px; background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.85); font-size: 15px; }

/* Rewards */
.rewards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.reward { position: relative; padding: 24px 20px 18px; border-radius: 28px; background: linear-gradient(180deg, #fffaf0, #fff); border: 3px solid #ffe19a; box-shadow: var(--shadow); text-align: center; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .reward { background: var(--surface); border-color: #5b4a1a; } }
:root[data-theme="dark"] .reward { background: var(--surface); border-color: #5b4a1a; }
.reward__medals { display: flex; justify-content: center; margin-bottom: 12px; }
.reward__medals img { width: 62px; height: 62px; margin: 0 -6px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.reward__medals img:nth-child(1) { transform: translateY(-6px) scale(1.1); z-index: 1; }
.reward__icon { width: 74px; height: 74px; object-fit: contain; margin: 0 auto 12px; }
.reward p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* Gallery */
.section--night { background: radial-gradient(900px 300px at 70% 0, rgba(80, 255, 200, .25), transparent 70%), linear-gradient(180deg, #1a1050, #2a1678); color: #fff; overflow: hidden; }
.gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px max(16px, calc((100% - 1180px) / 2)) 18px; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; flex: 0 0 min(760px, 84vw); scroll-snap-align: center; position: relative; cursor: zoom-in; border-radius: 30px; overflow: hidden; border: 8px solid #120a33; box-shadow: 0 20px 40px rgba(0,0,0,.5), 0 0 0 2px var(--gold); aspect-ratio: 2340 / 1080; background: #120a33; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; font-size: 15px; padding: 6px 18px; }
.gallery-nav { display: flex; justify-content: center; gap: 14px; }

/* Parents */
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.promise { padding: 22px 20px; }
.promise__dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px; background: #4fc85a; color: #fff; font: 900 22px "Nunito"; box-shadow: 0 3px 0 #2f9a3a; }
.promise p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.promise b { display: block; color: var(--ink); font-family: "Nunito"; font-weight: 900; font-size: 19px; line-height: 1.2; margin-bottom: 6px; }

/* Get it */
.section--get { color: #fff; overflow: hidden; text-align: center; }
.get-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(6px) saturate(1.2); }
.get-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 12, 110, .55), rgba(40, 12, 110, .8)); }
.get { display: flex; flex-direction: column; align-items: center; }
.get .lead { margin-inline: auto; }
.get .hero__cta { justify-content: center; }
.get__logo { width: clamp(200px, 26vw, 320px); margin-bottom: 8px; filter: drop-shadow(0 10px 24px rgba(20, 5, 60, .6)); animation: bob 4s ease-in-out infinite; }
.get__small { font-size: 14.5px; opacity: .9; max-width: 560px; }

/* Footer */
.footer { position: relative; z-index: 1; background: #170f3c; color: #e4dcff; padding: 44px 0 36px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer__logo { width: 150px; margin-bottom: 14px; }
.footer__links a { color: var(--gold); text-decoration: none; }
.footer__copy { font-size: 13px; opacity: .6; }

/* Hidden stars to collect (a little game on the page, like the HUD counter in the game) */
.hidden-star { position: absolute; z-index: 3; width: 46px; height: 46px; cursor: pointer; animation: twinkle 2.4s ease-in-out infinite; filter: drop-shadow(0 0 10px rgba(255, 220, 90, .9)); }
.hidden-star.got { animation: fly .7s ease forwards; pointer-events: none; }
@keyframes twinkle { 50% { transform: scale(1.18) rotate(12deg); } }
@keyframes fly { to { transform: translateY(-80px) scale(1.8); opacity: 0; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(14, 6, 40, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 22px; border: 6px solid #120a33; box-shadow: 0 0 0 2px var(--gold); }
.lightbox__close { position: absolute; top: -18px; right: -12px; font-size: 20px; }

/* Toast */
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 160%); display: flex; align-items: center; gap: 10px; color: #fff; background: linear-gradient(180deg, #a56bff, var(--violet-deep)); border: 3px solid var(--gold); border-radius: 99px; padding: 8px 22px 8px 10px; font: 900 18px "Nunito", sans-serif; box-shadow: 0 10px 24px rgba(30, 10, 90, .4); transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); max-width: calc(100vw - 32px); }
.toast img { width: 34px; height: 34px; flex: none; }
.toast.show { transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.phone--tilt.reveal.in { transform: rotate(2deg); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .modes, .rewards, .promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .countries { grid-template-columns: 1fr 1fr; }
  .split, .split--rev { grid-template-columns: 1fr; gap: 36px; }
  .split--rev .phone { order: 2; }
}
@media (max-width: 860px) {
  .hud__menu { display: grid; margin-left: auto; }
  .hud__nav { display: none; position: absolute; top: 62px; right: 0; flex-direction: column; border-radius: 22px; padding: 8px; min-width: 210px; background: rgba(70, 25, 170, .95); }
  .hud__nav.open { display: flex; }
  .hud__nav a { padding: 10px 16px; font-size: 16px; }
}
@media (max-width: 640px) {
  .hud { top: 8px; left: 8px; right: 8px; gap: 6px; }
  .hud__brand { width: 70px; }
  .hud__stars { font-size: 17px; padding-right: 12px; }
  .hud__stars img { width: 26px; height: 26px; }
  .round-btn { width: 44px; height: 44px; }
  .hero { min-height: 100svh; align-items: end; padding-top: 46vh; }
  .hero { background: #3a1497; }
  .hero__bg { inset: 0 0 auto 0; height: 62vh; background-position: 33% 0; animation: none; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
  .hero__shade { background: linear-gradient(180deg, transparent 35%, rgba(58, 20, 151, .9) 60%); }
  .hero__inner { align-items: flex-start; }
  .hero__logo { display: none; }
  .candy { padding-right: 22px; }
  .countries, .modes, .rewards, .promises { grid-template-columns: 1fr; }
  .phone { border-width: 6px; border-radius: 22px; }
  .phone img { border-radius: 16px; }
  .phone--tilt, .phone--tilt.reveal.in { transform: none; }
  .friend { border-radius: 28px; flex-direction: column; text-align: center; padding: 26px 20px 20px; }
  .friend > img:first-child { margin: -50px 0 0; }
  .gallery figure { border-width: 5px; border-radius: 20px; }
  .gallery figcaption { font-size: 13px; bottom: 8px; padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .snow { display: none; }
}
