:root {
  --bg: #171925;
  --bg-elev: #1e2130;
  --bg-soft: #252839;
  --text: #ffffff;
  --muted: #9aa0b5;
  --blue: #3b82f6;
  --blue-deep: #2563eb;
  --green: #b6f34a;
  --green-text: #14200a;
  --lime: #c8ff4a;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --max: 1120px;
  --header-h: 64px;
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(182, 243, 74, 0.1), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100%;
}

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

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

.skip {
  position: absolute;
  left: -999px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: rgba(23, 25, 37, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #5b8cff, #3b82f6 45%, #2554d6);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.logo__text {
  font-size: 1.05rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--bg-soft);
  display: grid;
  gap: 5px;
  place-content: center;
  cursor: pointer;
}

.icon-btn span {
  width: 16px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn--blue {
  background: linear-gradient(180deg, #4f8ff7, var(--blue));
  color: #fff;
}

.btn--green {
  background: linear-gradient(180deg, #d4ff70, var(--green));
  color: var(--green-text);
}

.btn--dark {
  background: rgba(20, 22, 32, 0.85);
  color: #fff;
}

.btn--lg {
  min-height: 48px;
  padding: 0 20px;
  font-size: 1rem;
}

.btn--xl {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.main {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
  padding: 18px 0 48px;
  display: grid;
  gap: 28px;
}

.promo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(182, 243, 74, 0.18)),
    linear-gradient(180deg, #22263a, #181b29);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  animation: rise 0.6s ease both;
}

.promo__glow {
  position: absolute;
  inset: auto -20% -40% auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(182, 243, 74, 0.35), transparent 70%);
  pointer-events: none;
}

.promo__label {
  margin: 0 0 8px;
  color: var(--lime);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.promo__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  font-weight: 800;
}

.promo__sub {
  margin: 10px 0 18px;
  color: var(--muted);
  max-width: 36ch;
}

.promo__code-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.promo__code {
  appearance: none;
  border: 1px dashed rgba(182, 243, 74, 0.55);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  min-width: 210px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 2px;
}

.promo__code span {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--lime);
}

.promo__code small {
  color: var(--muted);
  font-size: 0.72rem;
}

.promo__visual {
  display: grid;
  place-items: center;
}

.promo__coin {
  width: min(180px, 40vw);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #2a2208;
  background:
    radial-gradient(circle at 30% 30%, #fff3b0, #f0c14b 40%, #c99212 70%, #8a6508);
  box-shadow:
    0 0 0 8px rgba(240, 193, 75, 0.15),
    0 20px 40px rgba(0, 0, 0, 0.35);
  animation: float 3.2s ease-in-out infinite;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(120deg, #b7f24a 0%, #9de22f 45%, #86d11f 100%);
  color: #13200a;
  animation: rise 0.7s ease both;
}

.hero-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 35%),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.18), transparent 30%);
  pointer-events: none;
}

.hero-banner__text {
  position: relative;
  z-index: 1;
  max-width: 34ch;
}

.hero-banner__text h2 {
  margin: 0 0 16px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.25;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #13200a;
  border-radius: 999px;
  padding: 2px 10px 2px 8px;
  font-size: 0.9em;
}

.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero-banner__art {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.2));
  animation: float 3.6s ease-in-out infinite;
}

.section {
  display: grid;
  gap: 14px;
  animation: rise 0.75s ease both;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section__head h2 {
  margin: 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.link-all {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.row--wide {
  grid-auto-columns: minmax(220px, 1fr);
}

.tile {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-elev);
  min-height: 140px;
  transition: transform 0.18s ease;
}

.tile:hover {
  transform: translateY(-3px);
}

.tile img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.tile span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.game {
  background: transparent;
  min-width: 150px;
  transition: transform 0.18s ease;
}

.game:hover {
  transform: translateY(-3px);
}

.game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--bg-elev);
}

.game--wide img {
  aspect-ratio: 16 / 10;
}

.game div {
  padding: 8px 2px 0;
  display: grid;
  gap: 2px;
}

.game strong {
  font-size: 0.88rem;
  font-weight: 700;
}

.game em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.75rem;
}

.bonuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.bonus {
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, #25293b, #1b1e2d);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  gap: 6px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.bonus:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 243, 74, 0.35);
}

.bonus strong {
  font-size: 1rem;
}

.bonus span {
  color: var(--lime);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bonus em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
}

.wins {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 14px;
  overflow: hidden;
}

.wins__head {
  font-weight: 700;
  margin-bottom: 12px;
}

.wins__track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.win {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 8px 12px 8px 8px;
  border-radius: 12px;
  background: var(--bg-elev);
}

.win img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.win div {
  display: grid;
  gap: 2px;
  flex: 1;
}

.win b {
  font-size: 0.82rem;
}

.win small {
  color: var(--muted);
}

.win span {
  font-weight: 800;
  color: var(--lime);
}

.cta {
  text-align: center;
  border-radius: 22px;
  padding: 36px 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(182, 243, 74, 0.18), transparent 55%),
    linear-gradient(180deg, #22263a, #171925);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.cta p {
  margin: 0 0 18px;
  color: var(--muted);
}

.footer {
  width: min(100% - 24px, var(--max));
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer a {
  font-weight: 800;
  color: #fff;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #111827;
  border: 1px solid rgba(182, 243, 74, 0.4);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  z-index: 100;
  box-shadow: var(--shadow);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 800px) {
  .promo {
    grid-template-columns: 1fr;
  }

  .promo__visual {
    order: -1;
  }

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

  .header .logo__text {
    display: none;
  }

  .btn--blue span,
  .btn {
    font-size: 0.85rem;
  }

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

@media (max-width: 520px) {
  .header__right .btn--blue {
    padding: 0 10px;
  }

  .hero-banner {
    min-height: 160px;
    padding: 20px;
  }

  .hero-banner__art {
    font-size: 3.5rem;
  }
}
