* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, sans-serif;
}

body {
  background: #0c0f12;
  color: #fff;
}

.layout {
  display: flex;
}

/* SIDEBAR */
/* =========================
   SIDEBAR (как на скрине)
========================= */

.sidebar {
  width: 280px;
  min-height: 100vh;
  padding: 16px 14px;
  background:
    radial-gradient(1200px 800px at -200px 0px, rgba(92, 130, 255, 0.12) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, #12161b 0%, #12161b 100%);
  border-right: 1px solid rgba(255,255,255,0.04);
}

/* контейнер меню */
.side-menu {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Верхние пункты (строки) ---------- */
.side-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 12px;
  border-radius: 10px;

  text-decoration: none;
  color: rgba(226, 232, 240, 0.86);

  background: transparent;
  transition: background 160ms ease, transform 160ms ease;
}

.side-item:hover {
  background: rgba(255,255,255,0.04);
}

.side-item:active {
  transform: translateY(1px);
}

/* левая часть пункта */
.side-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* иконка слева — как “плитка” */
.side-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);

  font-size: 14px;
  line-height: 1;
  color: rgba(226, 232, 240, 0.85);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 0 0 rgba(0,0,0,0);
}

/* текст */
.side-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* стрелка справа у “Игровые автоматы” */
.side-caret {
  width: 26px;
  height: 26px;
  border-radius: 8px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: rgba(148, 163, 184, 0.85);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);

  transition: background 160ms ease, color 160ms ease;
}

.side-item:hover .side-caret {
  background: rgba(255,255,255,0.04);
  color: rgba(226,232,240,0.9);
}

/* ---------- Блок “плашек” снизу ---------- */
.side-cards {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* каждая карточка-плашка */
.side-card-item {
  height: 48px;
  display: flex;
  align-items: center;

  padding: 0 12px;
  border-radius: 12px;

  text-decoration: none;
  color: rgba(226, 232, 240, 0.92);

  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.035) 100%);
  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 10px 22px rgba(0,0,0,0.28);

  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

.side-card-item:hover {
  transform: translateY(-1px);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.045) 100%);
  border: 1px solid rgba(255,255,255,0.08);
}

.side-card-item:active {
  transform: translateY(0px);
}

/* левая часть карточки */
.side-card-item__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* иконки в карточках — чуть ярче, чем в верхних пунктах */
.side-card-item .side-icon {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(226,232,240,0.95);
}

/* Дополнительно: чтобы список выглядел плотнее как на скрине */
.side-menu a,
.side-cards a {
  user-select: none;
}


.logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.sidebar-buttons {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}

