:root {
  --bg: #0E0F14;
  --bg-2: #12151e;
  --bg-card: #161920;
  --bg-card-2: #1c2030;
  --text-1: #f0f2f8;
  --text-2: #9aa0b8;
  --text-3: #525870;
  --accent: #21C065;
  --accent-2: #18a856;
  --red: #E63946;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);
  --font-d: 'Exo 2', sans-serif;
  --font-b: 'Open Sans', sans-serif;
  --r: 10px;
  --r-sm: 6px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.nowrap { white-space: nowrap; }

.js-enabled .section-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.js-enabled .section-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .container { padding-inline: 24px; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r);
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.2;
  min-height: 44px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(33, 192, 101, 0.45);
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid transparent;
}
.btn--primary:hover {
  background: var(--accent-2);
  box-shadow: 0 4px 20px rgba(33, 192, 101, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--accent-soft {
  background: rgba(33, 192, 101, 0.1);
  color: var(--accent);
  border: 1px solid rgba(33, 192, 101, 0.25);
}
.btn--accent-soft:hover {
  background: var(--accent);
  color: #fff;
}

.btn--lg {
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}

.btn--block { width: 100%; }

.section-label {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-1);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

@media (min-width: 768px) {
  .section-label { font-size: 1.5rem; margin-bottom: 28px; }
}

.section {
  padding-block: 48px;
}

@media (min-width: 768px) {
  .section { padding-block: 72px; }
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: rgba(14, 15, 20, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img { height: 22px; width: auto; }

.header__nav { display: none; flex: 1; }

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-d);
  font-size: 0.875rem;
  color: var(--text-2);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.header__nav-link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.06); }
.header__nav-link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent); }

.header__actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header__burger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 95;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease);
}

.header__drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header__drawer-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.header__drawer-link {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-d);
  font-size: 1rem;
  color: var(--text-2);
  border-radius: var(--r);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.header__drawer-link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.05); }

.header__drawer-actions { display: flex; gap: 8px; }

@media (min-width: 900px) {
  .header__nav { display: flex; }
  .header__actions { display: flex; }
  .header__burger { display: none; }
}

.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  padding-block: 48px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(33, 192, 101, 0.1) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 85% 30%, rgba(230, 57, 70, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(33, 192, 101, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content { max-width: 620px; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(33, 192, 101, 0.1);
  border: 1px solid rgba(33, 192, 101, 0.22);
  border-radius: 40px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-family: var(--font-d);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.hero__pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(1.75rem, 5.5vw, 3.25rem);
  line-height: 1.12;
  color: var(--text-1);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__offer-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 480px) {
  .hero__offer-wrap { flex-direction: row; align-items: center; }
}

.hero__offer {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(135deg, rgba(33, 192, 101, 0.14), rgba(33, 192, 101, 0.05));
  border: 1px solid rgba(33, 192, 101, 0.28);
  border-radius: var(--r-lg);
  padding: 14px 22px;
}

.hero__offer-num {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--accent);
  line-height: 1;
}

.hero__offer-text {
  font-size: 0.8125rem;
  color: var(--text-2);
}

.hero__note {
  font-size: 0.75rem;
  color: var(--text-3);
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 32px;
}

.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  max-width: 480px;
}

@media (min-width: 900px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .hero__content { max-width: none; }
  .hero__visual {
    margin-top: 0;
    align-items: center;
  }
  .hero__visual img { max-width: 560px; }
}

.section--winners { background: var(--bg-2); }

.winners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .winners__grid { gap: 16px; }
}

.winner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.winner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.winner-card__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 85px;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.winner-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.winner-card__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }

.winner-card__game {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.9375rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.winner-card__user {
  font-size: 0.75rem;
  color: var(--text-3);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.winner-card__prize {
  font-family: var(--font-d);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--accent);
}

.section--slots { background: var(--bg); }

.slots__carousel {
  position: relative;
  overflow: hidden;
}

.slots__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slots__track::-webkit-scrollbar { display: none; }

@media (min-width: 768px) {
  .slots__track { gap: 16px; }
}

.slots__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 25, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.2s var(--ease), visibility 0.2s, background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.slots__btn--prev { left: 8px; }
.slots__btn--next { right: 8px; }
.slots__btn:hover { background: rgba(33, 192, 101, 0.2); border-color: rgba(33, 192, 101, 0.4); }
.slots__btn:active { transform: translateY(-50%) scale(0.95); }
.slots__btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(33, 192, 101, 0.45); }
.slots__btn[aria-disabled="true"] { opacity: 0; visibility: hidden; pointer-events: none; }

