/* =========================================
   DESIGN TOKENS
   ========================================= */

:root {
  /* цвета */
  --bg-main: #05070c;
  --bg-elevated: #11131c;
  --bg-card: #181b25;
  --bg-card-soft: #1f2330;

  --accent: #ff8a3c;
  --accent-2: #ffc344;
  --accent-red: #ff4d4f;
  --accent-green: #2ecc71;

  --text-main: #ffffff;
  --text-muted: #9ca0b8;

  --border-subtle: rgba(255, 255, 255, 0.06);

  --radius-lg: 18px;
  --radius-xl: 24px;

  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.6);

  --gap-section: 32px;
  --transition-fast: 0.18s ease-out;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;

  /* общая ширина контента (кроме hero) */
  --layout-max-width: 1500px;
  --layout-gutter: 20px;
}

/* единый контейнер для всех блоков, которые должны быть одинаковой ширины */
.layout,
.container,
.section,
.section--categories,
.section-slots,
.providers,
.loot-section,
.section-two-cols,
.welcome-hero,
.casino-footer {
  max-width: var(--layout-max-width);
  margin: 0 auto;
}

/* =========================================
   GLOBAL RESET
   ========================================= */

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-sans);
}

body {
  background: radial-gradient(
      circle at top center,
      #28233d 0%,
      #171523 40%,
      #090a10 100%
  );
  color: var(--text-main);
}

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

/* =========================================
   APP LAYOUT: SIDEBAR + PAGE
   ========================================= */

.casino-root {
  display: flex;
  min-height: 100vh;
  background: #000;
  color: var(--text-main);
  position: relative;
}

/* левая колонка — обычный сайдбар, который скроллится со страницей */
.casino-sidebar {
  background: #11141d;
  width: 88px;
  flex: 0 0 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
  z-index: 50;
}

/* не даём ему никогда прятаться, даже если есть класс */
.casino-sidebar.sidebar--hidden {
  transform: none !important;
}

/* основная страница */
.casino-page {
  flex: 1;
  background: #000;
}

/* =========================================
   SIDEBAR
   ========================================= */

.sidebar-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.sidebar-logo img {
  display: block;
  max-width: 56px;
  max-height: 56px;
}

/* колонка иконок */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  align-items: center;
  margin-top: 32px;
}

/* кнопка-иконка */
.sidebar-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: radial-gradient(circle at 30% 20%, #262c3a 0%, #131722 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* =========================================
   HEADER
   ========================================= */

.casino-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
  margin-top: 30px;
  max-width: var(--layout-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
}

.header-logo {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 18px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast),
    transform var(--transition-fast), box-shadow var(--transition-fast);
}

.header-btn.primary {
  background: linear-gradient(135deg, #ff8a3c, #ffc344);
  border-color: transparent;
  color: #261105;
  font-weight: 600;
}

.header-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

/* мобильные круглые кнопки */
.header-right-mobile {
  display: none;
  gap: 10px;
}

.header-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
}

.header-circle:hover {
  opacity: 0.8;
}

.header-circle img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.header-circle--plus {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-2);
  background: transparent;
}

.header-circle--badge {
  position: relative;
}

.header-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  padding: 0 4px;
  height: 18px;
  border-radius: 999px;
  background: #ff4d4f;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: 32px;
  margin-bottom: 56px;
  padding: 56px 0 0;
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg.png") center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
  z-index: 0;
}