.side-card {
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.purple { background: linear-gradient(45deg,#7c3aed,#9333ea); }
.green { background: linear-gradient(45deg,#16a34a,#22c55e); }
.orange { background: linear-gradient(45deg,#f97316,#fb923c); }
.blue { background: linear-gradient(45deg,#3b82f6,#60a5fa); }

.side-menu a {
  display: block;
  padding: 10px;
  color: #9ca3af;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}

.side-menu a:hover {
  background: #1f2937;
  color: #fff;
}

/* MAIN */
.main {
  flex: 1;
  padding: 20px 40px;
}

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.topbar nav a {
  margin-right: 25px;
  cursor: pointer;
  color: #9ca3af;
}

.topbar nav a.active {
  color: #fbbf24;
}

.btn-login {
  background-color: #005fdb;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
}

/* =========================
   HERO BANNERS (3 баннера как на скрине)
========================= */

.hero-banners {
  height: 429px;                 /* ВАЖНО: фиксированная высота */
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.banner {
  position: relative;
  display: block;
  height: 100%;                  /* растягиваем на высоту ряда */
  border-radius: 18px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.55);
}

/* медиа на всю карточку */
.banner-media {
  position: absolute;
  inset: 0;
}

.banner-video,
.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;            /* КЛЮЧ: изображение/видео влезает и кропается красиво */
  object-position: center;      /* можно менять, если надо "сдвинуть" кадр */
  display: block;
}

/* градиент/оверлей для текста на первом баннере */
.banner--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 75%);
  pointer-events: none;
}

.banner-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.banner-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: rgba(226,232,240,0.95);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.2px;
}

.banner-title {
  font-size: 30px;
  line-height: 1.05;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 10px 25px rgba(0,0,0,0.65);
}
.banner-overlay a,
.banner-title,
.banner-title a {
  text-decoration: none !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 640px) {
  .hero-banners {
    height: auto;                 /* на мобилке без фикс высоты 429 */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 110px; /* пропорции как на скрине */
    gap: 12px;
  }

  /* большой баннер занимает всю первую строку */
  .banner--main {
    grid-column: 1 / -1;
    height: 190px;
  }

  /* нижние два баннера */
  .banner--small {
    height: 175px;
  }

  /* чтобы медиа всегда красиво кропалось */
  .banner-video,
  .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


/* SEARCH */
.search-section {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.search-section input {
  flex: 1;
  padding: 12px;
  background: #1f2937;
  border: none;
  border-radius: 8px;
  color: #fff;
}

.providers-select {
  padding: 12px 20px;
  background: #1f2937;
  border-radius: 8px;
}

/* FILTERS */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filters button {
  background: #1f2937;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  color: #9ca3af;
  cursor: pointer;
}

.filters button.active {
  background: #334155;
  color: #fff;
}

/* GAMES */
.games h2 {
  margin-bottom: 20px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.game-card {
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.game-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.game-info {
  padding: 12px;
}

.game-info span {
  font-size: 12px;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .sidebar { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .games-grid { grid-template-columns: 1fr; }
}
/* =========================
   SECTION HEADER
========================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
}

.section-header h2 {
  font-size: 20px;
}

/* =========================
   QUICK GAMES
========================= */
.quick-games-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.quick-card {
  min-width: 260px;
  background: #111827;
  border-radius: 12px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
}

.quick-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

.quick-info {
  padding: 10px;
}

.quick-info span {
  font-size: 12px;
  color: #9ca3af;
}

/* =========================
   PROVIDERS
========================= */
.providers-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.provider-card {
  min-width: 220px;
  height: 100px;
  background: #1f2937;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-weight: 600;
  transition: 0.3s;
}

.provider-card:hover {
  background: #273449;
  color: #fff;
}
@media (max-width: 1400px) {
  .games-grid,
  .quick-games-row,
  .providers-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .games-grid,
  .quick-games-row,
  .providers-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .games-grid,
  .quick-games-row,
  .providers-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .games-grid,
  .quick-games-row,
  .providers-row {
    grid-template-columns: 1fr;
  }
}
/* ===== Quick cards unified (как Быстрые игры) ===== */

.quick-games--same {
  margin-top: 34px;
}

.quick-games-row--grid5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.quick-card {
  position: relative;
  background: #0f172a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.quick-thumb {
  position: relative;
  height: 150px;               /* как на Быстрых играх */
  background: #111827;
}

.quick-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NEW badge */
.quick-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.4px;
  background: #22c55e;
  color: #08110f;
  box-shadow: 0 8px 18px rgba(34,197,94,0.25);
}

/* Meta like Быстрые игры */
.quick-info {
  padding: 10px 12px 14px;
}

.quick-info span {
  font-size: 12px;
  color: rgba(148,163,184,0.85);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

.quick-info h3 {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255,255,255,0.93);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* status dot bottom-right */
.quick-dot {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(15,23,42,0.95);
}

.quick-dot--green { background: #22c55e; }
.quick-dot--orange { background: #f59e0b; }
.quick-dot--red { background: #ef4444; }

/* ===== Responsive grid ===== */
@media (max-width: 1400px) {
  .quick-games-row--grid5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1100px) {
  .quick-games-row--grid5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .quick-games-row--grid5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .quick-games-row--grid5 { grid-template-columns: 1fr; }
}
/* =========================
   PROMO TILES (как на скрине)
========================= */

.promo-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 18px;
}

.promo-tile {
  height: 78px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  text-decoration: none;
  color: #fff;

  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);

  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.promo-tile:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 22px 52px rgba(0,0,0,0.33);
}

.promo-ico {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.promo-ico img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.promo-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1px;
  text-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Цвета как на скрине */
.promo-tile--purple {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.promo-tile--green {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
}

.promo-tile--orange {
  background: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
}

.promo-tile--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

/* Если сайдбар узкий — уменьшаем плитки */
@media (max-width: 420px) {
  .promo-tile {
    height: 74px;
  }
}
/* Сайдбар всегда виден при прокрутке */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;          /* занимает высоту экрана */
  overflow: hidden;       /* чтобы не было двойного скролла */
}

/* Внутри сайдбара прокручивается только меню/контент */
.sidebar-scroll {
  height: 100%;
  overflow-y: auto;
  padding-bottom: 16px;
}

/* красивый скроллбар (опционально) */
.sidebar-scroll::-webkit-scrollbar {
  width: 6px;
}
.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
}
/* фикс горизонтального скролла после sidebar-scroll */
.sidebar,
.sidebar-scroll {
  max-width: 100%;
  overflow-x: hidden;
}

.sidebar-scroll * {
  max-width: 100%;
}
@media (max-width: 992px) {
  .sidebar { display: none; }
  .main { margin-left: 0; }
}

.main {
  max-width: 1920px;     /* основной дизайн под Full HD */
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}
/* Ultrawide: НЕ режем баннеры */
@media (min-width: 2400px) {
  .hero-banners {
    width: 100%;
    height: 460px; /* чуть ниже, чтобы композиция смотрелась */
  }

  .banner-video,
  .banner-img {
    object-fit: cover;         /* ключ: без обрезания */
  }
}
/* 21:9 и шире */
@media (min-width: 2560px) and (min-aspect-ratio: 21/10) {
  .hero-banners {
    height: 460px;
    width: 100%;
  }

  .banner-video,
  .banner-img {
    object-fit: cover;
  }
}
@media (min-width: 2200px) {
  .main {
    max-width: 2000px; /* чуть шире FullHD, но не на весь экран */
  }
}
/* =========================
   SEO TEXT BLOCK
========================= */

.seo-block {
  margin-top: 70px;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.seo-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.seo-title h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  color: #ffffff;
}

.seo-block p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(226,232,240,0.85);
  margin-bottom: 18px;
}

.seo-subtitle h2 {
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.seo-subtitle_h3 h3 {
  margin-top: 40px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.seo-block h1{ margin-top: 8px;  margin-bottom: 14px; }
.seo-block h2{ margin-top: 22px; margin-bottom: 12px; }
.seo-block h3{ margin-top: 18px; margin-bottom: 10px; }
.seo-block p{  margin-top: 0;   margin-bottom: 12px; }
.seo-block ul,
.seo-block ol{ margin-top: 8px; margin-bottom: 14px; }
/* =========================
   PREMIUM TABLE STYLE
========================= */

.table-wrap{
  display: flex;
  justify-content: center; /* центрируем таблицу */
  margin: 18px 0;
}

.table-wrap table{
  border-collapse: collapse;
  width: min(920px, 100%);  /* аккуратно по ширине */
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.35); /* внешняя рамка */
  border-radius: 12px;
  overflow: hidden;
}

.table-wrap th,
.table-wrap td{
  border: 1px solid rgba(255,255,255,0.28); /* сетка */
  padding: 12px 14px;
  vertical-align: top;
}

.table-wrap th{
  color: #fff;
  font-weight: 900;
  background: rgba(255,255,255,0.04);
}

.table-wrap td{
  color: rgba(255,255,255,0.9);
}
/* ===== Typography spacing ===== */
.content h1,
.content h2,
.content h3,
.content p,
.content ul,
.content ol{
  margin-left: 6px;
  margin-right: 6px;
}

.content h1{ margin-top: 8px;  margin-bottom: 14px; }
.content h2{ margin-top: 22px; margin-bottom: 12px; }
.content h3{ margin-top: 18px; margin-bottom: 10px; }
.content p{  margin-top: 0;   margin-bottom: 12px; }
.content ul,
.content ol{ margin-top: 8px; margin-bottom: 14px; }

/* Общий контейнер таблицы */
.responsive-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;

  background:
    linear-gradient(145deg, rgba(124,58,237,0.05), rgba(59,130,246,0.03)),
    #0f172a;

  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
}

/* Ячейки */
.responsive-table td {
  padding: 18px 24px;
  font-size: 14px;
  color: rgba(226,232,240,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s ease;
}

/* Первая строка (заголовок таблицы) */
.responsive-table tr:first-child td {
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;

  background:
    linear-gradient(90deg,
      rgba(124,58,237,0.15),
      rgba(59,130,246,0.12)
    );

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Последняя строка */
.responsive-table tr:last-child td {
  border-bottom: none;
}

/* Hover эффект */
.responsive-table tr:not(:first-child):hover td {
  background: rgba(124,58,237,0.06);
}

/* Левая колонка чуть светлее */
.responsive-table td:first-child {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  width: 40%;
}

/* Правая колонка */
.responsive-table td:last-child {
  text-align: left;
  color: rgba(226,232,240,0.85);
}

/* Скругление углов */
.responsive-table tr:first-child td:first-child {
  border-top-left-radius: 18px;
}

.responsive-table tr:first-child td:last-child {
  border-top-right-radius: 18px;
}

.responsive-table tr:last-child td:first-child {
  border-bottom-left-radius: 18px;
}

.responsive-table tr:last-child td:last-child {
  border-bottom-right-radius: 18px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .responsive-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

}
/* =========================
   AUTH BUTTONS (рядом + адаптив)
========================= */

.nav-mini{
  display:flex;
  align-items:right;
  gap:10px;
  min-width:0;
}

/* группа кнопок справа */
.auth{
  display:flex;
  align-items:right;
  gap:10px;
  margin-left:auto;        /* уводит группу вправо */
  flex:0 0 auto;
}

/* чтобы кнопки не растягивались на всю строку */
.auth .btn{
  flex:0 0 auto;
  white-space:nowrap;
}

/* Mobile: прячем пункты меню, оставляем группу кнопок справа */
@media (max-width: 640px){
  .nav-link--desktop{ display:none; }

  .auth{
    gap:8px;
  }

  .auth .btn{
    height:30px;
    padding:0 10px;
    font-size:11px;
    border-radius:10px;
  }
}

/* Очень узкие экраны (320px) — ещё компактнее, но рядом */
@media (max-width: 360px){
  .auth{ gap:6px; }
  .auth .btn{
    height:28px;
    padding:8px 8px;
    font-size:10.5px;
  }
}
@media (max-width: 640px){
  .auth{
    flex-direction:column;
    align-items:flex-end;   /* выравнивание вправо */
  }

  .auth .btn{
    width:auto;
    min-width:120px;
  }
}
/*фикс скролла горизонтального*/

/* ===== FIX: запрет раздувания grid-элементов ===== */
.quick-card,
.provider-card {
  min-width: 0 !important;   /* убираем принудительную ширину */
  width: 100%;
}

/* ===== FIX: адаптивные сетки без переполнения ===== */
.quick-games-row,
.providers-row {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
}

/* для совсем узких экранов */
@media (max-width: 420px) {
  .quick-games-row,
  .providers-row {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 600px) {
  .main {
    padding: 16px 14px;
  }
}
/* Мобилка: быстрые игры в 1 колонку (как было) */
@media (max-width: 768px) {
  .quick-games-row {
    grid-template-columns: 1fr !important;
  }
}

/* Если хочешь: на планшетах 2 колонки, на телефонах 1 */
@media (max-width: 480px) {
  .quick-games-row {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .quick-games-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
.quick-card { min-width: 0 !important; width: 100%; }
@media (max-width: 420px) {
  .quick-games-row { grid-template-columns: 1fr !important; }
}
/* =========================
   FOOTER v2 (поновее, в твоей гамме)
========================= */

.site-footer.footer-v2{
  margin-top: 60px;
}

.footer-v2__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 20px 46px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 42px;
  align-items: start;
}

/* лёгкая “карточка” внутри футера */
.footer-v2__inner{
  position: relative;
}

.footer-v2__inner::before{
  content:"";
  position:absolute;
  inset: -10px -10px -10px -10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  pointer-events:none;
}

/* колонки поверх псевдо-слоя */
.footer-v2__brand,
.footer-v2__col{
  position: relative;
  z-index: 1;
}

.footer-v2__logo{
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.92);
}

.footer-v2__desc{
  margin-top: 10px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(226,232,240,0.70);
}

.footer-v2__chips{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-chip{
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(226,232,240,0.86);
}

.footer-chip--blue{
  background: rgba(59,130,246,0.14);
  border-color: rgba(59,130,246,0.22);
}
.footer-chip--purple{
  background: rgba(124,58,237,0.14);
  border-color: rgba(124,58,237,0.22);
}
.footer-chip--green{
  background: rgba(34,197,94,0.14);
  border-color: rgba(34,197,94,0.22);
}

.footer-v2__copy{
  margin-top: 18px;
  font-size: 12px;
  color: rgba(148,163,184,0.75);
}

.footer-v2__title{
  font-size: 12px;
  font-weight: 900;
  color: rgba(226,232,240,0.82);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.footer-v2__links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-v2__links a{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 13px;
  font-weight: 700;
  color: rgba(226,232,240,0.70);
  text-decoration: none;

  padding: 6px 0;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-v2__links a:hover{
  color: rgba(255,255,255,0.92);
  transform: translateX(2px);
}

.footer-v2__links--muted a{
  color: rgba(226,232,240,0.62);
  font-weight: 650;
}

.footer-v2__divider{
  margin: 14px 0 10px;
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* RESPONSIVE */
@media (max-width: 900px){
  .footer-v2__inner{
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }
  .footer-v2__desc{ max-width: 100%; }
}

@media (max-width: 560px){
  .footer-v2__inner{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 16px 34px;
  }

  .footer-v2__inner::before{
    inset: -8px;
  }

  .footer-v2__links a{
    padding: 5px 0;
  }
}
