/* Base styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #104221 0, #050708 50%, #020304 100%);
  color: #f5f7fa;
  font-size: 18px;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* Layout containers */
.header {
  padding: 0 24px;
  position: relative;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  background: radial-gradient(circle at top left, rgba(18, 54, 30, 0.98), rgba(2, 5, 6, 0.98));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(18px);
  z-index: 100;
  box-sizing: border-box;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hamburger: hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #e5ecf5;
  border-radius: 1px;
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.header.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.header.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #e5ecf5;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header-right {
  display: flex;
  align-items: center;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Overlay for mobile menu */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

/* Responsive: tablet and below — hamburger + drawer nav */
@media (max-width: 992px) {
  .header {
    padding: 0 12px;
  }

  .header-top {
    top: 8px;
    padding: 12px 16px;
    border-radius: 14px;
  }

  .nav-toggle {
    display: flex;
    order: 1;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 100%);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 80px 24px 24px;
    background: radial-gradient(circle at top right, rgba(18, 54, 30, 0.99), rgba(2, 5, 6, 0.99));
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
    z-index: 95;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header.is-open .main-nav {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 17px;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .nav-overlay {
    display: block;
  }

  .header.is-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .header-top {
    top: 8px;
    padding: 10px 12px;
  }

  .header-controls .btn {
    padding: 10px 16px;
    font-size: 15px;
  }

  .logo-img {
    max-height: 36px;
    width: auto;
  }
}

/* Хедер при 580px: уменьшенные кнопки Вход/Регистрация */
@media (max-width: 580px) {
  .header-top {
    padding: 8px 10px;
    gap: 10px;
  }

  .header-controls .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .header-controls {
    gap: 6px;
  }

  .logo-img {
    max-height: 32px;
    width: auto;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 14px 26px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn-ghost {
  background: transparent;
  color: #e5ecf5;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-accent {
  background: linear-gradient(135deg, #35f46c, #1ba84b);
  color: #041108;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(46, 220, 98, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #31f26f, #19a146);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  color: #f5f7fa;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.5);
}

a.btn {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-sizing: border-box;
}

/* Hero */
.hero {
  margin-top: 0;
  margin-bottom: 24px;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 16px;
}

.hero-banner {
  position: relative;
  min-height: 280px;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: stretch;
}

.hero-banner-link {
  text-decoration: none;
  color: inherit;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-banner-bonus {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.35;
}

.hero-bonus-title {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.hero-bonus-value {
  font-size: 32px;
  font-weight: 700;
  color: #b8e6c4;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

.hero-bonus-desc {
  font-size: 20px;
  font-weight: 700;
  color: #a8dfb8;
  margin: 0;
  text-transform: uppercase;
}

.hero-btn-reg {
  margin-top: 4px;
  padding: 14px 28px;
  font-size: 17px;
  align-self: flex-start;
}

.hero-banner-pers {
  position: absolute;
  bottom: 0;
  right: 12%;
  height: 100%;
  width: auto;
  max-width: 45%;
  object-fit: contain;
  object-position: bottom right;
  pointer-events: none;
}

.hero-info {
  position: relative;
  overflow: visible;
  min-width: 0;
  background: radial-gradient(circle at top left, #1e6c3b, #050708);
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  justify-content: center;
}

.hero-info-stats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-info-corner-img {
  position: absolute;
  top: 12px;
  right: -14%;
  height: 75%;
  width: auto;
  max-width: 55%;
  max-height: 200px;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 1435px) {
  .hero-info-corner-img {
    display: none;
  }
}

/* Hero — планшет: сужаем правую колонку, уменьшаем контент */
@media (max-width: 1100px) {
  .hero-banner-bonus {
    left: 20px;
  }

  .hero-bonus-title { font-size: 18px; }
  .hero-bonus-value { font-size: 28px; }
  .hero-bonus-desc { font-size: 17px; }
  .hero-btn-reg { padding: 12px 22px; font-size: 15px; }

  .hero-info {
    padding: 20px 22px;
    gap: 14px;
  }

  .hero-stat .stat-label { font-size: 16px; }
  .hero-stat .stat-value { font-size: 22px; }
  .hero-info .stat-icon { font-size: 26px; }

  .hero-info-corner-img {
    top: 10px;
    right: -10%;
    max-width: 50%;
    height: 70%;
    max-height: 180px;
  }
}

/* Hero — один столбец, блок статистики сверху */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-info {
    order: -1;
    overflow: visible;
    min-height: 160px;
    padding: 16px 18px;
  }

  .hero-info-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
  }

  .hero-stat {
    gap: 2px 10px;
  }

  .hero-stat .stat-label {
    font-size: 13px;
  }

  .hero-stat .stat-value {
    font-size: 18px;
  }

  .hero-info .stat-icon {
    font-size: 22px;
  }

  .hero-info-corner-img {
    top: 8px;
    right: -10%;
    max-width: 38%;
    height: 70%;
    max-height: 140px;
  }

  .hero-banner {
    min-height: 240px;
  }
}

/* Hero-info при 583px: статистика в один столбец */
@media (max-width: 583px) {
  .hero-info-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-stat .stat-label {
    font-size: 12px;
  }

  .hero-stat .stat-value {
    font-size: 16px;
  }

  .hero-info .stat-icon {
    font-size: 20px;
  }

  .hero-stat {
    gap: 2px 8px;
  }

  .hero-info {
    padding: 12px 14px;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .hero-banner-bonus {
    left: 16px;
  }

  .hero-bonus-title { font-size: 16px; }
  .hero-bonus-value { font-size: 24px; }
  .hero-bonus-desc { font-size: 15px; }
  .hero-btn-reg { padding: 10px 18px; font-size: 14px; }

  .hero-banner-pers {
    bottom: 0;
    right: 8%;
    max-width: 40%;
    object-position: bottom right;
  }

  .hero-info {
    padding: 14px 16px;
    gap: 10px;
    min-height: 140px;
  }

  .hero-stat .stat-label { font-size: 14px; }
  .hero-stat .stat-value { font-size: 20px; }
  .hero-info .stat-icon { font-size: 22px; }
  .hero-stat { gap: 4px 10px; }

  .hero-info-corner-img {
    top: 6px;
    right: -8%;
    height: 65%;
    max-width: 35%;
    max-height: 120px;
  }

  .hero-banner { min-height: 200px; }
}

@media (max-width: 480px) {
  .hero-banner-bonus {
    left: 12px;
    gap: 6px;
  }

  .hero-bonus-title { font-size: 14px; }
  .hero-bonus-value { font-size: 20px; }
  .hero-bonus-desc { font-size: 13px; }
  .hero-btn-reg { padding: 8px 14px; font-size: 13px; }

  .hero-info {
    padding: 12px 14px;
    gap: 8px;
    min-height: 120px;
  }

  .hero-stat .stat-label { font-size: 13px; }
  .hero-stat .stat-value { font-size: 18px; }
  .hero-info .stat-icon { font-size: 20px; }

  .hero-info-corner-img {
    top: 6px;
    right: -6%;
    max-width: 30%;
    height: 60%;
    max-height: 100px;
  }

  .hero-banner { min-height: 180px; }
}

.hero-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 14px;
  align-items: baseline;
}

.hero-stat .stat-icon {
  grid-row: 1 / -1;
  grid-column: 1;
  align-self: center;
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

.hero-stat .stat-label {
  grid-column: 2;
  grid-row: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-stat .stat-value {
  grid-column: 2;
  grid-row: 2;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  word-break: break-word;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.06);
}

.hero-info .stat-icon {
  font-size: 30px;
}

.stat-label {
  color: #9aa3b1;
}

.stat-value {
  font-weight: 600;
}

.hero-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Sections */
.main {
  flex: 1;
  padding: 120px 60px 84px;
}

@media (min-width: 1440px) {
  .header,
  .main {
    max-width: 1520px;
    margin: 0 auto;
  }
}

.section {
  margin-top: 54px;
  background: rgba(6, 10, 11, 0.96);
  border-radius: 32px;
  padding: 46px 46px 48px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.section:first-of-type {
  margin-top: 0;
}

/* Меньше отступ сверху/снизу от контента до рамки */
#all-games,
#games-month,
#popular,
#live-casino,
#quests,
#jackpots,
#promo,
#howto,
.sponsors-section {
  padding-top: 24px;
  padding-bottom: 24px;
}


.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  margin: 0;
}

.section-link {
  font-size: 18px;
  color: #2adb63;
}

.section-link:hover {
  text-decoration: underline;
}

/* Отступ между основным блоком слотов и блоком «Показать все» как между слотами */
#all-games-more {
  margin-top: 24px;
}

.section-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

/* Game cards */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.games-grid.games-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.games-grid.games-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.game-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-card.horizontal {
  flex: 1;
}

.game-thumb {
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

a.game-thumb {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Размер слота под размер картинки */
.game-thumb img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Подпись под картинкой только там, где нет картинки (квесты, джекпоты и т.д.) */
#all-games .game-title,
#games-month .game-title,
#popular .game-title {
  display: none;
}

.game-title {
  font-size: 18px;
  color: #dde3ee;
}

.games-row {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.games-row .game-card {
  min-width: 260px;
  flex: 1 1 0;
}

.games-row .game-thumb {
  height: 200px;
}

/* Hover overlay with play icon */
.game-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.game-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.game-overlay-label {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Зелёный круг и белый треугольник (play) */
.game-play-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #35f46c, #1ba84b);
  box-shadow: 0 0 14px rgba(53, 244, 108, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-play-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #ffffff;
  margin-left: 3px;
}

/* Live Casino: кнопка play больше + надпись «Испытать удачу» */
.live-overlay {
  align-items: center;
  justify-content: center;
}

.live-overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.game-play-icon--live {
  width: 80px;
  height: 80px;
  box-shadow: 0 0 20px rgba(53, 244, 108, 0.5);
}

.game-play-icon--live::before {
  border-top-width: 14px;
  border-bottom-width: 14px;
  border-left-width: 22px;
  margin-left: 5px;
}

.live-overlay-label {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.game-card:hover .game-overlay,
.live-card:hover .game-overlay {
  opacity: 1;
}

/* Live & promo */
.live-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.live-card {
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

a.live-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.live-card img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Затемнение внизу слота + логотип провайдера */
.live-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.5) 50%, transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 220px;
  pointer-events: none;
}

.live-card-logo {
  max-height: 200px;
  max-width: 280px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1.05);
}

/* Как начать играть? — 5 шагов со стрелками */
.howto-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* Расстояние между рядом картинок, подписей и кнопок */
.howto-steps-scroll-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.howto-steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  width: 100%;
}

/* Ряд картинок: стрелки по центру высоты картинок */
.howto-steps-row--images {
  align-items: center;
}

.howto-steps-row--images .howto-step {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  min-width: 100px;
}

/* Градиент: по бокам, сверху и снизу — цвет контейнера, в центре — зелёный */
.howto-step-img {
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  width: 100%;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, #1a5c2e 0%, #0f3d1f 45%, rgba(6, 10, 11, 0.96) 100%);
  padding: 12px;
  box-sizing: border-box;
}

.howto-step-img img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  border-radius: 8px;
}

/* Первая картинка яркая, остальные тусклее */
.howto-step:not(.howto-step--active) .howto-step-img img {
  opacity: 0.5;
  filter: saturate(0.7);
}

/* Подписи и кнопки — те же пропорции, что и слоты с картинками */
.howto-steps-row--captions,
.howto-steps-row--buttons {
  max-width: 100%;
}

.howto-steps-row--captions .howto-step-caption {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  min-width: 100px;
}

.howto-steps-row--buttons .howto-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  min-width: 100px;
}

.howto-step-caption {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}

.howto-arrow-spacer {
  flex: 0 0 auto;
  width: 40px;
  height: 1px;
}

/* Стрелка по центру картинки (в ряду картинок) */
.howto-arrow {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  margin: 0 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2335f46c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.9;
}

.howto-btn {
  padding: 10px 16px;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  max-width: 140px;
  margin: 0 auto;
  display: block;
}

.howto-steps-row--buttons .howto-btn:first-of-type {
  background: linear-gradient(135deg, #35f46c, #1ba84b);
  color: #041108;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(53, 244, 108, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.howto-steps-row--buttons .howto-btn:first-of-type:hover {
  background: linear-gradient(135deg, #4aff7a, #22c954);
  box-shadow: 0 0 20px rgba(53, 244, 108, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.howto-steps-row--buttons .howto-btn[disabled] {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  cursor: not-allowed;
  font-weight: 500;
  pointer-events: none;
}

/* Как начать играть? — от 885px: один общий ползунок на весь блок */
@media (max-width: 885px) {
  #howto.section {
    padding-left: 20px;
    padding-right: 20px;
  }

  #howto .howto-steps {
    gap: 0;
    align-items: stretch;
  }

  #howto .howto-steps-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    margin-left: -4px;
    margin-right: -4px;
    padding-left: 4px;
    padding-right: 4px;
    scrollbar-width: thin;
  }

  #howto .howto-steps-scroll::-webkit-scrollbar {
    height: 6px;
  }

  #howto .howto-steps-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
  }

  #howto .howto-steps-scroll-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: max-content;
    min-width: 100%;
  }

  #howto .howto-steps-row {
    flex-wrap: nowrap;
    overflow: visible;
    justify-content: flex-start;
  }

  #howto .howto-steps-row--images .howto-step {
    flex: 0 0 120px;
    min-width: 120px;
    max-width: 120px;
  }

  #howto .howto-steps-row--captions .howto-step-caption {
    flex: 0 0 120px;
    min-width: 120px;
    max-width: 120px;
    font-size: 12px;
    padding: 0 2px;
  }

  #howto .howto-steps-row--buttons .howto-btn {
    flex: 0 0 120px;
    min-width: 120px;
    max-width: 120px;
    padding: 8px 10px;
    font-size: 13px;
  }

  #howto .howto-arrow {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0 2px;
  }

  #howto .howto-arrow-spacer {
    flex: 0 0 24px;
    width: 24px;
  }

  #howto .howto-step-img {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  #howto .howto-steps-row--images .howto-step {
    flex: 0 0 100px;
    min-width: 100px;
    max-width: 100px;
  }

  #howto .howto-steps-row--captions .howto-step-caption {
    flex: 0 0 100px;
    min-width: 100px;
    max-width: 100px;
  }

  #howto .howto-steps-row--buttons .howto-btn {
    flex: 0 0 100px;
    min-width: 100px;
    max-width: 100px;
  }

  #howto .howto-arrow,
  #howto .howto-arrow-spacer {
    flex: 0 0 20px;
    width: 20px;
  }

  #howto .howto-step-img {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  #howto .howto-steps-row--images .howto-step {
    flex: 0 0 88px;
    min-width: 88px;
    max-width: 88px;
  }

  #howto .howto-steps-row--captions .howto-step-caption {
    flex: 0 0 88px;
    min-width: 88px;
    max-width: 88px;
    font-size: 11px;
  }

  #howto .howto-steps-row--buttons .howto-btn {
    flex: 0 0 88px;
    min-width: 88px;
    max-width: 88px;
  }

  #howto .howto-arrow,
  #howto .howto-arrow-spacer {
    flex: 0 0 16px;
    width: 16px;
  }
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.promo-card {
  height: 260px;
  border-radius: 16px;
}

