.header-main {
  background: var(--header-bg);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.logo-wrapper a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: transform 0.3s;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
}

.nav-item a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-item a:hover {
  color: var(--btn-red);
  background: rgba(229, 5, 57, 0.1);
}

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

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(40, 169, 9, 0.15);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--btn-green);
  font-weight: 600;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: var(--btn-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.lang-dropdown {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 0.9rem;
}

.lang-current:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lang-flag {
  width: 20px;
  height: 15px;
  border-radius: 3px;
}

.lang-list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: var(--header-bg);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 8px;
  min-width: 150px;
  display: none;
}

.lang-dropdown:hover .lang-list {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-option:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-demo {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-demo:hover {
  background: var(--text-light);
  color: var(--header-bg);
}

.btn-play {
  background: var(--btn-green);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 169, 9, 0.3);
}

.btn-play:hover {
  background: #22910a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 169, 9, 0.4);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 3px;
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background: var(--header-bg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-nav-list {
  list-style: none;
}

.mobile-nav-item {
  margin: 15px 0;
}

.mobile-nav-item a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

.mobile-nav-item a:hover {
  background: rgba(229, 5, 57, 0.1);
}

.mobile-actions {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: auto 1fr auto;
  }

  .nav-menu {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .header-actions {
    gap: 10px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 0.85rem;
  }

  .online-counter {
    display: none;
  }

  .lang-current {
    padding: 6px 10px;
  }
}

.hero-section {
  position: relative;
  padding: 80px 20px;
  background: url("/banner.png") center / cover no-repeat;
  border-radius: 20px;
  margin: 30px 0;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(14, 14, 14, 0.85), rgba(27, 28, 29, 0.75));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, var(--btn-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--text-gray);
  line-height: 1.7;
}

.hero-btn {
  background: var(--btn-red);
  color: white;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(229, 5, 57, 0.4);
  transition: all 0.3s;
}

.hero-btn:hover {
  background: #c60431;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 5, 57, 0.5);
}

.promo-card {
  background: linear-gradient(135deg, rgba(229, 5, 57, 0.15), rgba(40, 169, 9, 0.15));
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--btn-red);
  box-shadow: 0 10px 40px rgba(229, 5, 57, 0.3);
}

.promo-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.promo-code-box {
  background: var(--header-bg);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
}

.promo-code {
  font-size: 2rem;
  font-weight: 800;
  color: var(--btn-red);
  letter-spacing: 3px;
  font-family: "Courier New", monospace;
}

.promo-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-copy,
.btn-activate {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-activate {
  background: var(--btn-green);
  color: white;
  box-shadow: 0 4px 15px rgba(40, 169, 9, 0.3);
}

.btn-activate:hover {
  background: #22910a;
  transform: translateY(-2px);
}

.promo-status {
  text-align: center;
  margin-top: 15px;
  padding: 8px;
  background: rgba(40, 169, 9, 0.2);
  border-radius: 6px;
  color: var(--btn-green);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 50px 20px;
  }

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

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }
}

.jackpot-section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--text-light);
}

.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.jackpot-card {
  background: linear-gradient(135deg, var(--card-bg), rgba(229, 5, 57, 0.05));
  padding: 30px;
  border-radius: 15px;
  border: 2px solid var(--border-color);
  text-align: center;
  transition: all 0.3s;
}

.jackpot-card:hover {
  transform: translateY(-5px);
  border-color: var(--btn-red);
  box-shadow: 0 15px 40px rgba(229, 5, 57, 0.3);
}

.jackpot-level {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.jackpot-amount {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--btn-red);
  font-family: "Courier New", monospace;
}

.jackpot-winners {
  text-align: left;
}

.winners-title {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
}

.winner-name {
  font-weight: 600;
}

.winner-amount {
  color: var(--btn-green);
  font-weight: 700;
}

@media (max-width: 768px) {
  .jackpots-grid {
    grid-template-columns: 1fr;
  }

  .jackpot-amount {
    font-size: 2rem;
  }
}

.screenshots-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(229, 5, 57, 0.03), rgba(40, 169, 9, 0.03));
}

.screenshots-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.screenshot-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.swiper-container {
  display: none;
}

@media (max-width: 768px) {
  .screenshots-container {
    display: none;
  }

  .swiper-container {
    display: block;
  }

  .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
  }

  .swiper-slide img {
    width: 100%;
    height: 350px;
    object-fit: cover;
  }
}

.bonuses-section {
  padding: 60px 20px;
}

.bonuses-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.bonus-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.3s;
}

.bonus-card:hover {
  border-color: var(--btn-green);
  box-shadow: 0 15px 40px rgba(40, 169, 9, 0.3);
  transform: translateY(-5px);
}

.bonus-header {
  background: linear-gradient(135deg, var(--btn-red), var(--btn-green));
  padding: 20px;
  text-align: center;
}

