@font-face {
  font-family: Eurostile;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/new/Eurostile-Regular.woff2") format("woff2");
}
@font-face {
  font-family: Eurostile;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/new/Eurostile-Bold.woff2") format("woff2");
}
@font-face {
  font-family: Eurostile;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/new/Eurostile-Heavy.woff2") format("woff2");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-regular.woff2") format("woff2");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto-medium.woff2") format("woff2");
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/roboto-bold.woff2") format("woff2");
}

:root {
  --bg: #181a1f;
  --bg-2: #1b1d25;
  --bg-3: #212329;
  --bg-4: #2b2d33;
  --text: #f5f7fa;
  --muted: #9094a3;
  --muted-2: #7e828f;
  --gold: #ffc233;
  --gold-2: #fab42d;
  --green: #16a800;
  --green-hover: #1cc400;
  --line: rgba(166, 169, 184, 0.12);
  --sidebar: 278px;
  --header: 72px;
  --radius: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.app {
  min-height: 100dvh;
  padding-left: var(--sidebar);
  padding-top: var(--header);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px 0 20px;
  background: var(--bg-2);
}
.header__left { display: flex; align-items: center; gap: 16px; }
.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(166, 169, 184, 0.08);
}
.header__logo img { width: 111px; height: 33px; }
.header__auth { display: flex; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: filter 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: #fff; }
.btn--green {
  background: var(--green);
  color: #fff;
  min-width: 140px;
}
.btn--green:hover { background: var(--green-hover); }
.btn--white {
  background: #fff;
  color: #13151d;
  height: 36px;
  border-radius: 10px;
  font-weight: 700;
  padding: 0 16px;
}
.btn--white:hover { filter: brightness(0.95); }

/* Sidebar */
.sidebar {
  position: fixed;
  top: var(--header);
  left: 0;
  bottom: 0;
  width: var(--sidebar);
  z-index: 40;
  background: var(--bg-2);
  padding: 12px 12px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 99px; }

.side-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #1b4dff 0%, #3a7bff 100%);
  margin-bottom: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.side-promo img { width: 28px; height: 28px; object-fit: contain; }

.side-label {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 12px 6px;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}
.side-link svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); }
.side-link:hover { background: rgba(166, 169, 184, 0.08); }
.side-link.is-active {
  background: rgba(255, 194, 51, 0.12);
  color: var(--gold);
  font-weight: 700;
}
.side-link.is-active svg { color: var(--gold); }
.side-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.side-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--gold);
  color: #13151d;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.side-foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-socials { display: flex; gap: 8px; }
