/* SLUVI site: the game's candy-jelly look - deep violet, glossy glass cards, jelly buttons. No external fonts or scripts. */
@font-face {font-family: "Nunito"; src: url("/assets/fonts/Nunito-600.ttf") format("truetype"); font-weight: 600; font-display: swap;}
@font-face {font-family: "Nunito"; src: url("/assets/fonts/Nunito-800.ttf") format("truetype"); font-weight: 800; font-display: swap;}
@font-face {font-family: "Nunito"; src: url("/assets/fonts/Nunito-900.ttf") format("truetype"); font-weight: 900; font-display: swap;}

:root {
  --ink: #f4f2ff;
  --lavender: #b9b6ff;
  --violet: #4a2bd1;
  --deep: #120a3d;
  --card: rgba(26, 30, 110, 0.82);
  --rim: #8fb4ff;
  --mint: #5ee6c9;
  --green: #3fbf6a;
  --gold: #ffd76a;
  --pink: #ff8ad8;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  background: radial-gradient(1200px 700px at 15% -10%, #5a2fe0 0%, transparent 60%),
              radial-gradient(1000px 700px at 100% 10%, #1b6ee0 0%, transparent 55%),
              radial-gradient(900px 800px at 50% 110%, #8a2fc0 0%, transparent 60%),
              var(--deep);
  background-attachment: scroll;
  min-height: 100vh;
  overflow-x: hidden;
}

/* floating jelly bubbles */
.bubbles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubbles i {
  position: absolute; bottom: -80px; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), rgba(255,255,255,.08) 55%, rgba(255,255,255,0) 70%);
  border: 1px solid rgba(255,255,255,.18);
  animation: rise linear infinite;
}
.bubbles i:nth-child(1) { left: 6%;  width: 46px; height: 46px; animation-duration: 19s; animation-delay: -2s; }
.bubbles i:nth-child(2) { left: 18%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: -9s; }
.bubbles i:nth-child(3) { left: 33%; width: 64px; height: 64px; animation-duration: 25s; animation-delay: -14s; }
.bubbles i:nth-child(4) { left: 52%; width: 28px; height: 28px; animation-duration: 16s; animation-delay: -5s; }
.bubbles i:nth-child(5) { left: 66%; width: 52px; height: 52px; animation-duration: 22s; animation-delay: -11s; }
.bubbles i:nth-child(6) { left: 80%; width: 20px; height: 20px; animation-duration: 13s; animation-delay: -1s; }
.bubbles i:nth-child(7) { left: 92%; width: 38px; height: 38px; animation-duration: 20s; animation-delay: -7s; }
@keyframes rise { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-115vh) translateX(30px); opacity: 0; } }

main, header, footer { position: relative; z-index: 1; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* top bar */
.bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 12px 16px; flex-wrap: wrap; }
.bar a.brand { display: inline-flex; align-items: center; }
.bar nav { display: flex; gap: 8px; flex-wrap: wrap; }
.bar nav a { color: var(--lavender); text-decoration: none; font-weight: 800; padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.bar nav a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* A still wordmark: the texture provides the character, without bobbing. */
.hero-logo { margin: 0; line-height: 0; }
.hero-logo img { width: min(100%, 520px); height: auto; filter: drop-shadow(0 12px 22px rgba(30, 5, 110, .55)); }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-8px) rotate(.8deg); } }
.bar a.brand img { width: 52px; height: 52px; display: block; border-radius: 50%; border: 3px solid var(--rim); box-shadow: 0 0 18px rgba(120, 90, 255, .6), 0 4px 10px rgba(20, 0, 90, .5); transition: transform .2s; }
.bar a.brand:hover img { transform: rotate(-6deg) scale(1.06); }

