/* Root variables */
:root {
  --primary-color: #1ca5e9;
  --primary-dark: #0a62d6;
  --secondary-color: #ffffff;
  --accent-color: #f9129d;
  --accent-gold: #fbb87e;
  --text-color: #3c4353;
  --text-light: #5c6887;
  --text-gray: #92a0be;
  --border-color: #dce8fb;
  --bg-light: #f7faff;
  --bg-gradient-start: #ecf4ff;
  --bg-gradient-end: #dbeeff;
  --success-color: #37c200;
  --warning-color: #ffb800;
  --danger-color: #ff3636;

  --stb-font-primary: "Obviously", "Open Sans", "Arial", sans-serif;
  --stb-font-secondary: "Open Sans", "Arial", sans-serif;
  --stb-font-heading: "Obviously Narrow", "Open Sans", "Arial", sans-serif;

  --box-shadow: 0 6px 16px rgba(37, 14, 61, 0.1);
  --box-shadow-hover: 0 8px 18px rgba(23, 139, 197, 0.2);
  --transition: all 0.2s ease;
}

/* Animation Classes */
.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.bonus-card:not(.animate-in),
.stat-card:not(.animate-in),
.category-card:not(.animate-in),
.feature-card:not(.animate-in),
.faq-item:not(.animate-in) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: var(--stb-font-primary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(180deg, var(--bg-gradient-start), var(--secondary-color));
  overflow-x: hidden;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
.category-text-style {
  color: var(--text-gray); /* Updated to match modern casino sites */
  font-family: var(--stb-font-heading);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--stb-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
}

h4 {
  font-size: 1.25rem;
  color: var(--text-color);
}

p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: var(--stb-font-heading);
  font-weight: 600;
  transition: var(--transition);
  margin: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  box-shadow: var(--box-shadow);
}