.casino-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.bonus-body {
  padding: 25px;
}

.bonus-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
}

.bonus-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--btn-green);
  margin-bottom: 20px;
}

.bonus-features {
  list-style: none;
  margin-bottom: 25px;
}

.bonus-features li {
  padding: 8px 0;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.bonus-features li::before {
  content: "✓";
  color: var(--btn-green);
  font-weight: 700;
  font-size: 1.2rem;
}

.btn-bonus {
  width: 100%;
  padding: 12px;
  background: var(--btn-green);
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-bonus:hover {
  background: #22910a;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .bonuses-container {
    display: none;
  }

  .swiper-bonuses {
    display: block;
  }

  .bonus-card {
    margin: 0 10px;
  }
}

.demo-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(229, 5, 57, 0.05), rgba(40, 169, 9, 0.05));
}

.demo-container {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid var(--border-color);
  max-width: 1000px;
  margin: 0 auto;
}

.demo-header {
  text-align: center;
  margin-bottom: 30px;
}

.demo-header h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.demo-header p {
  color: var(--text-gray);
  font-size: 1.1rem;
}

.demo-frame {
  position: relative;
  width: 100%;
  height: 600px;
  background: var(--site-bg);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.demo-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-actions {
  text-align: center;
}

.btn-real-money {
  background: var(--btn-red);
  color: white;
  padding: 15px 50px;
  font-size: 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(229, 5, 57, 0.4);
  transition: all 0.3s;
}

.btn-real-money:hover {
  background: #c60431;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(229, 5, 57, 0.5);
}

@media (max-width: 768px) {
  .demo-container {
    padding: 20px;
  }

  .demo-frame {
    height: 450px;
  }
}

.author-section {
  padding: 60px 20px;
}

.author-card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 40px;
  border: 2px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.author-content {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  align-items: center;
}

.author-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--btn-red);
}

.author-info h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.author-role {
  color: var(--btn-red);
  font-weight: 600;
  margin-bottom: 15px;
}

.author-bio {
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.author-social {
  display: flex;
  gap: 15px;
}

.social-link {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--btn-red);
}

@media (max-width: 768px) {
  .author-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-photo {
    margin: 0 auto;
  }

  .author-social {
    justify-content: center;
  }
}

.footer-main {
  background: var(--footer-bg);
  padding: 50px 20px 30px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--text-gray);
  line-height: 1.7;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--btn-red);
}

.payment-logos,
.license-logos,
.provider-logo {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.payment-logo,
.license-logo {
  height: 30px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.payment-logo:hover,
.license-logo:hover {
  opacity: 1;
}

.provider-logo img {
  height: 35px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  text-align: center;
}

.footer-legal {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}

.widget-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--btn-red), var(--btn-green));
  padding: 15px 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.widget-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.widget-text {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.widget-bonus {
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.btn-widget {
  background: white;
  color: var(--btn-red);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .widget-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .widget-text {
    font-size: 0.95rem;
  }

  .widget-bonus {
    font-size: 1.2rem;
  }
}

.e3r7t2y9 {
  background: transparent;
}

.m5n8k3p7 {
  display: flex;
}

.q8w2e5r1 {
  opacity: 0.5;
}

.f4g7h9j2 {
  position: absolute;
  left: -9999px;
}


/* =========================================
   MOBILE: scrollable rows for screenshots & bonuses
   ========================================= */
@media (max-width: 768px) {
  /* Повертаємо видимість грідів і ховаємо swiper */
  .screenshots-container,
  .bonuses-container {
    display: flex !important;           /* замість grid/swiper */
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 0 4px 10px;
    scroll-snap-type: x mandatory;
  }

  /* Ховаємо будь-які слайдери */
  .swiper-container,
  .swiper-bonuses,
  .swiper-screenshots {
    display: none !important;
  }

  /* Елементи в стрічці */
  .screenshots-container .screenshot-item,
  .bonuses-container .bonus-card {
    flex: 0 0 82%;
    max-width: 82%;
    scroll-snap-align: start;
  }

  /* Картинки в скріншотах під моб */
  .screenshots-container .screenshot-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    display: block;
    border-radius: 12px;
  }

  /* Трохи компактніші картки бонусів */
  .bonus-header { padding: 14px; }
  .bonus-body { padding: 16px; }
  .bonus-title { font-size: 1.05rem; }
  .bonus-amount { font-size: 1.8rem; margin-bottom: 12px; }
  .btn-bonus { padding: 11px; font-size: .98rem; }

  /* Прибрати скролбар (необов’язково) */
  .screenshots-container::-webkit-scrollbar,
  .bonuses-container::-webkit-scrollbar { display: none; }
}

/* =========================================
   DESKTOP: залишаємо 3 в ряд (як було)
   ========================================= */
@media (min-width: 769px) {
  .screenshots-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    overflow: visible;
  }
  .bonuses-container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    overflow: visible;
  }
}
