:root {
  --bg: #100720;
  --panel: rgba(34, 20, 66, 0.8);
  --border: #5a06ed;
  --text-main: #ffffff;
  --text-muted: #ab81ff;
  --title-start: #e0ceff;
  --title-end: #8741ff;
  --button-start: #8e11ff;
  --button-end: #791aff;
  --button-shadow: 0 0 30px rgba(124, 16, 255, 0.66);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-main);
  font-family: Roboto, Arial, sans-serif;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  height: 130px;
  background: center / 100% 100% no-repeat url("assets/figma/top-bar.webp");
}

.site-footer {
  height: 251px;
  background: center / 100% 100% no-repeat url("assets/figma/bottom-bar.webp");
}

.page-main {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  padding-bottom: 437px;
}

.section-title {
  margin: 0;
  background: linear-gradient(90deg, var(--title-start), var(--title-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 48px;
  font-weight: 800;
  line-height: 56px;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 377px;
  height: 60px;
  padding: 0 29px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--button-start), var(--button-end));
  box-shadow: var(--button-shadow);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(124, 16, 255, 0.8);
}

.button img {
  width: 23px;
  height: 23px;
}

.glass-card {
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--panel);
  backdrop-filter: blur(12px);
}

.hero,
.intro,
.preview,
.steps,
.games,
.download-callout {
  position: relative;
}

.hero {
  min-height: 865px;
  margin-bottom: 242px;
}

.hero-copy {
  position: relative;
  width: 942px;
  padding-top: 242px;
}

