:root {
  --blue-deep: #2a52a3;
  --blue-light: #5cb8ff;
  --blue-glow: rgba(92, 184, 254, 0.12);
  --blue-glow-strong: rgba(92, 184, 254, 0.25);

  --bg-base: #07080d;
  --bg-surface: #0c0f18;
  --bg-card: #0f1320;
  --bg-card-hi: #141828;

  --text: #d8e2ef;
  --text-muted: #5a6d84;
  --text-bright: #ffffff;

  --border: rgba(92, 184, 254, 0.1);
  --border-hover: rgba(92, 184, 254, 0.4);

  --nav-height: 72px;
  --footer-height: 0px;
  --hero-image-ratio: 16 / 9;

  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'Segoe UI Mono', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

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

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-base);
  background-image:
    linear-gradient(rgba(7, 8, 13, 0.75), rgba(7, 8, 13, 0.75)),
    url('../img/bg-pattern.png');
  background-repeat: repeat;
  background-size: 50px;
  background-attachment: scroll, fixed;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background-color 0.4s var(--ease-smooth), backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.75);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-bright);
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav__logo-text em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue-light), #a5d8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s;
  padding-block: var(--sp-2);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-light);
  transition: width 0.3s var(--ease-out-expo);
  border-radius: 99px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--blue-light);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  z-index: 200;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 99px;
  transition: transform 0.35s var(--ease-out-expo), opacity 0.25s, background-color 0.25s;
}

/* ══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 0;
  height: calc(100vw / (var(--hero-image-ratio)));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 0;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: min(32vh, 280px);
  z-index: 1;
  background: linear-gradient(to bottom, rgba(12, 15, 24, 0) 0%, rgba(12, 15, 24, 0.55) 55%, rgba(12, 15, 24, 0.96) 100%);
}

.hero__parallax {
  position: absolute;
  inset: 0;
  height: 100%;
  background-size: 100% auto !important;
  background-position: center top !important;
  background-repeat: no-repeat;
  pointer-events: none;
  transform: none;
  will-change: auto;
}

.hero {
  background-color: black;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: var(--sp-24);
}

.hero__content--game {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-block: calc(var(--nav-height) + var(--sp-6)) var(--sp-6);
  text-align: center;
}

.hero__content--game .hero__cta {
  margin-top: auto;
}

.hero__content::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  width: min(92vw, 1100px);
  height: 120px;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 100% at 50% 0%, rgba(12, 15, 24, 0.45) 0%, rgba(12, 15, 24, 0.12) 44%, transparent 76%),
    linear-gradient(to bottom, rgba(12, 15, 24, 0) 0%, rgba(12, 15, 24, 0.76) 100%);
  filter: blur(14px);
  opacity: 0.82;
  z-index: -1;
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: var(--sp-5);
  opacity: 0;
  animation: fadeInUp 0.7s 0.2s var(--ease-out-expo) forwards;
}

.hero__eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  margin-right: var(--sp-3);
  box-shadow: 0 0 8px var(--blue-light);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 9rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text-bright);
  margin-bottom: var(--sp-6);
  opacity: 0;
  animation: fadeInUp 0.9s 0.4s var(--ease-out-expo) forwards;
}

.hero__title--game {
  font-size: clamp(3.2rem, 11vw, 8.5rem);
  line-height: 0.94;
  margin-bottom: var(--sp-10);
  max-width: 9ch;
  text-wrap: balance;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  opacity: 0;
  animation: fadeInUp 0.8s 0.85s var(--ease-out-expo) forwards;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS — shared
═══════════════════════════════════════════════════════════════ */
.section {
  padding-block: var(--sp-16) var(--sp-20);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: var(--nav-height);
}

.about,
.games,
.contact {
  position: relative;
  isolation: isolate;
}

.about .container,
.games .container,
.contact .container {
  position: relative;
  z-index: 1;
}

.section__header {
  margin-bottom: var(--sp-16);
}

.section__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: var(--sp-3);
  display: block;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  line-height: 1.05;
  margin-bottom: var(--sp-3);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════════════ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: var(--sp-16);
  align-items: start;
}

.about__left {
  display: flex;
  flex-direction: column;
}

.about__left .section__header {
  margin-bottom: var(--sp-8);
}

.about__text p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
  font-size: 1.02rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.team {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.team__member {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-4);
  min-height: 252px;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease-out-expo);
}

.team__member:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hi);
  transform: translateY(-4px);
}

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

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

.team__avatar {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team__avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__avatar span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue-light);
  z-index: 1;
}

.team__avatar img:not([src='']) {
  z-index: 2;
}

.team__name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-bright);
  letter-spacing: -0.01em;
}

.team__role {
  display: block;
  font-size: 0.8rem;
  color: var(--blue-light);
  font-weight: 500;
  margin-block: 0;
  line-height: 1.4;
  min-height: 2.24em;
}

/* ══════════════════════════════════════════════════════════════
   GAMES
═══════════════════════════════════════════════════════════════ */

.games::before,
.contact::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(60px, 10vh, 120px);
  pointer-events: none;
  z-index: 0;
}