.slots__btn::before {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.slots__btn--prev::before { transform: rotate(135deg); margin-left: 3px; }
.slots__btn--next::before { transform: rotate(-45deg); margin-right: 3px; }

.slot-card {
  flex: 0 0 auto;
  width: 148px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.slot-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) { .slot-card { width: 168px; } }

.slot-card__img { aspect-ratio: 3 / 4; overflow: hidden; }
.slot-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.slot-card:hover .slot-card__img img { transform: scale(1.06); }

.slot-card__footer {
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.slot-card__name {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
}

.slot-card__play {
  flex-shrink: 0;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.6875rem;
  color: var(--accent);
  background: rgba(33, 192, 101, 0.12);
  border-radius: var(--r-sm);
  padding: 4px 8px;
  white-space: nowrap;
}

.slot-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(33, 192, 101, 0.45); }

.section--promos { background: var(--bg-2); }

.promos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 16px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.promo-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.promo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}
.promo-card:hover .promo-card__img img { transform: scale(1.04); }

.promo-card__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }

.promo-card__title {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.section--content { background: var(--bg); }

.text-wrapper {
  color: var(--text-2);
  font-size: 0.9375rem;
  line-height: 1.72;
}

.text-wrapper h2 {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--text-1);
  margin-top: 40px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.text-wrapper h3 {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-1);
  margin-top: 28px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.text-wrapper h4 {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-1);
  margin-top: 20px;
  margin-bottom: 8px;
}

.text-wrapper p { margin-bottom: 14px; }

.text-wrapper ul,
.text-wrapper ol {
  padding-left: 1.5em;
  margin-bottom: 14px;
  list-style: revert;
}

.text-wrapper li { padding-bottom: 6px; }

.text-wrapper a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.text-wrapper a:hover { color: var(--accent-2); }

.text-wrapper strong { color: var(--text-1); font-weight: 600; }

.text-wrapper table {
  min-width: 420px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.text-wrapper th,
.text-wrapper td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.text-wrapper th {
  background: var(--bg-card);
  color: var(--text-1);
  font-family: var(--font-d);
  font-weight: 700;
}

.text-wrapper td { background: rgba(255, 255, 255, 0.02); }
.text-wrapper tr:hover td { background: rgba(255, 255, 255, 0.035); }

.text-wrapper__table-wrap {
  overflow-x: auto;
  margin-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--text-3) var(--bg-card);
}
.text-wrapper__table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }
.text-wrapper__table-wrap::-webkit-scrollbar-track { background: var(--bg-card); }
.text-wrapper__table-wrap::-webkit-scrollbar-thumb { background: var(--text-3); border-radius: 4px; }
.text-wrapper__table-wrap::-webkit-scrollbar-thumb:hover { background: var(--accent); }

.text-wrapper blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  font-style: italic;
  margin-bottom: 14px;
}

.text-wrapper img { max-width: 100%; height: auto; border-radius: var(--r); }
.text-wrapper hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.text-wrapper pre {
  overflow-x: auto;
  background: var(--bg-card);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.text-wrapper pre::-webkit-scrollbar { display: none; }
.text-wrapper code { font-family: monospace; background: var(--bg-card); border-radius: 4px; padding: 2px 6px; font-size: 0.875em; }
.text-wrapper pre code { background: none; padding: 0; }

.section--faq { background: var(--bg-2); }

.faq__list { display: flex; flex-direction: column; gap: 8px; }

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-1);
  text-align: left;
  min-height: 56px;
  transition: background 0.2s var(--ease);
}
.faq__q:hover { background: rgba(255, 255, 255, 0.04); }
.faq__q:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }

.faq__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--text-3);
  position: relative;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.3s var(--ease);
}
.faq__chevron::before,
.faq__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 1.5px;
  background: var(--text-3);
  border-radius: 1px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.faq__chevron::before { transform: translate(calc(-50% - 2px), -50%) rotate(45deg); }
.faq__chevron::after { transform: translate(calc(-50% + 2px), -50%) rotate(-45deg); }

.faq__item.is-open .faq__chevron {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.faq__item.is-open .faq__chevron::before,
.faq__item.is-open .faq__chevron::after { background: #fff; }

.faq__a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.faq__item.is-open .faq__a {
  max-height: 600px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.faq__a-inner {
  padding: 4px 20px 18px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.72;
}

.section--cta { background: var(--bg); }

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(33, 192, 101, 0.1) 0%, rgba(33, 192, 101, 0.03) 100%);
  border: 1px solid rgba(33, 192, 101, 0.2);
  border-radius: var(--r-lg);
  padding: 28px 24px;
}

@media (min-width: 640px) {
  .cta-block {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
  }
}

.cta-block__heading {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--text-1);
  margin-bottom: 6px;
}

.cta-block__desc {
  font-size: 0.9375rem;
  color: var(--text-2);
}

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__brand { display: flex; align-items: center; }
.footer__brand img { height: 18px; width: auto; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.footer__link {
  font-size: 0.8125rem;
  color: var(--text-3);
  transition: color 0.2s var(--ease);
}
.footer__link:hover { color: var(--text-2); }
.footer__link:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent); border-radius: 2px; }

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-3);
}

.footer__disclaimer {
  font-size: 0.6875rem;
  color: var(--text-3);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .footer__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 32px;
    row-gap: 12px;
  }
  .footer__nav { grid-column: 2; }
  .footer__copy { grid-column: 3; grid-row: 1; }
  .footer__disclaimer { grid-column: 1 / -1; }
}
