/* MeInTheGame (v1): styled after the "Patricijos kelionė" game UI.
   Dark glass HUD pills with a white rim, pink, sun yellow,
   a wooden sign for the logo, Nunito Black headings and Poppins body text. */

@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 {
  --pink: #f48fb8;
  --pink-deep: #e0578f;
  --pink-soft: #ffe0ec;
  --sun: #f6c443;
  --orange: #f29a2e;
  --grass: #5cbf58;
  --grass-deep: #3f9d3c;
  --sky: #8fd0ff;
  --wood: #a8703f;
  --wood-light: #c58a52;
  --wood-dark: #5b3a22;

  --bg: #fff8ef;
  --bg-2: #eaf6ff;
  --surface: #fffdf9;
  --surface-2: #fff3e6;
  --ink: #2c2433;
  --ink-soft: #5d5466;
  --line: #f0e2d4;
  --hud: rgba(38, 42, 56, .55);
  --hud-line: rgba(255, 255, 255, .88);
  --shadow: 0 10px 30px rgba(80, 50, 40, .12), 0 2px 6px rgba(80, 50, 40, .08);
  --radius: 26px;
  color-scheme: light;
}

/* Night theme, like the game's evening */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131a30; --bg-2: #0e1426; --surface: #1d2540; --surface-2: #232c4b;
    --ink: #f5f1ff; --ink-soft: #b9b4cf; --line: #2f3a5e;
    --hud: rgba(14, 18, 32, .7); --pink-soft: #3a2440;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131a30; --bg-2: #0e1426; --surface: #1d2540; --surface-2: #232c4b;
  --ink: #f5f1ff; --ink-soft: #b9b4cf; --line: #2f3a5e;
  --hud: rgba(14, 18, 32, .7); --pink-soft: #3a2440;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35); 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.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 5vw, 50px); }
h2 em, h1 em { font-style: normal; color: var(--pink-deep); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 12px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; position: relative; }
.wrap--narrow { width: min(820px, 100% - 32px); }

