/* SpinGrande Casino - CSS Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Inter:wght@400;500&display=swap');

/* CSS Reset & Variables */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Casino Dark Theme */
  --background: hsl(240, 10%, 4%);
  --foreground: hsl(45, 20%, 95%);
  --card: hsl(240, 10%, 8%);
  --card-foreground: hsl(45, 20%, 95%);
  --primary: hsl(43, 96%, 56%);
  --primary-foreground: hsl(240, 10%, 4%);
  --secondary: hsl(240, 10%, 12%);
  --secondary-foreground: hsl(45, 20%, 95%);
  --muted: hsl(240, 10%, 15%);
  --muted-foreground: hsl(240, 5%, 55%);
  --border: hsl(240, 10%, 18%);
  --gold: #C4A052;
  --gold-light: #F5D77A;
  --casino-red: #C41E3A;
  --casino-red-hover: #A01830;
  --radius: 0.75rem;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

@media (min-width: 768px) {
  .header-main {
    height: 88px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-logo {
  position: static;
  text-align: center;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 24px;
  background: linear-gradient(180deg, #FFD700 0%, #FFA500 50%, #FF6B00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 36px;
  }
}

.logo-casino {
  font-size: 8px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .logo-casino {
    font-size: 9px;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  min-height: 36px;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.625rem 1.25rem;
    min-height: 40px;
  }
}

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

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

.btn-primary {
  background: var(--casino-red);
  color: var(--foreground);
}

.btn-primary:hover {
  background: var(--casino-red-hover);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--background);
}

.btn-gold:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Hero CTA Section */
.hero-cta-section {
  padding: 1.5rem 0;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero-cta-buttons {
    gap: 1rem;
  }
}

.btn-cta-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--background);
  box-shadow: 0 4px 15px rgba(196, 160, 82, 0.4);
  transition: all 0.3s ease;
}

.btn-cta-play:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(196, 160, 82, 0.5);
}

.btn-cta-bonus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, #C41E3A 0%, #8B0000 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4);
  transition: all 0.3s ease;
}

.btn-cta-bonus:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.5);
}

@media (min-width: 768px) {
  .btn-cta-play,
  .btn-cta-bonus {
    height: 56px;
    padding: 0 2rem;
    font-size: 1rem;
  }
}

.btn-cta-play svg,
.btn-cta-bonus svg {
  margin-right: 0.5rem;
}

/* Icon button */
.icon-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.icon-btn:hover {
  color: var(--foreground);
}

/* Navigation */
.nav {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .nav {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  height: 44px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

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

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.8);
  transition: all 0.3s;
}

.mobile-nav-link:hover {
  background: var(--secondary);
}

.mobile-nav-link.active {
  background: rgba(196, 160, 82, 0.2);
  color: var(--primary);
}

.mobile-menu-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu-buttons .btn {
  flex: 1;
}

/* Main content padding for fixed header */
main {
  padding-top: 56px;
}

@media (min-width: 768px) {
  main {
    padding-top: 220px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.6) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 500px;
  padding: 4rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeIn 0.6s ease;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.5rem;
  animation: fadeIn 0.6s ease 0.1s both;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-cta {
  margin-top: 2rem;
  animation: fadeIn 0.6s ease 0.3s both;
}

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

.section-lg {
  padding: 3rem 0;
}

.section-bg {
  background: var(--card);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.section-nav {
  display: flex;
  gap: 0.5rem;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background 0.3s;
}

.nav-arrow:hover {
  background: rgba(255,255,255,0.1);
}

/* Image Banner */
.image-banner {
  border-radius: var(--radius);
  overflow: hidden;
}

.image-banner img {
  width: 100%;
}

/* Sections whose banner image already has the title and arrows baked in
   shouldn't show the redundant section-header above the image. */
.section:has(> .container > .image-banner) > .container > .section-header,
.section:has(.image-banner) > .container > .section-header {
  display: none !important;
}

/* Same for sections that just have a bare <h2 class="section-title">
   immediately before the image-banner — the image bakes in the title. */
.section:has(> .container > .image-banner) > .container > .section-title {
  display: none !important;
}

/* Game Cards Grid */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Game Card */
.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  transition: transform 0.3s;
  cursor: pointer;
}

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

.game-card-image {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.game-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  border-radius: var(--radius);
}

.game-card-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
}

.badge-hot {
  background: var(--gold);
  color: #000;
}

.badge-new {
  background: #22c55e;
  color: #fff;
}

.game-card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
}

.game-card-title h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.game-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.3s;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.play-btn {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--background);
}

/* Promo Cards Grid */
.promo-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(196,160,82,0.1) 0%, rgba(0,0,0,0.8) 100%);
}

.promo-card-image {
  height: 192px;
  overflow: hidden;
}

.promo-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-card-content {
  padding: 1.5rem;
  text-align: center;
}

.promo-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.promo-card-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  min-height: 60px;
}

.promo-card .btn {
  width: 100%;
}