.games .container {
  position: relative;
  z-index: 1;
}

.game-card {
  width: min(100%, 980px);
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 7;
  min-height: 280px;
  border: 1px solid var(--border);
}

.game-card__thumbnail {
  position: absolute;
  inset: 0;
}

.game-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.game-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-8);
  background: linear-gradient(to top, rgba(7, 8, 13, 0.92) 0%, rgba(7, 8, 13, 0.45) 45%, transparent 100%);
}

@media (hover: hover) {
  .game-card__body {
    opacity: 0;
    background: rgba(7, 8, 13, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: opacity 0.35s ease, backdrop-filter 0.35s ease, background-color 0.35s ease;
  }

  .game-card:hover .game-card__body {
    opacity: 1;
    background: rgba(7, 8, 13, 0.58);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

.game-card__meta {
  display: none;
}

.game-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: var(--sp-3);
}

.game-card__desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  max-width: 58ch;
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════════ */
.contact__inner {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.contact__email {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 1rem;
  margin-bottom: var(--sp-12);
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}

.social__link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s, transform 0.3s var(--ease-out-expo);
}

.social__link:hover {
  color: var(--blue-light);
  border-color: var(--border-hover);
  background: var(--bg-card-hi);
  transform: translateY(-3px);
}

.social__link svg {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75em 1.8em;
  border-radius: var(--radius-sm);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.3s, transform 0.25s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue-deep);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(92, 184, 254, 0);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(92, 184, 254, 0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn--primary:hover {
  background: #3464bb;
  box-shadow: 0 0 20px rgba(92, 184, 254, 0.3), 0 4px 16px rgba(41, 82, 162, 0.4);
  transform: translateY(-2px);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--ghost {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid rgba(92, 184, 254, 0.3);
}

.btn--ghost:hover {
  background: rgba(92, 184, 254, 0.07);
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.btn--sm {
  font-size: 0.78rem;
  padding: 0.55em 1.3em;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  .contact.section {
    min-height: calc(100dvh - 80px);
  }
}

.site-footer {
  padding-block: var(--sp-8);
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(7, 8, 13, 0.6);
}

.site-footer p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.reveal {
  --reveal-x: 0px;
  --reveal-y: 72px;
  --reveal-scale-start: 0.95;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale-start));
  transition: opacity 0.45s var(--ease-smooth), transform 0.55s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal--left {
  --reveal-x: -110px;
  --reveal-y: 0px;
}

.reveal--right {
  --reveal-x: 110px;
  --reveal-y: 0px;
}

.reveal--scale {
  --reveal-y: 28px;
  --reveal-scale-start: 0.88;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal[data-delay='1'] {
  transition-delay: 0.12s;
}

.reveal[data-delay='2'] {
  transition-delay: 0.24s;
}

.reveal[data-delay='3'] {
  transition-delay: 0.36s;
}

.reveal[data-delay='4'] {
  transition-delay: 0.48s;
}

.reveal[data-delay='5'] {
  transition-delay: 0.6s;
}

/* ══════════════════════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════════════════════ */
.error-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}

.error-page__glow {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41, 82, 162, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.error-page__content {
  position: relative;
  z-index: 1;
  max-width: 580px;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 12rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(92, 184, 254, 0.25));
  margin-bottom: var(--sp-4);
}

.error-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-bright);
  margin-bottom: var(--sp-4);
}

.error-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .game-card {
    aspect-ratio: 4 / 3;
  }

  .about__left .section__header {
    margin-bottom: var(--sp-6);
  }

  .about__text.reveal--left {
    --reveal-x: -92px;
    --reveal-scale-start: 0.985;
  }

  .team.reveal--right {
    --reveal-x: 92px;
    --reveal-scale-start: 0.985;
  }

  .team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
  }

  .team__member {
    grid-column: auto;
    aspect-ratio: auto;
    min-height: 220px;
  }

  .team__member:nth-child(4),
  .team__member:nth-child(5) {
    grid-column: auto;
  }

  .team__member:last-child {
    grid-column: 1 / -1;
    max-width: 300px;
    margin-inline: auto;
    width: 100%;
  }

  .hero__title {
    font-size: clamp(3rem, 13vw, 6rem);
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 200;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: rgba(7, 8, 13, 0.97);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--nav-height) + var(--sp-8)) var(--sp-8) var(--sp-8);
    gap: var(--sp-6);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-expo);
    z-index: 150;
  }

  .nav__menu.is-open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: var(--text);
  }

  .section {
    min-height: unset;
    padding-block: var(--sp-16) var(--sp-20);
  }

  .hero {
    max-height: none;
  }

  .hero__content {
    padding-block: var(--sp-16) var(--sp-20);
  }

  .hero__content--game {
    min-height: 100%;
  }

  .section__header {
    margin-bottom: var(--sp-10);
    text-align: center;
  }

  .section__label {
    text-align: center;
  }

  .about__text.reveal--left,
  .team.reveal--right {
    --reveal-x: 0px;
    --reveal-y: 54px;
  }

  .team {
    grid-template-columns: 1fr;
  }

  .team__member,
  .team__member:last-child {
    grid-column: auto;
    max-width: none;
    min-height: 0;
  }

  .reveal {
    transition-duration: 0.36s;
  }

  .about__text {
    text-align: center;
  }

  .about__text p {
    text-align: left;
  }

  .games__grid {
    grid-template-columns: 1fr;
  }

  .game-card__body {
    padding: var(--sp-5);
  }

  .hero__cta {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
    max-width: 280px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__tagline {
    margin-inline: auto;
  }

  .hero__title--game {
    max-width: 100%;
    margin-bottom: var(--sp-8);
  }

  .social {
    gap: var(--sp-2);
  }

  .social__link span {
    display: none;
  }

  .social__link {
    padding: var(--sp-3);
  }
}

