/* ==========================================================================
   Chance & Victory — chanceandvictory.com
   ========================================================================== */

:root {
  --color-bg: #101115;
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.72);
  --color-purple: #b158ff;
  --color-purple-soft: rgba(177, 88, 255, 0.35);
  --color-purple-glow: rgba(177, 88, 255, 0.55);
  --color-glass: rgba(255, 255, 255, 0.08);
  --color-glass-border: rgba(255, 255, 255, 0.14);
  --color-card: rgba(255, 255, 255, 0.06);
  --color-card-highlight: rgba(177, 88, 255, 0.12);
  --color-cyan: #00e5ff;
  --color-cyan-glow: rgba(0, 229, 255, 0.45);

  --font: "Inter", system-ui, -apple-system, sans-serif;
  --container: min(75rem, 100% - 2.5rem);
  --header-h: 5.5rem;
  --radius-pill: 999px;
  --radius-lg: clamp(1rem, 2vw, 1.75rem);
  --radius-xl: clamp(1.25rem, 3vw, 2.5rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glow: 0 0 40px rgba(177, 88, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 10000;
  padding: 0.5rem 1rem;
  background: #fff;
  color: var(--color-bg);
  border-radius: 0.5rem;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding-block: 1.25rem;
  pointer-events: none;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  pointer-events: auto;
}

.site-header__logo {
  justify-self: center;
  grid-column: 2;
}

.site-header__logo img {
  width: clamp(9rem, 22vw, 15.5rem);
  height: auto;
}

.site-header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  justify-self: start;
  grid-column: 1;
  border-radius: 0.5rem;
  transition: background 0.2s;
}

.site-header__burger:hover,
.site-header__burger:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.site-header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition:
    transform 0.25s var(--ease-out),
    opacity 0.25s;
}

body.menu-open .site-header__burger-line:nth-child(1) {
  transform: translateY(0.45rem) rotate(45deg);
}

body.menu-open .site-header__burger-line:nth-child(2) {
  opacity: 0;
}

body.menu-open .site-header__burger-line:nth-child(3) {
  transform: translateY(-0.45rem) rotate(-45deg);
}

.site-header__nav {
  display: none;
  justify-self: center;
  grid-column: 2;
}

.site-header__social {
  justify-self: end;
  grid-column: 3;
}

/* Desktop header */
@media (min-width: 64rem) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .site-header__burger {
    display: none;
  }

  .site-header__logo {
    justify-self: start;
    grid-column: 1;
  }

  .site-header__nav {
    display: block;
    grid-column: 2;
  }
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 50px;
  padding: 0.35rem 0.5rem;
  margin-inline: auto;
  background: rgba(16, 17, 21, 0.55);
  border: 5px solid var(--color-purple-soft);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-nav__link {
  display: block;
  padding: 0.55rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  transition:
    background 0.2s,
    color 0.2s;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #fff;
}

