/* ===== ОСНОВНЫЕ СТИЛИ 1XBET KZ ===== */
:root {
  --bg-main: #1C4368;
  --header-bg: #205583;
  --btn-primary: #205583;
  --btn-secondary: #276AA5;
  --btn-green: #4CAF50;
  --text-white: #ffffff;
  --text-light: #c8dff0;
  --text-dark: #1a1a2e;
  --border-color: #2d6496;
  --card-bg: #1a3d5c;
  --card-hover: #1f4b6e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: 'Segoe UI', 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/* ===== ХЕДЕР ===== */
.site-header {
  background: var(--header-bg);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.05);
}

.logo-text {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.header-promo-banner {
  background: linear-gradient(135deg, #0d3c5e 0%, #1a5a8a 100%);
  border: 1px solid rgba(91,188,255,0.4);
  border-radius: 4px;
  padding: 8px 18px;
  text-align: center;
}

.header-promo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.header-promo-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.header-promo-code {
  font-size: 12px;
  color: #a8d8f5;
}

.header-promo-code strong {
  color: #5bbcff;
  letter-spacing: 1px;
}

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

/* ===== КНОПКИ ===== */
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 0 !important;
  transition: background 0.2s, transform 0.1s;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--btn-primary);
  color: var(--text-white);
  border: 2px solid #3078b5;
}

.btn-primary:hover {
  background: #246090;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--btn-secondary);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: #2d7bbf;
  transform: translateY(-1px);
}

.btn-green {
  background: var(--btn-green);
  color: var(--text-white);
  font-size: 16px;
  padding: 12px 28px;
}

.btn-green:hover {
  background: #3d9140;
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
  display: block;
}

/* ===== НАВИГАЦИЯ ===== */
.main-nav {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-list {
  display: flex;
  list-style: none;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-list::-webkit-scrollbar { display: none; }

.nav-list li a {
  display: block;
  padding: 12px 18px;
  color: var(--text-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-list li a:hover,
.nav-list li a.active {
  color: #5bbcff;
  border-bottom-color: #5bbcff;
  background: rgba(255,255,255,0.05);
}

/* ===== КОНТЕЙНЕР ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ГЛАВНЫЙ БАННЕР ===== */
.hero-section {
  background: linear-gradient(135deg, #0d2d45 0%, #1a4a6e 50%, #1C4368 100%);
  padding: 50px 0 40px;
  border-bottom: 2px solid var(--border-color);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text h1 span {
  color: #5bbcff;
}

.hero-text p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 25px;
  max-width: 520px;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(91,188,255,0.15);
  border: 1px solid #5bbcff;
  border-radius: 0;
  padding: 6px 14px;
  font-size: 13px;
  color: #5bbcff;
  margin-bottom: 12px;
}

/* ===== КАРТОЧКИ ИГР ===== */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 28px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.game-card:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  border-color: #5bbcff;
}

.game-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.game-card:hover img {
  transform: scale(1.06);
}

.game-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 20px 10px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* ===== ИНФОРМАЦИОННЫЕ БЛОКИ ===== */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 30px 0;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  transition: background 0.2s, transform 0.2s;
}

.info-card:hover {
  background: var(--card-hover);
  transform: translateY(-3px);
}

.info-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #5bbcff;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== ТЕКСТОВЫЕ БЛОКИ ===== */
.text-block {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 32px;
  margin: 24px 0;
}

.text-block h2 {
  font-size: 22px;
  font-weight: 700;
  color: #5bbcff;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.text-block h3 {
  font-size: 18px;
  font-weight: 600;
  color: #a8d8f5;
  margin: 20px 0 10px;
}

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

.text-block ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.text-block ul li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: 15px;
  color: var(--text-light);
}

.text-block ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #5bbcff;
}

/* ===== ИЗОБРАЖЕНИЯ С РАМКОЙ ===== */
.img-frame {
  border: 2px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.img-frame:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border-color: #5bbcff;
}

.img-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.img-frame:hover img {
  transform: scale(1.03);
}

/* ===================================================
   BONUS CAROUSEL
   =================================================== */
.bonus-carousel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--card-bg);
  user-select: none;
  margin-bottom: 8px;
}