.about {
  background:
    linear-gradient(180deg, rgba(11, 14, 23, 0.24) 0%, rgba(11, 14, 23, 0.52) 44%, rgba(9, 11, 18, 1) 100%);
}

.games {
  background:
    linear-gradient(180deg, rgba(12, 15, 24, 0.98) 0%, rgba(13, 17, 28, 0.96) 42%, rgba(10, 13, 21, 0.98) 100%);
}

.contact {
  background:
    linear-gradient(180deg, rgba(15, 19, 32, 0.98) 0%, rgba(12, 16, 26, 0.96) 40%, rgba(8, 10, 16, 0.98) 100%);
}

.games::before,
.contact::before,
.about::after,
.about::before,
.games::after,
.contact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}

.about::before,
.games::before,
.contact::before {
  top: 0;
  height: clamp(120px, 15vw, 210px);
}

.about::after,
.games::after,
.contact::after {
  bottom: 0;
  height: clamp(90px, 12vw, 170px);
}

.about::before {
  background:
    linear-gradient(180deg, rgba(11, 14, 23, 0.95) 0%, rgba(11, 14, 23, 0.6) 42%, rgba(11, 14, 23, 0.18) 78%, rgba(11, 14, 23, 0) 100%),
    linear-gradient(90deg, transparent 0%, rgba(42, 82, 163, 0.14) 32%, rgba(92, 184, 255, 0.18) 50%, rgba(42, 82, 163, 0.14) 68%, transparent 100%);
  background-size: 100% 100%, 100% 1px;
  background-repeat: no-repeat;
  background-position: center top, center top;
}

.games::before {
  background:
    linear-gradient(180deg, rgba(12, 15, 24, 0.9) 0%, rgba(12, 15, 24, 0.62) 42%, rgba(12, 15, 24, 0.2) 80%, rgba(12, 15, 24, 0) 100%),
    linear-gradient(90deg, transparent 0%, rgba(42, 82, 163, 0.14) 32%, rgba(92, 184, 255, 0.18) 50%, rgba(42, 82, 163, 0.14) 68%, transparent 100%);
  background-size: 100% 100%, 100% 1px;
  background-repeat: no-repeat;
  background-position: center top, center top;
}

.about::after {
  background:
    linear-gradient(180deg, rgba(9, 11, 18, 0) 0%, rgba(11, 14, 23, 0.35) 40%, rgba(15, 19, 32, 0.7) 75%, rgba(15, 19, 32, 0.98) 100%),
    linear-gradient(90deg, transparent 0%, transparent 15%, rgba(42, 82, 163, 0.07) 35%, rgba(92, 184, 255, 0.1) 50%, rgba(42, 82, 163, 0.07) 65%, transparent 85%, transparent 100%);
  background-size: 100% 100%, 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom, center bottom;
}

.games::after {
  background:
    linear-gradient(180deg, rgba(13, 17, 28, 0) 0%, rgba(13, 17, 28, 0.35) 40%, rgba(11, 14, 23, 0.7) 75%, rgba(11, 14, 23, 0.95) 100%),
    linear-gradient(90deg, transparent 0%, rgba(42, 82, 163, 0.14) 32%, rgba(92, 184, 255, 0.18) 50%, rgba(42, 82, 163, 0.14) 68%, transparent 100%);
  background-size: 100% 100%, 100% 1px;
  background-repeat: no-repeat;
  background-position: center bottom, center bottom;
}

.contact::after {
  background: linear-gradient(180deg, rgba(12, 16, 26, 0) 0%, rgba(10, 12, 20, 0.2) 34%, rgba(8, 10, 16, 0.48) 72%, rgba(7, 8, 13, 0.84) 100%);
}

@media (min-width: 901px) {

  .games.section,
  .about.section {
    min-height: min(96dvh, 980px);
  }
}

.nav__lang-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: 1px solid var(--border);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
  margin-left: var(--sp-4);
}

.nav__lang-btn:hover,
.nav__lang-btn:focus {
  color: var(--blue-light);
  border-color: var(--border-hover);
  background: var(--blue-glow);
}

@media (max-width: 640px) {
  .nav__lang-btn {
    margin-left: 0;
    margin-top: var(--sp-6);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hero__parallax,
  .reveal,
  .team__member,
  .game-card,
  .social__link,
  .btn,
  .nav__link::after,
  .nav__toggle-bar {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}