/* ---------- HUD primitives ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--hud); color: #fff; border: 2px solid var(--hud-line);
  border-radius: 999px; padding: 6px 16px 6px 8px;
  backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
}
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--hud); border: 2.5px solid var(--hud-line); cursor: pointer; padding: 0; color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .15s ease, background .2s;
}
.round-btn img { width: 24px; height: 24px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.round-btn:hover { transform: scale(1.07); }
.round-btn:active { transform: scale(.94); }

/* Wooden sign, like the game's title logo */
.sign {
  display: inline-flex; flex-direction: column; align-items: center; position: relative;
  padding: 14px 34px 16px; border-radius: 24px;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.05) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, var(--wood-light), var(--wood));
  border: 6px solid var(--wood-dark);
  box-shadow: inset 0 3px 0 rgba(255,255,255,.25), inset 0 -4px 0 rgba(0,0,0,.18), 0 10px 24px rgba(40, 20, 10, .35);
  font-family: "Nunito", sans-serif; font-weight: 900; line-height: .95; transform: rotate(-2deg);
}
.sign::before, .sign::after {
  content: ""; position: absolute; width: 34px; height: 16px; border-radius: 100% 0;
  background: linear-gradient(135deg, #8fd15d, #4f9e33); border: 2px solid #3c7a26;
}
.sign::before { top: -10px; left: 18px; transform: rotate(-20deg); }
.sign::after { bottom: -9px; right: 20px; transform: rotate(160deg); }
.sign__top, .sign__bottom {
  paint-order: stroke fill; -webkit-text-stroke: 7px #fff; text-shadow: 0 4px 0 rgba(70, 35, 20, .55);
}
.sign__top { font-size: clamp(42px, 7vw, 74px); color: var(--pink); }
.sign__bottom { font-size: clamp(34px, 5.6vw, 58px); color: #5a3020; display: inline-flex; align-items: center; gap: 6px; -webkit-text-stroke-width: 6px; }
.sign__bottom img {
  width: .8em; height: .8em; background: #fff8ef; border-radius: 50%; padding: .1em;
  border: 3px solid #5a3020; box-shadow: 0 3px 0 rgba(70, 35, 20, .5);
}
.sign--small { padding: 8px 20px 10px; border-width: 4px; border-radius: 16px; }
.sign--small .sign__top { font-size: 34px; -webkit-text-stroke-width: 5px; }
.sign--small .sign__bottom { font-size: 26px; -webkit-text-stroke-width: 4px; }
.sign--small::before, .sign--small::after { width: 24px; height: 11px; }

/* ---------- Loading screen ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: #3a3440; display: grid; transition: opacity .6s ease, visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loader__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 22, .6)); }
.loader__sign { position: absolute; top: 22px; left: 22px; }
.loader__bottom { position: absolute; left: 50%; bottom: 7vh; width: min(560px, 86vw); transform: translateX(-50%); text-align: center; color: #fff; }
.loader__tip { font-size: clamp(17px, 2.4vw, 24px); text-shadow: 0 2px 6px rgba(0,0,0,.6); margin-bottom: 12px; }
.loader__bar { position: relative; height: 14px; border-radius: 99px; background: rgba(255,255,255,.85); box-shadow: 0 2px 10px rgba(0,0,0,.3); }
.loader__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--pink); transition: width .25s ease; }
.loader__bar img { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; transform: translate(-50%, -50%); transition: left .25s ease; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }

/* ---------- 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: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff;
  font-family: "Nunito"; font-weight: 900; font-size: 20px; background: var(--hud); border: 2px solid var(--hud-line);
  padding: 6px 16px 6px 6px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hud__brand img { width: 34px; height: 34px; background: var(--pink-soft); border-radius: 50%; padding: 5px; }
.hud__score { font-size: 20px; padding-right: 14px; }
.hud__score img { width: 30px; height: 30px; }
.hud__score small { opacity: .75; font-size: 15px; }
.hud__score.pop img { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.5) rotate(15deg); } }
.hud__quest { margin-inline: auto; font-size: 16px; max-width: 420px; min-width: 0; transition: transform .3s; }
.hud__quest span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hud__quest.flash { animation: questFlash .7s ease; }
@keyframes questFlash { 30% { transform: scale(1.06); border-color: var(--sun); } }
.hud__quest-face { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--pink-soft); border: 2px solid #fff; display: grid; place-items: center; }
.hud__quest-face img { width: 22px; height: 22px; }
.hud__nav {
  display: flex; gap: 2px; background: var(--hud); border: 2px solid var(--hud-line); border-radius: 999px; padding: 4px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hud__nav a { color: #fff; text-decoration: none; padding: 7px 13px; border-radius: 999px; font-size: 14.5px; white-space: nowrap; }
.hud__nav a:hover { background: rgba(255,255,255,.16); }
.hud__nav a.is-current { color: var(--sun); }
.hud__nav .nav-cta { background: var(--pink-deep); }
.hud__nav .nav-cta:hover { background: var(--pink); }
.hud__menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; color: #fff; padding: 110px 0 90px; }
.hero__bg { position: absolute; inset: -4%; background: center 40% / cover no-repeat; animation: drift 28s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.06) translate(-1%, -1%); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 18, 40, .72) 0%, rgba(25, 18, 40, .45) 42%, rgba(25, 18, 40, 0) 70%), linear-gradient(0deg, rgba(20, 15, 30, .45), transparent 35%); }
.hero__inner { position: relative; width: min(1180px, 100% - 32px); margin-inline: auto; }
.hero__inner > * { max-width: 640px; }
.hero h1 { font-size: clamp(36px, 6vw, 66px); margin-top: 28px; text-shadow: 0 3px 16px rgba(0,0,0,.45); }
.hero h1 em { color: var(--pink); -webkit-text-stroke: 0; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255,255,255,.93); text-shadow: 0 2px 8px rgba(0,0,0,.5); }

.menu-row { display: flex; gap: clamp(14px, 3vw, 30px); flex-wrap: wrap; margin: 30px 0 26px; }
.menu-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: 16px; text-shadow: 0 2px 6px rgba(0,0,0,.6); }
.menu-btn__circle {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.18); border: 3px solid rgba(255,255,255,.9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s ease;
}
.menu-btn__circle img { width: 34px; height: 34px; }
.menu-btn--play .menu-btn__circle { width: 98px; height: 98px; background: radial-gradient(circle at 35% 30%, #8be087, var(--grass) 55%, var(--grass-deep)); box-shadow: 0 6px 20px rgba(40, 120, 40, .45); }
.menu-btn--play .menu-btn__circle img { width: 40px; height: 40px; margin-left: 5px; }
.menu-btn:hover .menu-btn__circle { transform: translateY(-4px) scale(1.05); }
.menu-btn--play { margin-top: -10px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0; list-style: none; font-size: 14.5px; }
.hero__badges li { display: flex; align-items: center; gap: 6px; background: rgba(20, 15, 30, .4); border-radius: 99px; padding: 4px 12px 4px 6px; }
.hero__badges img { width: 18px; height: 18px; background: var(--grass); border-radius: 50%; padding: 3px; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%) rotate(90deg); animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 6px; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.section__lead { font-size: 18px; color: var(--ink-soft); max-width: 720px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--pink-deep); background: var(--pink-soft); padding: 4px 14px 4px 6px; border-radius: 99px; }
.kicker img { width: 24px; height: 24px; }
.kicker--light { background: var(--hud); color: #fff; border: 2px solid var(--hud-line); }
.light { color: #fff !important; text-shadow: 0 2px 12px rgba(0,0,0,.5); }

.card { background: var(--surface); border: 3px solid var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }

#why { background: linear-gradient(180deg, var(--bg-2), var(--bg) 260px); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.why { padding: 28px 26px 20px; position: relative; transition: transform .25s ease; }
.why:hover { transform: translateY(-5px) rotate(-.4deg); }
.why__icon { width: 66px; height: 66px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 16px; background: var(--pink-soft); }
.why__icon img { width: 44px; height: 44px; }
.why--eco .why__icon { background: #dff4d8; }
.why--class .why__icon { background: #fff1c7; }
.why--social .why__icon { background: #dcefff; }
.why--safe .why__icon { background: #ece3ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .why__icon { background: var(--surface-2) !important; } }
:root[data-theme="dark"] .why__icon { background: var(--surface-2) !important; }
.why p { color: var(--ink-soft); font-size: 15.5px; }
.why--eco { border-color: #bfe6b3; }
.why--social { border-color: #b9dcff; }

/* Section with a scenic background */
.section--scene { color: #fff; overflow: hidden; }
.scene-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.scene-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 40, .72), rgba(20, 22, 40, .55) 50%, rgba(20, 22, 40, .8)); }
.section--scene .section__lead { color: rgba(255,255,255,.9); }