/* Track — горизонтальная лента слайдов */
.bc-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Один слайд */
.bc-slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Внутренняя ссылка слайда */
.bc-slide-inner {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Изображение слайда */
.bc-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.bc-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.bc-slide-inner:hover .bc-img-wrap img {
  transform: scale(1.03);
}

/* Подпись поверх изображения */
.bc-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(10,25,40,0.88) 100%);
  padding: 32px 22px 14px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.bc-badge {
  background: rgba(91,188,255,0.18);
  border: 1px solid rgba(91,188,255,0.45);
  color: #5bbcff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
  align-self: center;
}

.bc-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  flex: 0 0 auto;
}

.bc-desc {
  font-size: 13px;
  color: rgba(200,223,240,0.85);
  flex: 0 0 100%;
  margin-top: -6px;
}

.bc-cta {
  font-size: 12px;
  font-weight: 700;
  color: #4caf50;
  margin-left: auto;
  white-space: nowrap;
  padding: 5px 14px;
  border: 1px solid #4caf50;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.bc-slide-inner:hover .bc-cta {
  background: #4caf50;
  color: #fff;
}

/* ── Стрелки ── */
.bc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,25,40,0.72);
  border: 2px solid rgba(91,188,255,0.35);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
}

.bc-arrow:hover {
  background: rgba(32,85,131,0.92);
  border-color: #5bbcff;
  transform: translateY(-50%) scale(1.1);
}

.bc-prev { left: 12px; }
.bc-next { right: 12px; }

/* ── Точки ── */
.bc-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.bc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.bc-dot.active,
.bc-dot:hover {
  background: #5bbcff;
  border-color: #5bbcff;
  transform: scale(1.25);
}

/* ── Счётчик ── */
.bc-counter {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(10,25,40,0.7);
  border: 1px solid rgba(91,188,255,0.3);
  color: rgba(200,223,240,0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
}

/* ── Адаптив ── */
@media (max-width: 600px) {
  .bc-img-wrap img {
    height: 160px;
  }
  .bc-title {
    font-size: 15px;
  }
  .bc-caption {
    padding: 22px 12px 36px;
    gap: 6px;
  }
  .bc-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }
  .bc-cta { display: none; }
}

/* ===== BONUS CARDS ===== */
.bonus-banner {
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  margin-bottom: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bonus-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  border-color: #5bbcff;
}

.bonus-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.bonus-banner:hover img {
  transform: scale(1.02);
}

.bonus-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 20px 0;
}

.bonus-card {
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.bonus-card:hover {
  transform: translateY(-4px);
  border-color: #5bbcff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.bonus-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.bonus-card:hover img {
  transform: scale(1.05);
}

.bonus-card-body {
  padding: 16px;
}

.bonus-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #5bbcff;
  margin-bottom: 8px;
}

.bonus-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}

/* ===== CRYPTO GRID ===== */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.crypto-item {
  background: #275e8a;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--text-white);
  transition: background 0.2s, transform 0.2s;
}

.crypto-item:hover {
  background: #2d6fa0;
  transform: translateY(-2px);
}

/* ===== STEPS ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 24px;
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--btn-secondary);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  margin: 0 auto 14px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #5bbcff;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  background: var(--card-bg);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
  transition: background 0.2s;
  user-select: none;
}

.faq-question:hover {
  background: var(--card-hover);
}

.faq-question::after {
  content: '+';
  font-size: 22px;
  color: #5bbcff;
  transition: transform 0.2s;
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 16px 20px;
  background: rgba(0,0,0,0.2);
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ===== LIVE SECTION ===== */
.live-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: #0d2233;
  border-top: 2px solid var(--border-color);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #5bbcff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.footer-col p,
.footer-col a {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #5bbcff;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.disclaimer {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 20px 0 10px;
  line-height: 1.5;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.breadcrumbs a {
  color: #5bbcff;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  margin: 0 6px;
  color: rgba(255,255,255,0.3);
}

/* ===== ПРОМОКОД БЛОК ===== */
.promo-block {
  background: linear-gradient(135deg, #0d3c5e, #1a5a8a);
  border: 2px solid #5bbcff;
  border-radius: 6px;
  padding: 28px;
  text-align: center;
  margin: 30px 0;
}

.promo-code {
  display: inline-block;
  background: rgba(0,0,0,0.35);
  border: 2px dashed #5bbcff;
  padding: 10px 28px;
  font-size: 24px;
  font-weight: 800;
  color: #5bbcff;
  letter-spacing: 3px;
  border-radius: 4px;
  margin: 12px 0;
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
.burger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.burger-btn span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--header-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-white);
  text-decoration: none;
  padding: 12px 20px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: #5bbcff;
}

/* ===== PARTNER IMAGES (barca, psg) ===== */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.partner-card {
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.5);
  border-color: #5bbcff;
}

