:root {
  color-scheme: dark;
  --bg: #15110e;
  --bg-2: #1b1714;
  --panel: #241d17;
  --panel-2: #2b221a;
  --line: rgba(255, 227, 165, 0.14);
  --text: #fff4d0;
  --muted: #d9c79f;
  --gold-1: #f5b84f;
  --gold-2: #f8ea61;
  --gold-3: #7e5112;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 183, 62, 0.15), transparent 28%),
    linear-gradient(180deg, #1c1711 0%, #0d0b09 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

a,
button {
  font: inherit;
}

.page-shell {
  width: 100%;
  overflow-x: hidden;
}

.landing {
  width: min(100%, 500px);
  margin: 0 auto;
  padding: env(safe-area-inset-top, 0) 10px 92px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
    linear-gradient(180deg, rgba(27, 22, 18, 0.96), rgba(12, 10, 8, 0.98));
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -10px;
  padding: 8px 10px 10px;
  background: linear-gradient(180deg, rgba(20, 17, 13, 0.96), rgba(20, 17, 13, 0.62));
  backdrop-filter: blur(14px);
}

.topbar__inner,
.topbar__left,
.topbar__right,
.notice-strip,
.provider-strip,
.section-head,
.hero-dots {
  display: flex;
  align-items: center;
}

.topbar__inner {
  justify-content: space-between;
  gap: 8px;
}

.topbar__left {
  gap: 8px;
  min-width: 0;
}

.topbar__right {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.menu-chip,
.header-btn,
.bonus-chip,
.quick-card,
.provider-pill,
.promo-card,
.game-card,
.stat-card,
.info-card,
.step-item,
.community-card,
.footer {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.menu-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
}

.menu-chip img {
  width: 18px;
  height: 18px;
}

.brand-logo {
  width: 120px;
  height: auto;
}

.header-btn,
.bonus-chip,
.provider-pill,
.section-tag {
  min-height: 32px;
  white-space: nowrap;
  border-radius: 999px;
}

.header-btn,
.bonus-chip {
  padding: 0 12px;
}

.header-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.header-btn--primary,
.cta-button {
  border: none;
  color: #2b1800;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  font-weight: 800;
}

.bonus-chip {
  display: inline-flex;
  align-items: center;
  color: #ffe598;
  background: rgba(255, 202, 88, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.hero-shell {
  margin-top: 10px;
  margin-bottom: 10px;
}

.hero-banner {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #24190f;
  box-shadow: var(--shadow);
}

.hero-banner__glow,
.hero-slide,
.hero-slide img {
  position: absolute;
  inset: 0;
}

.hero-banner__glow {
  opacity: 0.22;
}

.hero-banner__glow img,
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide__overlay {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 8px;
}

.hero-slide__badge {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 10, 4, 0.72);
  border: 1px solid rgba(255, 230, 173, 0.18);
  color: #ffe38e;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-slide__overlay p {
  margin: 0;
  max-width: 78%;
  color: #fff7da;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.08;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.42);
}

.hero-dots {
  position: absolute;
  right: 14px;
  bottom: 16px;
  gap: 7px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
  width: 22px;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
}

.section-tag,
.hero-slide__badge {
  white-space: nowrap;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  min-height: 30px;
  border-radius: 999px;
  background: rgba(255, 204, 92, 0.12);
  color: #ffe398;
  font-size: 12px;
  font-weight: 800;
}
.section-head h2,
.promo-card__overlay h2,
.info-card h3,
.community-card h3 {
  margin: 0;
}

.promo-card__overlay p,
.info-card p,
.step-item p,
.community-card p,
.footer-mail,
.footer-note,
.footer-copy,
.ticker-item {
  color: var(--muted);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.quick-card {
  padding: 10px 6px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(52, 38, 24, 0.98), rgba(31, 23, 16, 0.98));
  text-align: center;
}

.quick-card img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.quick-card span,
.game-card span {
  display: block;
  font-size: 11px;
  color: #ffe7a0;
  font-weight: 700;
}

.notice-strip {
  gap: 8px;
  margin-top: 10px;
}

.notice-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.notice-icon img {
  width: 20px;
  height: 20px;
}

.ticker-strip {
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 9px 0;
  animation: ticker-scroll 18s linear infinite;
}

.ticker-item {
  padding: 0 18px;
  font-size: 13px;
  white-space: nowrap;
}

.provider-strip {
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.provider-strip::-webkit-scrollbar {
  display: none;
}

.provider-pill {
  flex: 0 0 auto;
  padding: 0 14px;
  color: #fbeac1;
  background: var(--panel);
  font-size: 12px;
  font-weight: 800;
}

.provider-pill.is-active {
  color: #2b1800;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  border: none;
}

.section-block,
.stats-grid,
.community-card,
.footer {
  margin-top: 12px;
}

.section-block {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(34, 27, 21, 0.98), rgba(24, 20, 16, 0.98));
  box-shadow: var(--shadow);
}

.section-block--compact {
  padding-bottom: 12px;
}

.section-head {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2 {
  flex: 1;
  font-size: 21px;
  line-height: 1.18;
}

.promo-list {
  display: grid;
  gap: 10px;
}

.promo-card {
  position: relative;
  min-height: 142px;
  overflow: hidden;
  border-radius: 18px;
  background: #2e2116;
}

.promo-card img {
  width: 100%;
  height: 142px;
  object-fit: cover;
}

.promo-card__overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(10, 7, 5, 0.94));
}

.promo-card__overlay h2 {
  font-size: 18px;
}

.promo-card__overlay p {
  margin-top: 6px;
  line-height: 1.45;
  font-size: 13px;
}

.game-grid,
.stats-grid,
.info-grid,
.steps-list {
  display: grid;
  gap: 10px;
}

.game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card {
  padding: 12px 8px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(45, 35, 26, 0.98), rgba(28, 22, 16, 0.98));
  text-align: center;
}

.game-card__thumb {
  display: grid;
  place-items: center;
  min-height: 88px;
}

.game-card__thumb img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 14px 10px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(180deg, rgba(36, 30, 24, 0.98), rgba(24, 20, 16, 0.98));
}

.stat-card strong {
  display: block;
  color: #ffe28c;
  font-size: 19px;
}

.stat-card span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: var(--muted);
}

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

