:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #080b0a;
  color: #f7f9f4;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #080b0a;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(181, 255, 35, 0.08), transparent 32rem),
    radial-gradient(circle at 92% 24%, rgba(139, 85, 255, 0.08), transparent 34rem),
    #080b0a;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.shell-header {
  min-height: 72px;
  padding: 14px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(8, 11, 10, 0.92);
}

.shell-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1580px, 100%);
  margin: 0 auto;
  gap: 24px;
}

.shell-brand {
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  text-decoration: none;
}

.shell-brand span,
.shell-brand small {
  color: #b8ff22;
}

.shell-brand small {
  margin-left: 2px;
  font-size: 0.58em;
  letter-spacing: -0.03em;
}

.shell-back {
  color: #aeb6ad;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.shell-back:hover,
.shell-back:focus-visible {
  color: #b8ff22;
}

.game-page {
  width: min(1580px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 42px) 0 48px;
}

.game-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.game-heading__eyebrow {
  margin: 0 0 6px;
  color: #b8ff22;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 950;
  letter-spacing: -0.07em;
  line-height: 0.9;
  text-transform: uppercase;
}

.game-heading__promise {
  max-width: 430px;
  margin: 0;
  color: #aeb6ad;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: right;
}

.game-heading__promise strong {
  color: #fff;
}

.ad-zone {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(135deg, rgba(184, 255, 34, 0.035), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.ad-zone__label {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 12px;
  color: #687067;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ad-zone__fallback {
  display: grid;
  min-height: inherit;
  place-items: center;
  padding: 24px;
  color: #737c73;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}

.ad-zone--top {
  min-height: 112px;
  margin-bottom: 18px;
  border-radius: 16px;
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 18px;
  align-items: start;
}

.game-stage {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(184, 255, 34, 0.24);
  border-radius: 20px;
  background: #120f12;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.48),
    0 0 70px rgba(184, 255, 34, 0.04);
}

.game-frame {
  display: block;
  width: 100%;
  height: min(76vh, 900px);
  min-height: 640px;
  border: 0;
  background: #1e181c;
}

.game-tools {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
}

.fullscreen-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 11, 10, 0.78);
  color: #fff;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.fullscreen-button:hover,
.fullscreen-button:focus-visible {
  border-color: #b8ff22;
  color: #b8ff22;
}

.game-sidebar {
  display: grid;
  gap: 18px;
}

.game-summary,
.ad-zone--side {
  border-radius: 16px;
}

.game-summary {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}

.game-summary__tag {
  margin: 0 0 10px;
  color: #9b6cff;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.game-summary h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
}

.game-summary p {
  margin: 0;
  color: #aeb6ad;
  font-size: 0.86rem;
  line-height: 1.6;
}

.game-summary ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.game-summary li {
  color: #e6ebe2;
  font-size: 0.78rem;
  font-weight: 750;
}

.game-summary li::before {
  margin-right: 8px;
  color: #b8ff22;
  content: "✓";
}

.ad-zone--side {
  min-height: 300px;
}

.adsbygoogle {
  min-height: inherit;
}

.game-note {
  max-width: 860px;
  margin: 22px 0 0;
  color: #737c73;
  font-size: 0.76rem;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .game-heading {
    align-items: start;
    flex-direction: column;
  }

  .game-heading__promise {
    max-width: 680px;
    text-align: left;
  }

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

  .game-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.7fr);
  }

  .ad-zone--side {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .shell-header {
    min-height: 62px;
    padding: 12px 16px;
  }

  .shell-back {
    font-size: 0.64rem;
  }

  .game-page {
    width: min(100% - 20px, 1580px);
    padding-top: 18px;
  }

  .game-heading h1 {
    font-size: clamp(2rem, 14vw, 3.2rem);
  }

  .ad-zone--top {
    min-height: 92px;
  }

  .game-stage {
    border-radius: 14px;
  }

  .game-frame {
    height: 78svh;
    min-height: 520px;
  }

  .game-tools {
    top: 8px;
    right: 8px;
  }

  .fullscreen-button {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.6rem;
  }

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