/* CSS Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FAC437;
  --dark: #101114;
  --dark-light: #1a1d21;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --yellow-600: #F5A623;
  --yellow-800: #B8860B;
  --purple-900: #581c87;
  --yellow-900: #713f12;
  --blue-900: #1e3a8a;
  --green-900: #14532d;
  --cyan-900: #164e63;
  --orange-900: #7c2d12;
  --yellow-950: #8B6914;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark);
  color: #ffffff;
  line-height: 1.5;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: rgba(250, 196, 55, 0.9);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Gradient */
.gradient-overlay {
  background: linear-gradient(135deg, rgba(16, 17, 20, 0.95) 0%, rgba(16, 17, 20, 0.7) 100%);
}

/* Headings */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

h5, h6 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

/* Paragraphs */
p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--gray-300);
  font-size: 1rem;
}

/* Lists */
ul, ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding-left: 1rem;
  line-height: 1.7;
}

ul li, ol li {
  margin-bottom: 0.5rem;
  color: var(--gray-300);
}

ul li::marker {
  color: var(--primary);
}

ol li::marker {
  color: var(--primary);
  font-weight: 600;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--dark-light);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Horizontal scroll for tables (mobile same as desktop) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 2rem 0;
  border-radius: 0.5rem;
  background-color: var(--dark-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.table-responsive > table {
  margin: 0;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}

table thead tr {
  background-color: var(--primary);
}

table thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  color: #000000;
  border-bottom: 2px solid var(--dark);
}

table tbody tr {
  border-bottom: 1px solid #2d3035;
  transition: background-color 0.2s ease;
}

table tbody tr:hover {
  background-color: #24272c;
}

table tbody tr:last-child {
  border-bottom: none;
}

table tbody td {
  padding: 1rem;
  font-size: 0.95rem;
  color: var(--gray-300);
}

table tbody td:first-child {
  font-weight: 600;
  color: #ffffff;
}

/* Header */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
  background-color: rgba(16, 17, 20, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-800);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: inline-block;
  text-align: center;
}

.btn-gray {
  background-color: var(--gray-700);
  border: 2px solid var(--gray-700);
  color: #ffffff;
}

.btn-gray:hover {
  background-color: var(--gray-600);
}

.btn-primary {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: #000000;
}

.btn-primary:hover {
  background-color: rgba(250, 196, 55, 0.9);
  color: #000000;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-600);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--primary);
}

.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-mobile {
  padding: 0.35rem 0.65rem;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-mobile-primary {
  background-color: var(--primary);
  border: 1px solid var(--primary);
  color: #000000;
}

.btn-mobile-primary:hover {
  background-color: rgba(250, 196, 55, 0.9);
  color: #000000;
}

.btn-mobile-outline {
  background: transparent;
  border: 1px solid var(--gray-600);
  color: #ffffff;
}

.btn-mobile-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mobile-menu-btn {
  display: block;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid var(--gray-800);
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6.5rem 0 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 100%;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.hero-text {
  min-width: 0;
}

.hero-text > p {
  margin-left: 0;
  margin-right: 0;
  max-width: 40rem;
}

.hero-text .hero-buttons {
  justify-content: flex-start;
  align-items: flex-start;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.hero-side .promo-block {
  width: 100%;
  margin-top: 0;
  justify-content: flex-end;
  padding: 0;
}

.hero-side .promo-card {
  max-width: 100%;
}

.hero-side .trust-badges {
  margin-top: 0;
  justify-content: flex-end;
}

.hero h1 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  color: var(--gray-300);
  margin-bottom: 1rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  width: 100%;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: #000000;
}

/* Promo Code Block */
.promo-block {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.promo-card {
  background-color: rgba(26, 29, 33, 0.8);
  backdrop-filter: blur(8px);
  border: 2px dashed var(--primary);
  border-radius: 0.75rem;
  padding: 1.5rem 1rem 0.5rem;
  max-width: 28rem;
  width: 100%;
}

.promo-content {
  text-align: center;
  margin-bottom: 1rem;
}

.promo-label {
  color: var(--gray-300);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.promo-inputs {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.promo-code-box {
  background-color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  width: 100%;
  text-align: center;
}

.promo-code {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}

.copy-btn {
  background-color: var(--primary);
  color: #000000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  transition: background-color 0.3s;
}

.copy-btn:hover {
  background-color: rgba(250, 196, 55, 0.9);
}

.copy-success {
  color: #4ade80;
  font-size: 0.75rem;
  margin-top: 0.5rem;
  display: none;
}

.copy-success.show {
  display: block;
}

/* Trust Badges */
.trust-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-dark {
  background-color: var(--dark);
}

.section-light {
  background-color: var(--dark-light);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-400);
  margin-bottom: 3rem;
}

/* Games Section - Full Width Slider */
.games-section-fullwidth {
  padding: 3rem 0 4rem 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, var(--dark-light) 0%, rgba(16, 17, 20, 0.95) 100%);
}

.games-section-fullwidth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 25%, #ff6b6b 50%, var(--primary) 75%, transparent 100%);
  opacity: 0.6;
  box-shadow: 0 0 20px rgba(250, 196, 55, 0.5);
}

.games-section-fullwidth::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 25%, #ff6b6b 50%, var(--primary) 75%, transparent 100%);
  opacity: 0.6;
  box-shadow: 0 0 20px rgba(250, 196, 55, 0.5);
}

.games-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.games-simple-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  margin-bottom: 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffd700 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(250, 196, 55, 0.5);
  position: relative;
}

