:root {
  --bg: #07051f;
  --panel: #151044;
  --panel-2: #21105f;
  --line: rgba(151, 90, 255, 0.34);
  --text: #ffffff;
  --muted: #cbc5ef;
  --yellow: #ffc21f;
  --orange: #ff8a00;
  --purple: #8e52ff;
  --cyan: #27d7ff;
  --green: #57c844;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 74% 10%, rgba(78, 197, 255, 0.12), transparent 27rem),
    radial-gradient(circle at 18% 8%, rgba(255, 190, 31, 0.12), transparent 24rem),
    linear-gradient(180deg, #05041b 0%, #0b0628 46%, #120733 100%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  width: 100%;
  margin: 0;
  padding: 16px max(24px, calc((100% - 1180px) / 2)) 12px;
  background:
    radial-gradient(circle at 8% 42%, rgba(93, 43, 170, 0.36), transparent 190px),
    linear-gradient(180deg, rgba(7, 5, 31, 0.98), rgba(9, 5, 34, 0.96));
  border-bottom: 1px solid rgba(126, 82, 255, 0.18);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 174px;
  min-height: 96px;
  margin: -8px 0 -10px;
  background: radial-gradient(ellipse at center, rgba(31, 15, 75, 0.95) 0%, rgba(17, 8, 48, 0.7) 58%, transparent 76%);
  border-radius: 8px;
}

.brand img {
  width: 156px;
  height: auto;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.3));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.86) 76%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.86) 76%, transparent 100%);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4.8rem);
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
  color: #f1edff;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--yellow);
}

.main-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  border-radius: 999px;
}

.language-pill {
  min-width: 70px;
  min-height: 42px;
  color: #7fdcff;
  font-weight: 900;
  background: rgba(18, 10, 56, 0.78);
  border: 1px solid rgba(137, 86, 255, 0.72);
  border-radius: 999px;
}

main {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
  min-height: 590px;
  padding: 44px 0 58px;
}

.home-hero::after,
.game-hero::after {
  position: absolute;
  inset: 9% -4% 4%;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, rgba(30, 14, 87, 0.72), rgba(6, 5, 31, 0.18));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow,