.site-nav__link--active {
  background: linear-gradient(135deg, #9b3fff 0%, #b158ff 50%, #7c3aed 100%);
  box-shadow: var(--shadow-glow);
}

.site-nav__sep {
  display: flex;
  align-items: center;
  opacity: 0.9;
}

/* Social */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.social-links__item {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  transition:
    transform 0.2s var(--ease-out),
    background 0.2s;
}

.social-links__item:hover,
.social-links__item:focus-visible {
  transform: scale(1.08);
}

.social-links--glass .social-links__item {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-links--large .social-links__item {
  width: 3.25rem;
  height: 3.25rem;
}

.site-header__social.social-links {
  display: none;
}

@media (min-width: 64rem) {
  .site-header__social.social-links {
    display: flex;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile menu                                                                */
/* -------------------------------------------------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 9, 12, 0.92);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__backdrop {
  opacity: 1;
}

.mobile-menu__panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  padding: 2rem;
  background: var(--color-bg);
  opacity: 0;
  transform: translateY(1rem);
  transition:
    opacity 0.35s var(--ease-out),
    transform 0.35s var(--ease-out);
}

.mobile-menu.is-open .mobile-menu__panel {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__close {
  position: absolute;
  inset-block-start: 1.25rem;
  inset-inline-end: 1.25rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  color: #fff;
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  background: var(--color-glass);
  transition:
    background 0.2s,
    transform 0.2s;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  transform: scale(1.05);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.mobile-menu__link {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mobile-menu__link--active,
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  color: var(--color-purple);
}

@media (min-width: 64rem) {
  .mobile-menu {
    display: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Buttons                                                                    */
/* -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s,
    background 0.2s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-purple);
  outline-offset: 3px;
}

.btn--primary {
  color: var(--color-purple);
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 255, 255, 0.15);
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn__icon {
  flex-shrink: 0;
}

.btn__icon--play {
  opacity: 0.95;
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(28rem, 85vh, 48rem);
  padding-block-start: var(--header-h);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  line-height: 0;
  pointer-events: none;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__content {
  position: relative;
  z-index: 1;
  margin-block-start: 0;
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3rem);
}

.hero__tagline {
  max-width: 22rem;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: clamp(0.8125rem, 2.8vw, 1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero__pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  margin-inline: 0.1rem;
  font-size: 0.85em;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #b158ff);
  border-radius: var(--radius-pill);
  vertical-align: middle;
}

.hero__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero__center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 2;
}

.hero__free-label--mobile {
  position: absolute;
  z-index: 4;
  width: min(7.5rem, 34vw);
  inset-block-start: 0;
  inset-inline-start: 0;
  transform: translate(-8%, -20%) rotate(-6deg);
  pointer-events: none;
}

.hero__side--left .hero__free-label {
  display: block;
}

.hero__free-label--mobile {
  position: absolute;
  z-index: 4;
  width: min(7.5rem, 34vw);
  inset-block-start: 0;
  inset-inline-start: 0;
  transform: translate(-8%, -20%) rotate(-6deg);
  pointer-events: none;
}

.hero__side--left .hero__free-label {
  display: block;
}

.hero__title {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(0.35rem, 2vw, 0.75rem);
  font-size: clamp(2.5rem, 11vw, 4.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-align: center;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8f4ff 22%,
    #e8d9ff 48%,
    #d4b8ff 72%,
    #b158ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 32px rgba(177, 88, 255, 0.45))
    drop-shadow(0 4px 24px rgba(124, 58, 237, 0.25));
}

.hero__cat {
  position: relative;
  z-index: 3;
  width: min(16rem, 72vw);
  margin-block-start: 0;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.hero__side--left {
  display: none;
}

.hero__side--right {
  position: relative;
  width: 100%;
  max-width: 22rem;
  margin-block-start: -4rem;
  z-index: 4;
}

.hero__reviews-img {
  display: block;
  width: 100%;
  max-width: 23.3125rem;
  height: auto;
}

.hero__mobile-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-block-start: 1.5rem;
}

.hero__ctas--mobile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: min(100%, 20rem);
}

.hero__ctas--mobile .btn {
  width: 100%;
}

.hero__mobile-social {
  justify-content: center;
}

.hero__mobile-social .social-links__item {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Desktop hero layout */
@media (min-width: 64rem) {
  .hero__content {
    padding-block-end: 3rem;
  }

  .hero__tagline {
    max-width: 42rem;
    margin-block-end: 1.5rem;
    font-size: 1rem;
  }

  .hero__stage {
    display: grid;
    grid-template-columns: minmax(12rem, 1fr) minmax(18rem, 1.4fr) minmax(
        14rem,
        1fr
      );
    align-items: center;
    gap: 1rem;
  }

  .hero__side--left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    align-self: end;
    padding-block-end: 2rem;
    z-index: 5;
  }

  .hero__free-label--mobile {
    display: none;
  }

  .hero__free-label--mobile {
    display: none;
  }

  .hero__free-label {
    width: min(12rem, 100%);
    margin-inline-start: -0.5rem;
  }

  .hero__side-social {
    flex-direction: column;
  }

  .hero__ctas:not(.hero__ctas--mobile) {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }

  .hero__center {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__title {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-block-end: clamp(0.25rem, 1vw, 0.5rem);
    font-size: clamp(3.5rem, 6.5vw, 6.5rem);
    transform: none;
    pointer-events: auto;
  }

  .hero__cat {
    width: min(22rem, 28vw);
    margin-block-start: 0;
  }

  .hero__side--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: none;
    margin-block-start: 0;
    padding-block-end: 1rem;
    align-self: end;
  }

  .hero__reviews-img {
    width: min(23.3125rem, 100%);
    margin-inline-end: 0.5rem;
  }

  .hero__mobile-foot {
    display: none;
  }
}

@media (min-width: 80rem) {
  .hero__title {
    font-size: clamp(4.5rem, 7vw, 7rem);
  }
}

/* -------------------------------------------------------------------------- */
/* Gallery                                                                    */
/* -------------------------------------------------------------------------- */

.gallery {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  background: var(--color-bg);
}

.gallery__inner {
  display: grid;
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

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

@media (min-width: 48rem) {
  .gallery__inner {
    grid-template-columns: 1.9fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
  }

  .gallery__item {
    min-height: clamp(14rem, 28vw, 24rem);
  }
}

/* -------------------------------------------------------------------------- */
/* Story                                                                      */
/* -------------------------------------------------------------------------- */

.story {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  background: var(--color-bg);
}

.story__title {
  margin: 0 auto 2rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: center;
}

.story__body {
  margin-inline: auto;
  text-align: center;
}

.story__body p {
  margin: 0 0 1.25rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.story__body strong {
  color: #fff;
  font-weight: 600;
}

.story__emphasis {
  margin-block-end: 0 !important;
  font-weight: 700 !important;
  color: #fff !important;
}

/* -------------------------------------------------------------------------- */
/* Features                                                                   */
/* -------------------------------------------------------------------------- */

.features {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 10vw, 6rem);
  background: var(--color-bg);
}

.features__label {
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.features__grid {
  display: grid;
  gap: 0.85rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition:
    border-color 0.25s,
    transform 0.25s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card--highlight {
  background: linear-gradient(
    180deg,
    var(--color-card-highlight) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border-color: var(--color-purple-glow);
  box-shadow: inset 0 1px 0 rgba(177, 88, 255, 0.2);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  margin-block-end: 1rem;
  object-fit: contain;
}

.feature-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature-card__text {
  margin: 0;
  max-width: 26ch;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (min-width: 48rem) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 64rem) {
  .features__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }

  .feature-card {
    min-height: 15rem;
    padding: 1.5rem 1rem;
  }

  .feature-card__text {
    max-width: none;
    font-size: 0.8125rem;
  }
}

/* -------------------------------------------------------------------------- */
/* Section headings (shared)                                                  */
/* -------------------------------------------------------------------------- */

.section-head {
  margin-block-end: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.section-head__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section-head__lead {
  max-width: 40rem;
  margin: 0 auto;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.section-head--on-bg .section-head__lead {
  color: rgba(255, 255, 255, 0.78);
}

/* -------------------------------------------------------------------------- */
/* Adventure levels grid                                                      */
/* -------------------------------------------------------------------------- */

.adventure {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.adventure__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .adventure__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 64rem) {
  .adventure__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }

  .adventure__grid .level-card:nth-child(1),
  .adventure__grid .level-card:nth-child(2),
  .adventure__grid .level-card:nth-child(3) {
    grid-column: span 2;
  }

  .adventure__grid .level-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .adventure__grid .level-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.level-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.level-card__shot {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 0.15rem);
  line-height: 0;
}

.level-card__shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.level-card__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.level-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.level-card__quote {
  margin: 0;
  margin-block-start: auto;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  font-style: normal;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-lg);
}

.level-card__quote strong {
  color: #fff;
  font-weight: 600;
}

/* -------------------------------------------------------------------------- */
/* Why                                                                        */
/* -------------------------------------------------------------------------- */

.why {
  position: relative;
  padding-block: clamp(4rem, 10vw, 6.5rem);
  overflow: hidden;
}

.why__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/why-bg.webp") center / cover no-repeat;
}

.why__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 17, 21, 0.55) 0%,
    rgba(16, 17, 21, 0.72) 45%,
    rgba(16, 17, 21, 0.88) 100%
  );
}

.why__inner {
  position: relative;
  z-index: 1;
}

.why__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 64rem) {
  .why__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }

  .why__grid .feature-card {
    min-height: 14rem;
    padding: 1.5rem 1rem;
    background: rgba(16, 17, 21, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .why__grid .feature-card__text {
    max-width: none;
    font-size: 0.8125rem;
  }
}

.btn--full {
  width: 100%;
}

/* -------------------------------------------------------------------------- */
/* Register                                                                   */
/* -------------------------------------------------------------------------- */

.register {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.register__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 64rem) {
  .register__inner {
    grid-template-columns: 1fr min(28rem, 42vw);
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.register__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.register__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.register__form-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.register__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 26rem;
}

.register__visual {
  display: flex;
  justify-content: center;
  order: -1;
}

.register__visual img {
  width: min(100%, 22rem);
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(177, 88, 255, 0.25));
}

@media (min-width: 64rem) {
  .register__visual {
    order: 0;
    justify-content: flex-end;
  }

  .register__visual img {
    width: 100%;
    max-width: 32rem;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field__label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-field__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-purple-glow);
  box-shadow: 0 0 0 3px rgba(177, 88, 255, 0.2);
}

.form-checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-checkbox__input {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-block-start: 0.15rem;
  accent-color: var(--color-purple);
}

.form-checkbox a {
  color: var(--color-purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-checkbox a:hover,
.form-checkbox a:focus-visible {
  color: #d4a8ff;
}

.form-message {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(177, 88, 255, 0.25) 0%,
    rgba(124, 58, 237, 0.15) 100%
  );
  border: 1px solid var(--color-purple-glow);
  border-radius: var(--radius-lg);
}

.form-message[hidden] {
  display: none;
}

.form-message:focus {
  outline: none;
}

.register__form .form-message {
  text-align: start;
}

.form-message {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(177, 88, 255, 0.25) 0%,
    rgba(124, 58, 237, 0.15) 100%
  );
  border: 1px solid var(--color-purple-glow);
  border-radius: var(--radius-lg);
}

.form-message[hidden] {
  display: none;
}

.form-message:focus {
  outline: none;
}

.register__form .form-message {
  text-align: start;
}

/* -------------------------------------------------------------------------- */
/* Team                                                                       */
/* -------------------------------------------------------------------------- */

.team {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

@media (min-width: 64rem) {
  .team__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }

  .team__grid .team-card:nth-child(1),
  .team__grid .team-card:nth-child(2),
  .team__grid .team-card:nth-child(3) {
    grid-column: span 2;
  }

  .team__grid .team-card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .team__grid .team-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.25rem;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.03) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
}

.team-card__photo {
  width: 7.5rem;
  height: 7.5rem;
  margin-block-end: 1rem;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(177, 88, 255, 0.35);
}

.team-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.team-card__role {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.team-card__role img {
  opacity: 0.9;
}

.team-card__details {
  width: 100%;
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  text-align: start;
}

.team-card__details > div {
  margin-block-end: 0.75rem;
}

.team-card__details > div:last-child {
  margin-block-end: 0;
}

.team-card__details dt {
  margin-block-end: 0.2rem;
  font-weight: 600;
  color: #fff;
}

.team-card__details dd {
  margin: 0;
  color: var(--color-text-muted);
}

.team-card__details ul {
  margin: 0;
  padding-inline-start: 1.1rem;
  list-style: disc;
}

.team-card__details li {
  margin-block-end: 0.15rem;
}

.team-card__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-block-start: auto;
}

.team-card__social a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  opacity: 0.85;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.team-card__social a:hover,
.team-card__social a:focus-visible {
  opacity: 1;
  transform: scale(1.08);
}

.team-card__social img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* -------------------------------------------------------------------------- */
/* Download                                                                   */
/* -------------------------------------------------------------------------- */

.download {
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--color-bg);
}

