.game-hub-page {
  --hub-blue: #5b98f2;
  --hub-blue-deep: #1f5daf;
  --hub-cyan: #59c8f3;
  --hub-green: #70e6a5;
}

.game-hub-page .site-shell {
  width: min(1060px, calc(100% - 28px));
  min-height: calc(100vh - 28px);
}

.game-hub-page .site-header {
  min-height: 50px;
  padding: 0 clamp(16px, 2.5vw, 27px);
}

.game-hub-page .wordmark {
  font-size: clamp(1.15rem, 1.7vw, 1.5rem);
}

.game-hub-page .site-nav {
  gap: clamp(12px, 2vw, 22px);
}

.game-hub-page .site-nav a {
  font-size: 0.7rem;
}

.game-hub-page .language-switch {
  font-size: 0.62rem;
}

.game-hub-main {
  min-height: calc(100vh - 92px);
}

.game-hub-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  align-items: center;
  gap: clamp(24px, 3.5vw, 44px);
  padding: clamp(22px, 2.4vw, 34px) clamp(22px, 4vw, 48px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, rgba(47, 111, 212, 0.2), transparent 34%),
    linear-gradient(130deg, rgba(8, 20, 39, 0.92), rgba(4, 9, 17, 0.98));
}

.game-hub-hero::after {
  position: absolute;
  right: 34%;
  bottom: -160px;
  width: 360px;
  height: 280px;
  border-radius: 50%;
  content: "";
  background: rgba(216, 154, 35, 0.12);
  filter: blur(70px);
  pointer-events: none;
}

.game-hub-copy,
.game-hub-visual {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--gold-light);
  transform: translateX(-2px);
}

.game-hub-copy .eyebrow {
  margin-bottom: 8px;
}

.game-hub-copy h1 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2.25rem, 3.7vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}

.game-hub-intro {
  max-width: 500px;
  margin: 12px 0 16px;
  color: var(--muted-strong);
  font-size: clamp(0.84rem, 1.2vw, 0.96rem);
}

.game-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-hub-tags span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(4, 10, 19, 0.62);
  color: var(--muted-strong);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.game-hub-tags i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hub-green);
  box-shadow: 0 0 10px rgba(112, 230, 165, 0.8);
}

.game-hub-visual {
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 15px;
  background: #101722;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.42), 0 0 32px rgba(47, 111, 212, 0.12);
}

.game-hub-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(3, 8, 15, 0.88), transparent 45%);
  pointer-events: none;
}

.game-hub-visual img,
.game-hub-visual video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.game-hub-video::after {
  display: none;
}

.game-hub-video video {
  background: #05080d;
}

.game-hub-visual figcaption {
  position: absolute;
  right: 15px;
  bottom: 11px;
  left: 15px;
  z-index: 1;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 750;
}

.platform-section {
  padding: clamp(26px, 3vw, 36px) clamp(22px, 4vw, 48px) clamp(34px, 4vw, 48px);
}

.platform-heading {
  max-width: 700px;
  margin-bottom: 18px;
}

.platform-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  letter-spacing: -0.025em;
  line-height: 1;
}

.platform-heading > p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.platform-grid-dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.platform-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 17px 18px 16px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 15px;
  background:
    radial-gradient(circle at 12% 5%, rgba(91, 152, 242, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(16, 28, 45, 0.96), rgba(6, 12, 21, 0.98));
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.platform-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--hub-blue), transparent);
  opacity: 0.7;
}

a.platform-card {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

a.platform-card:hover,
a.platform-card:focus-visible {
  border-color: rgba(91, 152, 242, 0.75);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.36), 0 0 26px rgba(47, 111, 212, 0.14);
  transform: translateY(-3px);
}

.platform-card-download::before {
  background: linear-gradient(90deg, transparent, var(--hub-green), transparent);
}

.platform-card-telegram::before {
  background: linear-gradient(90deg, transparent, var(--hub-cyan), transparent);
}

.platform-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  border: 1px solid rgba(91, 152, 242, 0.4);
  border-radius: 10px;
  background: rgba(47, 111, 212, 0.12);
  color: var(--hub-blue);
}

.platform-card-download .platform-icon {
  border-color: rgba(112, 230, 165, 0.42);
  background: rgba(112, 230, 165, 0.1);
  color: var(--hub-green);
}

.platform-card-telegram .platform-icon {
  border-color: rgba(89, 200, 243, 0.35);
  background: rgba(89, 200, 243, 0.08);
  color: var(--hub-cyan);
}

.platform-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.platform-badge {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 0.57rem;
  font-weight: 850;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.platform-card h3 {
  margin: 0 0 7px;
  font-size: 1.18rem;
  line-height: 1.05;
}

.platform-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.platform-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--accent-light);
  font-size: 0.7rem;
  font-weight: 850;
}

.platform-card-download .platform-action {
  color: var(--hub-green);
}

.platform-card-telegram .platform-action {
  color: var(--hub-cyan);
}

.platform-action b {
  transition: transform 160ms ease;
}

a.platform-card:hover .platform-action b,
a.platform-card:focus-visible .platform-action b {
  transform: translateX(3px);
}

.download-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 13px;
  border: 1px solid rgba(216, 154, 35, 0.3);
  border-radius: 11px;
  background: rgba(216, 154, 35, 0.07);
}

.download-note > span {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 211, 107, 0.5);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 900;
}

.download-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.download-note strong {
  color: var(--muted-strong);
}

.game-hub-page .site-footer {
  min-height: 42px;
  padding: 8px 16px;
  font-size: 0.66rem;
}

@media (max-width: 900px) {
  .game-hub-hero {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 25px clamp(18px, 5vw, 34px);
  }

  .game-hub-copy {
    text-align: center;
  }

  .game-hub-copy .eyebrow,
  .game-hub-tags {
    justify-content: center;
  }

  .back-link {
    margin-bottom: 12px;
  }

  .game-hub-copy h1,
  .game-hub-intro {
    margin-right: auto;
    margin-left: auto;
  }

  .game-hub-visual {
    min-height: 240px;
  }

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

  .platform-card {
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .game-hub-page .site-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .game-hub-page .site-shell {
    width: 100%;
  }

  .game-hub-page .site-nav {
    gap: clamp(8px, 4vw, 16px);
  }

  .game-hub-hero {
    gap: 18px;
    padding: 20px 14px;
  }

  .back-link {
    font-size: 0.72rem;
  }

  .game-hub-copy h1 {
    font-size: clamp(1.85rem, 10vw, 2.55rem);
  }

  .game-hub-intro {
    margin-top: 11px;
    font-size: 0.8rem;
  }

  .game-hub-visual {
    min-height: 185px;
    border-radius: 13px;
  }

  .game-hub-visual figcaption {
    right: 13px;
    bottom: 11px;
    left: 13px;
    font-size: 0.68rem;
  }

  .platform-section {
    padding: 24px 12px 32px;
  }

  .platform-heading {
    padding: 0 4px;
  }

  .platform-heading h2 {
    font-size: 1.6rem;
  }

  .platform-heading > p:last-child {
    font-size: 0.8rem;
  }

  .platform-card {
    min-height: 185px;
    padding: 17px 16px 16px;
  }

  .platform-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 11px;
  }

  .download-note {
    align-items: flex-start;
  }

  .game-hub-page .site-footer {
    flex-direction: column;
    gap: 5px;
  }
}