.pill-label {
  margin: 0 0 18px;
  color: #a679ff;
  font-size: 0.95rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pill-label {
  display: inline-flex;
  padding: 8px 18px;
  background: rgba(116, 75, 229, 0.32);
  border: 1px solid rgba(160, 104, 255, 0.34);
  border-radius: 999px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(3.25rem, 7vw, 6.1rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  color: var(--yellow);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  max-width: 540px;
  color: #eeeaff;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.strong {
  font-weight: 900;
}

.hero-copy > p:not(.eyebrow, .pill-label, .lead) {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
}

.button,
.store-badge,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-weight: 950;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.store-badge:hover,
.ghost-link:hover {
  transform: translateY(-2px);
}

.primary {
  color: #130821;
  background: linear-gradient(180deg, #ffd84f, #ffae0e);
  box-shadow: 0 14px 28px rgba(255, 179, 23, 0.28);
}

.secondary,
.ghost-link {
  color: #d5c4ff;
  background: rgba(24, 12, 66, 0.72);
  border: 2px solid rgba(142, 82, 255, 0.88);
}

.green {
  color: #ffffff;
  background: linear-gradient(180deg, #65d85e, #2d9d3d);
  box-shadow: 0 16px 34px rgba(70, 204, 75, 0.24);
}

.compact {
  min-height: 44px;
  padding: 0 22px;
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  width: min(590px, 100%);
  border-radius: 8px;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.28));
  -webkit-mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.7) 78%, transparent 100%);
  mask-image: radial-gradient(ellipse at center, #000 62%, rgba(0, 0, 0, 0.7) 78%, transparent 100%);
}

.section {
  padding: 30px 0;
}

.section-title,
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 24px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.game-card,
.gallery-panel,
.newsletter,
.value-strip,
.feature-row,
.cta-band {
  background: linear-gradient(180deg, rgba(34, 18, 85, 0.92), rgba(18, 10, 56, 0.88));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.game-card {
  overflow: hidden;
}

.game-media {
  display: block;
  height: 260px;
  overflow: hidden;
  background: #13082f;
}

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

.game-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: end;
  padding: 24px 26px 26px;
}

.game-body h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.game-body p,
.platforms {
  grid-column: 1 / -1;
}

.game-body p,
.value-strip p,
.newsletter p,
.feature-row p,
.cta-band p,
.screenshot-copy p {
  color: var(--muted);
  line-height: 1.45;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.platforms span {
  padding: 6px 10px;
  color: #5ee5ff;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(24, 214, 255, 0.09);
  border-radius: 999px;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 28px 0;
  padding: 34px;
}

.value-strip > div {
  padding: 0 24px;
  border-right: 1px solid rgba(158, 91, 255, 0.28);
}

.value-strip > div:last-child {
  border-right: 0;
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-weight: 950;
  background: radial-gradient(circle, rgba(151, 82, 255, 0.95), rgba(73, 37, 161, 0.72));
  border-radius: 50%;
}

.newsletter {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: center;
  margin: 28px 0;
  padding: 28px 32px;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

input {
  min-width: 0;
  min-height: 54px;
  padding: 0 24px;
  color: var(--text);
  background: rgba(9, 5, 34, 0.66);
  border: 1px solid rgba(143, 88, 255, 0.52);
  border-radius: 999px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: rgba(231, 225, 255, 0.72);
}

.site-footer img {
  width: 104px;
}

.social-links,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: #2b1d72;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-youtube {
  background: #ff2d2d !important;
}

.social-discord {
  background: #635bff !important;
}

.social-instagram {
  background: linear-gradient(135deg, #ffce45, #ff3e79 48%, #695cff) !important;
}

.social-mail {
  background: #2d9dff !important;
}

.phone-showcase {
  position: relative;
  justify-self: center;
  width: min(390px, 100%);
  transform: rotate(5deg);
}

.phone-showcase img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 14px solid #21165e;
  border-radius: 42px;
  box-shadow: 0 36px 76px rgba(0, 0, 0, 0.42);
}

.play-sticker {
  position: absolute;
  right: -48px;
  bottom: 24%;
  display: grid;
  place-items: center;
  width: 134px;
  height: 134px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(145deg, #773df2, #321079);
  border-radius: 38% 62% 44% 56%;
  box-shadow: 0 18px 45px rgba(69, 22, 160, 0.42);
}

.store-badge {
  min-width: 142px;
  min-height: 48px;
  color: #ffffff;
  background: #070711;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 24px 0 34px;
  padding: 32px;
}

.feature-row article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 16px;
  align-items: center;
}

.feature-row img {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
}

.feature-row h3 {
  margin: 0;
  font-size: 1rem;
}

.feature-row p {
  margin: 0;
  font-size: 0.93rem;
}

.gallery-panel {
  padding: 32px;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-controls span {
  color: var(--muted);
  font-weight: 900;
}

.gallery-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  background: rgba(113, 71, 226, 0.42);
  border: 1px solid rgba(162, 117, 255, 0.32);
  border-radius: 50%;
}

.screenshot-stage {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 34px;
  align-items: center;
  min-height: 480px;
  margin-bottom: 24px;
}

.screenshot-stage > img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.screenshot-copy h3 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.thumbnail-strip {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 9px;
}

.thumb {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(37, 20, 96, 0.82);
  border: 2px solid rgba(144, 85, 255, 0.45);
  border-radius: 8px;
}

.thumb.is-active {
  border-color: var(--green);
}

.thumb img {
  width: 100%;
  aspect-ratio: 9 / 13;
  object-fit: cover;
  opacity: 0.58;
}

.thumb.is-active img {
  opacity: 1;
}

.thumb span {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 6px 0;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(4, 2, 18, 0.88));
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr 1fr 220px;
  gap: 30px;
  align-items: center;
  margin: 34px 0;
  padding: 34px;
}

.update-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(97, 48, 218, 0.72), rgba(33, 14, 86, 0.9));
  border: 1px solid rgba(171, 128, 255, 0.38);
  border-radius: 8px;
}

.cta-band > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

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

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
  }

  .language-pill {
    justify-self: end;
  }

  .hero,
  .newsletter,
  .screenshot-stage,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .game-grid,
  .feature-row,
  .value-strip {
    grid-template-columns: 1fr 1fr;
  }

  .value-strip > div {
    border-right: 0;
  }

  .thumbnail-strip {
    grid-template-columns: repeat(6, 1fr);
  }

  .phone-showcase {
    transform: none;
  }

  .play-sticker {
    right: -12px;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand img {
    width: 116px;
  }

  .brand {
    width: 132px;
    min-height: 78px;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-actions,
  .store-row,
  .subscribe-form,
  .section-title,
  .gallery-head,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .store-badge {
    width: 100%;
  }

  .game-grid,
  .feature-row,
  .value-strip {
    grid-template-columns: 1fr;
  }

  .game-body {
    grid-template-columns: 1fr;
  }

  .newsletter,
  .gallery-panel,
  .feature-row,
  .value-strip,
  .cta-band {
    padding: 22px;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .thumbnail-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .play-sticker {
    width: 106px;
    height: 106px;
    font-size: 1rem;
  }
}