.download__inner {
  overflow: visible;
}

.download__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 68vw, 28rem);
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem)
    clamp(6.5rem, 20vw, 8rem);
  overflow: visible;
  border: 1px solid rgba(177, 88, 255, 0.55);
  border-radius: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow:
    0 0 0 1px rgba(177, 88, 255, 0.12),
    0 0 40px rgba(177, 88, 255, 0.18);
}

.download__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
  background: url("../assets/img/download-bg.webp") center / cover no-repeat;
}

.download__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 17, 21, 0.25) 0%,
    rgba(16, 17, 21, 0.45) 45%,
    rgba(16, 17, 21, 0.72) 100%
  );
}

.download__chest {
  position: absolute;
  z-index: 2;
  inset-block-end: -0.75rem;
  inset-inline-start: -0.85rem;
  width: 120px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 20px 48px rgba(124, 58, 237, 0.55));
}

.download__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 0.85rem);
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 48rem) {
  .download__box {
    min-height: clamp(15rem, 24vw, 18.5rem);
    padding: clamp(2.75rem, 4.5vw, 3.5rem) clamp(2rem, 5vw, 3rem);
  }

  .download__chest {
    width: min(19rem, 34vw);
    inset-block-end: -1.35rem;
    inset-inline-start: -2.25rem;
  }

  .download__content {
    max-width: 40rem;
  }
}

