:root {
  --color-primary: #ffd700;
  --color-bg: #070618;
  --color-surface: #0e0d2a;
  --color-surface-2: #13122e;
  --color-text: #ffffff;
  --color-text-muted: #9896b8;
  --color-accent: #e8c050;
  --color-gold: #ffd700;
  --sidebar-width: 260px;
  --header-height: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.site-wrapper {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform var(--transition);
  border-right: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo {
  padding: 20px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sidebar-logo img {
  height: 38px;
  width: auto;
}

.sidebar-nav {
  padding: 12px 0;
  flex: 1;
}

.sidebar-nav__list {
  list-style: none;
}

.sidebar-nav__item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.sidebar-nav__item a:hover,
.sidebar-nav__item.active a {
  color: var(--color-text);
  background: rgba(255,255,255,0.06);
}

.sidebar-nav__item.active a {
  color: var(--color-primary);
}

.sidebar-nav__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-section-title {
  padding: 16px 20px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.sidebar-popular-games {
  padding: 0 12px 16px;
}

.sidebar-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.sidebar-game:hover {
  background: rgba(255,255,255,0.06);
}

.sidebar-game__cover {
  width: 44px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-game__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-game__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.sidebar-game__title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-game__provider {
  font-size: 11px;
  color: var(--color-text-muted);
}

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

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.site-header {
  height: var(--header-height);
  background: var(--color-surface);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}

.header-burger:hover {
  background: rgba(255,255,255,0.08);
}

.header-burger img {
  width: 22px;
  height: 22px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo--desktop img {
  height: 34px;
  width: auto;
}

.header-logo--mobile {
  display: none;
}

.header-logo--mobile img {
  height: 30px;
  width: auto;
}

.header-promo-banner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,215,0,0.08);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  max-width: 380px;
  margin-left: auto;
}

.header-promo-banner img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.header-promo-banner__text {
  font-size: 12px;
  color: var(--color-text-muted);
}

.header-promo-banner__text strong {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: var(--color-primary);
  color: #070618;
}

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

.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-text);
}

.btn--badge {
  background: rgba(255,255,255,0.08);
  color: var(--color-text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn--small {
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
}

.btn--medium {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

.btn--large {
  height: 46px;
  padding: 0 28px;
  font-size: 15px;
}

.btn--circle {
  border-radius: 50%;
  padding: 0;
  width: 36px;
  height: 36px;
}

.btn--medium.btn--circle {
  width: 38px;
  height: 38px;
}

.btn--swiper {
  font-size: 12px;
  height: 30px;
  padding: 0 12px;
  border-radius: 20px;
}

.btn--swiper.btn--circle {
  width: 30px;
  height: 30px;
  padding: 0;
}

.btn__icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.btn--medium .btn__icon {
  width: 14px;
  height: 14px;
}

.page-main {
  flex: 1;
  display: block;
  height: auto;
  padding: 24px;
}

.breadcrumbs {
  margin-bottom: 24px;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.breadcrumbs li + li::before {
  content: '/';
  opacity: 0.4;
  margin-right: 6px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs li:last-child {
  color: var(--color-text);
}

.hero {
  background: linear-gradient(135deg, #0e0d2a 0%, #1a0a3e 50%, #0e1a3a 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,215,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__title .highlight {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  min-width: 120px;
}

.hero__badge-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero__badge-label {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__deposit-methods {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__deposit-methods span {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.hero__deposit-methods img {
  height: 28px;
  width: auto;
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.promo-card {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: row;
  align-items: center;
}

.promo-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-2px);
}

.promo-card__image {
  width: 136px;
  height: 136px;
  flex-shrink: 0;
  overflow: hidden;
}

.promo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-card:hover .promo-card__image img {
  transform: scale(1.04);
}

.promo-card__body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-card__text {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.swiper-section {
  margin-bottom: 40px;
}

.swiper-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.swiper-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.swiper-title h2 {
  font-size: 18px;
  font-weight: 700;
}

.swiper-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.swiper-icon img {
  width: 24px;
  height: 24px;
}

.swiper-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.swiper-buttons {
  display: flex;
  gap: 6px;
}

.swiper-track-wrapper {
  overflow: hidden;
}

.swiper-track {
  display: flex;
  gap: 12px;
  transition: transform 0.35s ease;
  will-change: transform;
  padding-bottom: 4px;
}

.game-card {
  flex-shrink: 0;
  width: 160px;
  scroll-snap-align: start;
}

.game-card a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color var(--transition), transform var(--transition);
  position: relative;
}

.game-card a:hover {
  border-color: rgba(255,215,0,0.3);
  transform: translateY(-3px);
}

.game-card__cover {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #0d0c26;
}

.game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__cover--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #13122e, #1a1840);
  height: 210px;
}

.game-card__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 2;
}

.game-card a:hover .game-card__btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.game-card a:hover .game-card__cover img {
  opacity: 0.6;
}

.game-card__content {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.game-card__title {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.game-card__provider {
  font-size: 11px;
  color: var(--color-text-muted);
  display: block;
}

.game-card--sports {
  width: 150px;
}

.game-card--sports .game-card__cover {
  height: 190px;
}

.seo-block {
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 16px;
}

.seo-block.formatted h1,
.seo-block.formatted h2,
.seo-block.formatted h3 {
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 12px;
  margin-top: 28px;
}

.seo-block.formatted h1:first-child,
.seo-block.formatted h2:first-child,
.seo-block.formatted h3:first-child {
  margin-top: 0;
}

.seo-block.formatted h1 {
  font-size: 26px;
  font-weight: 800;
}

.seo-block.formatted h2 {
  font-size: 20px;
  font-weight: 700;
}

.seo-block.formatted h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.seo-block.formatted p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.seo-block.formatted ol,
.seo-block.formatted ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.seo-block.formatted li {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.seo-block.formatted table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.seo-block.formatted table td {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.seo-block.formatted table tr:first-child td {
  font-weight: 700;
  color: var(--color-text);
  background: rgba(255,255,255,0.04);
}

.seo-block.formatted figure {
  margin: 0;
  overflow-x: auto;
}

.seo-block.formatted a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-block.formatted a:hover {
  opacity: 0.8;
}

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.sidebar--open {
    transform: translateX(0);
  }

  .sidebar-overlay.sidebar-overlay--visible {
    display: block;
  }

  .main-content {
    margin-left: 0;
  }

  .header-burger {
    display: flex;
  }

  .header-logo--desktop {
    display: none;
  }

  .header-logo--mobile {
    display: block;
  }
}

@media (max-width: 768px) {
  .page-main {
    padding: 16px;
  }

  .hero {
    padding: 32px 24px;
  }

  .promo-cards {
    grid-template-columns: 1fr;
  }

  .hero__badges {
    gap: 8px;
  }

  .site-header {
    padding: 0 16px;
  }

  .header-promo-banner {
    display: none;
  }

  .seo-block {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero__actions .btn--large {
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
  }

  .game-card {
    width: 140px;
  }

  .game-card__cover {
    height: 185px;
  }
}