.games-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.games-fullwidth-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
}

.games-nav-arrow {
  background-color: rgba(26, 29, 33, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem;
  border-radius: 50%;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--primary);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.games-nav-arrow:hover {
  background-color: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(250, 196, 55, 0.4);
}

.games-nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.slide-indicator {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.games-slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 2rem 0;
  user-select: none;
}

.games-slider {
  display: flex;
  transition: transform 0.5s ease-out;
  gap: 1.5rem;
  cursor: grab;
}

.games-slider:active {
  cursor: grabbing;
}

.game-card {
  flex: 0 0 220px;
  max-width: 220px;
  user-select: none;
  -webkit-user-drag: none;
}

.game-card img {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.game-card-inner {
  background: transparent;
  border-radius: 1rem;
  border: 2px solid rgba(250, 196, 55, 0.2);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.game-card-inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 50%, #4ecdc4 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.game-card-inner:hover {
  box-shadow: 0 20px 40px rgba(250, 196, 55, 0.4), 0 0 30px rgba(250, 196, 55, 0.2);
  border-color: var(--primary);
}

.game-card-inner:hover::before {
  opacity: 1;
}

.game-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(250, 196, 55, 0.1) 0%, rgba(255, 107, 107, 0.1) 50%, rgba(78, 205, 196, 0.1) 100%);
  display: block;
}

.game-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.game-card-inner:hover .game-image::after {
  opacity: 1;
}

.game-image img {
  width: 100%;
  height: auto;
  display: block;
}

.game-title {
  display: none;
}

.game-desc {
  display: none;
}

.game-meta {
  display: none;
}

.game-btn {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 200px;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, #F5A623 100%);
  color: #000000;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  text-decoration: none;
  text-align: center;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(250, 196, 55, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.game-card-inner:hover .game-btn {
  display: block;
  opacity: 1;
  pointer-events: auto;
  animation: fadeInUp 0.3s ease-out;
}

.game-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #ffd700 0%, var(--primary) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.game-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 8px 25px rgba(250, 196, 55, 0.6), 0 0 20px rgba(250, 196, 55, 0.4);
  background: linear-gradient(135deg, #ffd700 0%, var(--primary) 100%);
  color: #000000;
}

.game-btn:hover::before {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--gray-600);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover {
  background-color: var(--gray-500);
  transform: scale(1.2);
}

.dot.active {
  background-color: var(--primary);
  width: 2rem;
  border-radius: 0.25rem;
}

/* Mobile Apps Section */
.mobile-grid {
  display: grid;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.mobile-card {
  background-color: var(--dark-light);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-800);
}

.mobile-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mobile-icon {
  font-size: 3rem;
  margin-right: 1rem;
}

.mobile-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.mobile-version {
  color: var(--gray-400);
}

.mobile-features {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
}

.mobile-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--gray-300);
}