.side-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(166, 169, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-socials img { width: 20px; height: 20px; }
.side-dl {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}
.side-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.side-lang img { width: 20px; height: 20px; border-radius: 50%; }

/* Main */
.main {
  padding: 20px 24px 80px;
  max-width: 1680px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.hero__promo,
.hero__card {
  position: relative;
  min-height: 210px;
  border-radius: 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.hero__promo { min-height: 230px; }
.hero__copy h2 {
  font-family: Eurostile, Roboto, sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 320px;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
  margin-bottom: 16px;
}
.hero__card span {
  font-family: Eurostile, Roboto, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__dots {
  display: flex;
  gap: 6px;
  margin-top: 14px;
}
.hero__dots i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
}
.hero__dots i.is-on { background: #fff; width: 16px; }

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--bg-3);
  color: var(--muted);
  margin-bottom: 16px;
}
.search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.search svg { width: 18px; height: 18px; }

.cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 28px;
  scrollbar-width: none;
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 92px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.cat img, .cat .cat__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
  background: var(--bg-3);
}
.cat.is-on, .cat:hover { color: #fff; }
.cat.is-on .cat__icon, .cat.is-on img {
  box-shadow: 0 0 0 2px var(--gold);
}

/* Sections */
.section { margin-bottom: 36px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  min-height: 40px;
}
.section-head__left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-head__left img { width: 24px; height: 24px; }
.section-head h2 {
  font-size: 20px;
  font-weight: 700;
}
.section-head__right { display: flex; align-items: center; gap: 8px; }
.link-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 99px;
  border: 1px solid var(--line);
}
.link-all:hover { color: #fff; }
.nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 99px;
  background: var(--bg-3);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-btn:hover { background: var(--bg-4); }
.nav-btn:disabled { opacity: .35; }

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

/* GETX games */
.getx-card {
  flex: 0 0 168px;
  scroll-snap-align: start;
  height: 250px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
}
.getx-card img.item {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 78%;
  transform: translateX(-50%);
  object-fit: contain;
  max-height: 160px;
  pointer-events: none;
}
.getx-card .name {
  position: relative;
  font-family: Eurostile, Roboto, sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.getx-card .brand {
  position: relative;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

/* Casino game cards */
.game-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px 12px;
}
.game-card { display: block; }
.game-card__art {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--bg-3);
}
.game-card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .15s;
}
.game-card:hover .game-card__art::after { opacity: 1; }
.game-card__title {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__prov {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.apk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  padding: 24px 32px;
  border-radius: 24px;
  margin: 8px 0 36px;
  background: #6b2dff center / cover no-repeat;
  overflow: hidden;
  position: relative;
}
.apk h2 {
  font-family: Eurostile, Roboto, sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 520px;
  position: relative;
}

/* Providers */
.provider {
  flex: 0 0 132px;
  scroll-snap-align: start;
  height: 148px;
  border-radius: 16px;
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  text-align: center;
}
.provider img { width: 64px; height: 40px; object-fit: contain; }
.provider .name { font-size: 13px; font-weight: 700; }
.provider .count { font-size: 12px; color: var(--muted); }

/* Footer */
.footer {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.footer__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 8px;
}
.footer a:hover { color: #fff; }
.footer__copy {
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 12px;
}

/* Content pages */
.page {
  max-width: 920px;
}
.page h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page p, .page li { color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.page a { color: var(--green); }

.game-stage {
  border-radius: 24px;
  min-height: 520px;
  background: #0e1016 center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-stage img.hero-item {
  width: min(320px, 50vw);
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.5));
}
.game-stage h1,
.game-stage__name {
  margin-top: 16px;
  font-family: Eurostile, Roboto, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  font-size: 32px;
}
.game-stage__brand {
  color: #9094a3;
  margin: 8px 0 20px;
}

.seo-h1 {
  font-family: Eurostile, Roboto, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 12px 0 20px;
  line-height: 1.15;
}
.seo-text {
  margin: 40px 0 8px;
  max-width: 920px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.seo-text h2,
.seo-text h3 {
  color: #fff;
  font-family: Eurostile, Roboto, sans-serif;
  letter-spacing: -0.03em;
  margin: 24px 0 12px;
}
.seo-text p { margin-bottom: 12px; }
.seo-text a { color: var(--green); }
.chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 99px;
  background: var(--gold);
  color: #13151d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}

/* Modal */
.getx-modal {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 10, 16, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.getx-modal.is-open { opacity: 1; visibility: visible; }
.getx-modal__dialog {
  width: min(100%, 420px);
  border-radius: 24px;
  background: #1a1d28;
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  padding: 28px 24px 24px;
  position: relative;
}
.getx-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(166, 169, 184, 0.08);
  color: #a6a9b8;
  font-size: 22px;
}
.getx-modal__title { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.getx-modal__text { margin: 0 0 20px; color: var(--muted); }
.getx-modal__cta {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.getx-modal__cta:hover { background: var(--green-hover); }

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 35;
}

@media (max-width: 1440px) {
  .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  :root { --sidebar: 88px; }
  .side-link span, .side-label, .side-count, .side-badge, .side-promo span,
  .side-dl span, .side-lang span, .side-foot .side-link span { display: none; }
  .side-link { justify-content: center; padding: 0; }
  .side-promo { justify-content: center; }
  .hero { grid-template-columns: 1fr; }
  .hero__card { min-height: 160px; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer__nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --sidebar: 0px; --header: 64px; }
  .sidebar {
    transform: translateX(-110%);
    width: min(86vw, 300px);
    z-index: 55;
    transition: transform .2s ease;
  }
  .sidebar.is-open { transform: none; }
  .overlay { z-index: 45; }
  .overlay.is-open { display: block; }
  .side-link span,
  .side-label,
  .side-count,
  .side-promo span,
  .side-dl span,
  .side-lang span,
  .side-foot .side-link span {
    display: revert;
  }
  .side-badge { display: inline-flex; }
  .side-link,
  .side-promo {
    justify-content: flex-start;
    padding: 0 12px;
  }
  .side-promo { padding: 10px 12px; }
  .header { padding: 0 12px; }
  .header__burger { display: inline-flex; align-items: center; justify-content: center; }
  .header__logo img { width: 90px; }
  .btn--green { min-width: 0; padding: 0 12px; }
  .main { padding: 12px 12px 96px; }
  .hero__copy h2, .apk h2 { font-size: 22px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .getx-card { flex-basis: 148px; height: 220px; }
  .footer__nav { grid-template-columns: 1fr; }
}