.floating-wrap {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.floating-gg {
  top: 46px;
  left: -118px;
}

.hero-badge {
  position: relative;
  width: 227px;
  will-change: transform;
}

.hero h1 {
  width: 942px;
  margin: 0;
  background: linear-gradient(90deg, var(--title-start), var(--title-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 65px;
}

.hero-lead {
  width: 455px;
  margin: 22px 0 44px;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
}

.hero-lead strong,
.offer-card strong {
  color: inherit;
  font-weight: 800;
}

.offer-grid {
  display: grid;
  grid-template-columns: 300px 300px;
  gap: 27px;
  margin-top: 55px;
}

.offer-card {
  min-height: 157px;
  padding: 27px 34px;
}

.offer-card h2,
.step-card h3 {
  margin: 0 0 16px;
  background: linear-gradient(90deg, var(--title-start), var(--title-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 28px;
  font-weight: 700;
  line-height: 33px;
}

.offer-card p,
.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
}

.hero-visual {
  position: absolute;
  top: 241px;
  right: 0;
  width: 336px;
}

.phone-shot {
  width: 336px;
  filter: drop-shadow(0 0 125.9px #1e113b);
}

.meteor {
  position: relative;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.floating-like {
  top: 865px;
  right: -140px;
}

.meteor-like {
  width: 196px;
}

.intro {
  min-height: 192px;
  margin-bottom: 72px;
}

.intro .section-title {
  width: 478px;
  margin: 0 auto 16px;
}

.section-copy {
  width: 920px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}

.floating-donut {
  top: 82px;
  left: -144px;
}

.meteor-donut {
  width: 196px;
}

.preview {
  min-height: 469px;
  margin-bottom: 72px;
}

.preview .section-title,
.steps .section-title,
.games .section-title {
  margin-bottom: 31px;
}

.preview-grid {
  display: grid;
  grid-template-columns: 578px 578px;
  gap: 44px;
}

.preview-card > img {
  width: 578px;
  height: 325px;
  border: 1px solid var(--border);
  border-radius: 36px;
  object-fit: cover;
}

.tag-row {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: -58px;
}

.event-tag {
  width: 100px;
  min-height: 115px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  text-align: center;
  backdrop-filter: blur(12px);
}

.event-tag img {
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
}

.event-tag-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.steps {
  min-height: 378px;
  margin-bottom: 72px;
}

.step-grid {
  display: grid;
  grid-template-columns: 368px 368px 368px;
  justify-content: space-between;
}

.step-card {
  min-height: 292px;
  padding: 27px 34px;
  text-align: center;
}

.games {
  min-height: 387px;
  margin-bottom: 225px;
}

.game-strip-wrapper {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  overflow: hidden;
}

.game-strip {
  display: flex;
  gap: 44px;
  width: 2640px;
  margin: 0 auto;
}

.game-card {
  flex: 0 0 200px;
  width: 200px;
  height: 300px;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}

.game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-rose {
  top: -140px;
  right: -145px;
}

.meteor-rose {
  width: 196px;
}

.download-callout {
  min-height: 202px;
  text-align: center;
}

.download-callout .section-title {
  width: 1053px;
  margin: 0 auto 16px;
}

.download-callout p {
  width: 830px;
  margin: 0 auto 44px;
  color: var(--text-muted);
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
}


@media (max-width: 1279px) {
  .site-header,
  .site-footer {
    background-position: center;
  }

  .page-main {
    width: min(1200px, calc(100vw - 48px));
    padding-bottom: 180px;
  }

  .hero {
    min-height: 0;
    margin-bottom: 120px;
  }

  .hero-copy {
    width: 100%;
    padding-top: 110px;
  }

  .hero-badge {
    top: 0;
    left: 0;
    width: 170px;
  }

  .hero h1 {
    width: min(100%, 720px);
    font-size: 56px;
    line-height: 58px;
  }

  .hero-lead {
    width: min(455px, 100%);
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 336px;
    margin: 48px auto 0;
  }

  .meteor-like {
    top: auto;
    right: 0;
    bottom: -70px;
  }

  .intro,
  .preview,
  .steps,
  .games {
    margin-bottom: 88px;
  }

  .meteor-donut,
  .meteor-rose {
    opacity: 0.7;
  }

  .preview-grid,
  .step-grid,
  .offer-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .preview-card > img,
  .download-callout .section-title,
  .section-copy,
  .intro .section-title {
    width: 100%;
  }

  .preview-card > img {
    height: auto;
    aspect-ratio: 578 / 325;
  }

  .step-grid {
    gap: 24px;
  }

  .step-card,
  .offer-card {
    max-width: 368px;
    margin: 0 auto;
  }

  .download-callout p {
    width: min(830px, 100%);
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 76px;
  }

  .site-footer {
    height: 120px;
  }

  .page-main {
    width: calc(100vw - 28px);
    padding-bottom: 100px;
  }

  .section-title {
    font-size: 34px;
    line-height: 40px;
  }

  .hero {
    margin-bottom: 88px;
  }

  .hero-copy {
    padding-top: 82px;
  }

  .hero-badge {
    width: 120px;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 41px;
  }

  .hero-lead,
  .section-copy,
  .offer-card p,
  .step-card p,
  .download-callout p {
    font-size: 18px;
    line-height: 25px;
  }

  .button {
    width: 100%;
    font-size: 16px;
  }

  .hero-visual {
    width: min(336px, 100%);
  }

  .phone-shot {
    width: 100%;
  }

  .offer-grid {
    gap: 18px;
    margin-top: 32px;
  }

  .preview .section-title,
  .steps .section-title,
  .games .section-title {
    margin-bottom: 24px;
  }

  .tag-row {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
  }

  .games {
    margin-bottom: 88px;
  }

  .game-strip-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
  }

  .game-strip {
    width: max-content;
    margin: 0;
    padding: 0 0 0 2px;
    gap: 20px;
  }

  .game-card {
    width: 154px;
    height: 231px;
    flex-basis: 154px;
  }

  .meteor {
    opacity: 0.55;
  }

  .meteor-donut,
  .meteor-rose,
  .meteor-like {
    width: 110px;
  }

  .meteor-donut {
    left: -24px;
    top: 100px;
  }

  .meteor-rose {
    right: -18px;
    top: -24px;
  }

  .meteor-like {
    right: -18px;
    bottom: -40px;
  }
}
