:root {
  /* Немецкое казино: тёмный зелёный стол, золото, немного красного */
  --bg-main: #050608;
  --bg-deep: #04090f;
  --bg-card: #0d2e23;
  --bg-card-soft: #143b2c;
  --accent: #f6c453; /* золото */
  --accent-2: #d7263d; /* красный */
  --accent-3: #ffd56b;
  --text-main: #ffffff;
  --text-muted: #c2c7ce;
  --border-glow: rgba(255, 255, 255, 0.14);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-strong: 0 18px 60px rgba(0, 0, 0, 0.75);
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.55);
  --gradient-hero: radial-gradient(circle at top, #1b4b33 0, #050608 45%, #020308 100%);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: var(--bg-main);
}

body {
  min-height: 100vh;
  line-height: 1.5;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(28, 95, 64, 0.9), transparent 55%),
    linear-gradient(to bottom, #020508 0, #020308 40%, #000000 100%);
  z-index: -2;
}

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(3, 12, 9, 0.98), rgba(3, 12, 9, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header {
  border-bottom: none;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  width: 150px;
  height: 40px;
  display: flex;
  align-items: center;
}

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

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transition: width 0.2s ease-out;
}

.nav a:hover {
  color: var(--text-main);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.header-menu-btn {
  display: none;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.header-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.header-menu-btn[aria-expanded="true"] .header-menu-icon {
  box-shadow: none;
}

.header-menu-btn[aria-expanded="true"] .header-menu-icon::before {
  transform: translateY(6px) rotate(-45deg);
}

.header-menu-btn[aria-expanded="true"] .header-menu-icon::after {
  transform: translateY(-6px) rotate(45deg);
}

.header-menu-icon {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.header-menu-icon::before,
.header-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease-out;
}

.header-menu-icon::before {
  top: 0;
}

.header-menu-icon::after {
  bottom: 0;
}

.header-menu-btn .header-menu-icon {
  box-shadow: 0 6px 0 0 currentColor;
}

.content-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-nav a {
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.content-nav a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.btn {
  border-radius: var(--radius-pill);
  padding: 9px 20px;
  border: none;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f6c453, #ffe28a);
  color: #2b1b05;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent-2), #f6c453);
  color: #2b070b;
  box-shadow: var(--shadow-soft);
}

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

.placeholder {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

main {
  max-width: 1200px;
  margin: 22px auto 0;
  padding: 0 20px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  background: var(--gradient-hero);
  padding: 24px 24px 20px;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-slider .slider-shell {
  align-items: stretch;
}

.hero-slider .slider-window {
  flex: 1;
}

.hero-slider .slider-track {
  align-items: stretch;
  gap: 0;
}

.hero-slider .slider-item {
  min-width: 100%;
}

.hero-title-accent {
  color: var(--accent-2);
}

.hero-slider .hero {
  border: none;
  box-shadow: none;
}

.hero-slider .hero::before {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-left: 40px;
}

.hero-kicker {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 6px;
  font-weight: 700;
}

.hero-title {
  font-size: clamp(32px, 4.2vw, 44px);
  margin: 0 0 4px;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: var(--text-muted);
  max-width: 420px;
  font-size: 14px;
}

.hero-cta-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-visual {
  border-radius: 24px;
  overflow: visible;
  min-height: 200px;
  position: relative;
}

.hero-visual img {
  display: block;
}

.hero-visual .hero-bg {
  position: absolute;
  left: -40px;
  bottom: -20px;
  width: 55%;
  max-height: 220px;
  object-fit: contain;
  opacity: 0.9;
  z-index: 1;
}

.hero-visual .hero-main {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 70%;
  max-width: 440px;
  max-height: 260px;
  object-fit: contain;
}

.hero-visual-bonus .hero-bg {
  left: auto;
  right: -40px;
  bottom: -10px;
}

.hero-visual-bonus .hero-main {
  margin-left: 0;
  margin-right: auto;
}

.intro-lead {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 20px;
  text-align: center;
}

.intro-lead-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.feature-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.feature-banner {
  border-radius: 999px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 100px;
  max-height: 120px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}
a.feature-banner:hover {
  opacity: 0.92;
}

.feature-banner--purple {
  background: linear-gradient(90deg, #5025ff, #8c35ff);
}

.feature-banner--orange {
  background: linear-gradient(90deg, #ff5e26, #ff9a40);
}

.feature-banner--pink {
  background: linear-gradient(90deg, #ff3f78, #ff8ac4);
}

.feature-banner-text {
  flex: 1 1 auto;
  color: #ffffff;
}

.feature-banner-heading {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.feature-banner-visual {
  flex: 0 0 100px;
  width: 100px;
  height: 80px;
  flex-shrink: 0;
  border-radius: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.feature-banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 34px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-link {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card-row-scroll {
  display: flex;
  overflow-x: auto;
  padding-bottom: 6px;
}

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

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

/* Обёртка для авто-слайдера игр на мобильной: на десктопе не влияет на вёрстку */
.games-grid-viewport {
  overflow: visible;
}
.games-grid-track {
  display: contents;
}
.games-section .games-grid-set:nth-child(2),
.games-section-featured .games-grid-set:nth-child(2) {
  display: none;
}

.games-section-featured .games-grid,
.games-grid-8 {
  display: grid;
  grid-template-columns: repeat(8, minmax(120px, 1fr));
  gap: 16px;
}

.games-section-featured .game-card,
.games-grid-8 .game-card {
  background: transparent;
  border: none;
  box-shadow: none;
  min-width: 0;
}

.games-section-featured .card-image,
.games-grid-8 .card-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 270px; /* Zielhöhe wie im Layout */
}

.games-section-featured .card-image img,
.games-grid-8 .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px; /* leicht abgerundete Ecken */
}

.game-slot-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 10px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.0));
  color: #ffffff;
  z-index: 3;
}

.game-slot-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #70ff5e;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 2px;
}

.game-slot-provider {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  opacity: 0.9;
}

.game-card {
  background: linear-gradient(145deg, rgba(12, 46, 35, 0.98), rgba(20, 59, 44, 0.98));
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-width: 210px;
}

.game-card-live {
  min-width: 200px;
}

.game-slot .card-image {
  position: relative;
}

.game-slot .card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease-out;
}

.game-slot:hover .card-image::before {
  background: rgba(0, 0, 0, 0.3);
}

.game-slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-out;
  z-index: 2;
}

.game-slot:hover .game-slot-overlay {
  opacity: 1;
  pointer-events: auto;
}

.game-slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.game-slot-btn-demo {
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.game-slot-btn-play {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1b0507;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.play-icon {
  width: 0;
  height: 0;
  border-left: 8px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-right: 6px;
}

.game-slot-btn:hover {
  transform: translateY(-1px);
}

.card-image {
  height: 140px;
}

.card-body {
  padding: 10px 12px 12px;
}

.card-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.card-body p {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}

.providers-strip {
  margin-top: 26px;
}

.providers-strip-viewport {
  overflow: visible;
  width: 100%;
}

.providers-strip-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.providers-strip-set {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

.providers-strip-set:nth-child(2) {
  display: none;
}

@keyframes scrollProviders {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollGames {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.provider {
  padding: 0;
  background: transparent;
  flex-shrink: 0;
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.provider:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.provider img {
  display: block;
  max-height: 36px;
  width: auto;
  object-fit: contain;
}

.vip-section {
  margin-top: 36px;
  position: relative;
  border-radius: 28px;
  padding: 26px 24px 24px;
  background:
    radial-gradient(circle at top left, rgba(30, 120, 80, 0.9) 0, transparent 55%),
    radial-gradient(circle at top right, rgba(8, 40, 28, 0.9) 0, transparent 60%),
    linear-gradient(to bottom, #020b0a 0, #020705 55%, #000304 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.vip-glow {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at left center, rgba(246, 196, 83, 0.28), transparent 55%);
  opacity: 0.8;
  pointer-events: none;
}

.vip-inner {
  position: relative;
  z-index: 1;
}

.vip-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}

.vip-crown {
  width: 170px;
  max-width: 30%;
  display: block;
  text-decoration: none;
  color: inherit;
}

.vip-crown img {
  width: 100%;
  height: auto;
  display: block;
}

.vip-title {
  font-size: 40px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 900;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vip-title-main {
  color: var(--accent-2);
}

.vip-title-sub {
  color: var(--text-main);
}

.vip-benefits {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 10px;
  flex-wrap: nowrap;
}

.vip-benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 0;
}

.benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #200507;
  font-size: 16px;
  box-shadow: 0 0 18px rgba(215, 38, 61, 0.6);
  text-decoration: none;
  flex-shrink: 0;
}

.vip-benefit p {
  margin: 0;
  font-size: 13px;
  color: var(--text-main);
  text-align: center;
}

.promos-section {
  margin-top: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
}

/* меньше отступ сверху, когда перед блоком идёт Design */
#design + .promos-section {
  margin-top: 12px;
  padding-top: 4px;
}

.promos-section .section-header {
  padding: 0;
  margin-bottom: 20px;
}

.promos-section .section-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.promos-section .section-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promos-section .section-link {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.promos-section .slider-shell {
  padding: 0 20px;
  gap: 16px;
}

.promos-section .slider-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--text-main);
  font-size: 20px;
  font-weight: 300;
}

.promos-section .slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Слайдеры: общие стили */
.slider-shell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-window {
  overflow: hidden;
  flex: 1;
}

.slider-track {
  display: flex;
  gap: 16px;
  scroll-behavior: smooth;
}

.slider-item {
  min-width: 210px;
}

.promos-section .slider-item {
  min-width: 320px;
}

.slider-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 30% 20%, rgba(246, 196, 83, 0.35), transparent 55%);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  backdrop-filter: blur(10px);
}

.slider-arrow:hover {
  border-color: var(--accent);
}

.slider-section .game-card,
.slider-section .promo-card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.slider-section .card-image,
.slider-section .promo-image {
  cursor: pointer;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 20px;
}

.promo-card {
  border-radius: 32px;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.promo-card--orange {
  background: #E04D36;
}

.promo-card--purple {
  background: #5125D7;
}

.promo-image-wrapper {
  padding: 24px 24px 0;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.promo-image-wrapper .promo-image,
.promo-image-wrapper img {
  width: 100%;
  height: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.promo-body {
  flex: 1;
  display: block;
  padding: 18px 24px 22px;
  border-top: 2px solid rgba(3, 4, 35, 0.55);
}

.promo-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.promo-description {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-main);
  line-height: 1.4;
  opacity: 0.95;
}

.content-section {
  margin-top: 40px;
  scroll-margin-top: 120px;
}
.content-section:last-of-type {
  margin-bottom: 0;
}

.content-header h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.content-header p {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 720px;
}

.content-block {
  margin-bottom: 22px;
  background: rgba(7, 24, 17, 0.9);
  border-radius: 18px;
  padding: 16px 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.content-block h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.content-block p {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.content-block ul {
  margin: 0 0 8px 18px;
  padding: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-list {
  margin-top: 8px;
}

.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

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

.faq-question {
  width: 100%;
  padding: 8px 0;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 14px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease-out;
}

.faq-answer {
  padding: 0 0 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.faq-answer p {
  margin: 0;
}

.faq-item--open .faq-question {
  color: var(--accent);
}

.faq-item--open .faq-toggle {
  transform: rotate(45deg);
}

.footer {
  background: linear-gradient(to top, #020306, #02050a);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 20px 26px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer-top,
.footer-middle {
  max-width: 1200px;
  margin: 0 auto 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 26px;
}

.footer-logo {
  width: 140px;
  height: 38px;
}

.footer-logo img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-middle {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.payment-badges,
.social-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  text-align: center;
}

.footer-copy {
  margin: 0;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020024;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

/* Popup-Banner unten — erscheint nach 10 Sekunden */
.popup-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: linear-gradient(to top, #0a1620, #0d1f2e);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  padding: 20px 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease-out, opacity 0.35s ease-out, visibility 0.35s;
}

.popup-banner.popup-banner--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.popup-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.popup-banner-close {
  position: absolute;
  top: -8px;
  left: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}

.popup-banner-close:hover {
  color: var(--text-main);
}

.popup-banner-text {
  flex: 1 1 200px;
  padding-left: 44px;
}

.popup-banner-heading {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.popup-banner-desc {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.popup-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.popup-banner-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }
  .logo {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    order: 1;
  }
  .nav {
    display: none;
  }
  .header-menu-btn {
    display: flex;
    order: 2;
  }
  .header-actions {
    margin-left: 0;
    order: 3;
  }
  .content-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    padding: 0 20px;
    border-top: none;
    transition: max-height 0.3s ease-out, opacity 0.25s ease-out, visibility 0.25s, padding 0.25s;
  }
  .content-nav.content-nav--open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    padding: 12px 20px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .content-nav a {
    flex-shrink: 0;
  }
  /* HERO SLIDER — текст слева, только hero1/2/3 справа, в одной плоскости без переноса */
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(90px, 38%);
    gap: 14px;
    align-items: center;
  }
  .hero-slider .hero-content {
    padding-left: 0;
    min-width: 0;
  }
  .hero-slider .hero-visual {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }
  .hero-slider .hero-visual .hero-bg {
    display: none;
  }
  .hero-slider .hero-visual .hero-main {
    position: static;
    width: auto;
    max-width: 100%;
    max-height: 180px;
    margin-left: 0;
    margin-right: 0;
    object-fit: contain;
  }
  .hero-slider .hero-visual-bonus .hero-main {
    margin-left: 0;
    margin-right: 0;
  }
  .feature-banners {
    grid-template-columns: 1fr;
  }
  .card-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vip-benefits {
    flex-wrap: wrap;
    justify-content: center;
  }
  .promo-row {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
  }
  /* Игровые блоки (Ausgewählte, Top Slots, Game Shows, Live-Casino) — горизонтальный скролл на мобильных */
  .games-section .games-grid-viewport,
  .games-section-featured .games-grid-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .games-section .games-grid-track,
  .games-section-featured .games-grid-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
  }
  .games-section .games-grid-set,
  .games-section-featured .games-grid-set {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    flex-shrink: 0;
    grid-template-columns: unset;
  }
  .games-section .games-grid-set:nth-child(2),
  .games-section-featured .games-grid-set:nth-child(2) {
    display: flex;
  }
  .games-section .games-grid-viewport .game-card,
  .games-section-featured .games-grid-viewport .game-card {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 160px;
  }
  .games-section .games-grid-viewport .card-image,
  .games-section-featured .games-grid-viewport .card-image {
    height: 180px;
  }
  /* PROVIDERS / BADGES — горизонтальный скролл без автопрокрутки */
  .providers-strip-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .providers-strip-track {
    display: flex;
    justify-content: flex-start;
    gap: 16px;
  }
  .providers-strip-set {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
  }

  .popup-banner {
    padding: 14px 16px 18px;
  }
  .popup-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .popup-banner-text {
    padding-left: 44px;
    flex: 0 0 auto;
  }
  .popup-banner-actions {
    flex: 0 0 auto;
    justify-content: center;
    gap: 8px;
  }
  .popup-banner-heading {
    font-size: 14px;
  }
  .popup-banner-desc {
    font-size: 12px;
  }
  .popup-banner .btn {
    padding: 8px 16px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .popup-banner {
    padding: 12px 14px 16px;
  }
  .popup-banner-close {
    top: -4px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }
  .popup-banner-text {
    padding-left: 38px;
  }
  .popup-banner-inner {
    gap: 6px;
  }
  .popup-banner-heading {
    font-size: 13px;
  }
  .popup-banner-desc {
    font-size: 11px;
    margin-bottom: 0;
  }
  .popup-banner .btn {
    padding: 7px 14px;
    font-size: 11px;
  }
  .promo-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .promo-card {
    border-radius: 24px;
  }
}

@media (max-width: 640px) {
  main {
    padding-inline: 14px;
  }
  .hero {
    padding: 18px 14px 16px;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) minmax(80px, 35%);
  }
  .hero-slider .hero-visual {
    min-height: 100px;
  }
  .hero-slider .hero-visual .hero-main {
    max-height: 140px;
  }
  .card-row {
    grid-template-columns: 1fr;
  }
  .vip-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .vip-title {
    font-size: 20px;
    letter-spacing: 0.14em;
  }
  .vip-benefits {
    grid-template-columns: 1fr;
  }
}

