/* ============================================================
   CASEA CASINO - Template Theme
   Colors and branding are isolated as CSS variables for easy
   per-domain customization. Change :root vars to retheme.
   ============================================================ */

/* --- FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Saira+Condensed:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

:root {
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Saira Condensed', 'Oswald', 'Impact', Arial Narrow, sans-serif;

  /* --- TYPE SCALE --- */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* --- SPACING (4px base) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ==========================================================
     THEME COLORS - Change these per domain
     ========================================================== */
  --color-bg:         #122d47;
  --color-surface:    #163352;
  --color-surface-2:  #1a3d5c;
  --color-border:     #24506e;
  --color-text:       #e8eaef;
  --color-text-muted: #94a3b8;
  --color-text-faint: #4a6a85;
  --color-accent:     #d4af37;
  --color-accent-hover: #e6c44a;
  --color-accent-dark: #b8962e;
  --color-cta:        #d4af37;
  --color-cta-hover:  #e6c44a;
  --color-cta-text:   #122d47;
  --color-hero-gradient-start: #0e2238;
  --color-hero-gradient-end:   #122d47;

  /* --- RADIUS --- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* --- SHADOWS --- */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);

  /* --- CONTENT WIDTHS --- */
  --content-narrow: 720px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--content-narrow);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-main a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
}

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

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

.btn--lg {
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-8);
}

/* Mobile-only header CTA */
.btn--mobile-cta {
  display: none;
  font-size: 0.75rem;
  padding: 6px 14px;
  margin-left: auto;
  margin-right: var(--space-3);
  flex-shrink: 0;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  z-index: 210;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay - placed outside <header> to avoid backdrop-filter containment */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100vh - 64px);
  height: calc(100dvh - 64px);
  background: #0a0e1a;
  background: var(--color-bg, #0a0e1a);
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  gap: var(--space-2);
  z-index: 200;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

.nav-mobile a {
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  width: 100%;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}

.nav-mobile .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.nav-mobile .mobile-actions .btn--primary {
  color: var(--color-cta-text);
}

.nav-mobile .mobile-actions .btn--outline {
  color: var(--color-text);
}

/* Mobile language selector inside nav overlay */
.nav-mobile .mobile-lang {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-4) 0;
}

.nav-mobile .mobile-lang a {
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-2, rgba(255,255,255,0.05));
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  white-space: nowrap;
  width: auto;
}

.nav-mobile .mobile-lang a.active {
  background: rgba(212,175,55,0.12);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .btn--mobile-cta { display: inline-flex; }
  .nav-toggle { display: flex; }
  .nav-main--desktop { display: none; }
  .nav-actions { display: none; }
}

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


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  padding: clamp(var(--space-16), 10vw, var(--space-24)) 0;
  background: linear-gradient(170deg, var(--color-hero-gradient-start), var(--color-hero-gradient-end));
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-6);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

.hero h1 .brand-name { color: var(--color-text); }
.hero h1 .brand-type { color: var(--color-accent); }

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

.hero__bonus-card {
  display: inline-block;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
}

.hero__bonus-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-2);
}

.hero__bonus-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
}

.hero__bonus-extra {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

.hero__ctas {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-1);
}

@media (max-width: 600px) {
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.content-section {
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
}

.content-section--alt {
  background: var(--color-surface);
}

.content-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-6);
}

.content-section h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  margin-top: var(--space-8);
}

.content-section p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.content-section ul,
.content-section ol {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
  line-height: 1.7;
}

.content-section li {
  margin-bottom: var(--space-2);
}

.content-section a {
  color: var(--color-accent);
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
}

/* Info cards grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.info-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.info-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-4);
}

.info-card h4 {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.info-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Bonus card */
.bonus-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.bonus-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  gap: var(--space-3);
}

.bonus-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
}

.bonus-card__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-cta-text);
  background: var(--color-accent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bonus-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.bonus-card__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.bonus-detail__label {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bonus-detail__value {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-1);
}

/* Data table */
.data-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: var(--space-6) 0;
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
  min-width: 480px;
}

.data-table-wrap .data-table {
  margin: 0;
}

.data-table th {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.data-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.data-table tr:last-child td {
  border-bottom: none;
}

/* Steps list */
.steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step;
  margin: var(--space-6) 0;
}

.steps-list li {
  counter-increment: step;
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.steps-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: 50%;
}

.steps-list li:last-child {
  border-bottom: none;
}

/* FAQ section */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  font-size: var(--text-base);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: var(--text-lg);
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: var(--space-4);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item .faq-answer {
  padding-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ============================================================
   PROVIDERS & PAYMENT ROW
   ============================================================ */

.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-4);
}

.provider-tag {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

.footer-brand .site-logo {
  display: inline-block;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

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

.footer-col li { margin-bottom: var(--space-2); }

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.footer-badges {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.footer-badge {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  line-height: 1.6;
  max-width: 700px;
}

.footer-legal-links {
  display: flex;
  gap: var(--space-4);
}

.footer-legal-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-legal-links a:hover { color: var(--color-accent); }

.footer-attribution {
  text-align: center;
  margin-top: var(--space-6);
}

.footer-attribution a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
}

.footer-attribution a:hover { color: var(--color-text-muted); }

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links {
    justify-content: center;
  }
}

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

/* ============================================================
   PAGE-LEVEL HERO VARIANT (inner pages)
   ============================================================ */

.page-hero {
  padding: clamp(var(--space-10), 6vw, var(--space-16)) 0;
  background: linear-gradient(170deg, var(--color-hero-gradient-start), var(--color-surface));
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-3);
}

.page-hero p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Login form */
.login-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  max-width: 440px;
  margin: 0 auto;
}

.login-card h2 {
  text-align: center;
  margin-bottom: var(--space-6);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-group input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
}

