/* ============================================================
   96M Online Casino — Main Stylesheet v3.0
   Design: Premium Dark Casino Theme w/ Gold Accents
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ────────────────────────────────────────── */
:root {
  --bg-base:         #07070d;
  --bg-surface:      #0e0e18;
  --bg-card:         #13131f;
  --bg-card-hover:   #1a1a2a;
  --gold:            #c9a227;
  --gold-light:      #f0c840;
  --gold-dark:       #9c7c1a;
  --gold-glow:       rgba(201,162,39,0.35);
  --gold-subtle:     rgba(201,162,39,0.12);
  --text-primary:    #ffffff;
  --text-secondary:  #a8a8c0;
  --text-muted:      #6b6b88;
  --border:          rgba(201,162,39,0.18);
  --border-hover:    rgba(201,162,39,0.5);
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;
  --shadow-gold:     0 0 30px rgba(201,162,39,0.2);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.45);
  --transition:      all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display:    'Cinzel', serif;
  --font-body:       'Inter', sans-serif;
  --nav-h:           72px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

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

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

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 40px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-title span { color: var(--gold); }

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ── Layout Utilities ─────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

/* Decorative divider */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px 0 40px;
}
.divider.center { margin: 16px auto 40px; }

/* ── Gold Glow BG Element ─────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled,
#navbar.subpage {
  background: rgba(7,7,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

#navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
}

#nav-logo img { height: 40px; width: auto; }
#nav-logo:hover { opacity: 0.85; }

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

.navbar-nav .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
  color: var(--gold-light);
  background: var(--gold-subtle);
}

/* Games dropdown in nav */
.nav-item.has-dropdown { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
  box-shadow: var(--shadow-card);
}
.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
}
.nav-dropdown a:hover {
  color: var(--gold-light);
  background: var(--gold-subtle);
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

#btn_register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-base);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
#btn_register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
  color: var(--bg-base);
}

/* Language Switcher */
.language-box { position: relative; }

.change-language-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  cursor: pointer;
  transition: var(--transition);
}
.change-language-btn:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
}

.language-icon-size { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.language-dropdown-icon { width: 12px; transition: transform 0.3s; }
.change-language-btn.open .language-dropdown-icon { transform: rotate(180deg); }

.language-dropdown-container {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 200;
  box-shadow: var(--shadow-card);
}
.language-dropdown-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.country-name {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 8px 6px;
}
.separator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.separator:last-child { border-bottom: none; margin-bottom: 0; }
.language-icon { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.language-select {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--transition);
}
.language-select:hover,
.language-select.is-active {
  color: var(--gold-light);
  background: var(--gold-subtle);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(7,7,13,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}
.mobile-nav a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--gold-light); background: var(--gold-subtle); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#section_1 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(201,162,39,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 10% 80%, rgba(80,40,180,0.1) 0%, transparent 60%),
              var(--bg-base);
}

#section_1::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 40%, rgba(201,162,39,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  position: relative;
  z-index: 1;
}

.hero-text { display: flex; flex-direction: column; gap: 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.hero-logo { height: 52px; width: auto; margin-bottom: 4px; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}
.hero-title .gold { color: var(--gold-light); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-base);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--gold-glow);
  color: var(--bg-base);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gold-light);
  background: transparent;
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.stat-item { display: flex; flex-direction: column; gap: 2px; }
.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--gold-light);
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); }

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(201,162,39,0.25) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero-image img {
  position: relative;
  z-index: 1;
  max-height: 580px;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
}

/* ============================================================
   BENEFITS TICKER
   ============================================================ */
#section_2 {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
}

.benefits-track {
  display: flex;
  gap: 0;
  overflow: hidden;
}

#splide_1 .splide__track { overflow: hidden; }

#splide_1 .splide__slide {
  padding: 0;
}

#splide_1 img {
  height: 88px;
  width: auto;
  object-fit: contain;
  padding: 12px 20px;
  transition: transform 0.3s;
}
#splide_1 img:hover { transform: scale(1.04); }

/* ============================================================
   BRAND AMBASSADOR
   ============================================================ */
#section_3 {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(ellipse 40% 60% at 15% 50%, rgba(201,162,39,0.06) 0%, transparent 60%),
    var(--bg-base);
}

.ambassador-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ambassador-img {
  position: relative;
  text-align: center;
}
.ambassador-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 40%;
  background: radial-gradient(circle, rgba(201,162,39,0.3) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.ambassador-img img {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 40px rgba(0,0,0,0.5));
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  aspect-ratio: 16/9;
  background: var(--bg-card);
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7,7,13,0.6) 100%);
  pointer-events: none;
}