.partner-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.partner-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.82));
  padding: 28px 14px 12px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
}

/* ===== JACKPOT BLOCK ===== */
.jackpot-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  margin: 20px 0;
}

.jackpot-img-wrap {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.jackpot-img-wrap:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border-color: #5bbcff;
}

.jackpot-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.jackpot-img-wrap:hover img {
  transform: scale(1.04);
}

/* ===== REG SCREENS ===== */
.reg-screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.reg-screen-card {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.reg-screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border-color: #5bbcff;
}

.reg-screen-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.3s ease;
}

.reg-screen-card:hover img {
  transform: scale(1.03);
}

.reg-screen-label {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #5bbcff;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* ===== APK SPLIT LAYOUT ===== */
.apk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  margin: 24px 0;
}

.apk-screen-wrap {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.apk-screen-wrap:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border-color: #5bbcff;
}

.apk-screen-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.apk-screen-wrap:hover img {
  transform: scale(1.04);
}

/* ===== MOBILE PROMO WIDE ===== */
.app-promo-wide {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  margin: 20px 0;
}

.app-promo-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  border-color: #5bbcff;
}

.app-promo-wide img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.app-promo-wide:hover img {
  transform: scale(1.02);
}

/* ===== CRYPTO SCREENS GRID ===== */
.crypto-screens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.crypto-screen-card {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card-bg);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.crypto-screen-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border-color: #5bbcff;
}

.crypto-screen-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.crypto-screen-card:hover img {
  transform: scale(1.03);
}

.crypto-screen-label {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #a8d8f5;
  border-top: 1px solid var(--border-color);
  background: var(--card-bg);
}

/* ===================================================
   LIVE CAROUSEL
   =================================================== */
.live-carousel {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: #0a1a28;
  user-select: none;
  margin-bottom: 8px;
}

.lc-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.lc-slide {
  flex: 0 0 100%;
  width: 100%;
}

.lc-slide-inner {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.lc-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.lc-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.lc-slide-inner:hover .lc-img-wrap img {
  transform: scale(1.02);
}

/* Подпись */
.lc-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent 0%, rgba(5,15,28,0.92) 100%);
  padding: 36px 20px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Мигающая красная точка LIVE */
.lc-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 0 0 rgba(231,76,60,0.6);
  animation: lc-pulse 1.4s infinite;
  flex-shrink: 0;
}

@keyframes lc-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(231,76,60,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(231,76,60,0); }
  100% { box-shadow: 0 0 0 0 rgba(231,76,60,0); }
}

.lc-badge {
  background: rgba(231,76,60,0.18);
  border: 1px solid rgba(231,76,60,0.5);
  color: #ff7b6b;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.lc-desc {
  font-size: 13px;
  color: rgba(200,223,240,0.8);
  flex: 0 0 100%;
  margin-top: -4px;
}

.lc-cta {
  font-size: 12px;
  font-weight: 700;
  color: #e74c3c;
  margin-left: auto;
  white-space: nowrap;
  padding: 5px 14px;
  border: 1px solid #e74c3c;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
}

.lc-slide-inner:hover .lc-cta {
  background: #e74c3c;
  color: #fff;
}

/* Стрелки */
.lc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5,15,28,0.75);
  border: 2px solid rgba(231,76,60,0.35);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  padding: 0;
}

.lc-arrow:hover {
  background: rgba(231,76,60,0.85);
  border-color: #e74c3c;
  transform: translateY(-50%) scale(1.1);
}

.lc-prev { left: 12px; }
.lc-next { right: 12px; }

/* Точки */
.lc-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.lc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.lc-dot.active,
.lc-dot:hover {
  background: #e74c3c;
  border-color: #e74c3c;
  transform: scale(1.25);
}