.hero-inner,
.hero-games-container,
.hero-promos {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-left {
  max-width: 800px;
  padding-top: 60px;
  position: relative;
}

.hero-title {
  margin: 0;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: 62px;
  line-height: 1.03;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-title-accent {
  color: #ff8a3c;
}

.hero-tagline {
  margin: 12px 0 0;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #f7d4c2;
}

.hero-btn {
  margin-top: 28px;
  padding: 18px 36px;
  border-radius: 999px;
  border: none;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: radial-gradient(circle at 50% 0%, #ffd574 0%, #ffae46 55%, #ff8c34 100%);
  color: #3a1b09;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.85);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 1);
  filter: brightness(1.05);
}

.hero-characters {
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding-right: 20px;
  margin-top: 40px;
  margin-right: 80px;
  position: relative;
  top: 50px;
}

.hero-character {
  display: block;
  object-fit: contain;
}

.hero-character--fox {
  height: 400px;
  margin-right: -160px;
  z-index: 2;
}

.hero-character--eagle {
  height: 380px;
  z-index: 5;
}

.hero-character--bull {
  height: 380px;
  margin-left: -125px;
  z-index: 3;
}

/* HERO: games row */

.hero-games-container {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  padding: 12px 26px 18px;
  border-radius: 32px;
  background: #05070c;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.hero-games-row {
  display: flex;
  gap: 18px;
  white-space: nowrap;
  animation: heroGamesScroll 40s linear infinite;
}

.hero-games-row:hover {
  animation-play-state: paused;
}

.hero-game-card {
  flex: 0 0 auto;
  width: 138px;
  background: #0b0f16;
  border-radius: 22px;
  padding: 12px 12px 14px;
  box-shadow: 0 7px 30px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hero-game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.8);
}

.hero-game-thumb {
  width: 100%;
  display: block;
  border-radius: 18px;
}

.hero-game-meta {
  margin-top: 10px;
}

.hero-game-name {
  font-size: 15px;
  color: #dde1e9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-game-currency {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #ff9e28;
}

@keyframes heroGamesScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HERO: promos */

.hero-promos {
  position: relative;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.promo-card {
  position: relative;
  width: 100%;
  border-radius: 40px;
  padding: 30px 36px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.8);
}

.promo-card--left {
  background-image: url("../img/dd.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-card--right {
  background-image: url("../img/dd3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-text {
  max-width: 400px;
}

.promo-title {
  margin: 0 0 25px;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1.15;
  color: #19110e;
  width: 400px;
}

.promo-title span {
  color: #791503;
}

.promo-btn {
  padding: 12px 32px;
  margin-top: 20px;
  border-radius: 999px;
  border: none;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  background: radial-gradient(circle at 50% 0%, #ffd46b 0%, #ff9f3c 70%);
  color: #261206;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.7);
  filter: brightness(1.05);
}

.promo-illustration {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.promo-illustration img {
  display: block;
  height: 320px;
  border-radius: 37px;
}

.promo-progress {
  margin: 6px 0 20px;
}

.promo-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #000;
  margin-bottom: 6px;
}

.promo-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.promo-progress-fill {
  width: 92%;
  height: 100%;
  background: linear-gradient(90deg, #ff8a3c, #ff4d4f);
}

/* =========================================
   GENERIC SECTION STYLES
   ========================================= */

.section {
  margin-top: var(--gap-section);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.section-title {
  font-family: "Oswald", system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

/* =========================================
   SECTION: SLOTS
   ========================================= */

.section-slots {
  background: #15181f;
  border-radius: 28px;
  padding: 14px 20px 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.section-slots .section-header {
  margin-bottom: 6px;
}

.section-slots .slider-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 18px;
  background: #05060a;
  border-radius: 999px;
}

.nav-btn {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-btn::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-style: solid;
  border-width: 0 2px 2px 0;
  border-color: #d5dde8;
  position: relative;
}

.nav-btn--prev::before {
  transform: rotate(135deg);
}

.nav-btn--next::before {
  transform: rotate(-45deg);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.slots-row {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  padding-bottom: 6px;
  scrollbar-width: none;
  overflow-x: auto;
}

.slots-row::-webkit-scrollbar {
  display: none;
}

.slot-card {
  border-radius: 16px;
  flex: 0 0 auto;
}

/* =========================================
   PROMO BANNERS
   ========================================= */

.section-promos {
  margin-top: var(--gap-section);
  max-width: var(--layout-max-width);
  margin-left: auto;
  margin-right: auto;
}

.games-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.promo-banner {
  position: relative;
  width: 100%;
  border-radius: 24px;
  padding: 40px 36px;
  min-height: 280px;
  display: flex;
  align-items: center;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.promo-banner--winners {
  /* Dark desert night theme - can be replaced with background image */
  background: 
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(255, 140, 60, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, #1a1a2e 0%, #2d1a2e 40%, #1a1a2e 100%);
  background-image: url("../img/bg-games1.jpeg");
  background-size: cover;
  background-position: center;

}

.promo-banner--chips {
  /* Warm desert sunset theme - can be replaced with background image */
  background: 
    radial-gradient(ellipse 120% 100% at 50% 0%, rgba(255, 165, 0, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #2d1a1a 0%, #3d2a1a 40%, #2d1a1a 100%);
  background-image: url("../img/bg-games2.jpeg");
  background-size: cover;
  background-position: center;
}

.promo-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 50%;
}

.promo-banner__character {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  z-index: 1;
  pointer-events: none;
  width: 50%;
  padding-right: 20px;
}

.promo-banner__character-img {
  display: block;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.promo-banner__character-img--eagle {
  height: 320px;
  max-width: 100%;
}

.promo-banner__character-img--cowgirl {
  height: 300px;
  max-width: 100%;
}

.promo-banner__text {
  margin-bottom: 24px;
}

.promo-banner__line1 {
  margin: 0 0 8px;
  font-family: "Oswald", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
}

.promo-banner__line2 {
  margin: 0;
  font-family: "Oswald", system-ui, sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #ff8a3c;
}

.promo-banner--chips .promo-banner__line2 {
  font-size: 32px;
}

.promo-banner__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  font-family: "Oswald", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
  background: radial-gradient(circle at 50% 0%, #ffd46b 0%, #ff9f3c 70%);
  color: #261206;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
}

.promo-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.7);
  filter: brightness(1.05);
}

.promo-banner__btn:active {
  transform: translateY(0);
}

/* Responsive styles for promo banners */
@media (max-width: 768px) {
  .games-promos {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promo-banner {
    padding: 24px 20px;
    min-height: 200px;
    position: relative;
  }

  .promo-banner__content {
    max-width: 55%;
    position: relative;
    z-index: 2;
  }

  .promo-banner__character {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    width: 45%;
    padding-right: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 1;
  }

  .promo-banner__character-img--eagle {
    height: 180px;
    max-width: 100%;
    object-fit: contain;
  }

  .promo-banner__character-img--cowgirl {
    height: 170px;
    max-width: 100%;
    object-fit: contain;
  }

  .promo-banner__text {
    margin-bottom: 16px;
  }

  .promo-banner__line1 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .promo-banner__line2 {
    font-size: 26px;
    line-height: 1.1;
  }

  .promo-banner--chips .promo-banner__line2 {
    font-size: 22px;
  }

  .promo-banner__btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .promo-banner {
    padding: 20px 16px;
    min-height: 180px;
  }

  .promo-banner__content {
    max-width: 50%;
  }

  .promo-banner__character {
    width: 50%;
    padding-right: 4px;
  }

  .promo-banner__character-img--eagle {
    height: 150px;
  }

  .promo-banner__character-img--cowgirl {
    height: 140px;
  }

  .promo-banner__line1 {
    font-size: 16px;
    margin-bottom: 4px;
  }

  .promo-banner__line2 {
    font-size: 22px;
  }

  .promo-banner--chips .promo-banner__line2 {
    font-size: 20px;
  }

  .promo-banner__btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .promo-banner__text {
    margin-bottom: 12px;
  }
}

/* =========================================
   GAME CATEGORIES
   ========================================= */

.section--categories {
  background: #15181f;
  border-radius: 32px;
  padding: 10px 20px 20px;
  margin-top: 20px;
  margin-bottom: 24px;
  overflow: hidden;
}

.section--categories .section-title {
  font-size: 22px;
  font-weight: 700;
}

.section-right {
  display: flex;
  align-items: center;
}

/* поиск */
.search-field {
  position: relative;
  background: #05060a;
  padding: 10px 16px 10px 40px;
  border-radius: 14px;
}

.search-field input,
.search-field .search-input {
  background: transparent !important;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 14px;
  min-width: 230px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.search-field input::placeholder,
.search-field .search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-field .search-icon {
  display: none;
}

.search-field::before,
.search-field::after {
  content: "";
  position: absolute;
}

.search-field::before {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #f4b423;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.search-field::after {
  width: 8px;
  height: 2px;
  border-radius: 4px;
  background: #f4b423;
  left: 22px;
  top: 56%;
  transform: rotate(45deg);
}

/* категории */
.categories-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: none;
}

.categories-row::-webkit-scrollbar {
  display: none;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 22px;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 500;
  color: #e5e5e5;
  border-radius: 999px;
  border: 1px solid #413225;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  white-space: nowrap;
  transition: 0.15s ease;
}

.category-chip .chip-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.category-chip.is-active,
.category-chip:hover {
  background: radial-gradient(circle at 20% 0, #f4b423, #f4b423);
  border-color: transparent;
  color: #000;
  transform: translateY(-1px);
}

/* =========================================
   PROVIDERS
   ========================================= */

.providers {
  margin: 40px auto;
}

.providers-row {
  display: flex;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.providers-row::-webkit-scrollbar {
  display: none;
}

.provider-card {
  flex: 0 0 200px;
  height: 80px;
  background: #1a1c24;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.provider-card img {
  max-width: 100%;
  max-height: 50%;
  object-fit: contain;
  opacity: 0.9;
}

/* =========================================
   LOOTBOXES
   ========================================= */

.loot-section {
  margin: 40px auto;
}

.loot-hero {
  background-image: url("../img/bg-lootbox.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 32px;
  padding: 100px 80px;
  margin-bottom: -50px;
}

.loot-header {
  text-align: center;
}

.loot-title {
  font-family: "Manrope", system-ui, sans-serif;
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  margin: 0;
}

.loot-subtitle {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffb26a;
  margin: 10px 0;
}

.loot-desc {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 20px;
  color: #ddd;
}

.loot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 0;
  margin-top: -40px;
}

.loot-card {
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  position: relative;
}

.loot-card-image {
  background: linear-gradient(180deg, #c77748 0%, #a85434 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.loot-card-image img {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.loot-card-body,
.loot-card--legendary,
.loot-bg-epic,
.loot-bg-vip,
.loot-bg-super {
  padding: 20px 24px 24px;
  color: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
}

.loot-card--legendary {
  background-image: url("../img/box-bottom.png");
}

.loot-bg-epic {
  background-image: url("../img/box-1-bottom.png");
}

.loot-bg-vip {
  background-image: url("../img/box-2-bottom.png");
}

.loot-bg-super {
  background-image: url("../img/box-3-bottom.png");
}

.loot-name {
  font-family: "Oswald", system-ui, sans-serif;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.loot-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.93;
}

.loot-features li + li {
  margin-top: 4px;
}

.loot-btn {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd880 0%, #f3a640 100%);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.45);
  font-size: 16px;
  font-weight: 700;
  color: #2c1a0b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

/* =========================================
   TWO COLUMNS: GUILDS + CHAT
   ========================================= */

.section-two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

/* guilds */

.guilds {
  background: var(--bg-card, #151820);
  border-radius: 28px;
  padding: 24px 32px 32px;
  width: 100%;
}

.guilds__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.guilds__title {
  font-family: "Manrope", system-ui, sans-serif;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.guilds__table {
  width: 100%;
  font-size: 13px;
}

.guilds__row {
  display: grid;
  grid-template-columns: 3fr 1.4fr 1.8fr 0.8fr;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.guilds__row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.guilds__row--head {
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.guilds__cell {
  font-family: "Manrope", system-ui, sans-serif;
  display: flex;
  align-items: center;
}

.guild-card {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guild-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.guild-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.guild-card__main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guild-card__name {
  font-size: 14px;
  font-weight: 600;
}

.guild-card__name--yellow { color: #ffcf70; }
.guild-card__name--green  { color: #63ff9a; }
.guild-card__name--orange { color: #ffb076; }

.guild-card__badge {
  margin-left: 8px;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  padding: 0 8px;
  background: radial-gradient(circle at 30% 10%, #ffe8b3, #f7a94f);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #1a1110;
}

.guild-trend {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.guild-trend::before {
  content: "↗";
  font-size: 11px;
}

.guild-trend--up   { color: #24c26a; }
.guild-trend--down { color: #ff6b6b; }

/* chat */

/* чат — фиксированный по высоте блок */
.chat-card {
  background: #161922;
  border-radius: 26px;
  padding: 20px 24px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;

  /* фиксированная высота чата */
  height: 600px; /* можешь подправить под макет */
}

/* внутри скроллим только сообщения */
.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;

  overflow-y: auto;
  overflow-x: hidden;
}


.chat-divider {
  font-family: "Manrope", system-ui, sans-serif;
  display: flex;
  justify-content: center;
  margin: 12px 0;

  /* делаем фиксацию внутри chat-body */
  position: sticky;
  top: 0;
  z-index: 5;

  /* фон, чтобы не просвечивали сообщения под ним */
  padding-top: 8px;
  padding-bottom: 4px;
  background: #161922;
}

.chat-divider span {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 14px;
  color: #c4cad6;
}


.chat-message {
  font-family: "Manrope", system-ui, sans-serif;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 16px 0 !important;
}

.chat-avatar img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
}

.chat-main {
  flex: 1 !important;
}

.chat-name {
  font-size: 15px !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

.chat-row {
  display: flex;
  align-items: flex-end !important;
  gap: 12px;
}

.chat-bubble {
  background: #2c3138 !important;
  color: #e4e4e4 !important;
  padding: 14px 18px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  flex: 1 1 auto !important;
  width: 100% !important;
}

.chat-time {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  color: #9aa0a6;
  white-space: nowrap !important;
  padding-bottom: 4px;
}

/* input */

.chat-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-input-wrap {
  font-size: 14px;
  flex: 1;
  background: #11131b;
  border-radius: 999px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-input {
  font-size: 16px;
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
}

.chat-input::placeholder {
  color: #7b8294;
}

.chat-input-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-icon-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #cfd5e5;
}

.chat-send-btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffba3a, #ff7b28);
  color: #151824;
  font-size: 16px;
}

/* =========================================
   WELCOME BLOCK
   ========================================= */

.welcome-hero {
  margin: 40px auto;
  padding: 24px var(--layout-gutter);
  background: #1a1d27;
  border-radius: 42px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.welcome-hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding-left: 30px;
}

.welcome-hero__title {
  font-family: "Oswald", sans-serif;
  margin: 0 0 24px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
}

.welcome-hero__p {
  max-width: 700px;
  color: #c6c9d4;
  line-height: 1.55;
  margin: 0 0 18px;
}

.welcome-hero__btn {
  margin-top: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(180deg, #ffa046 0%, #d67a26 100%);
  color: #000;
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.4),
    inset 0 4px 8px rgba(255, 255, 255, 0.32),
    inset 0 -4px 10px rgba(0, 0, 0, 0.22);
  transition: 0.2s ease;
}

.welcome-hero__btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.welcome-hero__image-frame {
  position: relative;
  border-radius: 40px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-hero__image-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  background: #171a23;
  border-radius: 34px;
  z-index: 1;
}

.welcome-hero__image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}

/* =========================================
   FOOTER
   ========================================= */

.footer {
  background: url("../img/footer.png") center/cover no-repeat;
  padding: 60px 40px;
  font-family: Arial, sans-serif;
  color: #fff;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-left {
  width: 35%;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}

.desc {
  margin: 20px 0;
  line-height: 1.5;
  max-width: 380px;
}

.footer-left h4 {
  margin-top: 25px;
  margin-bottom: 10px;
}

.socials a img {
  width: 28px;
  margin-right: 12px;
  opacity: 0.85;
  transition: 0.2s;
}

.socials a img:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links .col h4 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
}

.footer-links .col a {
  display: block;
  margin: 6px 0;
  font-size: 14px;
  opacity: 0.8;
  text-decoration: none;
  color: #fff;
  transition: 0.2s;
}

.footer-links .col a:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 25px;
  font-size: 12px;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-bottom .age {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-bottom .age span {
  background: #000;
  padding: 6px 10px;
  border-radius: 50px;
  font-weight: bold;
}

/* адаптив для футера */
@media (max-width: 900px) {
  .footer {
    padding: 40px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
  }

  .footer-left {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 24px;
  }
}


/* =========================================
   BUTTON
   ========================================= */

.btn {
  border-radius: 999px;
  border: none;
  padding: 12px 32px;  
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff8a3c, #ffc344);
  color: #2a1304;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.6);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.btn.small {
  padding: 5px 14px;
  font-size: 12px;
}

.btn.tiny {
  padding: 4px 10px;
  font-size: 11px;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.8);
  filter: brightness(1.04);
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* десктоп - адаптация hero для больших экранов */
@media (min-width: 1024px) {
  .hero {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .hero-inner,
  .hero-games-container,
  .hero-promos {
    padding-left: var(--layout-gutter);
    padding-right: var(--layout-gutter);
  }
}

/* планшет */
@media (max-width: 1100px) {
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-characters {
    margin-right: 0;
    top: 0;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-promos {
    grid-template-columns: 1fr;
  }

  .section-two-cols {
    grid-template-columns: 1fr;
  }

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

  .welcome-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .welcome-hero__image-frame {
    margin: 0 auto;
    max-width: 420px;
  }
}

/* мобильный до 700px */
@media (max-width: 700px) {
  .casino-root {
    flex-direction: column;
  }

  .casino-sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    padding-inline: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-inner,
  .hero-games-container,
  .hero-promos,
  .casino-header,
  .layout,
  .container,
  .section,
  .section--categories,
  .section-slots,
  .providers,
  .loot-section,
  .section-two-cols,
  .welcome-hero,
  .casino-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-characters {
    transform: scale(0.85);
    transform-origin: left bottom;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 20px;
  }

  .header-right-desktop {
    display: none !important;
  }

  .header-right-mobile {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  .header-right-mobile {
    display: none !important;
  }

  .header-right-desktop {
    display: flex !important;
    gap: 16px;
  }
}

/* Оптимизация для разрешения 1512 × 823 и близких
   (ОТКЛЮЧЕНО, чтобы 1512 × 823 выглядело как полноценный десктоп 1665px)
   Если понадобится вернуть особую компоновку — можно восстановить этот блок. */

/* Стили для header-circle как в index-mobile.html */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
  padding: 0;
}

.header-circle img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.header-circle--plus {
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-2);
  background: transparent;
}

.header-circle--badge {
  position: relative;
}

.header-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  padding: 0 4px;
  height: 18px;
  border-radius: 999px;
  background: #ff4d4f;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* Desktop Header Right Section Styles */
.header-user-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  transition: background 0.2s;
}

.header-user-profile:hover {
  background: rgba(255, 255, 255, 0.05);
}

.header-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  background: #ff8a3c;
}

.header-username-text {
  font-size: 14px;
  font-weight: 600;
  color: #ff8a3c;
  font-family: "Manrope", system, sans-serif;
}

.header-dropdown-icon {
  flex-shrink: 0;
  margin-left: 2px;
}

.header-separator {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.header-currency {
  display: flex;
  align-items: center;
  gap: 10px;
}

.currency-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.currency-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.currency-icon--coin {
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.currency-icon--gem {
  filter: drop-shadow(0 2px 4px rgba(0, 200, 83, 0.3));
}

.currency-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.currency-label {
  font-size: 10px;
  color: #9ca0b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-weight: 500;
}

.currency-name {
  font-size: 12px;
  color: #ff8a3c;
  font-weight: 600;
  line-height: 1.2;
  font-family: "Manrope", system, sans-serif;
}

.currency-value {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  flex-shrink: 0;
}

.header-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header-icon-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-icon-btn--badge .header-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #4A90E2;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 12px;
  min-width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.4);
}

.header-deposit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #ff8a3c, #ffc344);
  color: #2a1304;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(255, 138, 60, 0.35);
  white-space: nowrap;
  font-family: "Manrope", system, sans-serif;
}

.header-deposit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 138, 60, 0.5);
}

.header-deposit-btn svg {
  flex-shrink: 0;
}

.header-trophy {
  background: rgba(255, 255, 255, 0.06);
}

/* мобильная версия 375–480px (по макету) */
@media (max-width: 480px) {
  .casino-root {
    max-width: 430px;
    margin: 0 auto;
    flex-direction: column;
    background: transparent;
  }

  .casino-page {
    order: 1;
    margin-left: 0;
    padding: 12px 12px 24px;
  }

  .casino-sidebar {
    order: 2;
    display: none;
  }

  .sidebar-logo {
    display: none;
  }

  .sidebar-nav {
    display: none;
  }

  .sidebar-icon {
    display: none;
  }

  .sidebar-icon img {
    display: none;
  }

  .casino-header {
    padding-inline: 4px;
    margin-bottom: 10px;
  }

  .header-left {
    display: flex;
    align-items: center;
  }

  .header-logo {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 20% 0, #ffe7ba, #ff8a3c, #e94818);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.9);
    text-indent: -9999px;
  }

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

  .header-right-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .header-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
  }

  .header-circle img {
    width: 35px;
    height: 35px;
    object-fit: contain;
  }

  .header-circle--plus {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-2);
    background: transparent;
  }

  .header-circle--badge {
    position: relative;
  }

  .header-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #ff4d4f;
    font-size: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    width: 100%;
    margin: 4px 0 0;
    padding: 22px 16px 18px;
    border-radius: 28px;
    background:
      radial-gradient(circle at top, rgba(255, 196, 120, 0.55), transparent 58%),
      radial-gradient(circle at bottom, rgba(5, 7, 13, 1), rgba(5, 7, 13, 1)),
      url("../img/hero-bg.png") center/cover no-repeat;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
    overflow: hidden;
  }

  .hero-overlay {
    mix-blend-mode: multiply;
    background: linear-gradient(180deg, rgba(255, 188, 119, 0.3), rgba(5, 7, 12, 0.95));
  }

  .hero-inner {
    flex-direction: column;
    gap: 10px;
    position: relative;
  }

  .hero-left {
    padding-top: 0;
    max-width: 80%;
  }

  .hero-title {
    font-size: 20px;
    letter-spacing: 0.06em;
    line-height: 1.1;
  }

  .hero-title-accent {
    display: block;
    color: #ffc344;
  }

  .hero-tagline {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .hero-btn {
    margin-top: 0;
    padding: 9px 18px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .hero-characters {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 52%;
    transform: none;
    margin-top: 0;
    padding-right: 0;
    justify-content: center;
    gap: 4px;
  }

  .hero-character {
    max-height: 120px;
  }

  .hero-character--eagle {
    transform: translateY(-6px);
  }

  .hero-games-container {
    padding-left: 0;
    padding-right: 0;
    margin-top: 10px;
  }

  .hero-games-row {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-game-card {
    min-width: 96px;
    padding: 5px;
    border-radius: 18px;
    background: rgba(5, 7, 13, 0.96);
  }

  .hero-game-thumb {
    border-radius: 14px;
    margin-bottom: 4px;
  }

  .hero-game-meta {
    gap: 2px;
  }

  .hero-game-name {
    font-size: 11px;
  }

  .hero-game-currency {
    font-size: 10px;
    color: #a3a7c2;
  }

  .hero-promos {
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .promo-card {
    border-radius: 24px;
    padding: 14px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  }

  .promo-card--left {
    background: linear-gradient(150deg, #131621 0%, #05070c 80%);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .promo-title {
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .promo-title span {
    color: #ffc344;
  }

  .promo-btn {
    margin-top: 4px;
    padding: 7px 14px;
    font-size: 12px;
  }

  .promo-btn--light {
    background: #ffffff;
    color: #151822;
  }

  .promo-illustration,
  .promo-illustration--right {
    flex: 0 0 72px;
    height: 72px;
    border-radius: 18px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 60%);
  }

  .promo-progress {
    margin-top: 4px;
  }

  .promo-progress-header {
    font-size: 10px;
    color: #a3a7c2;
    margin-bottom: 2px;
  }

  .promo-progress-bar {
    height: 4px;
  }

  .promo-progress-fill {
    width: 80%;
  }

  .section {
    margin-top: 18px;
    padding-left: 0;
    padding-right: 0;
  }

  .section--categories {
    margin-top: 16px;
  }

  .section-header {
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 16px;
  }

  .section-right {
    display: flex;
    align-items: center;
  }

  .search-field {
    padding: 0;
    background: transparent;
  }

  .search-field input {
    width: 160px;
    border-radius: 999px;
    border: none;
    background: #151822;
    padding: 6px 10px;
    font-size: 11px;
    color: #ffffff;
  }

  .search-field input::placeholder {
    color: #a3a7c2;
  }

  .categories-row {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .category-chip {
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    background: #181b25;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #f4f4f4;
  }

  .category-chip .chip-icon {
    width: 18px;
    height: 18px;
  }

  .section-slots {
    margin-top: 18px;
    padding: 12px 0 4px;
    border-radius: 24px;
    background: transparent;
  }

  .slider-nav {
    gap: 6px;
    padding: 0;
    background: transparent;
  }

  .nav-btn {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #151822;
    position: relative;
  }

  .nav-btn::before {
    content: "";
    position: absolute;
    inset: 7px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    border-color: #fff;
    transform: rotate(-45deg);
  }

  .nav-btn--prev::before {
    transform: rotate(135deg);
  }

  .slots-row {
    margin-top: 8px;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .slot-card {
    min-width: 170px;
    border-radius: 18px;
  }

  .providers {
    margin-top: 12px;
    padding-left: 0;
    padding-right: 0;
  }

  .providers-row {
    gap: 8px;
  }

  .provider-card {
    min-width: 92px;
    border-radius: 16px;
    padding: 6px;
  }

  .loot-section {
    margin-top: 20px;
  }

  .loot-hero {
    padding: 14px 14px 10px;
    border-radius: 24px;
    background:
      radial-gradient(circle at top, rgba(255, 157, 73, 0.5), transparent 55%),
      #1d1217;
  }

  .loot-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .loot-title {
    font-size: 16px;
  }

  .loot-subtitle {
    font-size: 18px;
    color: #ffc344;
  }

  .loot-desc {
    font-size: 12px;
    color: #a3a7c2;
  }

  .loot-grid {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .loot-card {
    min-width: 190px;
    border-radius: 18px;
  }

  .loot-card-image {
    padding: 4px 10px 0;
    display: flex;
    align-items: flex-end;
  }

  .loot-card-image img {
    max-height: 92px;
  }

  .loot-card-body {
    padding: 8px 10px 10px;
    background: #1a1621;
  }

  .loot-name {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .loot-features {
    font-size: 11px;
    margin-bottom: 8px;
    color: #a3a7c2;
  }

  .loot-features li + li {
    margin-top: 2px;
  }

  .loot-btn {
    padding: 7px 10px;
    font-size: 12px;
    gap: 6px;
  }

  .loot-btn img {
    width: 16px;
  }

  .loot-bg-epic {
    background: linear-gradient(180deg, #31203a, #221629);
  }

  .loot-bg-vip {
    background: linear-gradient(180deg, #272840, #191a29);
  }

  .loot-bg-super {
    background: linear-gradient(180deg, #37251d, #241612);
  }

  .section-two-cols {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .guilds {
    border-radius: 20px;
    padding: 10px;
  }

  .guilds__header {
    margin-bottom: 8px;
  }

  .guilds__title {
    font-size: 15px;
  }

  .guilds__table {
    gap: 6px;
  }

  .guilds__row--head {
    display: none;
  }

  .guilds__row {
    border-radius: 14px;
    padding: 8px;
    background: #181b25;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guilds__cell {
    font-size: 11px;
  }

  .guilds__cell--guild {
    flex: 1.4;
  }

  .guilds__cell--trend,
  .guilds__cell--top,
  .guilds__cell--active {
    flex: 0.6;
    text-align: right;
  }

  .guild-card {
    gap: 6px;
  }

  .guild-card__avatar img {
    width: 26px;
    height: 26px;
    border-radius: 999px;
  }

  .guild-card__name {
    font-size: 11px;
  }

  .guild-card__badge {
    margin-left: 4px;
    padding: 2px 6px;
    border-radius: 999px;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .guild-trend--up {
    color: #7be7ab;
  }

  .chat-card {
    border-radius: 20px;
    padding: 10px;
  }

  .chat-header {
    margin-bottom: 6px;
  }

  .chat-body {
    max-height: 260px;
    padding-right: 2px;
    gap: 6px;
  }

  .chat-divider {
    font-size: 10px;
    color: #a3a7c2;
    position: static;
    padding: 0;
    background: transparent;
  }

  .chat-message {
    gap: 8px !important;
    padding: 0 !important;
  }

  .chat-avatar img {
    width: 28px !important;
    height: 28px !important;
  }

  .chat-name {
    font-size: 12px !important;
    margin-bottom: 2px !important;
  }

  .chat-row {
    gap: 6px;
  }

  .chat-bubble {
    border-radius: 12px;
    padding: 6px 8px !important;
    font-size: 11px !important;
  }

  .chat-time {
    font-size: 10px;
  }

  .chat-footer {
    margin-top: 6px;
    gap: 6px;
  }

  .chat-input-wrap {
    border-radius: 999px;
    padding-inline: 6px;
    background: #101320;
  }

  .chat-input {
    font-size: 11px;
    padding: 6px;
  }

  .chat-input::placeholder {
    color: #a3a7c2;
  }

  .chat-input-actions {
    gap: 4px;
  }

  .chat-icon-btn {
    font-size: 13px;
  }

  .chat-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
  }

  .welcome-hero {
    margin-top: 18px;
    border-radius: 22px;
    padding: 14px;
  }

  .welcome-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
  }

  .welcome-hero__title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .welcome-hero__p {
    font-size: 12px;
    margin-bottom: 6px;
    color: #a3a7c2;
  }

  .welcome-hero__btn {
    padding: 8px 16px;
    font-size: 12px;
    margin-top: 4px;
  }

  .welcome-hero__image-frame {
    margin: 0 auto;
    max-width: 220px;
  }

  .welcome-hero__image {
    width: 100%;
  }

  .footer {
    margin-top: 18px;
    padding: 16px 14px 26px;
    font-size: 11px;
    background:
      radial-gradient(circle at top, rgba(255, 196, 120, 0.55), transparent 58%),
      radial-gradient(circle at bottom, rgba(5, 7, 13, 1), rgba(5, 7, 13, 1)),
      url("../img/hero-bg.png") center/cover no-repeat;
  }

  .footer-content {
    flex-direction: column;
    gap: 14px;
  }

  .logo {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  .footer-left .desc {
    margin: 6px 0 8px;
  }

  .footer-left h4 {
    font-size: 12px;
    margin: 0 0 4px;
  }

  .socials {
    gap: 6px;
  }

  .socials a {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #181b25;
  }

  .socials img {
    width: 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-links .col h4 {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .footer-links .col a {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .footer-bottom {
    margin-top: 10px;
    font-size: 10px;
  }

  .footer-bottom .age {
    margin-top: 8px;
    gap: 6px;
  }

  .footer-bottom .age span {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* === FIXED SIDEBAR WITH INTERNAL SCROLL === */

.casino-root {
  display: flex;
}

.casino-sidebar {
  position: fixed;
  left: 0;
  top: 0;

  width: 88px;
  height: 100vh;

  background: #11141d;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;

  overflow-y: auto;
  overflow-x: hidden;

  z-index: 100;
}

/* основной контент сдвигаем вправо, делаем скролл-контейнером */
.casino-page {
  margin-left: 88px;
  height: 100vh;
  overflow-y: auto;
  max-width: none;
  background: radial-gradient(
    circle at top,
    rgba(255, 184, 103, 0.1),
    transparent 60%
  ),
  radial-gradient(
    circle at bottom,
    rgba(115, 199, 255, 0.08),
    transparent 60%
  ),
  #05070c;
}

/* === STICKY HEADER FOR GAMES PAGE === */
.casino-header.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: #000;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  /* переопределяем базовые стили для полной ширины */
  max-width: var(--layout-max-width);
  margin-left: auto;
  margin-right: auto;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 16px 24px !important;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* контент ниже header ограничиваем по ширине */
.games-content {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding-left: var(--layout-gutter);
  padding-right: var(--layout-gutter);
  padding-top: 16px;
  animation: fadeInContent 0.6s ease-out;
}

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

/* === BEAUTIFUL CARD STYLE FOR ALL SECTIONS === */

/* Секция категорий - темная карточка */
.section--categories {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #11141d 0%, #13151f 100%);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out 0.1s backwards;
}

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

.section--categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 138, 60, 0.03) 0%, 
    rgba(255, 195, 68, 0.03) 100%);
  pointer-events: none;
  border-radius: 28px;
}

.section--categories .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.section--categories .section-title {
  font-family: "Oswald", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Секции слотов - темные карточки */
.section-slots {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #11141d 0%, #13151f 100%);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9),
              0 0 0 1px rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.6s ease-out backwards;
}

.section-slots:nth-of-type(2) {
  animation-delay: 0.2s;
}

.section-slots:nth-of-type(3) {
  animation-delay: 0.3s;
}

.section-slots:nth-of-type(4) {
  animation-delay: 0.4s;
}

.section-slots::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 138, 60, 0.03) 0%, 
    rgba(255, 195, 68, 0.03) 100%);
  pointer-events: none;
  border-radius: 28px;
}

.section-slots .section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.section-slots .section-title {
  font-family: "Oswald", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Навигационные кнопки слайдера */
.section-slots .slider-nav {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.section-slots .nav-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 999px;
  border: none;
  background: #181b25;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 3;
}

.section-slots .nav-btn:hover {
  background: #21242f;
  transform: scale(1.05);
}

.section-slots .nav-btn:active {
  transform: scale(0.95);
}

.section-slots .nav-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-width: 0 2px 2px 0;
  border-style: solid;
  border-color: #ffffff;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: block;
  opacity: 1;
}

.section-slots .nav-btn--prev::before {
  transform: translate(-50%, -50%) rotate(135deg);
}

.section-slots .nav-btn:hover::before {
  border-color: #ffc344;
}

/* Ряд слотов с горизонтальным скроллом */
.section-slots .slots-row {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scroll-behavior: smooth;
}

.section-slots .slots-row::-webkit-scrollbar {
  height: 6px;
}

.section-slots .slots-row::-webkit-scrollbar-track {
  background: transparent;
}

.section-slots .slots-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.section-slots .slots-row::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Карточки слотов */
.section-slots .slot-card {
  min-width: 120px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  object-fit: cover;
}

.section-slots .slot-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 1), 
              0 0 0 2px rgba(255, 195, 68, 0.3);
}

/* Категории - обновленные стили */
.categories-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  scroll-behavior: smooth;
}

.categories-row::-webkit-scrollbar {
  height: 6px;
}

.categories-row::-webkit-scrollbar-track {
  background: transparent;
}

.categories-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #181b25;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover {
  background: #f4b423;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.category-chip.is-active {
  border: none;
  background: linear-gradient(135deg, #ff8a3c, #ffc344);
  color: #000;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(255, 138, 60, 0.4);
}

.category-chip.is-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 138, 60, 0.5);
}

.chip-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* адаптив для sticky header */
@media (max-width: 700px) {
  /* Фиксированные отступы для хедера с .topbar (все страницы кроме index.html) */
  .casino-header.topbar {
    padding: 12px 16px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  /* index.html использует .casino-header без .topbar, поэтому не затрагивается */
  .casino-header:not(.topbar) {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@media (max-width: 480px) {
  /* Фиксированные отступы для хедера с .topbar */
  .casino-header.topbar {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding: 12px 16px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  
  /* index.html использует .casino-header без .topbar */
  .casino-header:not(.topbar) {
    margin-left: -12px;
    margin-right: -12px;
    width: calc(100% + 24px);
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* === BOTTOM NAVIGATION (MOBILE) === */
.bottom-nav {
  display: none;
}

@media (max-width: 1000px) {
  /* Скрываем сайдбар на мобильных */
  .casino-sidebar {
    display: none !important;
  }

  /* Убираем отступ слева у основного контента */
  .casino-page {
    margin-left: 0;
    padding: 0 12px 10px;
    background: transparent;
  }

  /* Скрываем десктопные элементы топбара */
  .topbar-right {
    display: none !important;
  }

  /* Показываем мобильный топбар */
  .topbar-mobile {
    display: flex !important;
    width: 100%;
    justify-content: flex-end;
    gap: 10px;
  }

  /* Адаптация топбара для мобильных - фиксированные отступы для всех страниц кроме index.html */
  .casino-header.topbar {
    padding: 12px 16px !important;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .back-link {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    text-decoration: none;
    background: #d3d3d3;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .back-link:hover {
    background: #e0e0e0;
  }

  .back-link img {
    width: 14px;
    height: 14px;
    opacity: 0.8;
  }

  /* Мобильные круглые кнопки в топбаре */
  .topbar-mobile {
    display: flex !important;
    align-items: center;
    gap: 10px;
  }

  .circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.9);
  }

  .circle:hover {
    opacity: 0.8;
  }

  .circle img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .circle--plus {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-2);
    line-height: 1;
    background: transparent;
  }

  .circle--badge {
    position: relative;
  }

  .circle--badge span {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    padding: 0 4px;
    height: 20px;
    border-radius: 999px;
    background: #ff4d4f;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
  }

  /* Показываем нижнее меню */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: #1a1a1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    justify-content: space-around;
    gap: 4px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  }
  
  .bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    background: transparent;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    min-width: 0;
  }

  .bottom-btn img {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: all 0.2s ease;
    object-fit: contain;
  }

  .bottom-btn.is-active {
    color: #fff;
    background: linear-gradient(135deg, #ff8a3c, #ffc344);
  }

  .bottom-btn.is-active img {
    opacity: 1;
    filter: brightness(0) invert(1);
  }

  .bottom-btn:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.05);
    color: #d1d5db;
  }

  .bottom-btn:hover:not(.is-active) img {
    opacity: 0.9;
  }

  /* Контент игр с отступом для нижнего меню */
  .games-content {
    padding-bottom: 80px;
    max-width: 430px;
    margin: 0 auto;
  }

  /* Адаптация секции категорий - как карточка */
  .section--categories {
    margin-top: 20px;
    padding: 16px 18px;
    background: #11141d;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  }

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

  .section--categories .section-title {
    font-family: "Oswald", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .section--categories .section-right {
    margin-left: auto;
    width: auto;
    margin-top: 0;
  }

  /* Поисковое поле как маленькая круглая иконка */
  .section--categories .search-field {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    background: #05070c;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section--categories .search-field::before,
  .section--categories .search-field::after {
    display: none;
  }

  .section--categories .search-field .search-input {
    display: none;
  }

  .section--categories .search-field .search-icon {
    display: block;
    width: 18px;
    height: 18px;
  }

  /* Адаптация категорий */
  .categories-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }

  .categories-row::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    flex-shrink: 0;
    min-width: auto;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #181b25;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .category-chip:active {
    transform: scale(0.96);
  }

  .category-chip.is-active {
    border: none;
    background: linear-gradient(135deg, #ff8a3c, #ffc344);
    color: #000;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(255, 138, 60, 0.35);
  }

  .chip-icon {
    width: 18px;
    height: 18px;
  }

  /* Секции слотов как карточки */
  .section-slots {
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 16px 18px;
    background: #11141d;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.85);
  }

  .section-slots .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }

  .section-slots .section-title {
    font-family: "Oswald", system-ui, sans-serif;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .section-slots .slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .section-slots .nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: none;
    background: #181b25;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .section-slots .nav-btn:active {
    transform: scale(0.92);
  }

  .section-slots .nav-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-width: 0 2px 2px 0;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .section-slots .nav-btn--prev::before {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  /* Адаптация слотов */
  .slots-row {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
  }

  .slots-row::-webkit-scrollbar {
    display: none;
  }

  .slot-card {
    flex-shrink: 0;
    min-width: 140px;
    width: 140px;
    height: 180px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    transition: all 0.3s ease;
    object-fit: cover;
  }

  .slot-card:active {
    transform: scale(0.98);
  }

  /* Адаптация футера */
  .footer {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
    margin-top: 24px;
    border-radius: 0;
    padding: 32px 20px 90px;
    background-size: cover;
    background-position: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-links .col h4 {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .footer-links .col a {
    font-size: 11px;
    margin-bottom: 2px;
  }

  .footer-bottom {
    margin-top: 10px;
    font-size: 10px;
  }

  .footer-bottom .age {
    margin-top: 8px;
    gap: 6px;
  }

  .footer-bottom .age span {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Адаптация для маленьких мобильных */
@media (max-width: 480px) {
  /* Фиксированные отступы для хедера с .topbar (все страницы кроме index.html) */
  .casino-header.topbar {
    padding: 12px 16px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    max-width: 100%;
    width: 100%;
  }

  .back-link {
    font-size: 13px;
    padding: 7px 12px;
    gap: 5px;
  }

  .back-link img {
    width: 12px;
    height: 12px;
  }

  .circle {
    width: 36px;
    height: 36px;
  }

  .circle img {
    width: 20px;
    height: 20px;
  }

  .circle--plus {
    font-size: 20px;
  }

  .bottom-nav {
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 2px;
  }

  .bottom-btn {
    padding: 6px 2px;
    font-size: 10px;
    gap: 3px;
  }

  .bottom-btn img {
    width: 20px;
    height: 20px;
  }

  .slot-card {
    min-width: 140px;
    width: 140px;
    height: 180px;
    object-fit: cover;
  }

  .section--categories,
  .section-slots {
    padding: 14px 14px;
    border-radius: 20px;
  }

  .section--categories .section-title,
  .section-slots .section-title {
    font-size: 18px;
  }

  .category-chip {
    font-size: 12px;
    padding: 9px 14px;
  }

  .chip-icon {
    width: 16px;
    height: 16px;
  }

  .games-content {
    padding-left: 10px;
    padding-right: 10px;
  }
}