/* RU | EN, like the game's pill */
.lang { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(20, 14, 90, .7); border: 2px solid rgba(143, 180, 255, .55); box-shadow: 0 0 18px rgba(120, 90, 255, .35); }
.lang a { color: var(--lavender); text-decoration: none; font-weight: 900; font-size: 15px; padding: 6px 16px; border-radius: 999px; transition: color .2s, background .2s; }
.lang a:hover { color: #fff; }
.lang a.on { color: #fff; background: linear-gradient(180deg, #8a5cff, #5a35e0); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), 0 3px 8px rgba(40, 10, 150, .5); }

.tagline { font-size: clamp(20px, 3.2vw, 30px); font-weight: 900; margin: 10px 0 0; text-shadow: 0 3px 0 rgba(40, 10, 140, .6); }

/* hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 30px 0 60px; }
.hero p.lead { font-size: 19px; color: #e4e1ff; max-width: 34em; margin: 18px 0 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; font-weight: 900; font-size: 18px; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #55e08a 0%, var(--green) 55%, #2b9f56 100%);
  border: 2px solid #b8ffcf;
  box-shadow: 0 6px 0 #1e7a40, 0 12px 24px rgba(30, 120, 70, .45), inset 0 2px 0 rgba(255,255,255,.55);
  transition: transform .15s, box-shadow .15s;
}
.pill:hover { transform: translateY(-2px); }
.pill:active { transform: translateY(3px); box-shadow: 0 2px 0 #1e7a40, 0 6px 12px rgba(30,120,70,.4), inset 0 2px 0 rgba(255,255,255,.55); }
.pill.teal { background: linear-gradient(180deg, #5ee6c9 0%, #26b89f 60%, #1b8f7d 100%); border-color: #c9fff3; box-shadow: 0 6px 0 #146a5c, 0 12px 24px rgba(30,160,140,.4), inset 0 2px 0 rgba(255,255,255,.55); cursor: default; }
.pill.ghost { background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.28); box-shadow: none; }
.pill small { font-weight: 800; opacity: .9; font-size: 14px; }

.screen {
  border-radius: var(--radius); overflow: hidden; border: 3px solid var(--rim);
  box-shadow: 0 0 0 6px rgba(143, 180, 255, .18), 0 24px 60px rgba(10, 4, 60, .7), 0 0 60px rgba(120, 90, 255, .45);
  transform: rotate(1.4deg); transition: transform .4s;
}
.screen:hover { transform: rotate(0deg) scale(1.02); }
.screen img { display: block; width: 100%; height: auto; }

/* sections */
section { padding: 36px 0; }
h2 { font-size: clamp(28px, 4.5vw, 42px); font-weight: 900; margin: 0 0 22px; text-shadow: 0 3px 0 rgba(40,10,140,.55); }
h3 { font-size: 22px; font-weight: 900; margin: 0 0 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 3px solid var(--rim); border-radius: var(--radius); padding: 26px 26px 22px;
  box-shadow: 0 0 40px rgba(120, 90, 255, .3), inset 0 2px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.card .num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 1000; font-size: 24px; margin-bottom: 12px;
  background: linear-gradient(180deg, #ffe07a, #ff9d4d); color: #5a2a00; border: 2px solid #fff3b8; box-shadow: 0 4px 0 #b8631f; }
.card:nth-child(2) .num { background: linear-gradient(180deg, #8fd8ff, #4c8bff); color: #05215a; border-color: #d4eeff; box-shadow: 0 4px 0 #2a56b0; }
.card:nth-child(3) .num { background: linear-gradient(180deg, #ff9ad9, #e04a9c); color: #4a0030; border-color: #ffd3ee; box-shadow: 0 4px 0 #9d2a6b; }
.card p { margin: 0; color: #dcd9ff; }

.gallery { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 22px; scroll-snap-type: x mandatory; scrollbar-color: var(--lavender) transparent; }
.gallery figure { flex: 0 0 min(560px, 86%); margin: 0; scroll-snap-align: center; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 22px; border: 3px solid var(--rim); box-shadow: 0 16px 40px rgba(10,4,60,.6), 0 0 36px rgba(120,90,255,.35); }
.gallery figcaption { margin-top: 10px; text-align: center; font-weight: 800; color: var(--lavender); }

.worlds { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 18px; border-radius: 999px; font-weight: 800; background: rgba(255,255,255,.1); border: 2px solid rgba(255,255,255,.22); }

.note { background: rgba(94, 230, 201, .1); border: 2px solid rgba(94, 230, 201, .45); border-radius: 22px; padding: 18px 22px; color: #d8fff5; }

/* legal pages */
.doc { background: var(--card); border: 3px solid var(--rim); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); margin: 14px 0 50px;
  box-shadow: 0 0 50px rgba(120, 90, 255, .3); backdrop-filter: blur(6px); }
.doc h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; margin: 0 0 6px; text-shadow: 0 3px 0 rgba(40,10,140,.55); }
.doc .meta { color: var(--lavender); font-weight: 700; margin: 0 0 26px; }
.doc h2 { font-size: 26px; margin: 34px 0 12px; color: var(--gold); text-shadow: none; }
.doc p, .doc li { color: #ebe9ff; font-size: 17px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--mint); font-weight: 800; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid rgba(143,180,255,.35); }
.doc th { background: rgba(143,180,255,.16); font-weight: 900; }
.doc td:first-child { font-weight: 800; white-space: nowrap; }
.toc { background: rgba(255,255,255,.07); border-radius: 18px; padding: 14px 22px; margin: 0 0 8px; }
.toc a { color: var(--lavender); text-decoration: none; font-weight: 800; }
.toc a:hover { color: #fff; }
.toc ol { margin: 6px 0; padding-left: 22px; columns: 2; column-gap: 40px; }
.todo { background: rgba(255, 215, 106, .16); border: 2px dashed var(--gold); border-radius: 8px; padding: 1px 8px; color: var(--gold); font-weight: 800; }

footer { padding: 36px 0 60px; color: var(--lavender); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; align-items: flex-start; }
footer a { color: var(--ink); font-weight: 800; text-decoration: none; margin-right: 18px; }
footer a:hover { text-decoration: underline; }
footer .req { font-size: 15px; max-width: 34em; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 10px; }
  .cards { grid-template-columns: 1fr; }
  .screen { transform: none; }
  .toc ol { columns: 1; }
  .doc td:first-child { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .bubbles i, .hero-logo img { animation: none; }
  html { scroll-behavior: auto; }
}



/* Neon studio: glass panels, coloured lighting and a reflective floor. */
:root { --deep: #08042a; --card: rgba(30, 24, 100, .52); }
html { background: #080426; }
body {
  background: radial-gradient(ellipse at 8% 5%, rgba(106,43,224,.52), transparent 42%),
    radial-gradient(ellipse at 96% 18%, rgba(20,109,225,.32), transparent 42%),
    radial-gradient(ellipse at 50% 65%, rgba(157,40,206,.18), transparent 42%),
    linear-gradient(180deg,#13083f,#080426 65%,#17083c);
  background-attachment: scroll;
}
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(1px 1px at 12% 18%,#e1ccff,transparent),radial-gradient(1px 1px at 71% 34%,#c1faff,transparent),radial-gradient(1px 1px at 29% 68%,#ecceff,transparent),radial-gradient(1px 1px at 89% 79%,#bce7ff,transparent);
}
.bubbles i { background: radial-gradient(circle at 28% 22%,rgba(255,255,255,.8),rgba(148,226,255,.16) 21%,rgba(178,93,255,.08) 56%,rgba(81,148,255,.2) 73%,transparent 78%);
  border-color: rgba(173,210,255,.35); box-shadow: inset -4px -5px 10px rgba(145,64,235,.3),inset 2px 2px 5px rgba(201,254,255,.45),0 0 18px rgba(136,129,255,.2); }
.hero { padding: 48px 0 64px; gap: 56px; }
.hero-logo img { width: min(100%,520px); filter: drop-shadow(0 6px 0 #331887) drop-shadow(0 0 28px rgba(143,77,255,.28)); }
.tagline { margin-top: 20px; }
.screen { position: relative; padding: 7px; border: 1px solid rgba(227,220,255,.85); border-radius: 30px;
  background: linear-gradient(135deg,#ff88f1,#9369ff 35%,#55dcff 70%,#cf85ff);
  box-shadow: 0 0 0 4px rgba(136,104,255,.16),0 0 24px rgba(196,94,255,.65),0 0 70px rgba(75,149,255,.25),0 28px 60px rgba(0,0,28,.7),inset 0 1px 2px #fff;
  transform: perspective(1400px) rotateY(-6deg) rotateZ(1deg); overflow: visible;
}
.screen img { border-radius: 22px; }
.screen:hover { transform: perspective(1400px) rotateY(0deg) rotateZ(0deg) translateY(-3px); }
h2 { text-shadow: 0 0 22px rgba(147,87,255,.35),0 3px 0 rgba(35,13,93,.55); }
.how-play { position: relative; isolation: isolate; }
.how-play::before { content: ''; position: absolute; inset: 38% 0 -6%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 17% 70%,rgba(255,160,44,.14),transparent 37%),radial-gradient(ellipse at 50% 70%,rgba(55,211,255,.16),transparent 37%),radial-gradient(ellipse at 84% 70%,rgba(249,73,214,.16),transparent 37%);
}
.cards { gap: 34px; padding: 28px 0 110px; align-items: stretch; }
.card { --neon: 255,183,71; --step-art: url('/assets/img/step-build.png'); position: relative; isolation: isolate; overflow: visible;
  min-height: 275px; padding: 68px 25px 28px;
  background: linear-gradient(145deg,rgba(125,164,255,.13),rgba(36,26,112,.40) 55%,rgba(var(--neon),.09));
  border: 2px solid rgba(164,198,255,.85); border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 28px rgba(var(--neon),.10),0 0 5px rgba(105,181,255,.9),0 0 24px rgba(92,130,255,.25),0 18px 38px rgba(0,0,30,.4);
  backdrop-filter: blur(14px) saturate(1.3); transition: transform .25s,box-shadow .25s;
}
.card:nth-child(2) { --neon: 61,213,255; --step-art: url('/assets/img/step-bite.png'); }
.card:nth-child(3) { --neon: 255,87,215; --step-art: url('/assets/img/step-survive.png'); }
.card:hover { transform: translateY(-5px); box-shadow: inset 0 1px 0 rgba(255,255,255,.6),0 0 8px rgba(var(--neon),.5),0 0 32px rgba(var(--neon),.22),0 22px 40px rgba(0,0,30,.4); }
.card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg,rgba(255,255,255,.13),transparent 24%,transparent 75%,rgba(255,255,255,.05)); }
.card::after { content: ''; position: absolute; left: max(-14px, -5%); right: max(-14px, -5%); bottom: -27px; height: 46px; z-index: -1; border-radius: 50%;
  border: 3px solid rgba(var(--neon),.92); background: radial-gradient(ellipse,rgba(var(--neon),.24),rgba(var(--neon),.06) 60%,transparent 72%);
  box-shadow: 0 0 8px rgba(var(--neon),.85),0 0 25px rgba(var(--neon),.55),inset 0 0 15px rgba(var(--neon),.45);
}

.card .num { position: absolute; top: -24px; left: 24px; width: 58px; height: 58px; margin: 0; font-size: 30px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.5),0 4px 0 #ad641d,0 0 24px rgba(var(--neon),.45); }
.card:nth-child(2) .num { box-shadow: inset 0 3px 0 rgba(255,255,255,.5),0 4px 0 #2457a1,0 0 24px rgba(var(--neon),.45); }
.card:nth-child(3) .num { box-shadow: inset 0 3px 0 rgba(255,255,255,.5),0 4px 0 #a3296e,0 0 24px rgba(var(--neon),.45); }
.card .ico { position: absolute; top: 12px; right: 20px; height: 78px; width: 78px; object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(var(--neon),.4)); animation: step-float 4s ease-in-out infinite; }
.card:nth-child(2) .ico { animation-delay: -1.3s; } .card:nth-child(3) .ico { animation-delay: -2.6s; }
@keyframes step-float { 50% { transform: translateY(-6px) rotate(4deg); } }
.card h3 { font-size: 27px; margin: 0 85px 18px 0; }
.card p { font-size: 16px; line-height: 1.65; color: #e4e4ff; position: relative; }
.gallery img { border-color: rgba(161,186,255,.85); box-shadow: 0 0 22px rgba(104,106,255,.25),0 20px 36px rgba(0,0,24,.45); }
.doc { background: linear-gradient(135deg,rgba(72,57,147,.3),rgba(24,20,84,.7)); }
@media (max-width: 860px) { .how-play::before { inset: 38% 0 -6%; } .hero { grid-template-columns: 1fr; padding: 28px 0 44px; gap: 36px; } .screen { transform: none; } .cards { gap: 108px; padding-bottom: 108px; } .card { min-height: 220px; } }
@media (max-width: 480px) { .bar { justify-content: center; } .bar nav { justify-content: center; } .bar nav a { padding: 7px 9px; font-size: 13px; } .hero p.lead { font-size: 17px; } .screen { padding: 5px; border-radius: 24px; } .screen img { border-radius: 18px; } .card { padding-inline: 21px; } }
@media (prefers-reduced-motion: reduce) { .card .ico { animation: none; } .card, .screen { transition: none; } }

/* Sculpted jelly podiums: native text in glass cards, separate transparent 3D artwork. */
.how-play .cards { gap: 40px; padding: 32px 10px 150px; }
.how-play .card { min-height: 300px; padding: 66px 22px 52px; border: 2px solid rgba(138,195,255,.95); border-radius: 28px;
  background: linear-gradient(120deg,rgba(78,99,234,.19),rgba(28,20,112,.55) 52%,rgba(100,45,182,.20));
  box-shadow: inset 0 1px 3px rgba(242,252,255,.9),inset 0 0 24px rgba(83,116,255,.13),0 0 4px #619dff,0 0 18px rgba(79,132,255,.55),0 0 40px rgba(var(--neon),.16); }
.how-play .card::before { background: linear-gradient(114deg,rgba(203,240,255,.10),transparent 28%,transparent 80%,rgba(150,204,255,.08)); }
.how-play .card::after { left: 10%; right: 10%; bottom: -42px; height: 30px; border: 0; background: rgba(var(--neon),.32); box-shadow: 0 0 45px 24px rgba(var(--neon),.22); filter: blur(18px); z-index: -1; }
.how-play .card .num { top: -25px; left: 24px; width: 60px; height: 60px; border-width: 3px; }
.how-play .card .ico { top: 19px; right: 18px; width: 91px; height: 91px; filter: drop-shadow(0 0 9px rgba(var(--neon),.65)) drop-shadow(0 5px 4px rgba(0,0,45,.5)); }
.how-play .card h3 { font-size: 26px; margin: 0 84px 20px 0; }
.how-play .card p { font-size: 15px; line-height: 1.7; }
.podium-art { position: absolute; pointer-events: none; left: -20px; right: -20px; bottom: -64px; aspect-ratio: 3; z-index: 3; }
.podium-art img { position: absolute; width: 100%; height: auto; display: block; }
.podium { top: 0; filter: drop-shadow(0 5px 16px rgba(var(--neon),.40)); }
.podium-reflection { top: 81%; transform: scaleY(-1) scaleX(.98); opacity: .26; filter: blur(1.7px) saturate(1.2);
  mask-image: linear-gradient(to top,transparent 10%,#000 70%); -webkit-mask-image: linear-gradient(to top,transparent 10%,#000 70%); }
.how-play .card:hover { transform: translateY(-4px); }
@media (max-width: 860px) { .how-play .cards { gap: 134px; padding: 30px 16px 135px; } .how-play .card { min-height: 290px; } .podium-art { width: min(calc(100% + 40px),500px); left: 50%; right: auto; transform: translateX(-50%); bottom: -72px; } }
@media (max-width: 480px) { .how-play .cards { padding-inline: 8px; } .how-play .card { padding: 64px 20px 58px; } .podium-art { bottom: -58px; } }

/* Opening composition: the three steps sit together on one softly reflected stage. */
.home-page .intro-scene { width: min(1080px,calc(100% - 80px)); margin-inline: auto; min-height: calc(100svh - 82px); display: flex; flex-direction: column; justify-content: center; padding: 12px 0 0; }
.intro-scene > .wrap { width: 100%; }
.intro-scene .hero { grid-template-columns: .85fr 1.15fr; gap: 38px; padding: 8px 20px 28px; }
.intro-scene .hero-logo img { width: 390px; max-width: 100%; filter: drop-shadow(0 7px 14px rgba(5,2,25,.25)); }
.intro-scene .tagline { margin-top: 14px; font-size: 27px; white-space: nowrap; }
.intro-scene .hero p.lead { font-size: 17px; line-height: 1.55; margin: 16px 0 0; max-width: 360px; }
.intro-scene .screen { max-width: 520px; justify-self: end; transform: perspective(1200px) rotateY(-9deg) rotateZ(2deg); }
.intro-scene .how-play { padding: 0; }
.intro-scene .how-play h2 { font-size: 34px; margin: 0 0 4px 28px; }
.intro-scene .cards { gap: 48px; padding: 28px 18px 145px; perspective: 1400px; }
.intro-scene .card { min-height: 234px; padding: 48px 20px 34px; transform-origin: 50% 88%; }
.intro-scene .card:nth-child(1) { transform: rotateY(7deg) rotateZ(-1.5deg) translateY(-3px); }
.intro-scene .card:nth-child(2) { transform: rotateY(-2deg) rotateZ(.6deg) translateY(8px); }
.intro-scene .card:nth-child(3) { transform: rotateY(-7deg) rotateZ(1.6deg) translateY(19px); }
.intro-scene .card:hover { translate: 0 -4px; }
.intro-scene .card .num { width: 56px; height: 56px; top: -26px; left: 24px; }
.intro-scene .card h3 { font-size: 24px; margin: 0 84px 15px 0; }
.intro-scene .card p { font-size: 14px; line-height: 1.58; }
.intro-scene .card .ico { width: 78px; height: 78px; right: 14px; top: 18px; }
.step-arrow { position: absolute; right: -46px; top: 39%; z-index: 8; font: 800 46px/1 Nunito,sans-serif; color: #fff3ff; text-shadow: 0 0 7px #fff,0 0 14px #e890ff,0 0 25px #b967ff; pointer-events: none; }
.how-play::before { inset: 50% -3% -9%; border: 0; border-radius: 50%; filter: blur(16px); mask-image: radial-gradient(ellipse,#000 30%,transparent 72%); -webkit-mask-image: radial-gradient(ellipse,#000 30%,transparent 72%); }
.podium-art { border: none; background: none; }
.podium-reflection { top: 78%; opacity: .28; border: none; background: none; filter: blur(2.5px) saturate(1.15);
  mask-image: linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.25) 45%,transparent 85%); -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,.8),rgba(0,0,0,.25) 45%,transparent 85%); }
.release-status { display: flex; justify-content: center; padding: 22px 0 0; }
.release-status .badges { justify-content: center; }
.home-page #shots { padding-top: 28px; }
@media (min-width: 1000px) and (max-height: 820px) {
  .home-page .intro-scene { width: min(1000px,calc(100% - 84px)); min-height: calc(100svh - 78px); padding-top: 0; }
  .intro-scene .hero { grid-template-columns: .85fr 1.15fr; padding: 0 24px 17px; gap: 40px; }
  .intro-scene .screen { max-width: 430px; }
  .intro-scene .hero-logo img { width: 330px; }
  .intro-scene .tagline { font-size: 24px; margin-top: 10px; }
  .intro-scene .hero p.lead { font-size: 15px; line-height: 1.5; margin-top: 12px; }
  .intro-scene .how-play h2 { font-size: 30px; }
  .intro-scene .cards { padding-bottom: 120px; gap: 44px; }
  .intro-scene .card { min-height: 222px; padding: 43px 18px 33px; }
  .intro-scene .card h3 { font-size: 23px; margin-bottom: 13px; }
  .intro-scene .card p { font-size: 13px; line-height: 1.55; }
  .intro-scene .card .ico { width: 76px; height: 76px; top: 21px; }
  .intro-scene .podium-art { bottom: -58px; }
}
@media (max-width: 999px) {
  .home-page .intro-scene { width: min(700px,calc(100% - 40px)); min-height: auto; padding-top: 24px; }
  .intro-scene .hero { grid-template-columns: 1fr; padding: 0 0 44px; gap: 32px; }
  .intro-scene .hero p.lead { max-width: 600px; }
  .intro-scene .screen { width: 100%; max-width: none; transform: perspective(1200px) rotateY(-4deg) rotateZ(1deg); }
  .intro-scene .cards { grid-template-columns: 1fr; gap: 126px; padding: 32px 14px 126px; }
  .intro-scene .card { min-height: 235px; padding: 52px 24px 56px; }
  .intro-scene .card p { font-size: 16px; }
  .intro-scene .card:nth-child(1),.intro-scene .card:nth-child(2),.intro-scene .card:nth-child(3) { transform: none; }
  .intro-scene .how-play h2 { margin-left: 10px; }
  .step-arrow { display: none; }
  .how-play::before { inset: 10% 0 0; }
}
@media (max-width: 480px) {
  .home-page .intro-scene { width: calc(100% - 36px); }
  .intro-scene .tagline { font-size: 23px; white-space: normal; }
  .intro-scene .hero p.lead { font-size: 16px; }
  .intro-scene .how-play h2 { font-size: 30px; }
  .intro-scene .card { padding: 56px 20px 55px; }
  .intro-scene .card p { font-size: 15px; }
}

/* Iridescent atmosphere: continuous light clouds instead of a boxed floor. */
.home-page {
  position: relative; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 650px at -10% 1450px,rgba(24,70,164,.28),transparent 78%),
    radial-gradient(ellipse 65% 750px at 105% 1600px,rgba(121,31,187,.22),transparent 78%),
    radial-gradient(ellipse 60% 600px at 35% 2300px,rgba(42,47,133,.24),transparent 80%),
    radial-gradient(ellipse 70% 850px at 98% 2700px,rgba(161,29,131,.16),transparent 82%),
    linear-gradient(180deg,#09052e,#0a0731 55%,#10062e);
}
.home-page::after { content: none; }
.home-page main,.home-page header,.home-page footer { z-index: 2; }
.home-page .bubbles,.home-page .sparkles { z-index: 1; }
.world-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: calc(100svh + 160px);
  z-index: 0; pointer-events: none;
  background: url('/assets/img/world-backdrop-upscaled-v2.png') center / cover no-repeat;
  mask-image: linear-gradient(to bottom,#000 0%,#000 70%,rgba(0,0,0,.85) 81%,rgba(0,0,0,.38) 91%,transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,#000 0%,#000 70%,rgba(0,0,0,.85) 81%,rgba(0,0,0,.38) 91%,transparent 100%); }
.intro-scene .how-play::before { inset: 65% -12% -13%; border-radius: 50%;
  background: radial-gradient(ellipse at 18% 43%,rgba(255,162,35,.18),transparent 36%),
    radial-gradient(ellipse at 50% 49%,rgba(25,202,255,.21),transparent 39%),
    radial-gradient(ellipse at 84% 51%,rgba(242,55,218,.22),transparent 37%);
  filter: blur(10px); }
.intro-scene .how-play::after { content: ''; position: absolute; left: -14%; right: -14%; bottom: 10px; height: 125px; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(177deg,transparent 0 6px,rgba(96,128,222,.1) 7px,transparent 9px 16px);
  mask-image: radial-gradient(ellipse at 50% 20%,#000 5%,transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%,#000 5%,transparent 70%); }
.podium-reflection { opacity: .36; filter: blur(1.8px) saturate(1.12); }
.bubbles i { border: 0; border-radius: 0; box-shadow: none;
  background: url('/assets/img/bubble-iridescent-v1.png') center / contain no-repeat;
  filter: drop-shadow(0 0 9px rgba(75,121,255,.22)); }
.home-page .bubbles i:nth-child(8) { left: 86%; width: 94px; height: 94px; animation-duration: 27s; animation-delay: -18s; }
.home-page .bubbles i:nth-child(9) { left: 10%; width: 76px; height: 76px; animation-duration: 23s; animation-delay: -13s; }
.sparkles { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.sparkles i { --x: 94%; --y: 34%; --size: 22px; position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size);
  background: radial-gradient(circle,#fff 0 7%,#ffd7fd 10%,#ef7aff 21%,rgba(243,70,255,.15) 39%,transparent 70%);
  filter: drop-shadow(0 0 6px #f04cec); animation: sparkle-glow 4s ease-in-out infinite; }
.sparkles i::before,.sparkles i::after { content: ''; position: absolute; inset: 4% 47%; background: linear-gradient(transparent,#fff,transparent); border-radius: 50%; }
.sparkles i::after { transform: rotate(90deg); }
.sparkles i:nth-child(1) { --x: 94%; --y: 15%; --size: 18px; }
.sparkles i:nth-child(2) { --x: 97%; --y: 29%; --size: 15px; animation-delay: -2s; }
.sparkles i:nth-child(3) { --x: 91%; --y: 36%; --size: 32px; animation-delay: -1s; }
.sparkles i:nth-child(4) { --x: 97%; --y: 39%; --size: 24px; animation-delay: -3s; }
.sparkles i:nth-child(5) { --x: 87%; --y: 51%; --size: 20px; animation-delay: -1.5s; }
.sparkles i:nth-child(6) { --x: 93%; --y: 64%; --size: 34px; animation-delay: -2.5s; }
.sparkles i:nth-child(7) { --x: 98%; --y: 84%; --size: 19px; }
.sparkles i:nth-child(8) { --x: 5%; --y: 32%; --size: 14px; animation-delay: -3.5s; }
.sparkles i:nth-child(9) { --x: 12%; --y: 68%; --size: 19px; animation-delay: -1.7s; }
.sparkles i:nth-child(10) { --x: 38%; --y: 5%; --size: 11px; animation-delay: -2.7s; }
@keyframes sparkle-glow { 0%,100% { opacity: .35; transform: scale(.65); } 50% { opacity: 1; transform: scale(1.05); } }

/* Tilt towards the viewer on the right, with a solid bevel and two neon tubes. */
.intro-scene .screen { isolation: isolate; padding: 10px; border: 2px solid #d0baff;
  background: linear-gradient(135deg,#f4d3ff 0%,#ae43ed 16%,#5112a1 42%,#6736ec 68%,#b17dff 89%,#eacaff);
  box-shadow: -2px 3px 0 #502578,-4px 5px 0 #3e1b80,-6px 7px 0 #261258,-8px 9px 0 #160e3b,
    inset 0 2px 3px #fff1ff,inset 0 -3px 3px #6930ac,0 0 17px rgba(207,54,255,.85),0 0 46px rgba(86,54,255,.5),0 22px 45px rgba(0,0,27,.75);
  transform: perspective(1100px) rotateY(-20deg) rotateZ(-1.2deg); }
.intro-scene .screen::before { content: ''; position: absolute; inset: -4px; border: 2px solid #f191ff; border-radius: 33px; z-index: -1;
  box-shadow: inset 0 0 7px #ff7bf4,0 0 8px #e54dff,0 0 22px rgba(181,41,255,.5); pointer-events: none; }
.intro-scene .screen::after { content: ''; position: absolute; inset: 5px; border: 2px solid #7cd9ff; border-radius: 25px; pointer-events: none;
  box-shadow: 0 0 7px #70c8ff,inset 0 0 5px #5189ff; }
.intro-scene .screen img { position: relative; border-radius: 19px; box-shadow: 0 0 0 2px #291768; }
.intro-scene .screen:hover { transform: perspective(1100px) rotateY(-20deg) rotateZ(-1.2deg) translateY(-3px); }
.intro-scene .hero-logo { transform: none; }
@media (max-width: 999px) {
  .intro-scene .screen,.intro-scene .screen:hover { transform: perspective(1100px) rotateY(-10deg) rotateZ(-1deg); width: 95%; justify-self: center; }
  .world-backdrop { height: 2400px; background-size: auto 100%; opacity: .65; }
  .intro-scene .how-play::before { inset: 15% 0 -6%; }
  .intro-scene .how-play::after { left: 0; right: 0; bottom: 5px; height: 180px; }
  .sparkles i { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .bubbles i,.sparkles i { animation: none; }
  .home-page .bubbles i { top: 30%; bottom: auto; opacity: .6; }
  .home-page .bubbles i:nth-child(2n) { top: 70%; }
  .home-page .bubbles i:nth-child(3n) { top: 15%; }
}

/* Ground contact and a quiet continuation of the opening scene. */
.world-backdrop { height: calc(100svh + 60px); }
.intro-scene .hero { padding-bottom: 24px; }
.intro-scene .release-badges { margin-top: 20px; gap: 10px; }
.release-badges .pill { padding: 9px 15px; font-size: 15px; gap: 6px; }
.release-badges .pill small { font-size: 12px; }
.intro-scene .cards { padding-bottom: 110px; }
.intro-scene .card:nth-child(1) { transform: rotateY(5deg) rotateZ(-.6deg) translateY(5px); }
.intro-scene .card:nth-child(2) { transform: translateY(14px); }
.intro-scene .card:nth-child(3) { transform: rotateY(-5deg) rotateZ(.6deg) translateY(5px); }
.intro-scene .card:hover { translate: none; }
.podium-art::before { content: ''; position: absolute; top: 78%; left: 10%; right: 10%; height: 12%; border-radius: 50%; background: rgba(0,0,24,.7); filter: blur(5px); z-index: -1; }
.podium-reflection { top: 70%; opacity: .23; filter: blur(1.5px) saturate(1.15);
  mask-image: linear-gradient(to top,rgba(0,0,0,.75),rgba(0,0,0,.28) 42%,transparent 75%);
  -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,.75),rgba(0,0,0,.28) 42%,transparent 75%); }
.below-scene { position: relative; isolation: isolate; padding-bottom: 20px; }
.below-scene::before { content: ''; position: absolute; inset: 40px 0 auto; width: 100%; aspect-ratio: 1672 / 941; max-height: calc(100% - 40px); z-index: -1; pointer-events: none;
  background: url('/assets/img/gallery-worlds-upscaled-v3.png') center / cover no-repeat; opacity: .48; filter: saturate(.72);
  mask-image: linear-gradient(transparent,#000 20%,#000 58%,rgba(0,0,0,.75) 73%,rgba(0,0,0,.3) 87%,transparent 100%);
  -webkit-mask-image: linear-gradient(transparent,#000 20%,#000 58%,rgba(0,0,0,.75) 73%,rgba(0,0,0,.3) 87%,transparent 100%); }
.below-scene::after { content: none; }
.below-scene > section { padding-block: 42px; }
.eyebrow { display: block; color: #94e4f8; font-size: 12px; font-weight: 900; letter-spacing: .14em; margin-bottom: 9px; }
.below-scene h2 { margin-bottom: 12px; }
.section-lead { max-width: 760px; margin: 0 0 28px; color: #dedaf4; font-size: 17px; line-height: 1.65; }

/* Filmstrip: the viewport always contains exactly one frame. */
.gallery-stage { position: relative; max-width: 1040px; margin: 0 auto; padding: 18px 24px 10px; border-radius: 32px;
  border: 1px solid rgba(135,169,255,.35); background: linear-gradient(135deg,rgba(53,55,137,.36),rgba(31,13,80,.38));
  box-shadow: inset 0 1px 0 rgba(216,205,255,.17),0 12px 45px rgba(4,0,30,.4),0 0 40px rgba(94,92,232,.12); }
.gallery { display: block; overflow: hidden; padding: 0; border-radius: 20px; touch-action: pan-y; scroll-snap-type: none; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > figure:not(:first-child) { display: none; }
.gallery figure { margin: 0; min-width: 0; }
.gallery.film-ready { position: relative; perspective: 1200px; border-radius: 0; }
.gallery.film-ready > figure { display: block; position: absolute; top: 16px; left: 13%; width: 74%;
  transform: translateX(var(--offset)) scale(var(--scale)) rotateY(var(--angle));
  opacity: var(--shade); transform-origin: center; transition: transform 480ms cubic-bezier(.22,.7,.25,1),opacity 480ms; }
.gallery.film-ready > figure figcaption { display: none; }
.gallery.film-ready > figure:not(.is-active) { pointer-events: none; }
.gallery.film-ready > figure img { box-shadow: 0 10px 24px rgba(2,0,30,.6),0 0 16px rgba(140,107,255,.3); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 2px solid #a4b3ff; border-radius: 20px; box-shadow: none; user-select: none; }
.gallery figcaption { margin: 0; padding: 13px 12px 5px; font-size: 16px; color: #e0d8ff; }
.gallery-arrow { position: absolute; top: var(--arrow-top,40%); transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  border: 2px solid #b6c9ff; color: white; background: linear-gradient(155deg,#9a6cf7,#5129bd 58%,#37206e);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.6),0 4px 0 #29165e,0 0 22px rgba(162,96,255,.5); transition: filter .2s,scale .2s; }
.gallery-prev { left: -24px; }
.gallery-next { right: -24px; }
.gallery-arrow svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gallery-arrow:hover { filter: brightness(1.2); }
.gallery-arrow:active { scale: .94; }
.gallery-arrow:disabled { opacity: .4; cursor: default; }
.gallery-arrow:focus-visible,.gallery:focus-visible { outline: 3px solid #78f7ff; outline-offset: 5px; }
.film-counter { text-align: center; color: #ada9dc; font-size: 13px; letter-spacing: .12em; margin-top: 5px; }
.shot-story { position: relative; max-width: 760px; margin: 8px auto 0; padding: 23px 24px 18px; min-height: 150px; text-align: center;
  background: radial-gradient(ellipse at 50% 0,rgba(103,109,217,.14),transparent 70%); }
.shot-story::before { content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg,transparent,rgba(149,183,255,.55),transparent); }
.shot-story h3 { font-size: 27px; line-height: 1.25; margin: 0 0 12px; color: #f5f0ff; text-wrap: balance; }
.shot-story p { margin: 0; font-size: 16px; line-height: 1.65; color: #d8d9ee; text-wrap: pretty; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 20px; }
.shot-open:focus-visible { outline: 3px solid #78f7ff; outline-offset: -4px; }
.gallery-controls { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 8px; }
.gallery-controls .film-counter { margin: 0; }
.gallery-enlarge { display: block; margin: 10px auto 0; padding: 8px 18px; border-radius: 999px; border: 1px solid rgba(174,191,255,.55); background: rgba(65,43,132,.5); color: #f3eeff; font: 800 14px Nunito,sans-serif; cursor: zoom-in; }
.viewer-open { overflow: hidden; }
.shot-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 72px 18px 18px; border: 0; color: #f4f2ff; background: rgba(10,7,31,.97); }
.shot-viewer[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.shot-viewer::backdrop { background: rgba(5,3,20,.9); }
.viewer-canvas { width: 100%; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.viewer-image { display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer-canvas.is-zoomed .viewer-image { width: 200%; height: 200%; max-width: none; }
.viewer-title { font-size: clamp(17px,2vw,24px); line-height: 1.3; margin: 0; text-align: center; }
.viewer-controls { display: flex; gap: 22px; align-items: center; }
.viewer-controls button,.viewer-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid #aabaff; background: linear-gradient(150deg,#845de0,#3c237b); color: white; cursor: pointer; font: 600 38px/1 Nunito,sans-serif; }
.viewer-close { position: absolute; top: max(14px,env(safe-area-inset-top)); right: max(14px,env(safe-area-inset-right)); font-size: 30px; }
.viewer-counter { color: #c6bdf0; min-width: 52px; text-align: center; }

.world-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.world-card { --world-light: 92,237,178; overflow: hidden; border-radius: 23px; border: 1px solid rgba(var(--world-light),.48);
  background: linear-gradient(155deg,rgba(var(--world-light),.12),rgba(25,18,74,.85));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 12px 25px rgba(0,0,22,.3),0 0 18px rgba(var(--world-light),.08); }
.world-card.cave { --world-light: 205,120,255; }
.world-card.micro { --world-light: 246,190,89; }
.world-card.winter { --world-light: 109,202,255; }
.world-card.toys { --world-light: 255,140,210; }
.world-card > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-bottom: 1px solid rgba(var(--world-light),.3); }
.world-card > div { padding: 17px 16px 20px; }
.world-card h3 { font-size: 21px; margin: 0 0 7px; }
.world-card p { font-size: 14px; line-height: 1.55; color: #d9d7ee; margin: 0; }
.premium-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 45px; position: relative; padding: 36px; border-radius: 30px;
  border: 1px solid rgba(136,197,243,.5); background: linear-gradient(120deg,rgba(33,54,117,.65),rgba(56,21,100,.65));
  box-shadow: inset 0 1px 0 rgba(223,210,255,.23),0 18px 40px rgba(0,0,30,.35),0 0 42px rgba(135,62,226,.12); }
.premium-copy h2 { font-size: 34px; line-height: 1.25; margin: 12px 0 18px; }
.premium-copy p { margin: 0; font-size: 16px; color: #dfdbf5; }
.feature-row { display: grid; grid-template-columns: 54px 1fr; gap: 16px; align-items: start; margin-bottom: 20px; }
.feature-row img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(83,185,255,.4)); }
.feature-row h3 { margin: 0 0 5px; font-size: 20px; }
.feature-row p { margin: 0; color: #dfdbf5; font-size: 15px; }
.crystal-symbol { width: 42px; height: 48px; margin: 3px 6px; clip-path: polygon(22% 0,78% 0,100% 32%,50% 100%,0 32%);
  background: conic-gradient(from 40deg at 50% 33%,#a187ff,#734bea,#8ef7ff,#328cca,#c3ffff,#a187ff); }
.purchase-info { color: #bab9dc; font-size: 13px; border-top: 1px solid rgba(182,173,248,.22); padding-top: 14px; margin: 0; }
.purchase-info a { color: #99edee; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The glass frame, badge, icon and supporting disc are one integrated 3D asset. */
.intro-scene .cards { gap: 14px; padding: 4px 0 35px; }
.intro-scene .card { container-type: inline-size; min-height: 0; aspect-ratio: 1; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.intro-scene .card::before,.intro-scene .card::after { content: none; }
.intro-scene .card:hover { box-shadow: none; }
.card-sculpture { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.card-copy { position: absolute; inset: 0; z-index: 4; }
.intro-scene .card h3 { position: absolute; top: 27%; left: 19%; right: 38%; margin: 0; font-size: clamp(20px,6.5cqw,28px); line-height: 1.12; text-shadow: 0 2px 6px rgba(9,4,57,.5); }
.intro-scene .card p { position: absolute; top: 36%; left: 19%; right: 19%; margin: 0; font-size: clamp(13px,3.9cqw,16px); line-height: 1.42; color: #f1ecff; text-shadow: 0 1px 5px rgba(9,4,57,.6); }
.card-live-icon { position: absolute; top: 18%; right: 14%; width: 22%; height: 22%; object-fit: contain; z-index: 5; pointer-events: none; animation: card-icon-drift 6s ease-in-out infinite; filter: drop-shadow(0 3px 8px rgba(4,0,40,.2)); }
.card:nth-child(2) .card-live-icon { animation-delay: -2s; }
.card:nth-child(3) .card-live-icon { animation-delay: -4s; }
.card-bubble { position: absolute; z-index: 2; width: 7%; aspect-ratio: 1; pointer-events: none; background: url('/assets/img/bubble-iridescent-v1.png') center / contain no-repeat; opacity: .55; animation: card-bubble-drift 8s ease-in-out infinite; }
.card-bubble.bubble-a { left: 14%; top: 33%; }
.card-bubble.bubble-b { right: 13%; top: 55%; width: 4%; animation-delay: -4s; }
@keyframes card-icon-drift { 50% { transform: translateY(-4px) rotate(2deg); } }
@keyframes card-bubble-drift { 50% { transform: translate(3px,-9px) scale(1.05); opacity: .8; } }
@media (prefers-reduced-motion: reduce) { .card-live-icon,.card-bubble { animation: none; } }
.intro-scene .step-arrow { right: -26px; top: 48%; font-size: 38px; }
@media (prefers-reduced-motion: reduce) { .gallery.film-ready > figure { transition: none; } }
@media (min-width: 1000px) and (max-height: 820px) {
  .intro-scene .cards { padding-bottom: 26px; gap: 8px; }
  .intro-scene .release-badges { margin-top: 15px; }
  .release-badges .pill { font-size: 13px; padding: 8px 12px; }
}
@media (max-width: 999px) {
  .world-backdrop { height: 2400px; }
  .below-scene::before { inset: 0; aspect-ratio: auto; max-height: none; background-size: cover; background-position: 22% center; opacity: .32; }
  .intro-scene .card:nth-child(1),.intro-scene .card:nth-child(2),.intro-scene .card:nth-child(3) { transform: none; }
  .intro-scene .cards { padding: 0 0 35px; gap: 10px; }
  .intro-scene .card { width: 100%; max-width: 460px; justify-self: center; }
  .world-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery-stage { margin-inline: 0; padding: 14px 8px 10px; }
  .home-page #shots { width: calc(100% - 20px); }
  .gallery.film-ready > figure { left: 2%; width: 96%; }
  .gallery-arrow { width: 46px; height: 46px; }
  .gallery-prev { left: -15px; }
  .gallery-next { right: -15px; }
  .premium-panel { gap: 25px; padding: 28px; }
  .premium-copy h2 { font-size: 29px; }
}
@media (max-width: 600px) {
  .shot-viewer { padding-inline: 0; }
  .viewer-title { padding-inline: 12px; }
  .below-scene > section { padding-block: 30px; }
  .section-lead { font-size: 16px; }
  .home-page #shots { width: calc(100% - 12px); }
  .home-page #shots > .eyebrow,.home-page #shots > h2,.home-page #shots > .section-lead { margin-inline: 14px; }
  .gallery-stage { margin-inline: 0; padding: 0 0 14px; border: 0; background: none; box-shadow: none; border-radius: 22px; }
  .gallery.film-ready > figure { left: 0; width: 100%; }
  .gallery-arrow { position: static; transform: none; width: 48px; height: 48px; }
  .gallery-prev { left: -17px; }
  .gallery-next { right: -17px; }
  .gallery figcaption { font-size: 13px; padding-top: 10px; }
  .gallery img,.gallery { border-radius: 15px; }
  .world-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .world-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .world-card:last-child > img { height: 100%; aspect-ratio: auto; border: 0; }
  .world-card > div { padding: 13px; }
  .world-card h3 { font-size: 19px; }
  .world-card p { font-size: 13px; }
  .premium-panel { grid-template-columns: 1fr; padding: 24px 20px; gap: 25px; }
  .premium-copy h2 { font-size: 29px; }
  .shot-story { padding: 20px 10px 14px; min-height: 230px; }
  .shot-story h3 { font-size: 21px; }
  .shot-story p { font-size: 14px; }
  .below-scene::before { inset: 0; opacity: .28; background-size: cover; }
}

/* Quiet scenery outside the reading surface, drawn from separate game-world vignettes. */
.legal-page { --doc-accent: 142,225,215;
  background: radial-gradient(ellipse 85% 1100px at 90% 10%,rgba(109,82,142,.2),transparent 75%),
    radial-gradient(ellipse 80% 1500px at 74% 55%,rgba(36,98,92,.16),transparent 78%),
    linear-gradient(165deg,#111027,#121223 48%,#181021); }
.legal-page.terms-page { --doc-accent: 190,169,250;
  background: radial-gradient(ellipse 85% 1200px at 9% 12%,rgba(129,77,112,.23),transparent 75%),
    radial-gradient(ellipse 80% 1400px at 18% 60%,rgba(104,79,140,.2),transparent 78%),
    linear-gradient(155deg,#151027,#191222 48%,#111326); }
.legal-page::before { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 70% at 94% 20%,rgba(135,96,166,.19),transparent 75%),
    radial-gradient(ellipse 42% 55% at 84% 78%,rgba(64,134,125,.18),transparent 78%); }
.terms-page::before { background: radial-gradient(ellipse 50% 65% at 7% 30%,rgba(144,86,147,.22),transparent 76%),
    radial-gradient(ellipse 44% 55% at 14% 82%,rgba(170,110,81,.13),transparent 79%); }
.legal-sparkles { position: fixed; inset: 0 24px 0 auto; width: clamp(0px,calc((100vw - 1020px)/2 - 28px),400px); z-index: 0; pointer-events: none;
  mask-image: linear-gradient(transparent,#000 8%,#000 91%,transparent); }
.terms-page .legal-sparkles { inset: 0 auto 0 24px; }
.legal-sparkles i { position: absolute; width: 20px; height: 20px; border-radius: 50%; opacity: .38;
  background: radial-gradient(circle,#fff 0 3%,rgba(var(--doc-accent),.8) 7%,rgba(var(--doc-accent),.13) 23%,transparent 62%);
  animation: doc-twinkle 9s ease-in-out infinite; }
.legal-sparkles i::before,.legal-sparkles i::after { content: ''; position: absolute; inset: 14% 48%; border-radius: 50%; background: linear-gradient(transparent,rgba(var(--doc-accent),.85),transparent); }
.legal-sparkles i::after { transform: rotate(90deg); }
.legal-sparkles i:nth-child(1) { left: 18%; top: 17%; animation-delay: -2s; }
.legal-sparkles i:nth-child(2) { left: 71%; top: 32%; width: 13px; height: 13px; animation-duration: 11s; animation-delay: -7s; }
.legal-sparkles i:nth-child(3) { left: 40%; top: 47%; animation-duration: 8s; animation-delay: -5s; }
.legal-sparkles i:nth-child(4) { left: 81%; top: 63%; width: 11px; height: 11px; animation-duration: 13s; animation-delay: -3s; }
.legal-sparkles i:nth-child(5) { left: 24%; top: 77%; width: 25px; height: 25px; animation-duration: 12s; animation-delay: -8s; }
.legal-sparkles i:nth-child(6) { left: 56%; top: 89%; width: 12px; height: 12px; animation-delay: -6s; }
.legal-sparkles i:nth-child(7) { left: 59%; top: 9%; width: 10px; height: 10px; animation-duration: 14s; animation-delay: -9s; }
@keyframes doc-twinkle { 0%,100% { opacity: .16; transform: translateY(4px) scale(.8); } 50% { opacity: .66; transform: translateY(-4px) scale(1.08); } }
@media (max-width: 760px) { .legal-sparkles { display: none; } }
@media (prefers-reduced-motion: reduce) { .legal-sparkles i { animation: none; opacity: .3; } }
.legal-scenery { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 1; filter: none;
  /* Fill the viewport proportionally, without letterboxing or faded side strips. */
  background: url('/assets/img/privacy-world-no-bubbles-v3.png') center / cover no-repeat; }
.terms-page .legal-scenery { background-image: url('/assets/img/terms-world-upscaled-v2.png'); }
.legal-page .bubbles { opacity: .28; mask-image: linear-gradient(to right,#000,transparent 25%,transparent 75%,#000); }
.legal-page .bar nav a[aria-current="page"] { background: rgba(var(--doc-accent),.12); color: #f4f1ff; box-shadow: inset 0 -2px 0 rgba(var(--doc-accent),.55); }
.legal-page main { max-width: 1020px; }
.legal-page .doc { position: relative; border: 1px solid rgba(150,161,221,.46); border-radius: 30px; padding: clamp(22px,4vw,46px);
  background: radial-gradient(ellipse at 100% 0,rgba(var(--doc-accent),.06),transparent 65%),linear-gradient(145deg,rgba(33,29,54,.96),rgba(21,20,37,.96));
  box-shadow: inset 0 1px 0 rgba(211,219,255,.17),0 22px 70px rgba(0,0,20,.35),0 0 35px rgba(var(--doc-accent),.06); }
.legal-page .doc::before { content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg,transparent,rgba(var(--doc-accent),.75),transparent); }
.doc-heading { display: flex; gap: 23px; align-items: flex-start; margin-bottom: 28px; }
.doc-heading > div { min-width: 0; }
.doc-symbol { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 64px; border: 1px solid rgba(var(--doc-accent),.55); border-radius: 20px;
  background: linear-gradient(150deg,rgba(var(--doc-accent),.2),rgba(56,35,100,.35)); box-shadow: inset 0 1px 0 rgba(255,255,255,.24),0 0 20px rgba(var(--doc-accent),.12); }
.doc-symbol svg { width: 31px; height: 31px; fill: none; stroke: rgb(var(--doc-accent)); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.doc-heading .eyebrow { color: rgb(var(--doc-accent)); font-size: 11px; margin: 2px 0 9px; }
.legal-page .doc h1 { font-size: clamp(28px,3.2vw,39px); line-height: 1.22; text-shadow: none; text-wrap: balance; }
.legal-page .doc .meta { font-size: 14px; line-height: 1.6; margin: 13px 0 0; color: #b5b4d4; font-weight: 600; }
.legal-page .toc { padding: 22px 25px; border: 1px solid rgba(var(--doc-accent),.18); border-radius: 22px; background: linear-gradient(135deg,rgba(var(--doc-accent),.08),rgba(97,75,142,.08)); }
.legal-page .toc > strong { display: block; color: #e4e4f7; font-size: 15px; margin-bottom: 10px; }
.legal-page .toc ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; columns: auto; margin: 0; }
.legal-page .toc li { font-size: 14px; line-height: 1.45; padding-left: 3px; }
.legal-page .toc li::marker { color: rgba(var(--doc-accent),.85); font-weight: 800; }
.legal-page .toc a { display: block; padding: 3px 0; color: #c6c8e6; font-weight: 700; }
.legal-page .toc a:hover { color: rgb(var(--doc-accent)); }
.legal-page .doc h2 { color: rgb(var(--doc-accent)); font-size: 24px; padding-top: 17px; margin-top: 33px; border-top: 1px solid rgba(158,159,207,.14); scroll-margin-top: 24px; }
.legal-page .doc p,.legal-page .doc li { font-size: 16px; line-height: 1.8; color: #dddeed; }
.legal-page .doc .toc li { font-size: 14px; line-height: 1.45; }
.legal-page .doc a { color: rgb(var(--doc-accent)); }
.legal-page .doc th { background: rgba(var(--doc-accent),.1); }
.legal-page .doc td,.legal-page .doc th { border-color: rgba(148,162,207,.2); font-size: 14px; line-height: 1.7; }
.legal-page .doc td:first-child { white-space: normal; width: 26%; }
.doc-return { margin-top: 35px; text-align: right; }
.doc-return a { display: inline-block; border: 1px solid rgba(var(--doc-accent),.32); border-radius: 999px; padding: 9px 18px; font-size: 14px; text-decoration: none; background: rgba(var(--doc-accent),.06); }
@media (max-width: 600px) {
  .doc-heading { display: block; }
  .doc-symbol { width: 48px; height: 48px; border-radius: 16px; margin-bottom: 20px; }
  .doc-symbol svg { width: 26px; height: 26px; }
  .legal-page .doc { border-radius: 24px; padding: 25px 20px; }
  .legal-page .toc { padding: 18px; }
  .legal-page .toc ol { grid-template-columns: 1fr; }
  .legal-page .doc h2 { font-size: 22px; }
  .legal-page .doc p,.legal-page .doc li { font-size: 15px; }
  .legal-page .doc td,.legal-page .doc th { padding: 8px; font-size: 12px; overflow-wrap: anywhere; }
  .legal-page .doc td:first-child { width: 30%; }
}


/* Approved canyon composition: original upscaled edges, clean live-UI centre. */
.world-backdrop {height:100svh;overflow:hidden;
 background:radial-gradient(ellipse 45% 40% at 46% 35%,rgba(8,12,53,.45),transparent 90%),url('/assets/img/canyon-clean-plate-v1.png') center / cover no-repeat;
 mask-image:linear-gradient(#000 0%,#000 88%,rgba(0,0,0,.7) 94%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 88%,rgba(0,0,0,.7) 94%,transparent 100%);}
.world-upscaled-edges {position:absolute;inset:0;pointer-events:none;background:url('/assets/img/canyon-layout-upscaled-original-v1.png') center / cover no-repeat;
 mask-image:radial-gradient(circle at 95% 17%,transparent 0 3.3vw,#000 4.5vw),
 radial-gradient(circle at 83% 32%,transparent 0 3vw,#000 4.1vw),
 radial-gradient(circle at 82% 38%,transparent 0 1.1vw,#000 1.7vw),
 radial-gradient(circle at 18% 68%,transparent 0 3vw,#000 4vw),
 radial-gradient(ellipse at 96% 86%,transparent 0 7vw,#000 10vw),
 linear-gradient(90deg,#000 0%,#000 16%,transparent 22%,transparent 77%,#000 84%,#000 100%);
 mask-composite:intersect;}
.world-upscaled-floor {position:absolute;inset:0;pointer-events:none;background:url('/assets/img/canyon-layout-upscaled-original-v1.png') center / cover no-repeat;
 mask-image:radial-gradient(ellipse at 96% 86%,transparent 0 7vw,#000 10vw),linear-gradient(transparent 0%,transparent 89%,#000 94%,#000 100%);mask-composite:intersect;}
.home-page .sparkles {display:none;}
.intro-scene .hero-logo {position:relative;width:min(450px,100%);aspect-ratio:1933 / 520;margin:24px 0 0;transform:none;}
.intro-scene .hero-logo img {position:absolute;left:-1.6%;top:-31%;width:103%;max-width:none;height:auto;animation:none;}
.intro-scene .tagline {margin-top:8px;}
.intro-scene .cards {gap:16px;margin-top:-18px;padding-top:0;padding-bottom:50px;}
.intro-scene .card {overflow:visible;}
.intro-scene .card h3 {top:36%;left:18%;right:31%;font-size:clamp(21px,6.6cqw,26px);line-height:1.15;}
.intro-scene .card p {top:45%;left:18%;right:16%;font-size:clamp(13px,3.8cqw,15px);line-height:1.30;}
.intro-scene .card:nth-child(2) h3,.intro-scene .card:nth-child(3) h3 {top:37%;}
.intro-scene .card:nth-child(2) p,.intro-scene .card:nth-child(3) p {top:46%;}
.card-live-icon {top:24%;right:15%;width:20%;height:20%;}
.card-bubble.bubble-a {left:12%;top:47%;}
.card-floor-reflection {position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.14;filter:blur(2px);transform:translateY(174%) scaleY(-1);mask-image:linear-gradient(to top,#000 13%,transparent 31%);-webkit-mask-image:linear-gradient(to top,#000 13%,transparent 31%);}
.intro-scene .how-play::before,.intro-scene .how-play::after {content:none;}
@media(max-width:999px){
 .world-backdrop {height:1800px;background-size:auto 950px;background-position:center top;background-color:transparent;mask-image:linear-gradient(#000 0%,#000 35%,transparent 60%);}
 .world-upscaled-edges,.world-upscaled-floor {display:none;}
 .intro-scene .hero-logo {width:min(450px,100%);margin-top:12px;}
 .intro-scene .cards {gap:8px;}
}

/* Contact shadows and short reflections keep the thin discs on the floor. */
.intro-scene .card::before {content: ''; position: absolute; left: 9%; right: 9%; top: 80.8%; height: 5%; z-index: -2; border: 0; border-radius: 50%; background: radial-gradient(ellipse,rgba(7,6,24,.72),rgba(7,6,24,.38) 42%,transparent 75%); box-shadow: none; filter: blur(3px); pointer-events: none;}
.card-floor-reflection {display: block; width: 100%; height: 100%; object-fit: contain; z-index: -1; opacity: .24; transform-origin: top center; transform: translateY(105.6%) scaleY(-.28); filter: blur(1.6px); mask-image: linear-gradient(to top,#000 15%,rgba(0,0,0,.6) 21%,transparent 36%); -webkit-mask-image: linear-gradient(to top,#000 15%,rgba(0,0,0,.6) 21%,transparent 36%);}
.intro-scene .step-arrow {width: 42px; height: 34px; right: -28px; top: 48%; font-size: 0; text-shadow: none; filter: drop-shadow(0 2px 1px rgba(35,12,69,.8)) drop-shadow(0 0 8px rgba(141,220,255,.5));}
.step-arrow svg {display: block; width: 100%; height: 100%; overflow: visible;}
@media(min-width:1000px) {
 .intro-scene .card:nth-child(3) {transform: rotateY(-5deg) rotateZ(.6deg) translateY(22px);}
}
/* Bursts are a separate overlay, so the rising animation and page controls remain intact. */
.bubbles i.is-popped {visibility: hidden;}

/* Keep vertical scrolling on the document; horizontal clipping must not create a second scrolling body. */
html {overflow-x: clip; overflow-y: auto;}
body {overflow-x: clip; overflow-y: visible;}

/* The actual soap film tears away at the clicked point; no expanding glow ring. */
.bubble-burst {position: fixed; z-index: 30; pointer-events: none;}

/* Responsive composition: decoration follows available space, content stays readable. */
.hero > *, .bar nav, .gallery-stage, .shot-story {min-width: 0;}
@media (min-width: 1000px) and (max-width: 1700px) {
 .world-backdrop,.world-upscaled-edges {background-size: auto max(100svh,76vw); background-position: center top;}
 .world-upscaled-edges {display: none;}
 .world-backdrop::after {content: ""; position: absolute; inset: auto 0 0; height: 30%; background: url("/assets/img/canyon-clean-plate-v1.png") center bottom / 100% auto no-repeat; mask-image: linear-gradient(transparent,#000 55%); -webkit-mask-image: linear-gradient(transparent,#000 55%);}
 .world-upscaled-floor {display: none;}
 .home-page .intro-scene {width: min(1080px,calc(100% - 64px)); min-height: calc(100svh - 80px); justify-content: flex-start; padding-top: 0;}
 .intro-scene .hero {grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: clamp(24px,4vw,56px); padding: 8px 20px 14px; align-items: center;}
 .intro-scene .hero-logo {width: min(350px,100%); margin-top: 12px;}
 .intro-scene .tagline {font-size: clamp(21px,1.8vw,25px); white-space: normal; margin-top: 6px;}
 .intro-scene .hero p.lead {max-width: 100%; font-size: 15px; line-height: 1.45; margin-top: 12px;}
 .intro-scene .release-badges {margin-top: 14px; flex-wrap: wrap;}
 .intro-scene .release-badges .pill {font-size: 13px; padding: 8px 12px;}
 .intro-scene .screen {width: 100%; max-width: 480px;}
 .intro-scene .how-play h2 {font-size: 29px; margin: 0 0 0 28px;}
 .intro-scene .cards {margin-top: -42px; padding-bottom: 12px;}
}
@media (min-width: 1000px) and (max-height: 740px) {
 .home-page .intro-scene {min-height: 720px;}
 .world-backdrop {height: 850px;}
}
@media (min-width: 1000px) and (max-width: 1150px) {
 .intro-scene .card p {font-size: 12px; line-height: 1.28; left: 17%; right: 14%;}
 .intro-scene .card h3 {font-size: 21px;}
}
@media (max-width: 999px) {
 .bar {display: grid; grid-template-columns: auto 1fr auto; gap: 12px; padding: 12px 0;}
 .bar .brand {grid-column: 1; grid-row: 1;}
 .bar .lang {grid-column: 3; grid-row: 1;}
 .bar nav {grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 4px;}
 .bar nav a {font-size: 14px; padding: 6px 10px;}
 .home-page .intro-scene {padding-top: 12px;}
 .intro-scene .hero {gap: 24px; padding-bottom: 28px;}
 .intro-scene .hero-logo {width: min(400px,100%); margin-top: 8px;}
 .intro-scene .tagline {white-space: normal;}
 .intro-scene .screen,.intro-scene .screen:hover {width: 100%; transform: none;}
 .intro-scene .cards {margin-top: -32px; gap: 0; padding-bottom: 10px;}
 .intro-scene .how-play h2 {margin-bottom: 0;}
 .intro-scene .step-arrow {display: none;}
 .world-backdrop {height: 1750px; background-size: auto 1050px; background-position: center top; mask-image: linear-gradient(#000, #000 40%,transparent 75%); -webkit-mask-image: linear-gradient(#000,#000 40%,transparent 75%);}
 .legal-page .doc {overflow-wrap: anywhere;}
}
@media (max-width: 600px) {
 .bar {width: calc(100% - 32px);}
 .bar a.brand img {width: 44px; height: 44px;}
 .bar nav {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; text-align: center;}
 .bar nav a {font-size: 13px; padding: 5px 2px;}
 .intro-scene .hero-logo {width: min(340px,100%);}
 .intro-scene .tagline {font-size: clamp(21px,6vw,25px);}
 .intro-scene .release-badges {gap: 8px; flex-wrap: wrap;}
 .intro-scene .release-badges .pill {font-size: 13px; padding: 8px 12px;}
 .intro-scene .release-badges .pill small {font-size: 11px;}
 .intro-scene .card p {font-size: clamp(12px,3.8cqw,15px); line-height: 1.28; left: 17%; right: 14%;}
 .intro-scene .card h3 {font-size: clamp(20px,6.4cqw,25px);}
 .legal-page main {width: calc(100% - 24px);}
 .legal-page .doc {padding: 22px 16px;}
 .legal-page .toc ol {grid-template-columns: minmax(0,1fr);}
}

/* Explicit grid-item width prevents WebKit from collapsing size-contained cards. */
.intro-scene .card {width: 100%; min-width: 0;}

/* Arena that follows the scene (any screen shape): the backdrop lives inside the intro scene and is as tall as it is
   (plus the header above and a floor strip below). The picture is a 16:9 frame whose pedestal line is at 85% of its height;
   background-position 85% pins that line to the same 85% of the box, so the card pedestals stand on the water at every size. */
.home-page header { position: relative; z-index: 5; }
.home-page .intro-scene { position: relative; }
.home-page .intro-scene > .world-backdrop { position: absolute; top: -90px; bottom: calc(13.4% - 172px); left: 50%; width: 100vw; height: auto; transform: translateX(-50%); z-index: -1; overflow: hidden; background-size: auto, cover; background-position: center, center 85%; }
.home-page .intro-scene > .world-backdrop::after { content: none; }
/* The two layers cut from the full mock-up carry baked-in text, buttons and pedestals; with a scene-bound backdrop they would ghost
   through the live content, so only the clean plate is used (it already holds the side scenery and the water). */
.home-page .intro-scene > .world-backdrop .world-upscaled-edges,
.home-page .intro-scene > .world-backdrop .world-upscaled-floor { display: none; }

/* Stacked layout (tablet / phone): one picture cannot stand under three cards in a column, so the hero keeps its own backdrop
   and the column of cards gets its own water floor that stretches with the column - every pedestal stands on it. */
@media (max-width: 999px) {
  .home-page .intro-scene > .world-backdrop { top: -90px; bottom: auto; height: 1750px; background-size: auto, auto 1050px; background-position: center, center top;
    -webkit-mask-image: linear-gradient(#000, #000 40%, transparent 75%); mask-image: linear-gradient(#000, #000 40%, transparent 75%); }
  .home-page .intro-scene .how-play .cards { position: relative; isolation: isolate; }
  .home-page .intro-scene .how-play .cards::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 50%; width: 100vw; transform: translateX(-50%);
    top: -50px; bottom: -80px; background: url('/assets/img/world-backdrop-upscaled-v2.png') center bottom / auto 340% no-repeat;
    -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
}

/* Wide layout: the scene is as tall as its content (no stretching to the window), so the pedestal row keeps a fixed distance from the
   scene's bottom edge and the backdrop line (85%) lands under it on every window height. The left hero text keeps clear of the
   octopus with the crown, which is part of the picture and moves with its width. */
@media (min-width: 1000px) {
  .home-page .intro-scene { min-height: 0; }
  .intro-scene .hero > div:first-child { padding-left: clamp(0px, calc(540px - 28vw), 190px); }
}

/* the store button: lime, the game's call to action */
.pill.store { background: linear-gradient(180deg, #e6ff6a 0%, #c4f034 55%, #9fcc12 100%); color: #1d1050; border-color: #f6ffc2; cursor: pointer;
  box-shadow: 0 6px 0 #6f8f0c, 0 12px 24px rgba(160, 200, 20, .4), inset 0 2px 0 rgba(255,255,255,.7); }
.pill.store:hover { transform: translateY(-2px); }
.pill.store:active { transform: translateY(3px); box-shadow: 0 2px 0 #6f8f0c, 0 6px 12px rgba(160,200,20,.4), inset 0 2px 0 rgba(255,255,255,.7); }
.pill.store.big { font-size: 24px; padding: 16px 34px; }
.bar nav a.nav-cta { background: #c4f034; color: #1d1050; box-shadow: 0 3px 0 #6f8f0c; }
.bar nav a.nav-cta:hover { background: #d8ff5a; color: #1d1050; }
.download { text-align: center; padding-block: 36px 56px; }
.download h2 { margin-bottom: 18px; }
.download .note { margin-top: 14px; color: var(--lavender); font-weight: 700; }