.form-group input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-group input::placeholder {
  color: var(--color-text-faint);
}

.form-actions {
  margin-top: var(--space-6);
}

.form-actions .btn {
  width: 100%;
}

.form-links {
  text-align: center;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.form-links a {
  color: var(--color-accent);
  text-decoration: none;
}

.form-links a:hover {
  text-decoration: underline;
}

/* Two-col layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
}

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

/* Highlight box */
.highlight-box {
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}

.highlight-box h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.highlight-box p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: var(--space-12) 0;
}

.cta-banner h2 {
  margin-bottom: var(--space-3);
}

.cta-banner p {
  color: var(--color-text-muted);
  max-width: 500px;
  margin: 0 auto var(--space-6);
}

.cta-banner .btn--primary {
  color: var(--color-cta-text);
}

/* ============================================================
   STICKY CTA BAR
   ============================================================ */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.sticky-cta__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.sticky-cta__bonus {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .sticky-cta__text span:first-child { display: none; }
  .sticky-cta .container { justify-content: center; gap: var(--space-3); }
}

/* ============================================================
   LANGUAGE SELECTOR
   ============================================================ */

.lang-selector {
  position: relative;
}

.lang-selector__toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
}

.lang-selector__toggle:hover {
  color: var(--color-text);
  border-color: var(--color-border);
}

.lang-selector__toggle svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.lang-selector__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 160px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) 0;
  z-index: 200;
  box-shadow: var(--shadow-lg);
}

.lang-selector.open .lang-selector__dropdown {
  display: block;
}

.lang-selector__dropdown a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.lang-selector__dropdown a:hover,
.lang-selector__dropdown a.active {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}

.lang-flag {
  font-style: normal;
  line-height: 1;
}

/* ============================================================
   SOCIAL PROOF / WINNERS TICKER
   ============================================================ */

.winners-section {
  padding: clamp(var(--space-10), 5vw, var(--space-16)) 0;
  overflow: hidden;
}

.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.winner-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.winner-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.winner-card__info {
  flex: 1;
  min-width: 0;
}

.winner-card__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.winner-card__game {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.winner-card__amount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.winner-card__time {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: right;
}

/* Live indicator dot */
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

/* ============================================================
   CASINO GAME GRID
   ============================================================ */

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.game-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.game-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-tile__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18,45,71,0.95) 0%, rgba(18,45,71,0.4) 40%, transparent 70%);
}

.game-tile__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3) var(--space-4);
}

.game-tile__name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

.game-tile__provider {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.game-tile__badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  color: #fff;
}

.game-tile__badge--hot { background: #dc2626; }
.game-tile__badge--new { background: #2563eb; }
.game-tile__badge--jackpot { background: #7c3aed; }

.game-tile__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  pointer-events: none;
}

.game-tile__play svg {
  width: 20px;
  height: 20px;
  fill: var(--color-cta-text);
  margin-left: 2px;
}

.game-tile:hover .game-tile__play {
  transform: translate(-50%, -50%) scale(1);
}

/* Category tabs for game grid */
.game-tabs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.game-tab {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all 0.2s ease;
}

.game-tab:hover,
.game-tab.active {
  color: var(--color-cta-text);
  background: var(--color-accent);
  border-color: var(--color-accent);
}

/* Mobile: horizontal scroll game grid */
@media (max-width: 768px) {
  .game-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-3);
    padding-bottom: var(--space-3);
    scrollbar-width: none;
  }
  .game-grid::-webkit-scrollbar { display: none; }
  .game-grid .game-tile {
    flex: 0 0 calc(40% - var(--space-2));
    scroll-snap-align: start;
    aspect-ratio: 3 / 4;
  }
  .game-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-2);
  }
  .game-tabs::-webkit-scrollbar { display: none; }
  .game-tab { white-space: nowrap; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .game-grid .game-tile {
    flex: 0 0 calc(45% - var(--space-2));
  }
}

/* Sub-page hero CTA */
.page-hero .hero__ctas {
  margin-top: var(--space-6);
}

/* Quick-info table on homepage */
.quick-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
}

.quick-table th {
  text-align: left;
  font-weight: 600;
  color: var(--color-accent);
  padding: var(--space-3) var(--space-4);
  background: rgba(212, 175, 55, 0.06);
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
  width: 40%;
}

.quick-table td {
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.quick-table tr:last-child th,
.quick-table tr:last-child td {
  border-bottom: none;
}

/* Checklist-style bullets */
.check-list {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
}

.check-list li {
  position: relative;
  padding: var(--space-2) 0 var(--space-2) var(--space-8);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: var(--space-2);
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-base);
}

/* Jackpot counter animation */
@keyframes jackpot-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(212,175,55,0.3); }
  50% { text-shadow: 0 0 20px rgba(212,175,55,0.6); }
}

.jackpot-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  animation: jackpot-glow 3s ease-in-out infinite;
  text-align: center;
  margin: var(--space-4) 0;
}

.jackpot-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-align: center;
}

/* ============================================================
   SECTION IMAGES (localized screenshots)
   Placed inside .content-section, floated with body copy.
   Transparent PNGs, blend with #071821 site bg.
   ============================================================ */
.zg-section-img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 0 var(--space-6) var(--space-6);
  float: right;
  background: transparent;
  border: 0;
  shape-outside: margin-box;
}
.content-section .zg-section-img:nth-of-type(odd) {
  float: right;
  margin: 0 0 var(--space-6) var(--space-6);
}
.content-section .zg-section-img.zg-left {
  float: left;
  margin: 0 var(--space-6) var(--space-6) 0;
}
@media (max-width: 720px) {
  .zg-section-img {
    float: none;
    margin: 0 auto var(--space-6);
    max-width: 260px;
  }
}