/* ============================================================
   GAME CATEGORIES NAV (subpage nav for en-my)
   ============================================================ */
.game-cats {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.game-cats::-webkit-scrollbar { display: none; }

.game-cats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 0;
}

.game-cat-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
.game-cat-link:hover,
.game-cat-link.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}
.game-cat-link svg { width: 18px; height: 18px; }

/* ============================================================
   PROMOTIONS SECTION
   ============================================================ */
#section_4 {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,162,39,0.05) 0%, transparent 60%),
    var(--bg-base);
}

.section-header { text-align: center; margin-bottom: 56px; }

#splide_2 .splide__slide {
  padding: 0 8px;
}
#splide_2 .splide__slide img {
  width: 100%;
  border-radius: var(--radius-lg);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
#splide_2 .splide__slide img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
}

.promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.promo-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.promo-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card), 0 0 20px rgba(201,162,39,0.1);
  transform: translateY(-4px);
}
.promo-card img { width: 100%; }
.promo-card-body { padding: 20px; }
.promo-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.promo-card-desc { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================================
   WINNER STORIES
   ============================================================ */
#section_5 {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

#splide_3 .splide__slide { padding: 0 8px; }
#splide_3 .splide__slide img {
  width: 100%;
  border-radius: var(--radius-md);
  transition: transform 0.3s;
  cursor: pointer;
}
#splide_3 .splide__slide img:hover { transform: scale(1.02); }

/* ============================================================
   GAME PROVIDERS
   ============================================================ */
#section_6 {
  padding: 80px 0;
  background: var(--bg-base);
  overflow: hidden;
}

#game_slider {
  display: flex;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

#game_slider .tns-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
}

#game_slider img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(0.6);
  transition: var(--transition);
  object-fit: contain;
}
#game_slider img:hover {
  filter: brightness(0) invert(1) sepia(1) saturate(2) hue-rotate(10deg);
}

/* ============================================================
   WHY CHOOSE US (Trust Signals)
   ============================================================ */
.trust-section {
  padding: 96px 0;
  background:
    radial-gradient(ellipse 50% 60% at 20% 50%, rgba(201,162,39,0.05) 0%, transparent 60%),
    var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.trust-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.trust-card:hover::before { transform: scaleX(1); }

.trust-icon {
  width: 52px; height: 52px;
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.trust-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.trust-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   PAYMENT METHODS (inline showcase)
   ============================================================ */
.payment-showcase {
  padding: 64px 0;
  background: var(--bg-base);
  border-top: 1px solid var(--border);
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.payment-logo-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.payment-logo-item:hover {
  border-color: var(--gold);
  background: var(--gold-subtle);
}
.payment-logo-item img { height: 24px; width: auto; object-fit: contain; }

/* ============================================================
   SEO CONTENT SECTION (hidden expandable)
   ============================================================ */
#section_7 {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 0;
}

.footer-seo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.footer-seo h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-seo h2 {
  font-size: 1.35rem;
  color: var(--gold-light);
  margin: 40px 0 14px;
  padding-top: 8px;
}
.footer-seo h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 28px 0 10px;
}
.footer-seo .fcontent { color: var(--text-secondary); font-size: 0.925rem; line-height: 1.8; }
.footer-seo .fcontent p { margin-bottom: 14px; }
.footer-seo .fcontent ul { padding-left: 0; margin-bottom: 14px; }
.footer-seo .fcontent ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  color: var(--text-secondary);
}
.footer-seo .fcontent ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.75rem;
  top: 6px;
}
.footer-seo .fcontent a { color: var(--gold-light); }
.footer-seo .fcontent strong { color: var(--text-primary); font-weight: 600; }

.collapsible { position: relative; }
.collapsible > *:not(:first-child) {
  transition: max-height 0.5s ease, opacity 0.3s;
}
.collapsible.collapsed > *:not(h2):not(.fcontent):not(.collapse-btn) {
  display: none;
}