/* Счётчик */
.lc-counter {
  position: absolute;
  top: 10px;
  right: 14px;
  background: rgba(5,15,28,0.75);
  border: 1px solid rgba(231,76,60,0.35);
  color: rgba(200,223,240,0.85);
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 10;
  pointer-events: none;
}

/* Адаптив */
@media (max-width: 600px) {
  .lc-img-wrap img {
    height: 200px;
  }
  .lc-caption {
    padding: 24px 12px 36px;
    gap: 6px;
  }
  .lc-arrow {
    width: 36px;
    height: 36px;
    font-size: 26px;
  }
  .lc-cta { display: none; }
}

/* ===== LIVE SCREEN WIDE ===== */
.live-screen-wide {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.live-screen-wide:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  border-color: #5bbcff;
}

.live-screen-wide img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.live-screen-wide:hover img {
  transform: scale(1.02);
}

/* ===== BONUS BANNER IMPROVED ===== */
.bonus-banner-link {
  display: block;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bonus-banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  border-color: #5bbcff;
}

.bonus-banner-link img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.bonus-banner-link:hover img {
  transform: scale(1.02);
}

/* ===== LOGO KZ HERO ===== */
.hero-logo-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-logo-img-wrap {
  border: 2px solid rgba(91,188,255,0.5);
  border-radius: 50%;
  overflow: hidden;
  width: 140px;
  height: 140px;
  background: rgba(255,255,255,0.05);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  flex-shrink: 0;
}

.hero-logo-img-wrap:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(91,188,255,0.4);
  border-color: #5bbcff;
}

.hero-logo-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-logo-caption {
  font-size: 12px;
  color: rgba(200,223,240,0.7);
  text-align: center;
  max-width: 140px;
}

/* ===== HERO BANNER (new) ===== */
.hero-banner-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
}

.hero-banner-link {
  display: block;
  text-decoration: none;
  outline: none;
}

.hero-banner-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(91,188,255,0.35),
    0 8px 32px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.3);
  background: #0d1b2e;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
  /* subtle glow border animation */
  animation: hero-banner-pulse 3s ease-in-out infinite;
}

@keyframes hero-banner-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(91,188,255,0.35), 0 8px 32px rgba(0,0,0,0.45); }
  50%       { box-shadow: 0 0 0 3px rgba(91,188,255,0.65), 0 12px 40px rgba(91,188,255,0.18), 0 0 24px rgba(91,188,255,0.12); }
}

.hero-banner-frame:hover {
  transform: scale(1.045) translateY(-4px);
  box-shadow:
    0 0 0 3px rgba(91,188,255,0.75),
    0 20px 56px rgba(0,0,0,0.55),
    0 0 40px rgba(91,188,255,0.22);
  animation: none;
}

.hero-banner-glow {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91,188,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-banner-img {
  display: block;
  width: 480px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.42s, box-shadow 0.42s;
  filter: brightness(0.97) saturate(1.05);
  position: relative;
  z-index: 1;
}

.hero-banner-frame:hover .hero-banner-img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.15) drop-shadow(0 8px 24px rgba(91,188,255,0.25));
}

.hero-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px;
  background: linear-gradient(0deg, rgba(10,20,40,0.82) 0%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  border-radius: 0 0 18px 18px;
}

.hero-banner-frame:hover .hero-banner-overlay {
  opacity: 1;
  transform: translateY(0);
}

.hero-banner-cta {
  font-size: 13px;
  font-weight: 700;
  color: #5bbcff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .hero-banner-img {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 26px;
  }

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

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

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

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

  .crypto-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .burger-btn {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .text-block {
    padding: 20px;
  }

  .promo-code {
    font-size: 18px;
    padding: 8px 20px;
  }

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

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

  .jackpot-block {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .reg-screens-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 24px auto;
  }

  .apk-split {
    grid-template-columns: 1fr;
  }

  .crypto-screens-grid {
    grid-template-columns: 1fr;
  }

  .hero-logo-img-wrap {
    width: 100px;
    height: 100px;
  }

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

  .hero-banner-img {
    width: 100%;
    max-width: 480px;
  }

  .hero-banner-wrap {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-banner-img {
    width: 100%;
    max-width: 360px;
  }

  .hero-banner-frame {
    border-radius: 12px;
  }

  .btn-full-mobile {
    width: 100%;
    display: block;
    text-align: center;
  }
}