.btn-primary {
  background: linear-gradient(180deg, #f9129d, #ff5477);
  color: white;
  border: 2px solid #f9129d;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #e40085, #f24568);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
  background: linear-gradient(180deg, #029dff, #0a62d6);
  color: white;
  border: 2px solid #029dff;
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #0188e6, #0959c1);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.header-login-btn {
  background: linear-gradient(180deg, #ffffff, #eff4ff);
  color: #133b72;
  border: 2px solid #78a9e5;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(26, 74, 133, 0.15);
  padding: 10px 16px;
}

.header-login-btn:hover {
  background: linear-gradient(180deg, #ffffff, #e8f0ff);
  border-color: #5e96dd;
  transform: translateY(-1px);
}

.header-register-btn {
  background: linear-gradient(180deg, #18abff, #0a62d6);
  color: #ffffff;
  border: 2px solid #0d75ea;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(10, 98, 214, 0.25);
  padding: 10px 16px;
}

.header-register-btn:hover {
  background: linear-gradient(180deg, #0fa0f6, #0958c2);
  border-color: #0b68d8;
  transform: translateY(-1px);
}
/* Header */
.header {
  background: linear-gradient(180deg, #ffffff, #eef6ff);
  color: var(--text-color);
  box-shadow: 0 2px 10px rgba(2, 123, 255, 0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  min-height: 60px;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(2, 123, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.logo {
  height: 62px;
  width: auto;
  filter: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
}

.header-center-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.header-nav-link {
  display: inline-block;
  padding: 9px 18px;
  background: linear-gradient(180deg, #cfe9ff 0%, #ffffff 100%);
  color: #133b72;
  border-radius: 24px;
  border: 2px solid #78a9e5;
  font-family: var(--stb-font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(26, 74, 133, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.header-nav-link:hover {
  background: linear-gradient(180deg, #bfe2ff 0%, #ffffff 100%);
  border-color: #5e96dd;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(26, 74, 133, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Language dropdown (trigger + list, like burger) */
.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 10px;
  color: var(--text-color);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--stb-font-heading);
}

.lang-dropdown-trigger:hover {
  background: #f2f7ff;
  border-color: #78a9e5;
}

.lang-dropdown-list {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 120px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(26, 74, 133, 0.15);
  display: none;
  flex-direction: column;
  z-index: 100;
}

.lang-dropdown:hover .lang-dropdown-list,
.lang-dropdown.is-open .lang-dropdown-list {
  display: flex;
}

.lang-dropdown-list .lang-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 0;
  border: 0;
  background: transparent;
  text-align: left;
  white-space: nowrap;
}

.lang-flag {
  width: 24px;
  height: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
}

.lang-dropdown-list .lang-link:hover {
  background-color: #e8f1ff;
  transform: none;
}

.lang-link {
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  background-color: #f2f7ff;
  color: var(--text-color);
  border: 1px solid #dce8fb;
  transition: var(--transition);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.lang-link:hover {
  background-color: #e8f1ff;
  transform: translateY(-1px);
  text-decoration: none;
}

.lang-link.is-active {
  background: linear-gradient(180deg, #18abff, #0a62d6);
  color: #fff;
  border-color: #0d75ea;
}



/* Hero Section */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  overflow: visible;
  margin-bottom: 28px;
}

.hero-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #eaf3ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, rgba(6, 48, 120, 0.68) 0%, rgba(9, 79, 167, 0.52) 45%, rgba(160, 57, 145, 0.5) 100%);
}

.hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  max-width: 860px;
  padding: 24px 24px 30px;
  animation: fadeInUp 1s ease-out;
  background: rgba(5, 26, 73, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(2px);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: #f2f7ff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
}

@media (min-width: 769px) {
  .header .container {
    max-width: none;
    padding: 0 34px 0 24px;
  }

  .logo-container {
    margin-right: auto;
  }

  .nav-right {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

/* Main Content Sections */
.main-content {
  padding: 48px 0;
}

.page-bonus-highlight,
.casino-overview,
.new-player-bonuses,
.loyalty-overview,
.casino-stats,
.registration-process,
.payment-methods,
.games-overview,
.game-categories-section,
.top-providers-section,
.popular-games-section,
.live-games-table-section,
.instant-games-table-section,
.customer-support,
.mobile-version,
.payment-overview,
.payment-logos-section,
.deposit-methods,
.withdrawal-methods,
.withdrawal-conditions,
.withdrawal-limits,
.security-info,
.welcome-bonus-section,
.no-deposit-section,
.crypto-bonus-section,
.reload-bonuses-section,
.loyalty-program-section,
.additional-perks-section,
.mobile-overview,
.mobile-features,
.how-to-access,
.supported-devices,
.mobile-bonuses,
.performance,
.mobile-faq,
.advantages,
.responsible-gaming,
.faq-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--border-color);
}

.register-page .main-content {
  padding-top: 12px;
}

.register-page .page-bonus-highlight {
  padding-top: 20px;
  padding-bottom: 24px;
}

.register-page .page-bonus-highlight .welcome-bonus {
  margin-top: 0;
  margin-bottom: 6px;
}

.bonus-highlight-image {
  margin: 20px 0 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  background: #f1f6ff;
}

.bonus-highlight-image img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: #f1f6ff;
}

.welcome-bonus {
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  margin: 25px 0;
  border-left: 4px solid var(--primary-color);
}

.welcome-bonus-image {
  margin: 0 0 18px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f6ff;
}

.welcome-bonus-image img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  background: #f1f6ff;
}

.error-404-section {
  position: relative;
  min-height: 68vh;
  background-image: url("../media/404.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.error-404-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 53, 118, 0.55), rgba(185, 58, 158, 0.38));
}

.error-404-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 70px 24px;
  max-width: 760px;
}

.error-404-content h1,
.error-404-content h2,
.error-404-content p {
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.welcome-bonus h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.welcome-bonus p {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Tables */
.stats-table,
.payment-table,
.advantages-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.stats-table,
.payment-table,
.advantages-table,
.vip-table,
.limits-table {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.stats-table thead,
.payment-table thead,
.advantages-table thead,
.vip-table thead,
.limits-table thead,
.stats-table tbody,
.payment-table tbody,
.advantages-table tbody,
.vip-table tbody,
.limits-table tbody {
  width: 100%;
}

.stats-table th,
.payment-table th,
.advantages-table th {
  background: linear-gradient(180deg, #2bb0ff, #027bff);
  color: white;
  text-align: left;
  padding: 14px 15px;
  font-weight: 600;
}

.stats-table td,
.payment-table td,
.advantages-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.stats-table tr:nth-child(even),
.payment-table tbody tr:nth-child(even),
.advantages-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.payment-table thead th {
  background: linear-gradient(180deg, #2bb0ff, #027bff);
}

.payment-table tbody tr:hover {
  background-color: rgba(26, 89, 247, 0.05);
  transform: scale(1.01);
  transition: var(--transition);
}

.steps-list {
  padding-left: 20px;
  margin: 20px 0;
}

.steps-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Game Categories */
.game-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.category-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 123, 255, 0.08);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.category-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #f1f6ff;
  padding: 8px;
}

.category-card h3 {
  padding: 15px 15px 5px;
  color: var(--primary-color);
}

.category-card p {
  padding: 0 15px;
  margin-bottom: 10px;
}

.category-card ul {
  padding: 0 15px 15px;
  list-style-type: disc;
  margin-left: 20px;
}

.support-options {
  padding-left: 20px;
  margin: 20px 0;
}

.support-options li {
  margin-bottom: 10px;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-light);
}

.faq-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--bg-gradient-start), #15284a);
  color: white;
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
  padding: 0 20px;
}

.footer-nav a {
  --link-tint: 50%;
  color: color-mix(in srgb, #253b63 calc(100% - var(--link-tint)), #e6eeff var(--link-tint));
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  text-shadow: 0 1px 1px rgba(8, 24, 56, 0.4);
}

.footer-nav a:hover {
  color: white;
  text-decoration: none;
}

/* Smooth left->right color transition to match the footer background gradient. */
.footer-nav a:nth-child(1) { --link-tint: 8%; }
.footer-nav a:nth-child(2) { --link-tint: 16%; }
.footer-nav a:nth-child(3) { --link-tint: 24%; }
.footer-nav a:nth-child(4) { --link-tint: 32%; }
.footer-nav a:nth-child(5) { --link-tint: 52%; }
.footer-nav a:nth-child(6) { --link-tint: 62%; }
.footer-nav a:nth-child(7) { --link-tint: 72%; }
.footer-nav a:nth-child(8) { --link-tint: 80%; }
.footer-nav a:nth-child(9) { --link-tint: 86%; }
.footer-nav a:nth-child(10) { --link-tint: 96%; }

.footer-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #bdcce8;
  font-size: 0.85rem;
}

/* Additional styles for bonus page */
.bonus-card {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: 0;
  align-items: start;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(2, 123, 255, 0.1);
  margin: 20px 0;
}

.bonus-image {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 16px 0 16px 16px;
  background: transparent;
}

.bonus-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #f1f6ff;
}

.bonus-details {
  min-width: 0;
  padding: 25px;
}

.bonuses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 25px;
  align-items: stretch;
}

.bonuses-grid .bonus-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bonuses-grid .bonus-image {
  width: 100%;
  padding: 10px 10px 0;
}

.bonuses-grid .bonus-image img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #f1f6ff;
}

.bonuses-grid .bonus-details {
  width: 100%;
  padding: 18px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonuses-grid .bonus-details .btn {
  margin-top: auto;
}

.vip-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.vip-table th,
.vip-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.vip-table th {
  background: linear-gradient(180deg, #2bb0ff, #027bff);
  color: white;
  font-weight: 600;
}

.vip-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.vip-table tr:hover {
  background-color: rgba(26, 89, 247, 0.05);
  transform: scale(1.01);
  transition: var(--transition);
}

/* Additional styles for games page */
.game-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.stat-card {
  text-align: center;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.stat-card h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 5px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.category-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(2, 123, 255, 0.08);
}

.category-content {
  padding: 20px;
}

.providers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 25px 0;
}

.provider-item {
  background: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.provider-item.provider-link {
  border: 0;
  font: inherit;
  line-height: 1.2;
  cursor: pointer;
}

.popular-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.popular-game {
  text-align: center;
}

.popular-game img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  object-position: center;
  background: #f1f6ff;
  padding: 6px;
  border-radius: 12px;
  transition: var(--transition);
}

.popular-game img:hover {
  transform: scale(1.05);
  box-shadow: var(--box-shadow-hover);
}

/* Additional styles for payment page */
.limits-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.limits-table th,
.limits-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.limits-table th {
  background: linear-gradient(180deg, #2bb0ff, #027bff);
  color: white;
  font-weight: 600;
}

.limits-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

.limits-table tr:hover {
  background-color: rgba(26, 89, 247, 0.05);
  transform: scale(1.01);
  transition: var(--transition);
}

/* Additional styles for mobile page */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-card {
  background: var(--bg-light);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  border-left: 4px solid var(--primary-color);
}

.devices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.device-category {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 12px;
}

.bonus-offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin: 25px 0;
}

.mobile-bonus {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-bonus .btn {
  align-self: flex-start;
  margin-top: auto;
}

.bonus-popup-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 23, 59, 0.68);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.bonus-popup-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.bonus-popup {
  width: min(92vw, 680px);
  background: linear-gradient(180deg, #f6faff, #ecf4ff);
  border: 1px solid rgba(220, 232, 251, 0.95);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(7, 23, 59, 0.28);
  overflow: hidden;
}

.bonus-popup-media {
  position: relative;
  height: clamp(220px, 34vw, 320px);
  background: #eaf3ff;
  padding: 10px;
}

.bonus-popup-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.bonus-popup-slide.is-active {
  opacity: 1;
}

.bonus-popup-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: #eaf3ff;
}

.bonus-popup-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 58, 129, 0.55), rgba(216, 48, 146, 0.38));
  pointer-events: none;
}

.bonus-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 58, 129, 0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.bonus-popup-content {
  padding: 24px 24px 28px;
  text-align: center;
}

.bonus-popup-content h3 {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.bonus-popup-content p {
  color: #2c3f65;
  margin-bottom: 16px;
}

body.bonus-popup-open {
  overflow: hidden;
}

/* Responsive design */
@media (max-width: 1024px) {
  .header-center-nav {
    gap: 8px;
  }

  .header-nav-link {
    padding: 8px 14px;
    font-size: 12px;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .bonus-card {
    grid-template-columns: minmax(220px, 300px) 1fr;
  }
}

@media (max-width: 768px) {
  .header-content {
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  .logo-container {
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }

  .header-center-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 15px;
    right: 15px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(2, 123, 255, 0.12);
    z-index: 1002;
  }

  .header.menu-open .header-center-nav {
    display: flex;
  }

  .header-nav-link {
    min-width: 0;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
  }

  .nav-right {
    width: auto;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-left: 0;
  }

  .nav-right .btn {
    margin: 0;
    padding: 8px 12px;
    font-size: 12px;
  }

  .nav-right .btn,
  .nav-right .lang-dropdown,
  .nav-right .lang-dropdown-trigger {
    width: auto;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .header.menu-open .menu-toggle span {
    background: transparent;
  }

  .header.menu-open .menu-toggle span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .header.menu-open .menu-toggle span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  
  .hero {
    height: 60vh;
    min-height: 360px;
    margin-bottom: 24px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.05rem;
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .game-categories {
    grid-template-columns: 1fr;
  }

  .bonuses-grid,
  .bonus-offers,
  .features-grid,
  .devices-grid,
  .popular-games-grid {
    grid-template-columns: 1fr;
  }

  .bonus-image,
  .bonus-details {
    min-width: 0;
    width: 100%;
  }

  .bonus-card {
    display: flex;
    grid-template-columns: none;
  }

  .bonus-image img {
    border-radius: 8px 8px 0 0;
    height: 155px;
    object-fit: contain;
    background: #f1f6ff;
  }
  
  .footer-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .container {
    padding: 0 15px;
  }

  .bonus-highlight-image img {
    height: 190px;
    object-fit: contain;
    background: #f1f6ff;
  }

  .category-card img {
    height: 150px;
    object-fit: contain;
    background: #f1f6ff;
  }

  .popular-game img {
    height: 110px;
    object-fit: contain;
    background: #f1f6ff;
  }
  .stats-table,
  .payment-table,
  .advantages-table,
  .vip-table,
  .limits-table {
    display: block;
    overflow: visible;
    border-radius: 0;
    box-shadow: none;
    margin: 16px 0;
  }

  .stats-table thead,
  .payment-table thead,
  .advantages-table thead,
  .vip-table thead,
  .limits-table thead {
    display: none;
  }

  .stats-table tr[data-table-header-row="true"],
  .payment-table tr[data-table-header-row="true"],
  .advantages-table tr[data-table-header-row="true"],
  .vip-table tr[data-table-header-row="true"],
  .limits-table tr[data-table-header-row="true"] {
    display: none;
  }

  .stats-table tbody,
  .payment-table tbody,
  .advantages-table tbody,
  .vip-table tbody,
  .limits-table tbody,
  .stats-table > tr,
  .payment-table > tr,
  .advantages-table > tr,
  .vip-table > tr,
  .limits-table > tr {
    display: block;
    min-width: 0;
  }

  .stats-table tr,
  .payment-table tr,
  .advantages-table tr,
  .vip-table tr,
  .limits-table tr {
    display: block;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(2, 123, 255, 0.08);
    overflow: hidden;
  }

  .stats-table td,
  .payment-table td,
  .advantages-table td,
  .vip-table td,
  .limits-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    text-align: right;
    padding: 10px 12px;
    white-space: normal;
  }

  .stats-table td:last-child,
  .payment-table td:last-child,
  .advantages-table td:last-child,
  .vip-table td:last-child,
  .limits-table td:last-child {
    border-bottom: none;
  }

  .stats-table td::before,
  .payment-table td::before,
  .advantages-table td::before,
  .vip-table td::before,
  .limits-table td::before {
    content: attr(data-label);
    color: var(--primary-dark);
    font-weight: 700;
    text-align: left;
    flex: 0 0 45%;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 56vh;
    min-height: 320px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .header .btn,
  .welcome-bonus .btn,
  .bonus-details .btn {
    width: 100%;
    margin: 5px 0;
  }

  .nav-right .btn,
  .nav-right .lang-dropdown,
  .nav-right .lang-dropdown-trigger {
    width: auto;
    margin: 0;
  }

  .logo {
    height: 42px;
  }

  .provider-item {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 12px;
  }

  .header {
    padding: 10px 0;
  }

  .hero-content {
    padding: 14px;
  }

  .hero-content h1 {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 14px;
  }

  .header-nav-link {
    padding: 11px 16px;
    font-size: 13px;
  }

  .main-content {
    padding: 28px 0;
  }

  .page-bonus-highlight,
  .casino-overview,
  .new-player-bonuses,
  .loyalty-overview,
  .casino-stats,
  .registration-process,
  .payment-methods,
  .games-overview,
  .game-categories-section,
  .top-providers-section,
  .popular-games-section,
  .live-games-table-section,
  .instant-games-table-section,
  .customer-support,
  .mobile-version,
  .payment-overview,
  .payment-logos-section,
  .deposit-methods,
  .withdrawal-methods,
  .withdrawal-conditions,
  .withdrawal-limits,
  .security-info,
  .welcome-bonus-section,
  .no-deposit-section,
  .crypto-bonus-section,
  .reload-bonuses-section,
  .loyalty-program-section,
  .additional-perks-section,
  .mobile-overview,
  .mobile-features,
  .how-to-access,
  .supported-devices,
  .mobile-bonuses,
  .performance,
  .mobile-faq,
  .advantages,
  .responsible-gaming,
  .faq-section {
    padding: 32px 0;
  }

  .welcome-bonus,
  .bonus-details,
  .feature-card,
  .device-category,
  .mobile-bonus,
  .faq-item {
    padding: 16px;
  }

  .bonus-image img {
    height: 132px;
  }

  .bonus-highlight-image img {
    height: 170px;
  }

  .category-card img {
    height: 136px;
  }

  .popular-game img {
    height: 96px;
  }

  .stats-table td,
  .payment-table td,
  .advantages-table td,
  .vip-table td,
  .limits-table td {
    gap: 8px;
    padding: 9px 10px;
    font-size: 0.93rem;
  }

  .stats-table td::before,
  .payment-table td::before,
  .advantages-table td::before,
  .vip-table td::before,
  .limits-table td::before {
    flex-basis: 43%;
    font-size: 0.85rem;
  }
}

@media (max-width: 360px) {
  .hero {
    min-height: 290px;
  }

  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .btn {
    padding: 11px 16px;
    font-size: 12px;
  }

  h1 {
    font-size: 1.55rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  .providers-list {
    gap: 10px;
  }

  .provider-item {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .footer {
    padding: 44px 0 24px;
    margin-top: 40px;
  }
}

.btn:focus-visible,
.header-nav-link:focus-visible,
.lang-dropdown-trigger:focus-visible,
.lang-link:focus-visible,
a:focus-visible {
  outline: 3px solid #ffb800;
  outline-offset: 2px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}