/* Gallery: phone-shaped landscape frames */
.gallery {
  position: relative; 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: 6px solid #1c1f2b; box-shadow: 0 20px 40px rgba(0,0,0,.45), 0 0 0 2px rgba(255,255,255,.25);
  aspect-ratio: 20 / 9; background: #1c1f2b;
}
.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%); font-size: 15px; white-space: nowrap; padding: 6px 18px; }
.gallery-nav { position: relative; display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; }

.art-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.art-strip figure { margin: 0; border-radius: 22px; overflow: hidden; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 10px 26px rgba(0,0,0,.35); aspect-ratio: 16 / 8; }
.art-strip figure:nth-child(1) { transform: rotate(-1.5deg); }
.art-strip figure:nth-child(3) { transform: rotate(1.5deg); }
.art-strip img { width: 100%; height: 100%; object-fit: cover; }
.art-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; text-align: center; }
.art-note img { width: 32px; height: 32px; }

/* Quest library */
.quest-board { display: grid; grid-template-columns: 380px 1fr; gap: 34px; align-items: start; margin-top: 40px; }
.pill-panel {
  background: rgba(46, 52, 70, .88); color: #fff; border: 2px solid var(--hud-line); border-radius: 24px; padding: 16px 20px;
  box-shadow: 0 16px 34px rgba(30, 30, 50, .3);
}
.quest-panel { position: sticky; top: 100px; background-image: linear-gradient(rgba(46,52,70,.86), rgba(46,52,70,.86)), url(../assets/img/alps_drive.webp); background-size: cover; }
.quest-panel__head { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 8px; }
.quest-panel__count { color: var(--sun); }
.quest-list { list-style: none; margin: 0; padding: 0; }
.quest-list li { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; color: rgba(255,255,255,.88); }
.quest-list .dot { width: 22px; height: 22px; border-radius: 50%; background: #ece4d6; flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15); }
.quest-list .active { color: var(--sun); }
.quest-list .active .dot { background: #fff8e8; box-shadow: 0 0 0 3px rgba(246, 196, 67, .5); }
.quest-list .done { color: rgba(255,255,255,.55); text-decoration: line-through; }
.quest-list .done .dot { background: var(--grass) url(../assets/icons/check.png) center / 14px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 8px; border-radius: 99px; font-size: 15px;
  background: var(--surface); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); transition: transform .15s ease;
}
.chips li:hover { transform: translateY(-2px); border-color: var(--pink); }
.chips img { width: 30px; height: 30px; }
.chips .chip--more { border-style: dashed; color: var(--pink-deep); padding-left: 16px; box-shadow: none; }

/* Plans */
.section--plans { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border-radius: 30px; box-shadow: var(--shadow); border: 3px solid var(--surface); display: flex; flex-direction: column; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.plan:hover { transform: translateY(-6px); }
.plan--pop { border-color: var(--pink); box-shadow: 0 18px 44px rgba(224, 87, 143, .3); }
.plan.is-picked { outline: 4px solid var(--sun); outline-offset: 3px; }
.plan__art { height: 150px; background: center / cover no-repeat; position: relative; }
.plan__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.plan__level { position: absolute; z-index: 1; left: 16px; bottom: 12px; background: var(--hud); color: #fff; border: 2px solid var(--hud-line); border-radius: 99px; padding: 3px 14px; font-size: 14px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.plan__ribbon { position: absolute; z-index: 2; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; background: var(--sun); color: #4a3200; padding: 4px 12px 4px 6px; border-radius: 99px; font-size: 13.5px; box-shadow: 0 3px 0 #c99a1f; }
.plan__ribbon img { width: 20px; height: 20px; }
.plan__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.plan h3 { font-size: 27px; margin-bottom: 6px; }
.plan__desc { color: var(--ink-soft); font-size: 15px; min-height: 3.2em; }
.plan__price { font-family: "Nunito"; font-weight: 900; font-size: 52px; line-height: 1; color: var(--pink-deep); margin: 4px 0 18px; }
.plan__price small { font-family: "Poppins"; font-weight: 600; font-size: 15px; color: var(--ink-soft); }
.plan__price span { font-size: 32px; }
.feat { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.feat li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; }
.feat img { width: 22px; height: 22px; flex: none; background: var(--grass); border-radius: 50%; padding: 4px; margin-top: 1px; }
.feat b { color: var(--pink-deep); }
.feat .locked { color: var(--ink-soft); opacity: .6; }
.feat .locked img { background: #9a93a6; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: inherit; font-size: 16.5px; cursor: pointer;
  border-radius: 99px; padding: 13px 22px; border: 3px solid transparent; text-decoration: none; transition: transform .15s ease, filter .15s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn--pink { background: var(--pink-deep); color: #fff; box-shadow: 0 5px 0 #b23d6d; }
.btn--ghost { background: transparent; color: var(--pink-deep); border-color: var(--pink); }
.btn--play { background: linear-gradient(180deg, #74d36f, var(--grass-deep)); color: #fff; box-shadow: 0 5px 0 #2d7a2b; font-size: 19px; padding: 10px 30px 10px 10px; width: 100%; }
.btn__circle { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); border: 2px solid rgba(255,255,255,.85); }
.btn__circle img { width: 20px; height: 20px; margin-left: 3px; }

.addons-title { display: flex; align-items: center; gap: 10px; margin: 60px 0 18px; font-size: 26px; }
.addons-title img { width: 36px; height: 36px; }
.addons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.addon { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; padding: 12px 16px; }
.addon img { width: 44px; height: 44px; flex: none; }
.addon b { display: block; font-size: 15px; line-height: 1.3; }
.addon span { color: var(--pink-deep); font-family: "Nunito"; font-size: 20px; font-weight: 900; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: rgba(32, 36, 54, .7); border: 2px solid var(--hud-line); border-radius: 26px; padding: 26px 22px 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.step img { width: 54px; height: 54px; margin-bottom: 14px; }
.step h3 { color: var(--sun); font-size: 21px; }
.step p { color: rgba(255,255,255,.88); font-size: 15px; }
.step__num { position: absolute; top: 16px; right: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.step:not(:last-child)::after {
  content: ""; position: absolute; right: -19px; top: 50%; width: 18px; height: 18px; z-index: 1;
  background: url(../assets/icons/right.png) center / contain no-repeat; opacity: .8;
}

/* Order form */
.wrap--form { display: grid; grid-template-columns: 1fr 1.35fr; gap: 44px; align-items: start; }
.form-intro { position: sticky; top: 100px; }
.estimate { padding: 22px 24px; margin-top: 10px; border-color: var(--sun); }
.estimate__head { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.estimate__head img { width: 28px; height: 28px; }
.estimate__sum { font-family: "Nunito"; font-weight: 900; font-size: 58px; line-height: 1; color: var(--pink-deep); margin: 8px 0 12px; }
.estimate__lines { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14.5px; color: var(--ink-soft); }
.estimate__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-top: 1px dashed var(--line); }
.estimate__note { font-size: 13px; color: var(--ink-soft); margin: 0; }

.order { padding: clamp(20px, 3vw, 34px); }
.order fieldset { border: 0; margin: 0 0 26px; padding: 0; }
.order legend { font-family: "Nunito"; font-weight: 900; font-size: 22px; margin-bottom: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 2px solid var(--line); border-radius: 16px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(244, 143, 184, .25); }
.field input.invalid { border-color: #e2543f; }

.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pick label, .addon-pick label { cursor: pointer; }
.plan-pick input, .addon-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick span {
  display: flex; flex-direction: column; height: 100%; padding: 12px 14px; border-radius: 18px; border: 2px solid var(--line); background: var(--bg); font-size: 14.5px; line-height: 1.35;
  transition: border-color .2s, background .2s, transform .15s;
}
.plan-pick b { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.plan-pick em { font-style: normal; color: var(--pink-deep); margin-top: 4px; }
.plan-pick input:checked + span { border-color: var(--pink-deep); background: var(--pink-soft); transform: translateY(-2px); box-shadow: 0 4px 0 var(--pink); }
.plan-pick input:focus-visible + span, .addon-pick input:focus-visible + span { outline: 3px solid var(--sun); }
.addon-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.addon-pick span { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; border: 2px solid var(--line); background: var(--bg); font-size: 14.5px; }
.addon-pick span::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #ece4d6; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.addon-pick em { font-style: normal; color: var(--pink-deep); margin-left: auto; white-space: nowrap; }
.addon-pick input:checked + span { border-color: var(--grass); }
.addon-pick input:checked + span::before { background: var(--grass) url(../assets/icons/check.png) center / 13px no-repeat; }
.consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; align-items: flex-start; }
.consent input { width: 22px; height: 22px; accent-color: var(--pink-deep); flex: none; margin-top: 2px; }
.form-error { background: #ffe6e1; color: #a23322; border-radius: 14px; padding: 10px 14px; font-size: 14.5px; }

/* FAQ */
.section--faq { background: var(--surface-2); }
.faq { display: grid; gap: 12px; margin-top: 30px; }
.faq details { background: var(--surface); border-radius: 20px; border: 2px solid var(--line); padding: 4px 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--pink); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 34px 14px 0; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--pink) url(../assets/icons/right.png) center / 12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(90deg); }
.faq p { color: var(--ink-soft); font-size: 15.5px; }

/* Footer */
.footer { background: #2a2238; color: #e9e2f5; padding: 50px 0 40px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer .sign { margin-bottom: 16px; }
.footer__links a { color: var(--pink); text-decoration: none; }
.footer__copy { font-size: 13px; opacity: .6; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 20, .85); backdrop-filter: blur(4px); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 20px; border: 5px solid #1c1f2b; }
.lightbox__close { position: absolute; top: -18px; right: -12px; }

/* Toast */
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; background: var(--hud); color: #fff; border: 2px solid var(--hud-line);
  border-radius: 99px; padding: 8px 20px 8px 10px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .4s cubic-bezier(.2, 1.4, .4, 1); max-width: calc(100vw - 32px);
}
.toast img { width: 32px; height: 32px; flex: none; }
.toast.show { transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hud__quest { display: none; }
  .hud__nav { margin-left: auto; }
}
@media (max-width: 980px) {
  .why-grid, .plans { grid-template-columns: 1fr 1fr; }
  .plan--pop { grid-row: 1; grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .addons { grid-template-columns: 1fr 1fr; }
  .quest-board, .wrap--form { grid-template-columns: 1fr; }
  .quest-panel, .form-intro { position: static; }
}
@media (max-width: 860px) {
  .hud__menu { display: grid; margin-left: auto; }
  .hud__nav {
    display: none; position: absolute; top: 60px; right: 0; flex-direction: column; border-radius: 22px; padding: 8px; min-width: 200px;
    background: rgba(38, 42, 56, .92);
  }
  .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 span { display: none; }
  .hud__brand { padding: 5px; }
  .hud__score { font-size: 17px; }
  .round-btn { width: 44px; height: 44px; }
  .hero { padding-top: 90px; }
  .hero__shade { background: linear-gradient(180deg, rgba(25, 18, 40, .35), rgba(25, 18, 40, .8) 60%); }
  .hero__bg { background-position: 62% 40%; }
  .menu-btn__circle { width: 64px; height: 64px; }
  .menu-btn--play .menu-btn__circle { width: 80px; height: 80px; }
  .menu-btn { font-size: 14px; }
  .why-grid, .plans, .steps, .addons, .grid2, .plan-pick, .addon-pick { grid-template-columns: 1fr; }
  .plan--pop { grid-column: auto; }
  .art-strip { grid-template-columns: 1fr; }
  .art-strip figure { transform: none !important; }
  .gallery figure { border-width: 4px; border-radius: 20px; }
  .gallery figcaption { font-size: 13px; bottom: 8px; padding: 4px 12px; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
  .loader__sign { top: 14px; left: 14px; transform: rotate(-2deg) scale(.8); transform-origin: top left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Overrides ---------- */
/* White line icons on light backgrounds sit in a pink circle, like HUD buttons */
img.mono { background: var(--pink); border-radius: 50%; padding: 5px; }
.kicker img.mono { padding: 4px; }
.addon img.mono { padding: 9px; background: var(--pink-deep); }

/* Hero art shifts right so the headline does not cover the face */
@media (min-width: 900px) {
  .hero::before { content: ""; position: absolute; inset: -40px; background: url(../assets/img/art_06.webp) left center / cover; filter: blur(28px) saturate(1.2); }
  .hero__bg { left: 30%; inset-inline-end: -2%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); background-position: 40% 40%; }
  .hero__shade { background: linear-gradient(90deg, rgba(25, 18, 40, .7) 0%, rgba(25, 18, 40, .38) 38%, rgba(25, 18, 40, 0) 58%), linear-gradient(0deg, rgba(20, 15, 30, .4), transparent 30%); }
}
/* On phones the logo is already in the HUD, so the art stays visible at the top */
@media (max-width: 640px) {
  .hero { align-items: end; padding-top: 38vh; }
  .hero .sign { display: none; }
  .hero__bg { background-position: 44% 30%; }
  .hero__shade { background: linear-gradient(180deg, rgba(25, 18, 40, .1) 20%, rgba(25, 18, 40, .82) 58%); }
  .plan--pop { grid-row: auto; }
  .hero h1 { margin-top: 0; }
}

/* ---------- Living world (seasons) ---------- */
.section--seasons .scene-bg { inset: -60px; filter: blur(26px) saturate(1.25); transition: background-image .9s ease; }
.seasons { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: center; margin-top: 40px; }
.seasons__screen {
  position: relative; aspect-ratio: 1536 / 688; border-radius: 30px; overflow: hidden; background: #1c1f2b;
  border: 6px solid #1c1f2b; box-shadow: 0 24px 50px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.25);
}
.seasons__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s ease; }
.seasons__screen img.is-active { opacity: 1; }
.seasons__tabs { display: grid; gap: 10px; }
.season-tab {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; text-align: left; cursor: pointer;
  font: inherit; font-size: 17px; color: #fff; background: var(--hud); border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px; padding: 6px 18px 6px 6px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s, background .2s, transform .15s;
}
.season-tab:hover { transform: translateX(-3px); border-color: #fff; }
.season-tab img { width: 42px; height: 42px; flex: none; }
.season-tab small { display: block; font-size: 12.5px; line-height: 1.3; color: rgba(255,255,255,.72); }
.season-tab[aria-selected="true"] { border-color: #fff; background: rgba(255,255,255,.2); color: var(--sun); }
/* Autoplay progress, like the game's season bar */
.season-tab i { position: absolute; left: 60px; right: 22px; bottom: 5px; height: 3px; border-radius: 3px; background: var(--sun); transform: scaleX(0); transform-origin: left; }
.seasons.autoplay .season-tab[aria-selected="true"] i { animation: seasonBar var(--season-ms, 5s) linear forwards; }
@keyframes seasonBar { to { transform: scaleX(1); } }

@media (max-width: 980px) {
  .seasons { grid-template-columns: 1fr; }
  .seasons__tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .seasons__tabs::-webkit-scrollbar { display: none; }
  .season-tab small { display: none; }
  .season-tab:hover { transform: none; }
}
@media (max-width: 640px) {
  .seasons__screen { border-width: 4px; border-radius: 20px; }
  .season-tab { font-size: 15px; }
  .season-tab img { width: 34px; height: 34px; }
  .season-tab i { left: 50px; }
}
.section--seasons .scene-bg::after { background: linear-gradient(180deg, rgba(20, 22, 40, .55), rgba(20, 22, 40, .35) 50%, rgba(20, 22, 40, .65)); }
.season-tab i { bottom: 2px; }

/* Language switch in the HUD */
.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: rgba(255,255,255,.9); color: #1f2a37; }
@media (max-width: 640px) { .hud__lang button { padding: 5px 8px; font-size: 12.5px; } }

/* The free picture, first thing on the page */
.hero__wow { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 6px; font-size: clamp(16px, 1.8vw, 19px); padding: 12px 22px; }
.hero__wow img { width: 28px; height: 28px; }

/* Our story: a short teaser, the full page is /story/ */
.section--story { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.story-teaser { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.story-teaser__art { width: 100%; height: auto; border-radius: var(--radius); border: 6px solid var(--surface); box-shadow: var(--shadow); transform: rotate(-1.5deg); }
@media (max-width: 860px) { .story-teaser { grid-template-columns: 1fr; gap: 28px; } }