.mobile-features svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

.faq-section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--primary) 0%, #ffd700 50%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq-item {
  background: linear-gradient(135deg, rgba(26, 29, 33, 0.95) 0%, rgba(16, 17, 20, 0.98) 100%);
  border-radius: 0.75rem;
  border: 1px solid var(--gray-800);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, #F5A623 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(250, 196, 55, 0.4);
  box-shadow: 0 4px 20px rgba(250, 196, 55, 0.15);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.faq-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, #F5A623 100%);
  color: #000000;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(250, 196, 55, 0.3);
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray-300);
  padding-left: 2.75rem;
  margin: 0;
}

/* FAQ Responsive */
@media (max-width: 768px) {
  .faq-section {
    padding: 3rem 0;
  }

  .faq-section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .faq-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .faq-question-text {
    font-size: 1rem;
  }

  .faq-number {
    min-width: 1.75rem;
    height: 1.75rem;
    font-size: 0.75rem;
  }

  .faq-answer {
    font-size: 0.9375rem;
    padding-left: 2.5rem;
  }
}

@media (max-width: 480px) {
  .faq-question-text {
    font-size: 0.95rem;
  }

  .faq-answer {
    padding-left: 0;
    margin-top: 0.25rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--primary), var(--yellow-600));
  text-align: center;
  color: #000000;
}

.cta-section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #000000;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: #000000;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
}

.btn-white:hover {
  background-color: #f3f4f6;
}

.btn-dark {
  background-color: var(--dark);
  color: #ffffff;
}

.btn-dark:hover {
  background-color: var(--dark-light);
}

/* Footer */
.footer {
  background-color: var(--dark-light);
  padding: 2rem 0 1.5rem;
  border-top: 1px solid var(--gray-800);
}

/* Footer Top Bar */
.footer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 26px;
  width: auto;
}

.footer-top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s;
  color: #ffffff;
  font-size: 0.875rem;
}

.language-selector:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lang-flag {
  font-size: 1.125rem;
}

.lang-code {
  font-weight: 500;
}