.download__title {
  margin: 0;
  font-size: clamp(1.375rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.download__text {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(0.875rem, 2.2vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.download__bonus {
  margin: 0;
  max-width: 28rem;
  font-size: clamp(0.9375rem, 2.4vw, 1.125rem);
  font-weight: 700;
  line-height: 1.45;
}

.download__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-block-start: clamp(0.35rem, 1.5vw, 0.75rem);
}

.download__store {
  display: block;
  transition: transform 0.2s var(--ease-out);
}

.download__store:hover,
.download__store:focus-visible {
  transform: scale(1.04);
}

.download__store img {
  width: auto;
  height: clamp(2.75rem, 8vw, 3.25rem);
}

.site-footer__brand {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  text-align: center;
}

.site-footer__age {
  width: 3rem;
  height: auto;
}

.site-footer__logo img {
  width: clamp(10rem, 30vw, 15rem);
  height: auto;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2rem, 5vw, 3rem) 2rem;
  background: var(--color-bg);
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__top {
  display: grid;
  gap: 2rem;
  padding-block-end: 2rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 48rem) {
  .site-footer__top {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links li {
  margin-block-end: 0.5rem;
}

.site-footer__links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  color: #fff;
}

.site-footer__newsletter-text,
.site-footer__newsletter-note {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.site-footer__newsletter-note {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 22rem;
}

.site-footer__notices {
  display: grid;
  gap: 1.5rem;
  padding-block: 2rem;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 48rem) {
  .site-footer__notices {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.site-footer__notice-title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
}

.site-footer__notice p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.site-footer__copy {
  margin: 1.5rem 0 0;
  text-align: center;
}

/* -------------------------------------------------------------------------- */
/* Plot page                                                                  */
/* -------------------------------------------------------------------------- */

.plot-page {
  padding-block-start: var(--header-h);
}

.plot-lore {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.plot-lore__title {
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.plot-lore__body {
  margin-inline: auto;
}

.plot-lore__body p {
  margin: 0 0 1.25rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.plot-lore__body strong {
  color: #fff;
  font-weight: 600;
}

.plot-lore__subtitle {
  margin: 2rem 0 1rem;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.plot-lore__list {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  color: var(--color-text-muted);
}

.plot-lore__list li {
  margin-block-end: 0.35rem;
  line-height: 1.6;
}

.plot-features {
  padding-block-start: 0;
}

.plot-heroes {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.plot-heroes__list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 5rem);
}

.plot-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plot-hero__name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plot-hero__role {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-purple);
}

.plot-hero__text p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.plot-hero__params {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.plot-hero__params dt {
  font-weight: 600;
  color: #fff;
}

.plot-hero__params dd {
  margin: 0;
  color: var(--color-text-muted);
}

.plot-hero__skills {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.plot-hero__skills strong {
  color: #fff;
}

.plot-hero__quote {
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
}

.plot-hero__figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.plot-hero__figure img {
  width: 100%;
  height: auto;
}

@media (min-width: 64rem) {
  .plot-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 2rem;
    align-items: start;
  }

  .plot-hero__figure {
    order: 2;
  }

  .plot-hero__text {
    order: 1;
  }
}

a.btn--ghost {
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* Partners page                                                              */
/* -------------------------------------------------------------------------- */

.partners-body {
  background: var(--color-bg);
}

.partners-page {
  padding-block-start: var(--header-h);
}

.partners-hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
}

.partners-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.35) 0%,
      rgba(16, 17, 21, 0.92) 75%
    ),
    url("../assets/img/partners-bg.webp") center top / cover no-repeat;
  pointer-events: none;
}

.partners-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.partners-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.partners-hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-perks {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.partners-perks::-webkit-scrollbar {
  display: none;
}

.partners-perk {
  flex: 1 0 min(9.5rem, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.partners-perk__icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.partners-perk__text {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 40rem) {
  .partners-perks {
    overflow: visible;
    justify-content: center;
  }

  .partners-perk {
    flex: 1 1 0;
    max-width: 11rem;
  }

  .partners-perk__text {
    font-size: 0.8125rem;
  }
}

.partners-content {
  position: relative;
  overflow: hidden;
}

.partners-content__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.72) 0%,
      rgba(16, 17, 21, 0.88) 45%,
      rgba(16, 17, 21, 0.94) 100%
    ),
    url("../assets/img/partners-bg.webp") center / cover no-repeat;
  pointer-events: none;
}

.partners-content__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
}

.partners-offers {
  margin-block-end: clamp(3rem, 8vw, 5rem);
}

.partners-offers__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 64rem) {
  .partners-offers__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.15rem 1.25rem;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.08),
    0 0 32px rgba(0, 229, 255, 0.12);
  max-width: 500px;
  margin: 0 auto;
}

.partner-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0a0c10;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--color-cyan);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px var(--color-cyan-glow);
  transform: translate(-50%, -50%);
}

.partner-card__badge--teal {
  background: #2ee8d6;
  box-shadow: 0 0 18px rgba(46, 232, 214, 0.45);
}

.partner-card__badge--mint {
  background: #5dffc8;
  box-shadow: 0 0 18px rgba(93, 255, 200, 0.4);
}

.partner-card__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin-block-start: 0.35rem;
}