/* Quests & Jackpots */
/* Квесты: бесконечный слайдер без рамок и кнопок */
.quest-slider {
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.quest-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  animation: quest-slide 90s linear infinite;
}

.quest-slide {
  flex: 0 0 auto;
  width: 200px;
  line-height: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

a.quest-slide {
  display: block;
  text-decoration: none;
  color: inherit;
}

.quest-slide > img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
  border-radius: 12px;
}

/* Затемнение внизу слота квеста + картинка по номеру */
.quest-slide-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 8px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.4) 50%, transparent);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 72px;
  pointer-events: none;
}

.quest-slide-logo {
  max-width: 92%;
  width: auto;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  object-position: bottom center;
  filter: brightness(1.05);
}

/* Оверлей при наведении на квест + кнопка «в квест» */
.quest-slide-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.18s ease;
  border-radius: 12px;
}

.quest-slide:hover .quest-slide-overlay {
  opacity: 1;
}

.quest-into-btn {
  padding: 12px 24px;
  font-size: 16px;
  white-space: nowrap;
}

a.quest-into-btn,
span.quest-into-btn {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

@keyframes quest-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.quest-card .game-thumb,
.jackpot-card .game-thumb {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.quest-card:hover .game-thumb,
.jackpot-card:hover .game-thumb {
  transform: scale(0.95);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
}

.quest-btn,
.jackpot-btn {
  align-self: stretch;
  text-align: center;
  justify-content: center;
  padding-inline: 18px;
  font-size: 16px;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.quest-btn {
  background: linear-gradient(135deg, #33e86a, #189844);
}

.quest-btn:hover {
  background: linear-gradient(135deg, #44ff79, #148b3d);
}

.jackpot-btn {
  background: linear-gradient(135deg, #35f46c, #1ba84b);
  color: #041108;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(53, 244, 108, 0.35);
}

.jackpot-btn:hover {
  background: linear-gradient(135deg, #31f26f, #19a146);
}

a.jackpot-btn {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-sizing: border-box;
}

a.game-thumb.jackpot-thumb-link {
  display: block;
}

/* Блок суммы джекпота под картинкой слота */
.jackpot-amount-block {
  margin-top: 4px;
  padding: 10px 0 4px;
  text-align: center;
}

.jackpot-amount-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 4px;
}

.jackpot-amount-value {
  font-size: 20px;
  font-weight: 700;
  color: #35f46c;
  letter-spacing: 0.02em;
}

.quest-card:hover .quest-btn,
.jackpot-card:hover .jackpot-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Placeholder visuals */
.placeholder-block {
  background: radial-gradient(circle at top left, #254d32, #111820);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.placeholder-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.05)
  );
  mix-blend-mode: soft-light;
  opacity: 0.9;
}

.placeholder-text {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(235, 244, 250, 0.88);
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  display: block;
  height: 60px;
  width: auto;
}

.payment.small {
  width: 170px;
  height: 70px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050708;
  padding: 56px 60px 40px;
  color: #9aa3b1;
  font-size: 18px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

/* Мобильный слайдер партнёров: по умолчанию скрыт */
.partners-slider--mobile {
  display: none;
  overflow: hidden;
  width: 100%;
  margin: 0;
}

.partner-logo {
  flex: 0 0 calc((100% - 8 * 18px) / 9);
  max-width: 120px;
  max-height: 48px;
  width: 100%;
  object-fit: contain;
  filter: grayscale(0.1) drop-shadow(0 0 8px rgba(0, 0, 0, 0.7));
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
}

.partner-logo:hover {
  transform: translateY(-2px) scale(1.03);
  opacity: 1;
  filter: grayscale(0) drop-shadow(0 0 14px rgba(53, 244, 108, 0.5));
}

@media (max-width: 768px) {
  .partners-grid--desktop {
    display: none !important;
  }

  .partners-slider--mobile {
    display: block;
  }

  .partners-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: max-content;
    animation: partners-slide 120s linear infinite;
  }

  .partners-slider-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: center;
    flex: 0 0 auto;
  }

  .partners-slider-group .partner-logo {
    flex: 0 0 auto;
    width: 72px;
    max-width: 72px;
    max-height: 40px;
    object-fit: contain;
  }
}

@keyframes partners-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (min-width: 1440px) {
  .footer-inner {
    max-width: 1440px;
    margin: 0 auto;
  }
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  box-sizing: border-box;
  min-width: 0;
}

.footer-top .footer-logo {
  flex: 0 0 auto;
  width: 90px;
  height: 32px;
}

a.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.footer-top .footer-payments {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 48px;
}

.footer-payments-title {
  margin-bottom: 8px;
  font-size: 22px;
}

.payments-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.payment-logo {
  height: 32px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.payment-logo:hover {
  opacity: 1;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  color: #b4bcc8;
  font-size: 18px;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-sizing: border-box;
  min-width: 0;
}

.footer-copy {
  color: #6d7583;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Футер — средняя ширина (до 1400px): лого + платёжки в одну строку, ссылки ниже по центру */
@media (max-width: 1400px) {
  .footer {
    padding: 40px 24px 32px;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 0;
    width: 100%;
    max-width: 100%;
  }

  .footer-top .footer-logo {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .footer-top .footer-payments {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 24px;
    margin-bottom: 0;
  }

  .footer-top .footer-links {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
    margin-left: 0;
  }

  .payments-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* Футер — узкий экран: колонка (логотип, платёжки, ссылки) */
@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }

  .footer-top .footer-logo {
    order: 1;
    margin-bottom: 32px;
  }

  .footer-top .footer-payments {
    order: 2;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
  }

  .footer-top .footer-links {
    order: 3;
    flex: none;
    width: 100%;
    margin-top: 0;
  }

  .payments-row {
    justify-content: center;
  }
}

/* Футер — мобильная верстка: логотип выше платёжек по центру, всё выровнено */
@media (max-width: 768px) {
  .footer {
    padding: 32px 20px 28px;
    min-width: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .footer-top .footer-logo {
    order: 1;
    margin-bottom: 32px;
  }

  .footer-top .footer-payments {
    order: 2;
    margin-bottom: 24px;
  }

  .footer-top .footer-links {
    order: 3;
    justify-content: center;
    margin-top: 0;
  }

  .footer-top .footer-logo img {
    max-width: 100%;
    height: auto;
  }

  .footer-top .footer-payments {
    margin-left: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .payments-row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 100%;
  }

  .payment-logo {
    height: 28px;
    max-width: 56px;
    flex-shrink: 0;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    margin-top: 32px;
  }

  .footer-link {
    font-size: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 4px;
    box-sizing: border-box;
  }

  .footer-copy {
    font-size: 14px;
    line-height: 1.4;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 24px 16px 22px;
    width: 100%;
    box-sizing: border-box;
  }

  .footer-top {
    gap: 20px;
  }

  .footer-top .footer-payments {
    padding: 0;
  }

  .payments-row {
    gap: 10px;
  }

  .payment-logo {
    height: 24px;
    max-width: 48px;
  }

  .footer-link {
    font-size: 15px;
  }

  .footer-copy {
    font-size: 13px;
  }

  .footer-bottom {
    padding: 0;
  }
}

/* Футер при 580px: логотип по центру и крупнее */
@media (max-width: 580px) {
  .footer-top {
    justify-content: center;
    align-items: center;
  }

  .footer-top .footer-logo {
    width: 100%;
    max-width: 160px;
    height: auto;
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top .footer-logo img {
    max-height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  border-radius: 999px;
  border: none;
  padding: 12px 22px;
  font-size: 16px;
  background: rgba(3, 20, 9, 0.9);
  color: #e6fff0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  z-index: 20;
}

.scroll-top:hover {
  background: rgba(11, 69, 32, 0.98);
}

.scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Попап снизу: ширина как у основных блоков, другой дизайн */
.popup-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  padding: 0 60px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.35s ease, visibility 0.35s ease;
}

.popup-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.popup-cta-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 32px;
  background: rgba(6, 10, 11, 0.98);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(53, 244, 108, 0.06);
  position: relative;
  overflow: visible;
}

.popup-cta-text {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #e5ecf5;
  line-height: 1.4;
  flex: 1 1 auto;
}

.popup-cta-close {
  position: absolute;
  left: -10px;
  top: -10px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 0.2s ease;
}

.popup-cta-close:hover {
  color: #35f46c;
}

.popup-cta-close-icon {
  width: 18px;
  height: 18px;
  position: relative;
  display: block;
}

.popup-cta-close-icon::before,
.popup-cta-close-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.popup-cta-close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.popup-cta-close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.popup-cta-btn {
  min-width: 140px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
}

.popup-cta-btn:hover {
  transform: scale(1.05);
}

.popup-cta-btn:active {
  transform: scale(0.98);
}

/* Лёгкая пульсация свечения для кнопки «Регистрация» */
.popup-cta-btn.btn-accent {
  animation: popup-cta-glow 2.5s ease-in-out infinite;
}

.popup-cta-btn.btn-accent:hover {
  animation: none;
  box-shadow: 0 0 20px rgba(53, 244, 108, 0.5), 0 0 40px rgba(53, 244, 108, 0.2);
}

@keyframes popup-cta-glow {
  0%, 100% {
    box-shadow: 0 0 12px rgba(53, 244, 108, 0.35);
  }
  50% {
    box-shadow: 0 0 20px rgba(53, 244, 108, 0.5), 0 0 28px rgba(53, 244, 108, 0.15);
  }
}

@media (max-width: 992px) {
  .popup-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .popup-cta-inner {
    padding: 24px 24px;
    gap: 20px;
  }

  .popup-cta-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .popup-cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .popup-cta-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 20px;
    border-radius: 24px;
  }

  .popup-cta-text {
    text-align: center;
  }

  .popup-cta-close {
    left: -8px;
    top: -8px;
  }

  .popup-cta-buttons {
    justify-content: center;
    flex-direction: row;
  }
}

@media (max-width: 480px) {
  .popup-cta {
    padding-left: 12px;
    padding-right: 12px;
  }

  .popup-cta-inner {
    padding: 24px 16px 20px;
  }

  .popup-cta-close {
    left: -6px;
    top: -6px;
  }

  .popup-cta-buttons {
    flex-direction: column;
  }

  .popup-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .games-grid.games-grid-4,
  .games-grid.games-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-thumb:not(:has(img)) {
    height: 200px;
  }

  .partners-grid {
    justify-content: center;
  }

  .partner-logo {
    flex: 0 0 calc((100% - 2 * 18px) / 3);
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0 12px 0;
  }

  .main {
    padding: 80px 12px 50px;
  }

  .games-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .game-thumb:not(:has(img)) {
    height: 220px;
  }

  .partners-grid {
    justify-content: center;
  }

  .partner-logo {
    flex: 0 0 calc((100% - 18px) / 2);
    max-width: 90px;
  }
}

/* ============================================================
   Контентный блок: обзор казино (текст из ТЗ)
   ============================================================ */

#about.content-section {
  padding-top: 48px;
  padding-bottom: 56px;
}

.content-article {
  max-width: 1100px;
  margin: 0 auto;
  color: #d8dde6;
  line-height: 1.7;
  font-size: 17px;
}

.content-hero {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.content-title {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(135deg, #35f46c 0%, #b8e6c4 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content-lead {
  margin: 0 auto;
  max-width: 820px;
  font-size: 18px;
  color: #cdd4de;
  line-height: 1.6;
}

.content-block {
  margin-top: 44px;
}

.content-block p {
  margin: 0 0 14px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.content-h2 {
  font-size: 26px;
  margin: 0 0 20px;
  color: #ffffff;
  position: relative;
  padding-left: 18px;
  line-height: 1.3;
  font-weight: 700;
}

.content-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #35f46c, #1ba84b);
  box-shadow: 0 0 12px rgba(53, 244, 108, 0.4);
}

.content-block a {
  color: #35f46c;
  text-decoration: none;
  border-bottom: 1px dashed rgba(53, 244, 108, 0.4);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.content-block a:hover {
  color: #b8e6c4;
  border-bottom-color: rgba(184, 230, 196, 0.7);
}

/* Списки */
.content-list {
  margin: 0 0 18px;
  padding-left: 22px;
}

.content-list li {
  margin-bottom: 10px;
}

.content-list li::marker {
  color: #35f46c;
}

.content-list--ordered {
  counter-reset: cnt;
  list-style: none;
  padding-left: 0;
}

.content-list--ordered li {
  position: relative;
  padding: 18px 20px 18px 64px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(15, 35, 22, 0.7), rgba(8, 18, 12, 0.5));
  border: 1px solid rgba(53, 244, 108, 0.1);
  border-radius: 14px;
  counter-increment: cnt;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.content-list--ordered li:hover {
  border-color: rgba(53, 244, 108, 0.3);
  transform: translateY(-1px);
}

.content-list--ordered li::before {
  content: counter(cnt);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #35f46c, #1ba84b);
  color: #041108;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 0 10px rgba(53, 244, 108, 0.35);
}

.content-list--ordered li strong {
  color: #ffffff;
}

/* Таблица характеристик */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: linear-gradient(135deg, rgba(15, 35, 22, 0.55), rgba(8, 18, 12, 0.3));
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(53, 244, 108, 0.1);
}

.specs-table th,
.specs-table td {
  padding: 14px 22px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: top;
  font-size: 16px;
  line-height: 1.45;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table th {
  width: 42%;
  font-weight: 600;
  color: #b8e6c4;
  background: rgba(53, 244, 108, 0.06);
  position: relative;
}

.specs-table th::before {
  content: "✔";
  display: inline-block;
  margin-right: 10px;
  color: #35f46c;
  font-size: 13px;
}

.specs-table td {
  color: #e5ecf5;
}

.specs-table tr:hover td,
.specs-table tr:hover th {
  background-color: rgba(53, 244, 108, 0.08);
}

/* Сетка зеркал */
.mirrors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
  margin: 22px 0;
}

.mirror-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 14px;
  border-radius: 10px;
  background: rgba(15, 35, 22, 0.55);
  border: 1px solid rgba(53, 244, 108, 0.12) !important;
  color: #cdd4de !important;
  font-size: 14px;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
  border-bottom-style: solid !important;
}

.mirror-link:hover {
  background: rgba(53, 244, 108, 0.14);
  border-color: rgba(53, 244, 108, 0.4) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Note (важное предупреждение) */
.content-note {
  margin-top: 22px;
  padding: 16px 20px;
  background: rgba(255, 201, 74, 0.06);
  border-left: 3px solid #ffc94a;
  border-radius: 8px;
  color: #e5ecf5;
  line-height: 1.55;
}

.content-note strong {
  color: #ffc94a;
}

/* CTA в заключении */
.content-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.content-cta-btn {
  flex: 0 1 auto;
  min-width: 200px;
}

/* Адаптивность */
@media (max-width: 992px) {
  #about.content-section {
    padding: 36px 28px;
  }

  .content-title { font-size: 30px; }
  .content-lead { font-size: 17px; }
  .content-h2 { font-size: 23px; }
  .content-article { font-size: 16px; }
}

@media (max-width: 768px) {
  #about.content-section {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .content-title { font-size: 26px; }
  .content-lead { font-size: 15px; }
  .content-h2 { font-size: 21px; padding-left: 14px; }
  .content-article { font-size: 15px; line-height: 1.6; }

  .content-block { margin-top: 36px; }

  .specs-table th,
  .specs-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
  .specs-table th { width: 50%; }

  .content-list--ordered li {
    padding: 14px 16px 14px 56px;
  }
  .content-list--ordered li::before {
    width: 30px;
    height: 30px;
    font-size: 14px;
    left: 14px;
    top: 14px;
  }

  .content-cta {
    flex-direction: column;
  }
  .content-cta-btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  #about.content-section {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .content-title { font-size: 23px; }
  .content-lead { font-size: 14px; }
  .content-h2 { font-size: 19px; }

  .mirrors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mirror-link {
    padding: 11px 8px;
    font-size: 13px;
  }

  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 6px 14px;
    border-bottom: none;
  }
  .specs-table tr {
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 0;
  }
  .specs-table tr:last-child {
    border-bottom: none;
  }
  .specs-table th {
    background: transparent;
    padding-bottom: 2px;
    font-weight: 600;
    color: #b8e6c4;
  }
  .specs-table td {
    font-size: 15px;
    padding-top: 0;
    color: #ffffff;
  }
}