.info-card {
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(39, 31, 24, 0.98), rgba(24, 20, 16, 0.98));
}

.info-card h3 {
  font-size: 18px;
}

.info-card p {
  margin-top: 7px;
  line-height: 1.55;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(39, 31, 24, 0.98), rgba(24, 20, 16, 0.98));
}

.step-index {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #261700;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  font-weight: 900;
}

.step-item p {
  margin: 0;
  line-height: 1.5;
}

.community-card,
.footer {
  padding: 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(34, 27, 21, 0.98), rgba(24, 20, 16, 0.98));
}

.community-card h3 {
  font-size: 19px;
}

.community-card p,
.footer-mail,
.footer-note,
.footer-copy {
  margin: 10px 0 0;
  line-height: 1.52;
  font-size: 13px;
}

.footer-age {
  width: 150px;
  height: auto;
}

.bottom-download {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 500px);
  transform: translateX(-50%);
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0));
  background: rgba(26, 20, 15, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.bottom-download__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 18px;
  text-decoration: none;
  background: linear-gradient(90deg, var(--gold-1), var(--gold-2));
  color: #291800;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
}

.platform-android .bottom-download__button {
  min-height: 60px;
}

.platform-non-android .bottom-download__button {
  background: linear-gradient(90deg, #d9a24a, #f0cc63);
}

.bottom-download__title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.bottom-download__subtitle {
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(41, 24, 0, 0.12);
  font-size: 12px;
  font-weight: 800;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 420px) {
  .landing {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero-slide__overlay p {
    max-width: 84%;
    font-size: 18px;
  }

  .quick-grid {
    gap: 6px;
  }

  .quick-card {
    padding-left: 4px;
    padding-right: 4px;
  }

  .quick-card img {
    width: 48px;
    height: 48px;
  }

  .bottom-download__button {
    min-height: 58px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .bottom-download__title {
    font-size: 16px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 360px) {
  .quick-card span,
  .game-card span {
    font-size: 10px;
  }

  .hero-slide__overlay p {
    font-size: 17px;
  }

  .bottom-download__subtitle {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 11px;
  }
}