.partner-card__name {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.partner-card__logo {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
  justify-self: end;
  width: auto;
  object-fit: contain;
}

.partner-card__rating {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  gap: 0.35rem;
  align-items: center;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.partner-card__rating img {
  flex-shrink: 0;
}

.partner-card__desc {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.btn--partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0a0c10;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  border-radius: var(--radius-pill);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn--partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn--partner:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.partner-card__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.partner-card__payments img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.partners-insights {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.partners-insights__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.88) 0%,
      rgba(16, 17, 21, 0.96) 100%
    ),
    url("../assets/img/social-bg.webp") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.partners-insights__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.partners-insights__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.partners-insights__intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: center;
}

.partners-article {
  margin-block-start: 2.5rem;
  text-align: start;
}

.partners-article__label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
}

.partners-article__title {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.partners-article__body p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: center;
}

.partners-trust {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.partners-trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.partners-trust__row--secondary {
  margin-block-end: 0;
}

.partners-trust__row a {
  display: inline-flex;
  border-radius: 0.25rem;
  transition: opacity 0.2s var(--ease-out);
}

.partners-trust__row a:hover {
  opacity: 0.85;
}

.partners-trust__row a:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

.partners-trust__row img {
  width: auto;
  max-width: 8.5rem;
  max-height: 2.5rem;
  opacity: 0.9;
}

.partners-trust__age img {
  max-width: 5.5rem;
  max-height: 3rem;
}

.partners-disclaimer {
  padding-block: 0 clamp(3rem, 8vw, 4.5rem);
}

.partners-disclaimer__box {
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.partners-disclaimer__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partners-disclaimer__body p {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-disclaimer__body p:last-child {
  margin-block-end: 0;
}

.site-footer--minimal {
  padding-block: 1.5rem 2rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer--minimal .site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* -------------------------------------------------------------------------- */
/* Game page (game.html)                                                      */
/* -------------------------------------------------------------------------- */

.game-page-body {
  background: var(--color-bg);
}

.game-page {
  padding-block-start: var(--header-h);
}

.game-hero {
  position: relative;
  overflow: hidden;
}

.game-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.55) 0%,
      rgba(16, 17, 21, 0.82) 55%,
      rgba(16, 17, 21, 0.96) 100%
    ),
    url("../assets/img/social-bg.webp") center / cover no-repeat;
  pointer-events: none;
}

.game-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 7vw, 4rem) clamp(2rem, 5vw, 3rem);
}