.collapse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-light);
  background: var(--gold-subtle);
  border: 1px solid var(--border);
  border-radius: 40px;
  cursor: pointer;
  transition: var(--transition);
}
.collapse-btn:hover { border-color: var(--gold); background: rgba(201,162,39,0.2); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #060610;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-brand {}
.footer-brand img { height: 44px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; max-width: 340px; }

.footer-license {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
}
.footer-license img { height: 40px; flex-shrink: 0; }
.footer-license p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cert-logos img { height: 28px; width: auto; object-fit: contain; }

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.payment-icons img { height: 26px; width: auto; object-fit: contain; }

.resp-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.resp-icons img { height: 28px; width: auto; object-fit: contain; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-copyright {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 16px 24px 24px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   SUBPAGE HERO (for category pages)
   ============================================================ */
.subpage-hero {
  position: relative;
  padding: calc(var(--nav-h) + 32px) 0 80px;
  overflow: hidden;
  text-align: center;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(201,162,39,0.1) 0%, transparent 60%),
              var(--bg-base);
}
.subpage-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.subpage-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.subpage-hero p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 32px; }

/* ============================================================
   CONTENT SECTIONS (generic)
   ============================================================ */
.content-section {
  padding: 80px 0;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.content-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.content-block h2 .gold { color: var(--gold); }
.content-block p { color: var(--text-secondary); margin-bottom: 14px; font-size: 0.95rem; }
.content-block ul { margin-bottom: 14px; }
.content-block ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.content-block ul li strong { color: var(--text-primary); }

/* Feature image */
.feature-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.feature-img-wrap img { width: 100%; display: block; }
.feature-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7,7,13,0.3) 100%);
  pointer-events: none;
}

/* ============================================================
   GAMES GRID (for slot/live-casino pages)
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.game-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-surface), var(--bg-card-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}
.game-card-img img { width: 100%; height: 100%; object-fit: cover; }
.game-card-body { padding: 16px; }
.game-card-name { font-size: 0.9rem; font-weight: 600; margin-bottom: 4px; }
.game-card-provider { font-size: 0.78rem; color: var(--text-muted); }
.game-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--gold-subtle);
  color: var(--gold);
  border-radius: 4px;
  margin-top: 6px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--gold); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq-question span {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}
.faq-icon {
  width: 24px; height: 24px;
  background: var(--gold-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
}
.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--bg-base);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  padding: 0 24px 20px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); margin: 0 2px; }
.breadcrumb-current { color: var(--gold-light); font-weight: 500; }

/* ============================================================
   SPLIDE OVERRIDES
   ============================================================ */
.splide__pagination { bottom: -32px; }
.splide__pagination__page {
  background: var(--text-muted);
  width: 7px; height: 7px;
  transition: var(--transition);
}
.splide__pagination__page.is-active {
  background: var(--gold);
  transform: scale(1.3);
}
.splide__arrow {
  background: var(--bg-card);
  border: 1px solid var(--border);
  width: 38px; height: 38px;
  border-radius: 50%;
  transition: var(--transition);
}
.splide__arrow:hover {
  background: var(--gold-subtle);
  border-color: var(--gold);
}
.splide__arrow svg { fill: var(--text-secondary); }
.splide__arrow:hover svg { fill: var(--gold-light); }

/* ============================================================
   AOS OVERRIDES
   ============================================================ */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   REGISTER CTA BANNER
   ============================================================ */
.cta-banner {
  padding: 80px 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,162,39,0.12) 0%, transparent 65%),
    var(--bg-base);
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-banner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-banner p { font-size: 1rem; color: var(--text-secondary); margin-bottom: 40px; }

.cta-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 56px;
  box-shadow: var(--shadow-card);
}
.cta-box .bonus-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.cta-box .bonus-label { font-size: 0.9rem; color: var(--text-secondary); margin-top: -4px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .ambassador-grid { grid-template-columns: 260px 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 56px; }

  /* Nav — keep everything on one row */
  #navbar .container { padding: 0 12px; gap: 0; }
  .navbar-collapse { display: none; }
  .hamburger { display: flex; }

  /* Smaller logo */
  #nav-logo img { height: 28px; }

  /* Compact register button */
  #btn_register {
    padding: 7px 12px;
    font-size: 0.75rem;
    letter-spacing: 0;
  }

  /* Compact language button */
  .change-language-btn { padding: 5px 8px; gap: 4px; }
  .language-icon-size { width: 18px; height: 18px; }
  .language-dropdown-icon { width: 10px; }

  /* Tighter spacing between right-side items */
  .navbar-right { gap: 6px; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 280px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; }

  /* Ambassador */
  .ambassador-grid { grid-template-columns: 1fr; }
  .ambassador-img img { max-width: 200px; }

  /* Content grids */
  .content-grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }

  /* CTA */
  .cta-box { padding: 32px 24px; }
  .cta-box .bonus-amount { font-size: 2.2rem; }

  /* Games grid */
  .games-grid { grid-template-columns: repeat(2, 1fr); }

  .section-pad { padding: 64px 0; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { flex-wrap: wrap; }
  .promo-cards { grid-template-columns: 1fr; }
  .cta-box { padding: 24px 16px; width: 100%; }

  /* Extra-small: hide register text, show icon only */
  #btn_register { padding: 7px 10px; font-size: 0.7rem; }
  .navbar-right { gap: 4px; }
}