/* VIP Tiers Grid */
.vip-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .vip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vip-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(40,40,40,0.8) 0%, rgba(20,20,20,0.9) 100%);
}

.vip-card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.vip-medal {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.vip-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.vip-requirement-label {
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.vip-requirement {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.vip-benefits-label {
  font-size: 0.875rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.vip-benefits-list {
  list-style: none;
}

.vip-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.5rem;
}

.vip-benefit-icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Content Section */
.content-section {
  max-width: 56rem;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.content-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.faq-question {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.faq-answer {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
}

.feature-icon {
  width: 40px;
  height: 40px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.feature-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Comparison Table */
.comparison-table {
  max-width: 42rem;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  font-family: var(--font-display);
  font-weight: 600;
}

.comparison-header span:not(:first-child) {
  text-align: center;
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.comparison-row span:first-child {
  color: var(--muted-foreground);
}

.comparison-row span:not(:first-child) {
  text-align: center;
}

.check-icon {
  color: var(--primary);
}

.x-icon {
  color: var(--muted-foreground);
}

/* Steps */
.steps {
  max-width: 48rem;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}

.step-text {
  color: var(--muted-foreground);
}

/* Limitations */
.limitations-list {
  max-width: 48rem;
  margin: 0 auto;
}

.limitation-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.limitation-icon {
  padding: 0.5rem;
  border-radius: var(--radius);
  background: rgba(220, 38, 38, 0.2);
}

.limitation-icon svg {
  width: 20px;
  height: 20px;
  color: #dc2626;
}

.limitation-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.limitation-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Phone Mockup */
.phone-mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 256px;
  height: 500px;
  background: var(--card);
  border-radius: 3rem;
  border: 4px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 128px;
  height: 24px;
  background: var(--background);
  border-radius: 0 0 1rem 1rem;
}

.phone-screen {
  height: 100%;
  background: linear-gradient(180deg, rgba(138,43,226,0.2) 0%, var(--background) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-icon {
  width: 96px;
  height: 96px;
  color: var(--primary);
  animation: float 6s ease-in-out infinite;
}

.phone-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--primary);
  opacity: 0.2;
  filter: blur(48px);
  border-radius: 50%;
}

/* Coming Soon Banner */
.coming-soon-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 2rem;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, #8B0000 0%, #4a0000 100%);
}

@media (min-width: 768px) {
  .coming-soon-banner {
    padding: 3rem;
  }
}

.coming-soon-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .coming-soon-content {
    flex-direction: row;
  }
}

.coming-soon-icon {
  font-size: 4rem;
}

.coming-soon-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .coming-soon-title {
    font-size: 2.5rem;
  }
}

.coming-soon-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
}

.coming-soon-decoration {
  position: absolute;
  right: 2rem;
  bottom: 0;
  font-size: 6rem;
  display: none;
}

@media (min-width: 768px) {
  .coming-soon-decoration {
    display: block;
  }
}

/* Cashback Banner */
.cashback-banner {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(90deg, #1a1a1a 0%, var(--gold) 50%, #FFD700 100%);
}

.cashback-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.cashback-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cashback-text {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.8);
}

.cashback-image {
  display: none;
  height: 128px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .cashback-image {
    display: block;
  }
}

/* CTA Banner */
.cta-banner {
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  background: rgba(196, 30, 58, 0.125);
  border: 1px solid rgba(196, 30, 58, 0.25);
}

.cta-banner p {
  margin-bottom: 0.75rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #1a1a1a;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .footer {
    padding: 3rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.footer-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--casino-red);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

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

.footer-link {
  margin-bottom: 0.5rem;
}

.footer-link a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

@media (min-width: 768px) {
  .footer-link a {
    font-size: 0.875rem;
  }
}

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

.footer-cta {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .footer-cta {
    margin-top: 2.5rem;
  }
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

.footer-copyright,
.footer-legal {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}

@media (min-width: 768px) {
  .footer-copyright,
  .footer-legal {
    font-size: 12px;
  }
}

.footer-legal {
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease both;
}

/* ============================================ */
/* App Page & Additional Styles                */
/* ============================================ */

/* Grid Layouts */
.grid-2-cols {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2-cols {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.grid-3-cols {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .grid-3-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Hero Title Large */
.hero-title-lg {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title-lg {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-lg {
    font-size: 3rem;
  }
}

/* Text Colors */
.text-gold {
  color: var(--gold);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-red {
  color: var(--casino-red);
}

/* Spacing */
.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

/* Flexbox */
.flex-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Images */
.rounded-img {
  border-radius: var(--radius);
}

.shadow-lg {
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.img-full {
  width: 100%;
  height: auto;
}

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card-highlight {
  background: linear-gradient(180deg, rgba(196,160,82,0.1) 0%, transparent 100%);
  border-color: var(--gold);
}

/* Section Backgrounds */
.bg-card {
  background: var(--card);
}

.bg-muted {
  background: var(--muted);
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

/* List Styles */
.list-none {
  list-style: none;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

/* Icons in Content */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

.icon-gold {
  color: var(--gold);
}

.icon-red {
  color: var(--casino-red);
}

.icon-green {
  color: #22c55e;
}

/* Borders */
.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

/* Display */
.block {
  display: block;
}

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

@media (min-width: 768px) {
  .md-block {
    display: block;
  }
  
  .md-flex {
    display: flex;
  }
  
  .md-hidden {
    display: none;
  }
}

@media (max-width: 767px) {
  .mobile-hidden {
    display: none;
  }
}

/* Feature Card Enhanced */
.feature-card-enhanced {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card-enhanced:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.feature-card-enhanced .icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(196, 160, 82, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card-enhanced .icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

/* SEO Content Section */
.seo-content {
  max-width: 56rem;
  margin: 0 auto;
}

.seo-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.seo-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.seo-content p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.seo-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.seo-content ul li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* Bonus Cards */
.bonus-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, rgba(196,160,82,0.15) 0%, var(--card) 100%);
  padding: 1.5rem;
  text-align: center;
}

.bonus-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.bonus-card-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.bonus-card-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: rgba(255,255,255,0.05);
  font-weight: 600;
  color: var(--foreground);
}

.data-table td {
  color: var(--muted-foreground);
}

.data-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

/* Image Gallery */
.image-gallery {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* Live Casino Specific */
.live-dealer-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.live-dealer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-dealer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--casino-red);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* VIP Benefits List */
.benefits-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 160, 82, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* Warning/Info boxes */
.info-box {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  background: rgba(196, 160, 82, 0.1);
  margin-bottom: 1.5rem;
}

.warning-box {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--casino-red);
  background: rgba(196, 30, 58, 0.1);
  margin-bottom: 1.5rem;
}

/* Responsive utilities */
.w-full {
  width: 100%;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-lg {
  max-width: 32rem;
}

.max-w-xl {
  max-width: 36rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.hidden {
  display: none;
}

@media (min-width: 640px) {
  .sm-block {
    display: block;
  }
  
  .sm-flex {
    display: flex;
  }
}

/* SVG Icons - inline styles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
   Quick Info Block - Решение в 1 экране
   ======================================== */
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .quick-info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.quick-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-info-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.quick-info-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.quick-info-card h3 {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.quick-info-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.quick-info-note {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ========================================
   Payment Methods - Методы оплаты
   ======================================== */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .payment-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.payment-category {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.payment-category h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

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

.payment-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.payment-item:last-child {
  border-bottom: none;
}

.payment-item.highlight {
  background: rgba(196, 160, 82, 0.1);
  margin: 0 -1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
}

.payment-name {
  font-weight: 500;
  color: var(--foreground);
}

.payment-info {
  font-size: 0.875rem;
  color: var(--gold);
}

.payment-note {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(196, 30, 58, 0.1);
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.mirror-info {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--secondary);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.mirror-info h3 {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.mirror-info p {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

/* ========================================
   Comparison Table - Таблица сравнения
   ======================================== */
.comparison-table-wrapper {
  margin-top: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--secondary);
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table td {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
}

.comparison-table .highlight-row {
  background: rgba(196, 160, 82, 0.1);
}

.comparison-table .highlight-row td {
  color: var(--foreground);
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.table-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-style: italic;
}

/* ========================================
   Reviews Tabs - Отзывы табами
   ======================================== */
.reviews-tabs {
  margin-top: 1.5rem;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  scrollbar-width: none;
}

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

.tab-btn {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--foreground);
  border-color: var(--gold);
}

.tab-btn.active {
  background: linear-gradient(180deg, rgba(196, 160, 82, 0.2) 0%, rgba(196, 160, 82, 0.1) 100%);
  border-color: var(--gold);
  color: var(--gold);
}

.tabs-content {
  min-height: 300px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.review-card:last-child {
  margin-bottom: 0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-author {
  font-weight: 600;
  color: var(--foreground);
}

.review-rating {
  color: var(--gold);
  letter-spacing: 0.1em;
}

.review-text {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.review-date {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  opacity: 0.7;
}


/* ===== Enhancements: Answer Box, Changelog, Sticky CTA, Back-to-top, Layout polish ===== */

.answer-box-wrap { padding-top: 2.5rem; }
.answer-box {
  background: linear-gradient(135deg, rgba(196,160,82,0.10), rgba(196,30,58,0.06));
  border: 1px solid rgba(196,160,82,0.35);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 40px -20px rgba(0,0,0,0.6);
}
@media (min-width: 768px){ .answer-box { padding: 2.5rem; } }
.answer-box-head { text-align: center; margin-bottom: 1.5rem; }
.answer-badge {
  display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); background: rgba(196,160,82,0.12); padding: .35rem .75rem;
  border-radius: 999px; border: 1px solid rgba(196,160,82,0.35); margin-bottom: .75rem;
}
.answer-title { font-size: 1.5rem; font-weight: 700; color: var(--foreground); }
@media (min-width: 768px){ .answer-title { font-size: 1.875rem; } }
.answer-grid {
  list-style: none; padding: 0; margin: 0 0 1.5rem 0;
  display: grid; grid-template-columns: 1fr; gap: .75rem;
}
@media (min-width: 640px){ .answer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px){ .answer-grid { grid-template-columns: repeat(4, 1fr); } }
.answer-grid li {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: .5rem; padding: .9rem 1rem; display: flex; flex-direction: column; gap: .25rem;
  min-height: 88px;
}
.answer-grid strong { color: var(--gold); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.answer-grid span { color: var(--foreground); font-size: .95rem; line-height: 1.4; }
.answer-box-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-ghost {
  background: transparent; color: var(--foreground);
  border: 1px solid var(--border); padding: .85rem 1.5rem; border-radius: .5rem;
  font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: all .2s ease;
}
.btn-ghost:hover { background: var(--secondary); border-color: var(--gold); }

/* Changelog */
.changelog-section { padding: 2.5rem 0; }
.changelog-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
}
@media (min-width: 768px){ .changelog-box { padding: 2.25rem 2rem; } }
.changelog-sub { color: var(--muted-foreground); margin: .35rem 0 1.25rem 0; font-size: .95rem; }
.changelog-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.changelog-list li {
  display: grid; grid-template-columns: 1fr; gap: .2rem;
  padding: .85rem 1rem; background: rgba(255,255,255,0.02);
  border-left: 3px solid var(--gold); border-radius: 0 .4rem .4rem 0;
}
@media (min-width: 640px){
  .changelog-list li { grid-template-columns: 160px 1fr; gap: 1rem; align-items: center; }
}
.changelog-date { color: var(--gold); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.changelog-text { color: var(--foreground); font-size: .95rem; line-height: 1.5; }

/* Sticky mobile CTA */
.sticky-mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 998;
  display: none; align-items: center; gap: .6rem; justify-content: center;
  background: linear-gradient(135deg, #C41E3A 0%, #E03B5C 100%);
  color: #fff; text-decoration: none; padding: .95rem 1rem; border-radius: 12px;
  font-weight: 700; box-shadow: 0 10px 30px -10px rgba(196,30,58,0.65);
  animation: stickyPulse 2.4s ease-in-out infinite;
}
.sticky-cta-text { font-size: .95rem; }
.sticky-cta-arrow { font-size: 1.1rem; }
@keyframes stickyPulse { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-2px);} }
@media (max-width: 767px){ .sticky-mobile-cta { display: flex; } body { padding-bottom: 78px; } }

/* Back to top */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--gold); color: var(--background);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); }
@media (max-width: 767px){ .back-to-top { right: 14px; bottom: 86px; } }

/* Layout polish */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px){ .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
.hero-content { padding: 3.5rem 0; }
@media (min-width: 768px){ .hero-content { padding: 5rem 0; max-width: 560px; } }
.section-header { gap: 1rem; flex-wrap: wrap; }
.section-title { line-height: 1.25; }
.footer-grid { gap: 2rem; }
.image-banner img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.btn { display: inline-flex; align-items: center; justify-content: center; }


/* Cookie banner */
.cookie-banner{position:fixed;left:12px;right:12px;bottom:12px;z-index:1000;background:var(--card);border:1px solid var(--gold);border-radius:12px;padding:1rem 1.25rem;box-shadow:0 20px 50px -20px rgba(0,0,0,.8);}
@media (max-width:767px){.cookie-banner{bottom:78px;}}
.cookie-inner{display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;max-width:1100px;margin:0 auto;}
.cookie-text{color:var(--foreground);font-size:.9rem;flex:1;min-width:240px;margin:0;}
.cookie-text a{color:var(--gold);text-decoration:underline;}
.cookie-actions{display:flex;gap:.5rem;flex-wrap:wrap;}
.cookie-actions .btn{padding:.55rem 1rem;font-size:.85rem;}

/* Last updated badge */
.last-updated{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;color:var(--muted-foreground);background:rgba(255,255,255,.04);border:1px solid var(--border);padding:.3rem .65rem;border-radius:999px;margin-top:.5rem;}
.last-updated::before{content:"●";color:#22c55e;font-size:.6rem;}

/* Pros / Contras */
.pros-cons{display:grid;grid-template-columns:1fr;gap:1rem;margin:1.5rem 0;}
@media (min-width:640px){.pros-cons{grid-template-columns:1fr 1fr;}}
.pros-cons-col{background:var(--card);border:1px solid var(--border);border-radius:.6rem;padding:1.25rem;}
.pros-cons-col h3{font-size:1rem;margin:0 0 .75rem 0;text-transform:uppercase;letter-spacing:.05em;}
.pros-cons-col.pros{border-left:3px solid #22c55e;}
.pros-cons-col.cons{border-left:3px solid #ef4444;}
.pros-cons-col ul{list-style:none;padding:0;margin:0;}
.pros-cons-col li{padding:.4rem 0 .4rem 1.5rem;position:relative;font-size:.9rem;color:var(--foreground);}
.pros-cons-col.pros li::before{content:"+";position:absolute;left:0;color:#22c55e;font-weight:700;}
.pros-cons-col.cons li::before{content:"−";position:absolute;left:0;color:#ef4444;font-weight:700;}

/* Author bio */
.author-bio{display:flex;gap:1rem;align-items:flex-start;background:var(--card);border:1px solid var(--border);border-radius:.6rem;padding:1rem;margin:1.5rem 0;}
.author-bio img{width:48px;height:48px;border-radius:50%;flex-shrink:0;}
.author-bio .author-meta{font-size:.85rem;color:var(--muted-foreground);}
.author-bio .author-meta strong{color:var(--gold);display:block;font-size:.95rem;margin-bottom:.15rem;}

/* Language switcher */
.lang-switch{display:inline-flex;gap:2px;align-items:center;padding:3px;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.02));border:1px solid var(--border);border-radius:999px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);margin-right:.5rem;}
.lang-switch .lang-opt{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .65rem;font-size:.72rem;font-weight:700;letter-spacing:.04em;color:var(--muted-foreground);text-decoration:none;border-radius:999px;transition:all .2s ease;line-height:1;}
.lang-switch .lang-opt:hover{color:var(--foreground);background:rgba(255,255,255,.05);}
.lang-switch .lang-opt.active{background:linear-gradient(135deg,var(--gold),#c8941f);color:#0a0a0a;box-shadow:0 2px 8px rgba(212,165,46,.35);}
.lang-switch .lang-flag{font-size:.95rem;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.4));}
.lang-switch .lang-code{font-size:.72rem;}
@media(max-width:480px){.lang-switch .lang-code{display:none;}.lang-switch .lang-opt{padding:.3rem .45rem;}}

/* v15 fixes */
.lang-switch .lang-flag{display:none!important;}
.lang-switch{margin-right:.25rem;}
.lang-switch .lang-opt{padding:.3rem .55rem;}
.quick-facts li strong,.snapshot li strong,.tldr li strong,ul li strong{margin-right:.35em;}
@media(max-width:768px){
  .header .header-right{gap:.35rem;}
  .header .logo,.header-logo{max-width:120px;}
  .lang-switch .lang-opt{font-size:.65rem;padding:.25rem .45rem;}
}

/* v16 — fix header overlap, center hero CTAs, remove lazy on top images */
@media(max-width:768px){
  .header-logo{font-size:0;max-width:90px;}
  .logo-text{font-size:18px!important;}
  .logo-casino{font-size:7px!important;letter-spacing:.18em;}
  .header-right .btn{padding:.4rem .7rem;font-size:.75rem;min-height:32px;}
  .header-right .lang-switch{margin-right:.15rem;}
  .header-main{height:54px;}
  body{padding-top:54px;}
}
/* Top CTA section: center on mobile, give it presence */
main > section:first-of-type > .container > div[style*="flex-wrap"]{
  justify-content:center;
}
@media(max-width:480px){
  main > section:first-of-type > .container > div[style*="flex-wrap"] > a{
    flex:1 1 100%;height:52px!important;padding:0 1rem!important;
  }
}
/* Hero — eager load image fallback via CSS no-op; ensure min-height not absurd */
.hero{min-height:auto;}
.hero-bg img{opacity:1;}

/* v16.1 — always show lang code */
.lang-switch .lang-code{display:inline!important;font-size:.7rem!important;}
@media(max-width:480px){.lang-switch .lang-code{display:inline!important;}}

/* v17 — SVG flags */
.lang-switch .lang-flag{display:inline-block!important;width:16px;height:11px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.25);vertical-align:middle;}
.lang-switch .lang-opt{display:inline-flex;align-items:center;gap:.35rem;}
.lang-switch .lang-code{display:inline!important;font-size:.7rem!important;line-height:1;}
@media(max-width:480px){.lang-switch .lang-code{display:inline!important;}}

/* v17.1 — mobile header: keep flags, hide text, shrink everything */
@media(max-width:600px){
  .lang-switch .lang-code{display:none!important;}
  .lang-switch .lang-opt{padding:.25rem .35rem;gap:0;}
  .lang-switch{padding:2px;}
  .header-right{gap:.4rem;}
  .header-right .btn{padding:.4rem .6rem;font-size:.7rem;min-height:30px;}
  .logo-text{font-size:16px!important;}
  .logo-casino{font-size:6px!important;}
}

/* v17.2 — mobile: logo left-aligned (no absolute center) */
@media(max-width:600px){
  .header-logo{position:static!important;transform:none!important;text-align:left;margin-left:.25rem;}
  .header-left{gap:.5rem;}
}

/* v18 — real mobile adaptation: no horizontal drift, stable header, readable tables/cards */
@media (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    padding-top: 0 !important;
  }

  main {
    padding-top: 56px !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .header {
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .header > .container {
    width: 100% !important;
    max-width: none !important;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .header-main {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: .45rem !important;
    width: 100% !important;
    height: 56px !important;
  }

  .header-left {
    grid-column: 1 !important;
    justify-self: start !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  .header-logo {
    grid-column: 2 !important;
    position: static !important;
    transform: none !important;
    justify-self: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .header-right {
    grid-column: 3 !important;
    justify-self: end !important;
    display: flex !important;
    align-items: center !important;
    gap: .3rem !important;
    min-width: 0 !important;
    max-width: 140px !important;
  }

  .icon-btn {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
  }

  .icon-btn svg {
    width: 22px !important;
    height: 22px !important;
  }

  .logo-text {
    font-size: 24px !important;
    line-height: .95 !important;
  }

  .logo-casino {
    font-size: 8px !important;
    line-height: 1 !important;
    letter-spacing: .22em !important;
  }

  .lang-switch {
    flex: 0 0 auto !important;
    margin-right: 0 !important;
    padding: 2px !important;
  }

  .lang-switch .lang-opt {
    width: 22px !important;
    height: 22px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .lang-switch .lang-code {
    display: none !important;
  }

  .lang-switch .lang-flag {
    display: inline-block !important;
    width: 16px !important;
    height: 11px !important;
    flex: 0 0 auto !important;
  }

  .header-right .btn-primary {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: 68px !important;
    max-width: 76px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 .4rem !important;
    font-size: .64rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .container,
  section,
  .section,
  .section-lg,
  .content-section,
  .seo-content,
  .answer-box,
  .card,
  .feature-card,
  .feature-card-enhanced,
  .bonus-card,
  .promo-card,
  .vip-card,
  .payment-category,
  .review-card,
  .faq-section,
  .comment-card,
  .forum-quote {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  h1, h2, h3, h4, h5, h6,
  p, li, a, span, strong, td, th {
    overflow-wrap: anywhere;
  }

  .hero {
    min-height: auto !important;
  }

  .hero-content {
    max-width: 100% !important;
    padding: 2.25rem 0 !important;
  }

  .hero-title,
  .hero-title-lg {
    font-size: 1.8rem !important;
    line-height: 1.15 !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .section {
    padding: 1.5rem 0 !important;
  }

  .section-lg {
    padding: 2rem 0 !important;
  }

  .section-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: .75rem !important;
    align-items: center !important;
  }

  .section-title,
  .faq-title,
  .comments-title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  .grid-2-cols,
  .grid-3-cols,
  .features-grid,
  .benefits-grid,
  .payment-methods-grid,
  .promo-grid,
  .vip-grid,
  .comments-grid,
  .quotes-grid,
  .pros-cons,
  .image-gallery {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1rem !important;
  }

  .games-grid,
  .quick-info-grid,
  .stats-grid,
  .answer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .75rem !important;
  }

  .answer-box {
    padding: 1.25rem !important;
  }

  .answer-grid li {
    min-height: 0 !important;
    padding: .8rem !important;
  }

  .answer-grid strong {
    font-size: .68rem !important;
    letter-spacing: .03em !important;
  }

  .answer-grid span {
    font-size: .82rem !important;
  }

  .answer-box-cta,
  .hero-cta-buttons,
  main > section:first-of-type > .container > div[style*="flex-wrap"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .75rem !important;
    width: 100% !important;
  }

  .answer-box-cta > a,
  .hero-cta-buttons > a,
  main > section:first-of-type > .container > div[style*="flex-wrap"] > a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 50px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .table-responsive,
  .comparison-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  table,
  table.comparison-table,
  .data-table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  table th,
  table td,
  .comparison-table th,
  .comparison-table td,
  .data-table th,
  .data-table td {
    padding: .55rem .35rem !important;
    font-size: .7rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  .comparison-header,
  .comparison-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) minmax(0, .8fr) !important;
    padding: .75rem .6rem !important;
    gap: .35rem !important;
    font-size: .78rem !important;
  }

  .tabs-nav {
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .review-header,
  .payment-item,
  .cashback-content,
  .author-bio,
  .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 1.25rem !important;
  }

  .sg-sticky-cta {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .sg-sticky-cta a {
    min-width: 0 !important;
    padding: 12px 8px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .sticky-mobile-cta {
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }

  .cookie-banner {
    left: 10px !important;
    right: 10px !important;
    max-width: calc(100vw - 20px) !important;
  }
}

@media (max-width: 374px) {
  .header > .container {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }

  .header-main {
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    gap: .25rem !important;
  }

  .icon-btn {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .header-logo {
    max-width: 66px !important;
  }

  .logo-text {
    font-size: 14px !important;
  }

  .logo-casino {
    font-size: 5px !important;
    letter-spacing: .13em !important;
  }

  .header-right {
    gap: .25rem !important;
    max-width: 126px !important;
  }

  .lang-switch .lang-opt {
    width: 23px !important;
    height: 22px !important;
  }

  .lang-switch .lang-flag {
    width: 14px !important;
    height: 10px !important;
  }

  .header-right .btn-primary {
    min-width: 66px !important;
    max-width: 70px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 .35rem !important;
    font-size: .6rem !important;
  }

  .games-grid,
  .quick-info-grid,
  .stats-grid,
  .answer-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* v18.1 — overflow fixes for div comparisons, inline images, alternate headers */
@media (max-width: 767px) {
  img,
  .rounded-img,
  .shadow-lg {
    max-width: 100% !important;
    height: auto !important;
  }

  div.comparison-table,
  .comparison-table:not(table) {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .comparison-table:not(table) .comparison-header,
  .comparison-table:not(table) .comparison-row {
    width: 100% !important;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .65fr) minmax(0, .65fr) !important;
  }

  .comparison-table:not(table) span {
    min-width: 0 !important;
    width: auto !important;
    overflow-wrap: anywhere !important;
  }

  .header-container {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: .45rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 56px !important;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .header-container .header-left {
    grid-column: 1 !important;
    min-width: 0 !important;
  }

  .header-container .logo {
    grid-column: 2 !important;
    justify-self: center !important;
    max-width: 92px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
  }

  .header-container .logo-spin,
  .header-container .logo-grande {
    font-size: 17px !important;
    line-height: .95 !important;
  }

  .header-container .logo-casino {
    font-size: 6px !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
  }

  .header-container .main-nav,
  .header-container .btn-outline,
  .header-container .search-toggle {
    display: none !important;
  }

  .header-container .header-right {
    grid-column: 3 !important;
    justify-self: end !important;
    max-width: 156px !important;
  }
}

@media (max-width: 374px) {
  .header-container {
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    gap: .25rem !important;
    padding-left: .5rem !important;
    padding-right: .5rem !important;
  }

  .header-container .logo {
    max-width: 66px !important;
  }

  .header-container .logo-spin,
  .header-container .logo-grande {
    font-size: 14px !important;
  }
}

/* === Header redesign v23 === */
.header { background: #0a0a0a !important; border-bottom: none !important; }
.header-main { height: 72px; position: relative; }
@media(min-width:768px){ .header-main{ height: 110px; } }

.header-left { gap: .5rem; }
.icon-btn { color: #fff; }
.icon-btn#search-toggle { display: flex !important; }

/* Lang switch in header */
.header-right .lang-switch {
  display: inline-flex !important;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding: 2px;
  margin-right: .35rem;
}
.header-right .lang-switch .lang-opt {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .3rem .55rem; border-radius: 6px;
  color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 600;
  text-decoration: none;
}
.header-right .lang-switch .lang-opt.active {
  background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.header-right .lang-switch .lang-flag { display:inline-block; border-radius:2px; }
@media(max-width:520px){
  .header-right .lang-switch .lang-code{ display:none; }
  .header-right .lang-switch .lang-opt{ padding:.3rem .35rem; }
}

.header-right { gap: .6rem; }
.header-right .btn-outline {
  display: inline-flex !important;
  color: #fff;
  border: 1.5px solid #fff;
  background: transparent;
  border-radius: 10px;
  font-weight: 600;
  padding: .7rem 1.4rem;
}
.header-right .btn-outline:hover { background: rgba(255,255,255,.08); }
.header-right .btn-primary {
  background: #e11d2a;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  padding: .7rem 1.4rem;
}
.header-right .btn-primary:hover { background: #c51623; }
@media(max-width:520px){
  .header-right .btn-outline{ display: none !important; }
  .header-right .btn-primary{ padding:.5rem .85rem; font-size:.8rem; }
}

/* Flat nav row, centered, no pills */
.nav { border-top: none !important; padding: .25rem 0 1rem; background: transparent; }
.nav .container { display: flex; justify-content: center; }
.nav-list {
  gap: 2.25rem;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.nav-link {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .2rem;
  border-radius: 0;
  background: transparent !important;
  color: #fff !important;
  font-weight: 500;
  border: none !important;
  box-shadow: none !important;
  transition: opacity .2s ease;
}
.nav-link .nav-icon { color: #e11d2a; width: 22px; height: 22px; }
.nav-link:hover { opacity: .8; background: transparent !important; }
.nav-link.active { background: transparent !important; color: #fff !important; box-shadow: none !important; }
.nav-link.active .nav-icon { color: #e11d2a; }
@media(max-width:640px){
  .nav-list{ gap: 1.1rem; }
  .nav-link{ font-size: .82rem; }
  .nav-link .nav-icon{ width:18px; height:18px; }
}

/* === Header logo image, in-flow === */
.header-logo {
  position: static !important;
  margin: 0 !important;
  z-index: 2;
}
.header-logo img { display:block; height: 64px; width:auto; }
@media(min-width:768px){ .header-logo img{ height: 92px; } }
.header-logo .logo-text, .header-logo .logo-casino { display:none !important; }

/* v25: Breadcrumb fallback */
.breadcrumb { max-width: 1200px; margin: 1rem auto 0; padding: 0 1rem; }
.breadcrumb-list { display:flex; flex-wrap:wrap; gap:.5rem; list-style:none; padding:0; margin:0; font-size:.85rem; color: rgba(255,255,255,.6); }
.breadcrumb-list li { display:inline-flex; align-items:center; }
.breadcrumb-list li:not(:last-child)::after { content:"›"; margin-left:.5rem; opacity:.6; }
.breadcrumb-list a { color: rgba(255,255,255,.7); text-decoration:none; }
.breadcrumb-list a:hover { color:#fff; }
.breadcrumb-list .current, .breadcrumb-list li[aria-current="page"] { color:#f5d77a; }

/* v19 — force clear space under fixed header (logo + nav) on all viewports */
@media (min-width: 768px) {
  main { padding-top: 240px !important; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  main { padding-top: 220px !important; }
}
.hero.hero-top { padding-top: 1rem; }

/* v41 — real no-overlap fix: header stays in document flow, bottom CTA no longer covers content */
.header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  z-index: 1000 !important;
}

html,
body {
  scroll-padding-top: 0 !important;
}

body {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

main {
  padding-top: 0 !important;
}

.sg-sticky-cta,
.sticky-mobile-cta {
  display: none !important;
}

@media (max-width: 767px) {
  .header > .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .header-main {
    height: 72px !important;
    display: grid !important;
    grid-template-columns: 40px minmax(86px, 1fr) auto !important;
    align-items: center !important;
    gap: .5rem !important;
  }

  .header-left {
    grid-column: 1 !important;
    justify-self: start !important;
  }

  .header-logo {
    grid-column: 2 !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    justify-self: center !important;
    max-width: 112px !important;
    width: 112px !important;
    overflow: visible !important;
    z-index: 1 !important;
  }

  .header-logo img {
    width: 112px !important;
    max-width: 112px !important;
    height: 56px !important;
    object-fit: contain !important;
  }

  .header-right {
    grid-column: 3 !important;
    justify-self: end !important;
    max-width: 158px !important;
    min-width: 0 !important;
    gap: .35rem !important;
  }

  .header-right .lang-switch {
    margin-right: 0 !important;
    flex: 0 0 auto !important;
  }

  .header-right .btn-primary {
    min-width: 76px !important;
    max-width: 84px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 .45rem !important;
    font-size: .7rem !important;
    border-radius: 8px !important;
  }

  .hero.hero-top {
    padding-top: 0 !important;
  }

  .hero-content {
    padding: 1.25rem 0 2rem !important;
  }

  .hero-cta {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .85rem !important;
    width: 100% !important;
    margin-top: 1.25rem !important;
  }

  .hero-cta .btn,
  .hero-cta a {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 76px !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 1.15rem !important;
  }

  .answer-box-wrap {
    padding-top: 2rem !important;
  }
}

@media (max-width: 374px) {
  .header > .container {
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .header-main {
    grid-template-columns: 36px minmax(72px, 1fr) auto !important;
    gap: .35rem !important;
  }

  .header-logo,
  .header-logo img {
    width: 88px !important;
    max-width: 88px !important;
  }

  .header-right {
    max-width: 136px !important;
  }

  .header-right .btn-primary {
    min-width: 68px !important;
    max-width: 74px !important;
    font-size: .62rem !important;
  }
}

@media (min-width: 768px) {
  .header {
    position: sticky !important;
  }

  main {
    padding-top: 0 !important;
  }

  .hero.hero-top {
    padding-top: 0 !important;
  }
}

/* === v42 — final header cleanup === */
.header { position: sticky !important; top: 0 !important; z-index: 1000 !important; }
body { padding-top: 0 !important; padding-bottom: 0 !important; }
main { padding-top: 0 !important; }
.hero.hero-top { padding-top: 1rem !important; }
.sg-sticky-cta, .sticky-mobile-cta { display: none !important; }

.header-main {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: .5rem !important;
  position: relative !important;
}
.header-logo {
  position: static !important;
  transform: none !important;
  left: auto !important; top: auto !important;
  flex: 0 1 auto !important;
}
.header-logo img { display:block; width:auto; max-width: 100%; }

@media (max-width: 767px) {
  .header-main { height: 60px !important; }
  .header-logo img { height: 44px !important; }
  .header-right { flex: 0 0 auto !important; gap: .35rem !important; }
  .header-right .btn-primary { height: 32px !important; min-height: 32px !important; padding: 0 .6rem !important; font-size: .75rem !important; }
  .lang-switch .lang-code { display: none !important; }
}
@media (min-width: 768px) {
  .header-main { height: 88px !important; }
  .header-logo img { height: 64px !important; }
}