.game-hero__title {
  max-width: 22ch;
  margin: 0 auto 1rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}

.game-hero__lead {
  margin: 0 auto 1rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: center;
}

.game-hero__lead:last-of-type {
  margin-block-end: 0;
}

.features--game-hero {
  padding-block: clamp(2rem, 5vw, 3rem) 0;
  background: transparent;
}

.features--game-hero .features__label {
  margin-block-start: clamp(2rem, 5vw, 3rem);
}

.feature-card__emoji {
  display: block;
  margin-block-end: 1rem;
  font-size: 2rem;
  line-height: 1;
}

.game-detail {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.game-detail__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.game-detail__poster {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.game-detail__poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-detail__subtitle {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.game-detail__subtitle:first-child {
  margin-block-start: 0;
}

.game-detail__content p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.game-detail__stats {
  margin: 0 0 1rem;
  padding-inline-start: 1.15rem;
  color: var(--color-text-muted);
}

.game-detail__stats li {
  margin-block-end: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.game-detail__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-detail__highlights li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.game-detail__emoji {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.game-detail__highlights strong {
  color: #fff;
  font-weight: 600;
}

@media (min-width: 64rem) {
  .game-detail__grid {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.game-demo {
  position: relative;
  padding-block: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.game-demo__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.75) 0%,
      rgba(16, 17, 21, 0.88) 100%
    ),
    url("../game/Cold%20space/images/page.webp") center / cover no-repeat;
  pointer-events: none;
}

.game-demo__inner {
  position: relative;
  z-index: 1;
}

.game-demo__frame-wrap {
  position: relative;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.game-demo__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a0c10;
}

.game-demo__label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.game-guide {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.game-guide__inner {
  margin-inline: auto;
  text-align: center;
}

.game-guide__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.game-guide__intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------- */
/* Plot page                                                                  */
/* -------------------------------------------------------------------------- */

.plot-page {
  padding-block-start: var(--header-h);
}

.plot-lore {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.plot-lore__title {
  max-width: 20ch;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
}

.plot-lore__body {
  margin-inline: auto;
}

.plot-lore__body p {
  margin: 0 0 1.25rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

.plot-lore__body strong {
  color: #fff;
  font-weight: 600;
}

.plot-lore__subtitle {
  margin: 2rem 0 1rem;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.plot-lore__list {
  margin: 0 0 1.25rem;
  padding-inline-start: 1.25rem;
  color: var(--color-text-muted);
}

.plot-lore__list li {
  margin-block-end: 0.35rem;
  line-height: 1.6;
}

.plot-features {
  padding-block-start: 0;
}

.plot-heroes {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.plot-heroes__list {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 8vw, 5rem);
}

.plot-hero {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plot-hero__name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plot-hero__role {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-purple);
}

.plot-hero__text p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.plot-hero__params {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.plot-hero__params dt {
  font-weight: 600;
  color: #fff;
}

.plot-hero__params dd {
  margin: 0;
  color: var(--color-text-muted);
}

.plot-hero__skills {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.plot-hero__skills strong {
  color: #fff;
}

.plot-hero__quote {
  margin: 0;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
}

.plot-hero__figure {
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.plot-hero__figure img {
  width: 100%;
  height: auto;
}

@media (min-width: 64rem) {
  .plot-hero {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: 2rem;
    align-items: start;
  }

  .plot-hero__figure {
    order: 2;
  }

  .plot-hero__text {
    order: 1;
  }
}

a.btn--ghost {
  text-decoration: none;
}

/* -------------------------------------------------------------------------- */
/* Partners page                                                              */
/* -------------------------------------------------------------------------- */

.partners-body {
  background: var(--color-bg);
}

.partners-page {
  padding-block-start: var(--header-h);
}

.partners-hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  overflow: hidden;
}

.partners-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.35) 0%,
      rgba(16, 17, 21, 0.92) 75%
    ),
    url("../assets/img/partners-bg.webp") center top / cover no-repeat;
  pointer-events: none;
}

.partners-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 46rem;
  margin-inline: auto;
  text-align: center;
}

.partners-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.partners-hero__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-perks {
  display: flex;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.partners-perks::-webkit-scrollbar {
  display: none;
}

.partners-perk {
  flex: 1 0 min(9.5rem, 78vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 0.65rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.partners-perk__icon {
  width: 1.75rem;
  height: 1.75rem;
  object-fit: contain;
}

.partners-perk__text {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 40rem) {
  .partners-perks {
    overflow: visible;
    justify-content: center;
  }

  .partners-perk {
    flex: 1 1 0;
    max-width: 11rem;
  }

  .partners-perk__text {
    font-size: 0.8125rem;
  }
}

.partners-content {
  position: relative;
  overflow: hidden;
}

.partners-content__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.72) 0%,
      rgba(16, 17, 21, 0.88) 45%,
      rgba(16, 17, 21, 0.94) 100%
    ),
    url("../assets/img/partners-bg.webp") center / cover no-repeat;
  pointer-events: none;
}

.partners-content__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
}

.partners-offers {
  margin-block-end: clamp(3rem, 8vw, 5rem);
}

.partners-offers__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 64rem) {
  .partners-offers__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }
}

.partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.15rem 1.25rem;
  background: rgba(12, 14, 20, 0.85);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.08),
    0 0 32px rgba(0, 229, 255, 0.12);
}

.partner-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0a0c10;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: var(--color-cyan);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 18px var(--color-cyan-glow);
  transform: translate(-50%, -50%);
}

.partner-card__badge--teal {
  background: #2ee8d6;
  box-shadow: 0 0 18px rgba(46, 232, 214, 0.45);
}

.partner-card__badge--mint {
  background: #5dffc8;
  box-shadow: 0 0 18px rgba(93, 255, 200, 0.4);
}

.partner-card__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin-block-start: 0.35rem;
}

