:root {
  --bg: #050505;
  --panel: rgba(17, 17, 17, 0.82);
  --panel-strong: rgba(11, 11, 11, 0.96);
  --line: rgba(221, 177, 93, 0.32);
  --line-strong: rgba(238, 197, 118, 0.62);
  --text: #f8f8f6;
  --muted: #b9b2a3;
  --gold: #d6a84f;
  --gold-bright: #ffd884;
  --blue: #4fb6ff;
  --green: #2ee7a0;
  --pink: #ff4f93;
  --radius: 28px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 168, 79, 0.18), transparent 30%),
    radial-gradient(circle at 78% 0%, rgba(80, 151, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #030303 0%, #090909 48%, #050505 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, transparent 72%);
}

.ambient {
  position: fixed;
  inset: auto -18vw -28vw auto;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 168, 79, 0.16), transparent 68%);
  filter: blur(16px);
  pointer-events: none;
}

.site-header,
main,
.footer {
  width: min(1180px, calc(100vw - 32px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.telegram-btn,
.download-btn,
.footer a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 62px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 10px 22px rgba(137, 68, 255, 0.28))
    drop-shadow(0 5px 18px rgba(255, 203, 77, 0.18));
}

.telegram-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 17px;
  color: #f2ddaf;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(16px);
}

.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  padding: 38px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.055em;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.04;
  max-width: 760px;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.no-break {
  white-space: nowrap;
}

.lead {
  max-width: 710px;
  color: #d7d0bf;
  font-size: clamp(18px, 2.15vw, 27px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.download-btn {
  min-width: min(100%, 330px);
  border-radius: 22px;
  padding: 18px 24px;
  display: inline-grid;
  gap: 4px;
  color: #12100a;
  background: linear-gradient(145deg, #fff1ba 0%, var(--gold-bright) 28%, var(--gold) 100%);
  box-shadow: 0 24px 48px rgba(214, 168, 79, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.download-btn:hover,
.telegram-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.download-btn span {
  font-size: 1.08rem;
  font-weight: 900;
}

.download-btn small {
  opacity: 0.76;
  font-weight: 800;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 9px 12px;
  color: #e7dfce;
  background: rgba(255, 255, 255, 0.055);
}

.hero-card,
.screen-card,
.benefits article {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  justify-self: end;
  border-radius: var(--radius);
  padding: 18px;
  transform: rotate(1.25deg);
}

.mock-window {
  border-radius: 24px;
  overflow: hidden;
  background: #090909;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-top {
  height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  background: linear-gradient(180deg, #161616, #0a0a0a);
}

.mock-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.82;
}

.mock-window img,
.screen-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.mock-window img {
  aspect-ratio: 16 / 10;
}

.mock-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  color: #f8e8c0;
}

.games-section,
.benefits {
  padding: 34px 0 74px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-head.compact {
  display: block;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

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

.screen-card {
  border-radius: 26px;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.screen-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.screen-card img {
  aspect-ratio: 16 / 10;
}

.screen-card div {
  padding: 20px;
}

.game-number {
  display: inline-block;
  margin-bottom: 10px;
  color: #111;
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 900;
  background: var(--gold-bright);
}

.screen-card h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2.2vw, 30px);
}

.screen-card p,
.benefits p {
  color: var(--muted);
  line-height: 1.56;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.benefits article {
  border-radius: 22px;
  padding: 22px;
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  margin-bottom: 18px;
  color: #111;
  font-weight: 900;
  background: linear-gradient(145deg, var(--gold-bright), var(--gold));
}

.benefits h3 {
  margin-bottom: 9px;
  font-size: 1.12rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer a {
  color: var(--gold-bright);
}

@media (max-width: 980px) {
  .hero,
  .screens-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    width: min(100%, 680px);
    justify-self: start;
    transform: none;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions,
  .download-btn,
  .telegram-btn {
    width: 100%;
  }

  .telegram-btn {
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }
}