.footer-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 0.5rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.footer-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer Main Section */
.footer-main-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Support Block */
.footer-support-block {
  background: linear-gradient(135deg, rgba(26, 29, 33, 0.8) 0%, rgba(31, 41, 55, 0.8) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.support-content {
  flex: 1;
}

.support-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.support-badge {
  background: var(--primary);
  color: #000000;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.support-desc {
  color: var(--gray-300);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-support {
  display: inline-block;
  background: var(--primary);
  color: #000000 !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-support:hover {
  background: var(--yellow-600);
  color: #000000 !important;
}

.support-image {
  flex-shrink: 0;
}

.support-image-placeholder {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(250, 196, 55, 0.1);
}

/* Business Contacts Block */
.footer-business-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.business-item {
  background: rgba(26, 29, 33, 0.6);
  border-radius: 0.75rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.business-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.business-email {
  color: #3B82F6;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s;
}

.business-email:hover {
  color: #60A5FA;
}

/* App Install Blocks */
.footer-apps-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.app-block {
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.app-block-mobile {
  background: linear-gradient(135deg, #1B5A43 0%, #144A35 100%);
}

.app-block-promo {
  background: linear-gradient(135deg, var(--yellow-600) 0%, var(--yellow-800) 100%);
}

.promo-code-box-footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-code-footer {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  display: block;
}

.btn-promo-copy {
  width: 100%;
  justify-content: center;
  color: #000000 !important;
}

.btn-promo-copy:hover {
  color: #000000 !important;
}

.copy-success-footer {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  text-align: center;
  font-weight: 500;
}

.app-content {
  flex: 1;
}

.app-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.app-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-app-install {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000 !important;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-app-install:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #000000 !important;
}

.app-image {
  flex-shrink: 0;
}

.app-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

/* Footer Info Section */
.footer-info-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info-column {
  display: flex;
  flex-direction: column;
}

.footer-logo-column .footer-logo {
  margin-bottom: 1rem;
}

.footer-logo-column .footer-logo img {
  height: 26px;
  width: auto;
}

.footer-logo-column .footer-desc {
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 100%;
  margin-top: 0;
}

.footer-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-rating-stars {
  display: flex;
  gap: 0.125rem;
}

.footer-rating-stars .star {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  position: relative;
  background: linear-gradient(90deg, #FAC437 50%, rgba(255, 255, 255, 0.2) 50%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.footer-rating-stars .star-full {
  background: #FAC437;
}

.footer-rating-stars .star-half {
  background: linear-gradient(90deg, #FAC437 80%, rgba(255, 255, 255, 0.2) 80%);
}

.footer-rating-text {
  color: var(--gray-300);
  font-size: 0.875rem;
}

.footer-rating-reviews {
  color: var(--gray-400);
  font-size: 0.8125rem;
}

.footer-info-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-info-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-info-links li {
  margin-bottom: 0.5rem;
}

.footer-info-links a {
  color: var(--gray-300);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-info-links a:hover {
  color: #ffffff;
}

.footer-categories {
  display: grid;
  gap: 0.5rem 1rem;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Social icons specific colors */
.social-icon:nth-child(1) {
  background: #0088cc;
}

.social-icon:nth-child(2) {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:nth-child(3) {
  background: #0077ff;
}

.social-icon:nth-child(4) {
  background: #ffffff;
  color: #000000;
}

.social-icon:nth-child(5) {
  background: #000000;
  color: #ffffff;
}

.social-icon:nth-child(6) {
  background: #bd081c;
}

.social-icon:nth-child(7) {
  background: #ff0000;
}

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

.footer-age {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.5rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

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

.footer a:hover {
  color: var(--primary);
}

.footer-legal {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.footer-legal p {
  margin-bottom: 1rem;
  color: var(--gray-400);
}

.age-warning {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.footer-center {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Utilities */
.hidden {
  display: none;
}

.show {
  display: block;
}

/* Media Queries */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-actions {
    display: flex;
  }

  .nav-mobile-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .btn-lg {
    width: auto;
  }

  .promo-inputs {
    flex-direction: row;
  }



  .copy-btn {
    width: auto;
  }

  .games-slider-container {
    padding: 2rem 0;
  }

  .game-card {
    flex: 0 0 280px;
    max-width: 280px;
  }

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

  .cta-buttons {
    flex-direction: row;
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  h1 {
    font-size: 2.5rem;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .footer-main-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .footer-apps-section {
    grid-column: auto;
  }

  .footer-business-block {
    grid-column: auto;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-side {
    align-items: stretch;
  }

  .hero-side .promo-block {
    justify-content: center;
    width: 100%;
  }

  .hero-side .trust-badges {
    justify-content: center;
  }

  h1 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }

  h4 {
    font-size: 1.125rem;
    margin-top: 1.25rem;
    margin-bottom: 0.625rem;
  }

  h5, h6 {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  /* Tables on mobile: same as desktop + horizontal scroll */
  .table-responsive {
    margin: 1.5rem 0;
  }

  .table-responsive > table {
    font-size: 0.875rem;
  }

  /* Scroll appears only when there are many columns/content */
  .table-responsive > table th,
  .table-responsive > table td {
    min-width: 140px;
  }

  /* Responsive paragraphs and lists */
  p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0.875rem;
  }

  ul, ol {
    margin: 0.875rem 0 1.25rem 1rem;
    padding-left: 0.75rem;
  }

  ul li, ol li {
    font-size: 0.9375rem;
    margin-bottom: 0.4rem;
  }

  /* Hide timer on mobile */
  .promo-timer {
    display: none !important;
  }

  /* Footer responsive */
  .footer-main-section {
    grid-template-columns: 1fr;
  }

  .footer-support-block {
    flex-direction: column;
    text-align: center;
  }

  .support-image {
    display: none;
  }

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

  .footer-info-section {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
  }

  .footer-copyright {
    width: 100%;
    text-align: center;
  }

  .footer-age {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.125rem;
  }

  h4, h5, h6 {
    font-size: 1rem;
  }

  .table-responsive > table {
    font-size: 0.8125rem;
  }

  .table-responsive > table tbody td {
    font-size: 0.8125rem;
    padding: 0.875rem;
  }

  .table-responsive > table th,
  .table-responsive > table td {
    min-width: 120px;
  }

  /* Responsive paragraphs and lists for very small screens */
  p {
    font-size: 0.875rem;
    line-height: 1.6;
  }

  ul, ol {
    margin: 0.75rem 0 1rem 0.75rem;
    padding-left: 0.5rem;
  }

  ul li, ol li {
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
  }

  /* Footer small screens */
  .app-block {
    flex-direction: column;
    text-align: center;
  }

  .app-image {
    display: none;
  }
}

/* Responsive for game images */
@media (min-width: 1920px) {
  .games-slider-container {
    padding: 2rem 0;
  }
  
  .game-card {
    flex: 0 0 230px;
    max-width: 230px;
  }

  .games-nav-arrow {
    width: 52px;
    height: 52px;
    padding: 0.875rem;
  }
}

@media (min-width: 1600px) and (max-width: 1919px) {
  .games-slider-container {
    padding: 2rem 0;
  }
  
  .game-card {
    flex: 0 0 220px;
    max-width: 220px;
  }

  .games-nav-arrow {
    width: 50px;
    height: 50px;
    padding: 0.875rem;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .games-slider-container {
    padding: 2rem 0;
  }

  .game-card {
    flex: 0 0 220px;
    max-width: 220px;
  }

  .games-nav-arrow {
    width: 48px;
    height: 48px;
    padding: 0.75rem;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .games-slider-container {
    padding: 2rem 0;
  }
  
  .game-card {
    flex: 0 0 230px;
    max-width: 230px;
  }

  .games-nav-arrow {
    width: 46px;
    height: 46px;
    padding: 0.75rem;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .games-slider-container {
    padding: 2rem 0;
  }

  .game-card {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .games-nav-arrow {
    width: 44px;
    height: 44px;
    padding: 0.7rem;
  }
}

@media (max-width: 767px) {
  .games-slider-container {
    padding: 1.5rem 0;
  }

  .games-nav-arrow {
    width: 42px;
    height: 42px;
    padding: 0.7rem;
  }
  
  .game-btn {
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    width: calc(100% - 2rem);
    max-width: 180px;
  }

  .game-card {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .games-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .games-nav-controls {
    align-self: flex-end;
  }

  .games-simple-title {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .games-slider-container {
    padding: 1rem 0;
  }

  .games-nav-arrow {
    width: 38px;
    height: 38px;
    padding: 0.6rem;
  }

  .game-card {
    flex: 0 0 240px;
    max-width: 240px;
  }
  
  .game-btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    width: calc(100% - 2rem);
    max-width: 160px;
  }

  .games-header {
    gap: 0.75rem;
  }

  .games-simple-title {
    font-size: 1.25rem;
    margin-bottom: 0;
  }

  /* Adaptation of promo-block for small screens */
  .promo-block {
    margin-top: 2rem;
    padding: 0 0.5rem;
  }

  .promo-card {
    padding: 1rem 0.75rem 0.5rem;
  }

  .promo-label {
    font-size: 0.8125rem;
  }

  .promo-code-box {
    padding: 0.5rem 0.75rem;
  }

  .promo-code {
    font-size: 1.125rem;
    letter-spacing: 0.05em;
  }

  .copy-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }

  /* Hide timer on mobile */
  .promo-timer {
    display: none !important;
  }
}

/* Additional adaptation for screens 320px and smaller */
@media (max-width: 360px) {
  .promo-block {
    padding: 0 0.25rem;
  }

  .promo-card {
    padding: 0.875rem 0.5rem 0.5rem;
  }

  .promo-label {
    font-size: 0.75rem;
  }

  .promo-code-box {
    padding: 0.5rem;
  }

  .promo-code {
    font-size: 1rem;
    letter-spacing: 0.025em;
  }

  .copy-btn {
    padding: 0.5rem 0.75rem;
    gap: 0.25rem;
  }

  .copy-btn svg {
    width: 1rem;
    height: 1rem;
  }

  #copyText {
    font-size: 0.8125rem;
  }
}

/* Content Section Highlight */
.content-section .container {
  background: linear-gradient(135deg, rgba(250, 196, 55, 0.05) 0%, rgba(250, 196, 55, 0.02) 100%);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(250, 196, 55, 0.15);
  box-shadow: 0 4px 20px rgba(250, 196, 55, 0.1);
}

@media (max-width: 768px) {
  .content-section .container {
    padding: 1.5rem 1rem;
  }
}

/* ===== Index page: Table of contents (TOC) ===== */
.table-of-contents {
  background: linear-gradient(135deg, var(--dark-light) 0%, #24272c 100%);
  border-radius: 0.75rem;
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  user-select: none;
}

.toc-header:hover {
  background-color: rgba(250, 196, 55, 0.1);
}

.toc-toggle {
  font-size: 1rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}

.toc-toggle.open {
  transform: rotate(180deg);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.toc-list.show {
  max-height: 1000px;
  margin-top: 0.5rem;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  display: flex;
  align-items: center;
  color: var(--gray-300);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.toc-list a:hover {
  background-color: rgba(250, 196, 55, 0.1);
  color: var(--primary);
  transform: translateX(5px);
}

.toc-list a::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--primary);
  font-weight: bold;
  font-size: 0.875rem;
}

/* ===== Index page: Floating buttons ===== */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, #F5A623 100%);
  border: none;
  border-radius: 50%;
  color: #000000;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(250, 196, 55, 0.4);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(250, 196, 55, 0.6);
}

.bonus-button {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bonus-button.show {
  opacity: 1;
  visibility: visible;
}

.bonus-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* ===== Mobile sticky download bar (replaces bonus button on phone) ===== */
.mobile-download-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 5.5rem;
  }

  .mobile-download-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 1) 100%);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(250, 196, 55, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .mobile-download-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    max-width: 100%;
  }

  .mobile-download-bar__left {
    flex: 1;
    min-width: 0;
  }

  .mobile-download-bar__title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.15rem;
  }

  .mobile-download-bar__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .mobile-download-bar__stars {
    color: #F5A623;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }

  .mobile-download-bar__score {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
  }

  .mobile-download-bar__max {
    font-size: 0.7rem;
    color: var(--gray-400);
  }

  .mobile-download-bar__reviews {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-left: 0.2rem;
  }

  .mobile-download-bar__btn {
    flex-shrink: 0;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    color: var(--dark);
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .mobile-download-bar__btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.5);
  }

  .bonus-button {
    display: none !important;
  }

  .scroll-to-top {
    bottom: 4.5rem;
  }
}

/* ===== Index page: Promo timer ===== */
.promo-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(250, 196, 55, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(250, 196, 55, 0.3);
}

.timer-label {
  color: var(--gray-300);
  font-size: 0.9rem;
  font-weight: 500;
}

.timer-display {
  display: flex;
  gap: 0.5rem;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(250, 196, 55, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.timer-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.timer-text {
  font-size: 0.7rem;
  color: var(--gray-300);
  margin-top: 0.25rem;
}

/* ===== Index page: Responsive tweaks ===== */
@media (max-width: 768px) {
  .table-of-contents {
    padding: 0.75rem;
  }

  .toc-header {
    font-size: 1.125rem;
    padding: 0.6rem;
  }

  .toc-list a {
    font-size: 0.9rem;
    padding: 0.35rem 0.4rem;
  }

  .toc-list a::before {
    margin-right: 0.4rem;
    font-size: 0.8rem;
  }

  .scroll-to-top {
    bottom: 6rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .bonus-button {
    bottom: 1rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .timer-value {
    font-size: 1.25rem;
  }

  .timer-unit {
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 480px) {
  .table-of-contents {
    padding: 0.6rem;
  }

  .toc-header {
    font-size: 1rem;
    padding: 0.5rem;
  }

  .toc-list a {
    font-size: 0.85rem;
    padding: 0.3rem 0.35rem;
  }

  .bonus-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }

  /* Footer small screens */
  .footer-support-block {
    padding: 1rem;
  }

  .support-title {
    font-size: 1.25rem;
  }

  .app-block {
    flex-direction: column;
    text-align: center;
  }

  .app-image {
    display: none;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}