.partner-card__name {
  grid-column: 1;
  grid-row: 1;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.partner-card__logo {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
  width: auto;
  object-fit: contain;
}

.partner-card__rating {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  gap: 0.35rem;
  align-items: center;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
}

.partner-card__rating img {
  flex-shrink: 0;
}

.partner-card__desc {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.btn--partner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0a0c10;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #fff;
  border-radius: var(--radius-pill);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.btn--partner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn--partner:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 3px;
}

.partner-card__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.partner-card__payments img {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.partners-insights {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.partners-insights__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.88) 0%,
      rgba(16, 17, 21, 0.96) 100%
    ),
    url("../assets/img/social-bg.webp") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.partners-insights__inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}

.partners-insights__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.partners-insights__intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-article {
  margin-block-start: 2.5rem;
  text-align: start;
}

.partners-article__label {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.partners-article__title {
  margin: 0 0 1rem;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.partners-article__body p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-trust {
  padding-block: clamp(2rem, 5vw, 3rem);
}

.partners-trust__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  align-items: center;
  justify-content: center;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.partners-trust__row--secondary {
  margin-block-end: 0;
}

.partners-trust__row a {
  display: inline-flex;
  border-radius: 0.25rem;
  transition: opacity 0.2s var(--ease-out);
}

.partners-trust__row a:hover {
  opacity: 0.85;
}

.partners-trust__row a:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

.partners-trust__row img {
  width: auto;
  max-width: 8.5rem;
  max-height: 2.5rem;
  opacity: 0.9;
}

.partners-trust__age img {
  max-width: 5.5rem;
  max-height: 3rem;
}

.partners-disclaimer {
  padding-block: 0 clamp(3rem, 8vw, 4.5rem);
}

.partners-disclaimer__box {
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.partners-disclaimer__title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.partners-disclaimer__body p {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.partners-disclaimer__body p:last-child {
  margin-block-end: 0;
}

.site-footer--minimal {
  padding-block: 1.5rem 2rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer--minimal .site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

/* -------------------------------------------------------------------------- */
/* Game page (game.html)                                                      */
/* -------------------------------------------------------------------------- */

.game-page-body {
  background: var(--color-bg);
}

.game-page {
  padding-block-start: var(--header-h);
}

.game-hero {
  position: relative;
  overflow: hidden;
}

.game-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.55) 0%,
      rgba(16, 17, 21, 0.82) 55%,
      rgba(16, 17, 21, 0.96) 100%
    ),
    url("../assets/img/social-bg.webp") center / cover no-repeat;
  pointer-events: none;
}

.game-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(2.5rem, 7vw, 4rem) clamp(2rem, 5vw, 3rem);
}

.game-hero__title {
  max-width: 22ch;
  margin: 0 auto 1rem;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}

.game-hero__lead {
  margin: 0 auto 1rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
  text-align: center;
}

.game-hero__lead:last-of-type {
  margin-block-end: 0;
}

.features--game-hero {
  padding-block: clamp(2rem, 5vw, 3rem) 0;
  background: transparent;
}

.features--game-hero .features__label {
  margin-block-start: clamp(2rem, 5vw, 3rem);
}

.feature-card__emoji {
  display: block;
  margin-block-end: 1rem;
  font-size: 2rem;
  line-height: 1;
}

.game-detail {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.game-detail__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.game-detail__poster {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.game-detail__poster img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.game-detail__subtitle {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.game-detail__subtitle:first-child {
  margin-block-start: 0;
}

.game-detail__content p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.game-detail__stats {
  margin: 0 0 1rem;
  padding-inline-start: 1.15rem;
  color: var(--color-text-muted);
}

.game-detail__stats li {
  margin-block-end: 0.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.game-detail__highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.game-detail__highlights li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.game-detail__emoji {
  flex-shrink: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.game-detail__highlights strong {
  color: #fff;
  font-weight: 600;
}

@media (min-width: 64rem) {
  .game-detail__grid {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.game-demo {
  position: relative;
  padding-block: clamp(2rem, 6vw, 4rem);
  overflow: hidden;
}

.game-demo__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(16, 17, 21, 0.75) 0%,
      rgba(16, 17, 21, 0.88) 100%
    ),
    url("../game/Cold%20space/images/page.webp") center / cover no-repeat;
  pointer-events: none;
}

.game-demo__inner {
  position: relative;
  z-index: 1;
}

.game-demo__frame-wrap {
  position: relative;
  margin-inline: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.game-demo__iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #0a0c10;
}

.game-demo__label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}

.game-guide {
  padding-block: clamp(3rem, 8vw, 5rem);
  background: var(--color-bg);
}

.game-guide__inner {
  margin-inline: auto;
  text-align: center;
}

.game-guide__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.game-guide__intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
