@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text-cyrillic-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/golos-text-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --night: #211340;
  --paper: #fcf7ff;
  --lavender: #f1e7fc;
  --white: #fff;
  --gold: #ffdd75;
  --ink: #2b1747;
  --body: #59476f;
  --purple: #6944a5;
  --border: #e9dbf5;
  --sans: "Golos Text", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bf7e19; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.15vw, 3.7rem); font-weight: 760; line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: clamp(1.24rem, 2.5vw, 1.64rem); font-weight: 730; line-height: 1.17; letter-spacing: -.026em; }
section[id], #game { scroll-margin-top: 1.35rem; }
.shell { width: min(100% - 6rem, 1180px); margin-inline: auto; }
.section-pad { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.skip { position: absolute; z-index: 3; top: .5rem; left: 1rem; padding: .7rem 1rem; background: var(--white); color: var(--ink); transform: translateY(-180%); }
.skip:focus { transform: none; }

.site-header { position: relative; z-index: 1; color: #fff4ff; background: #28174d; border-bottom: 1px solid #b586ee50; }
.header-inner { min-height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; width: max-content; align-items: center; gap: .65rem; text-decoration: none; font-weight: 770; font-size: 1.35rem; letter-spacing: -.037em; }
.brand img { object-fit: contain; }
nav { display: flex; gap: clamp(1.1rem, 3.4vw, 3.15rem); }
nav a { color: #f0e2fb; font-size: .91rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--gold); }
.header-cta { justify-self: end; }
.strike {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: .6rem 2.1rem;
  border: 1px solid #fff2a9;
  border-radius: 12px;
  background: linear-gradient(180deg,#ffe597 0%, #ffd35e 80%);
  color: #3c200c;
  box-shadow: 0 4px 0 #b87128, 0 8px 17px #20103955;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.strike:hover { background: linear-gradient(180deg,#fff1b8,#ffdd77); }
.strike:active { transform: translateY(2px); box-shadow: 0 2px 0 #b87128; }
.header-cta .strike { min-height: 39px; padding: .47rem 1.18rem; border-radius: 9px; font-size: .88rem; box-shadow: 0 3px 0 #a9622b; }

.hero { position: relative; overflow: hidden; color: #fff7ff; background: radial-gradient(ellipse at 82% 37%,#9952bb 0%,transparent 47%),linear-gradient(125deg,#2b1959 9%,#452278 64%,#63388d); border-bottom: 1px solid #b18de0; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle,#eedaff48 1px,transparent 1.7px) 0 0/27px 27px; mask-image: linear-gradient(90deg,transparent 32%,#000 100%); opacity: .62; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); align-items: center; gap: 2rem clamp(2rem,5vw,4rem); padding-block: clamp(3rem,5.3vw,5rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { color: var(--purple); font-weight: 740; font-size: .82rem; letter-spacing: .092em; line-height: 1.4; text-transform: uppercase; }
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .54rem;
  margin-bottom: 1.2rem;
  padding: .43rem .74rem;
  border: 1px solid #dcaff66e;
  border-radius: 20px;
  background: #24134462;
  color: #f5ddff;
  letter-spacing: .071em;
}
.hero .eyebrow::before { content: ""; width: .48rem; aspect-ratio: 1; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.hero h1 { color: var(--gold); font-size: clamp(3.25rem,6vw,5.9rem); font-weight: 800; line-height: 1; letter-spacing: -.054em; text-shadow: 0 3px 0 #7d421c, 0 8px 18px #25134372; }
.hero-pitch { margin-top: .8rem; font-size: clamp(2.25rem,4.55vw,4.15rem); font-weight: 750; line-height: 1.03; letter-spacing: -.042em; }
.hero-text { max-width: 36ch; margin-top: 1.35rem; color: #f2e2fc; font-size: clamp(1.03rem,1.55vw,1.2rem); line-height: 1.56; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.25rem; margin-top: 1.7rem; }
.quiet-link { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .95rem; border: 1px solid #ca9fed90; border-radius: 10px; background: #34185187; color: #fff3ff; font-size: .93rem; font-weight: 680; line-height: 1.3; text-decoration: none; }
.quiet-link:hover { background: #4c2969; }
.hero-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; margin-top: 1.1rem; color: #ebdbf6; font-size: .84rem; }
.hero-note span { color: var(--gold); }
.hero :focus-visible, .site-header :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.game-preview { position: relative; width: min(100%,555px); justify-self: end; }
.preview-scene { position: relative; isolation: isolate; display: grid; justify-items: center; padding: 1rem 0 .4rem; }
.preview-scene::before, .preview-scene::after { position: absolute; z-index: -1; inset: 44% auto auto 50%; width: min(92%,510px); aspect-ratio: 1.1; transform: translate(-50%,-46%); border-radius: 50%; pointer-events: none; content: ""; }
.preview-scene::before { background: radial-gradient(ellipse,#f0bbff62 5%,#b581eb32 57%,transparent 73%); }
.preview-scene::after { border: 1px solid #e1b7f648; box-shadow: 0 0 0 24px #e3b9ff11, 0 0 0 54px #e3b9ff0c; }
.scene-gem { position: absolute; z-index: -1; width: var(--gem-size); aspect-ratio: 1; opacity: .88; filter: drop-shadow(0 10px 12px #2911475e); }
.scene-gem--blue { --gem-size: clamp(36px,6vw,82px); top: 23%; left: 7%; border-radius: 26%; background: linear-gradient(140deg,#a8f2ff,#53caff 42%,#4270cc 84%); transform: rotate(-18deg); box-shadow: inset 0 4px #b7edff80,inset 0 -7px #214f9a3d; }
.scene-gem--gold { --gem-size: clamp(36px,6.5vw,90px); top: 22%; right: 4%; background: linear-gradient(160deg,#fff7b0,#ffdb58 54%,#ee9d37 90%); clip-path: polygon(50% 0,64% 31%,98% 37%,74% 62%,79% 98%,50% 82%,21% 98%,26% 62%,2% 37%,36% 31%); transform: rotate(14deg); }
.scene-gem--pink { --gem-size: clamp(25px,5.1vw,71px); right: 7%; bottom: 20%; border-radius: 32%; background: linear-gradient(140deg,#ffb7e0,#f16fb0 53%,#aa3c89); transform: rotate(16deg); box-shadow: inset 0 4px #ffcdea86,inset 0 -6px #86247752; }
.scene-gem--lilac { --gem-size: clamp(19px,4.1vw,58px); bottom: 12%; left: 10%; background: linear-gradient(135deg,#f1d0ff,#b580f0 52%,#7444c2); clip-path: polygon(24% 5%,76% 5%,100% 50%,76% 95%,24% 95%,0 50%); transform: rotate(-16deg); }

.screen-picker:not([hidden]) { display: flex; }
.screen-picker { position: relative; justify-content: center; gap: .34rem; max-width: 100%; margin-bottom: .9rem; padding: .36rem; border: 1px solid #d9b3ef87; border-radius: 14px; background: #301651d9; box-shadow: 0 5px 18px #2b154065; }
.screen-picker button { min-width: 62px; min-height: 44px; padding: .44rem .82rem; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #fbecff; cursor: pointer; font-size: .87rem; font-weight: 720; line-height: 1.2; }
.screen-picker button[aria-pressed="true"] { border-color: #fff0ac; background: linear-gradient(180deg,#ffe796,#ffd669); color: #422513; box-shadow: 0 2px 0 #a8652f; }
.screen-picker button[aria-pressed="false"]:hover { border-color: #b996db; background: #603882; }
.screen-picker button:focus-visible { outline-offset: 2px; }
.phone { position: relative; width: min(100%,298px); padding: 8px; overflow: hidden; border: 1px solid #ecd2ff; border-radius: 31px; background: linear-gradient(150deg,#9262ba,#2d1a47 18%,#170f2d 88%); box-shadow: 0 0 0 3px #442463,0 22px 44px #231139ad; }
.phone-screen { overflow: hidden; aspect-ratio: 392 / 696; border: 1px solid #160e2f; border-radius: 23px; background: #213a9c; }
.phone-screen img { width: 100%; height: 100%; object-fit: contain; }
.preview-caption { display: grid; justify-items: center; gap: .12rem; margin-top: 1rem; color: #fcf2ff; text-align: center; }
.preview-caption span { font-size: .95rem; font-weight: 700; }
.preview-caption a { color: #f0dcfa; font-size: .81rem; text-underline-offset: .2em; }

.section-intro { margin-bottom: clamp(1.4rem,3.8vw,2.8rem); }
.section-intro .eyebrow { margin-bottom: .65rem; }
.split-intro { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 1rem 3.5rem; align-items: end; }
.split-intro > p { max-width: 42ch; justify-self: end; color: var(--body); }

.castle { background: var(--paper); }
.result-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(1rem,2.7vw,2.15rem); }
.place-card { overflow: hidden; padding: 7px; border: 1px solid #e3cef2; border-radius: 19px; background: var(--white); box-shadow: 0 4px 0 #e8dbf3; }
.lazy-image { overflow: hidden; aspect-ratio: 16/9; border-radius: 12px; background: #e6d7f8; }
.lazy-image img { width: 100%; height: 100%; object-fit: cover; }
.place-copy { padding: 1.15rem clamp(.85rem,2vw,1.4rem) 1.3rem; }
.place-copy p { margin-top: .35rem; color: var(--body); }
.source { margin-top: .9rem; color: var(--body); font-size: .82rem; }
.source a, details a, .site-footer a { text-underline-offset: .18em; }
.source a:hover, details a:hover { color: var(--purple); }

.playtime { background: var(--lavender); border-block: 1px solid var(--border); }
.occasion-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem,2.4vw,1.7rem); }
.occasion-grid article { padding: clamp(1.1rem,2.7vw,1.8rem); border: 1px solid #e0caf2; border-radius: 15px; background: #fffaff; box-shadow: 0 3px 0 #dfccea; }
.occasion-grid article p { margin-top: .55rem; color: var(--body); }
.occasion-grid article h3 { margin-top: .78rem; }
.benefit-mark { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; }
.benefit-mark::after { content: ""; width: 26px; height: 26px; }
.benefit-mark--heart { background: #ffe0f1; }
.benefit-mark--heart::after { background: linear-gradient(135deg,#ff9ac8,#d84990); clip-path: polygon(50% 20%,64% 6%,82% 7%,97% 24%,97% 43%,90% 57%,50% 97%,10% 57%,3% 43%,3% 24%,18% 7%,36% 6%); }
.benefit-mark--gem { background: #daeefe; }
.benefit-mark--gem::after { background: linear-gradient(135deg,#96ecff,#3c85da); clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); }
.benefit-mark--star { background: #fff0c5; }
.benefit-mark--star::after { background: linear-gradient(135deg,#ffe27b,#f09e37); clip-path: polygon(50% 0,64% 31%,98% 37%,74% 62%,79% 98%,50% 82%,21% 98%,26% 62%,2% 37%,36% 31%); }

.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: .82fr 1.32fr; gap: 1.45rem 3rem; }
.faq .section-intro { margin: 0; }
.questions { border-top: 1px solid var(--border); }
details { border-bottom: 1px solid var(--border); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 61px; padding-block: .85rem; font-weight: 730; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--purple); font-size: 1.55rem; font-weight: 500; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { padding: 0 1.75rem .95rem 0; color: var(--body); }

.final-cta { background: radial-gradient(ellipse at 50% 0%,#8b48a7,transparent 75%),#39205f; border-top: 1px solid #a87ad6; color: #fff5ff; text-align: center; }
.final-inner { display: grid; justify-items: center; padding-block: 3.2rem 3.95rem; }
.final-inner img { margin-bottom: .58rem; }
.final-inner p { margin-block: .65rem 1.15rem; color: #efe0fa; }
.site-footer { background: var(--night); color: #eee2f9; border-top: 1px solid #b486e24c; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1rem; font-size: .84rem; }

@media (max-width: 980px) {
  .shell { width: calc(100% - 4rem); }
  .hero-grid { gap: 2rem; }
  .hero h1 { font-size: clamp(2.7rem,6.3vw,4.9rem); }
  .phone { width: min(85%,270px); }
  .split-intro { gap: .9rem 2rem; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 62px; grid-template-columns: 1fr auto; gap: .65rem; }
  .brand { font-size: 1.18rem; gap: .38rem; }
  .brand img { width: 34px; height: 34px; }
  nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 1.55rem; padding-block: 1.85rem 2.1rem; }
  .hero h1 { font-size: clamp(2.7rem,11vw,4.8rem); }
  .hero-pitch { margin-top: .65rem; font-size: clamp(2rem,8.4vw,3.4rem); }
  .hero-text { margin-top: .95rem; }
  .hero .eyebrow { margin-bottom: .9rem; }
  .hero-actions { margin-top: 1.07rem; gap: .65rem .7rem; }
  .hero-actions .strike { padding-inline: 1.55rem; }
  .hero-note { margin-top: .8rem; }
  .game-preview { justify-self: center; }
  .preview-scene { padding-top: .2rem; }
  .phone { width: clamp(204px,66vw,265px); padding: 6px; border-radius: 24px; }
  .phone-screen { border-radius: 18px; }
  .scene-gem--blue { left: 2%; }
  .scene-gem--gold { right: 0; }
  .scene-gem--pink { right: 2%; }
  .scene-gem--lilac { left: 3%; }
  .split-intro, .result-grid, .occasion-grid, .faq-grid { grid-template-columns: minmax(0,1fr); }
  .split-intro > p { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
