/* ============================================================
   CROWNPLAY CASINO — styles.css
   Dark premium theme · Gold accents · Poppins · Fully responsive
   ============================================================ */

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

:root {
  --bg-primary:    #0f0d0a;
  --bg-card:       #1a1510;
  --bg-card-hover: #221c13;
  --bg-sidebar:    #141008;
  --bg-input:      #211a10;
  --bg-header:     #0f0d0a;
  --accent-gold:   #c9a84c;
  --accent-gold-2: #f0d080;
  --accent-green:  #1a7a5e;
  --accent-green-2:#22a07a;
  --text-primary:  #f5ead8;
  --text-secondary:#9e8c6a;
  --text-muted:    #5a4e38;
  --border:        #2e2518;
  --border-gold:   rgba(201,168,76,0.35);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.6);
  --shadow-hover:  0 8px 36px rgba(0,0,0,0.8);
  --shadow-gold:   0 0 20px rgba(201,168,76,0.25);
  --radius-card:   12px;
  --radius-btn:    6px;
  --sidebar-w:     220px;
  --header-h:      60px;
  --header-h-mob:  56px;
  --nav-h:         44px;
  --transition:    0.2s ease;
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: #3a2e1a; border-radius: 3px; }

/* ── HEADER ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  height: var(--header-h);
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.header-menu-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

.header-search {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  max-width: 380px;
  margin-left: auto;
}

.header-search .fa-magnifying-glass {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  padding: 9px 14px 9px 34px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}

.header-search input::placeholder { color: var(--text-muted); }
.header-search input:focus { border-color: var(--accent-gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-mob-search {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
}

.btn-login {
  background: transparent;
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  padding: 8px 20px;
  border-radius: var(--radius-btn);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
}

.btn-login:hover { background: rgba(201,168,76,0.12); }

.btn-register {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-2));
  color: #0f0d0a;
  padding: 9px 22px;
  border-radius: var(--radius-btn);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 14px rgba(201,168,76,0.4);
}

.btn-register:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 4px 22px rgba(201,168,76,0.55); }

/* ── MOBILE TOP NAV TABS ───────────────────────────────────── */
.mobile-tab-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 95;
  height: var(--nav-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  gap: 0;
}

.mob-tab {
  display: flex;
  align-items: center;
  padding: 0 22px;
  height: 100%;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.mob-tab.active, .mob-tab:hover { color: var(--text-primary); border-color: var(--accent-gold); }

.mob-tab-sep {
  color: var(--accent-gold);
  font-size: 0.5rem;
}

/* ── LAYOUT WRAPPER ────────────────────────────────────────── */
.layout-wrapper {
  display: flex;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

/* ── SIDEBAR ───────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0; bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  z-index: 90;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 0 80px;
  display: flex;
  flex-direction: column;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}

.sidebar-item .si-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-item:hover {
  background: rgba(201,168,76,0.07);
  color: var(--text-primary);
  border-left-color: var(--accent-gold);
}

.sidebar-item.active {
  background: rgba(201,168,76,0.12);
  color: var(--accent-gold);
  border-left-color: var(--accent-gold);
}

.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
}

.sidebar-lang, .sidebar-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.sidebar-lang:hover, .sidebar-help:hover { color: var(--text-secondary); }
.sidebar-lang img { width: 20px; height: 14px; border-radius: 2px; }

/* ── MAIN CONTENT ──────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  padding: 20px 24px 60px;
  max-width: calc(1800px - var(--sidebar-w));
  overflow-x: hidden;
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 32px;
  min-height: 300px;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-gold);
  background: #0d1a12;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,20,14,0.92) 0%, rgba(10,20,14,0.6) 55%, rgba(10,20,14,0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 44px 52px;
  max-width: 520px;
}

.hero-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.hero-headline {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-headline span { color: var(--accent-gold-2); }

.btn-join {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-2));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 52px;
  border-radius: var(--radius-btn);
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(26,122,94,0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: btnPulse 2.6s infinite;
  margin-bottom: 20px;
  display: block;
  text-align: center;
  max-width: 280px;
}

.btn-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(26,122,94,0.7);
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(26,122,94,0.5); }
  50%       { box-shadow: 0 4px 36px rgba(26,122,94,0.8); }
}

.hero-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-payments img {
  height: 22px;
  width: auto;
  opacity: 0.8;
  filter: brightness(1.1);
}

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.btn-see-all {
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity var(--transition);
}

.btn-see-all:hover { opacity: 0.75; }

.section-nav {
  display: flex;
  gap: 6px;
}

.btn-nav {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-gold);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-nav:hover { background: var(--accent-gold); color: #0f0d0a; border-color: var(--accent-gold); }

/* ── UNIVERSAL CARD SLIDER ─────────────────────────────────── */
.card-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}

.card-slider::-webkit-scrollbar { display: none; }

/* ── CASINO CATEGORY CARDS ─────────────────────────────────── */
.casino-section { margin-bottom: 36px; }

.casino-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
  /* background.jpg always sits behind the character asset */
  background: url('/assets/slots/background.jpg') center / cover no-repeat;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.casino-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.casino-card .card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(10,10,6,0.92));
  padding: 20px 10px 10px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.95rem;
  z-index: 2;
}

.casino-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 0 2px var(--accent-gold), 0 8px 32px rgba(0,0,0,0.7);
  border-color: var(--accent-gold);
}

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

/* ── LIVE CASINO SECTION ───────────────────────────────────── */
.live-section { margin-bottom: 36px; }

.live-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
  /* background.jpg always sits behind the character/game asset */
  background: url('/assets/slots/background.jpg') center / cover no-repeat;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.live-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.live-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 0 2px var(--accent-gold), 0 8px 28px rgba(0,0,0,0.7);
  border-color: var(--accent-gold);
}

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

/* ── BONUS CTA CARDS ───────────────────────────────────────── */
.bonus-cta-section { margin-bottom: 36px; }

.bonus-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.bonus-cta-card {
  position: relative;
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.bonus-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(8,6,2,0.88) 0%,
    rgba(8,6,2,0.65) 55%,
    rgba(8,6,2,0.25) 100%
  );
  z-index: 1;
}

.bonus-cta-body {
  position: relative;
  z-index: 2;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.bonus-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 2px 8px;
  display: inline-block;
  align-self: flex-start;
}

.bonus-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-top: 2px;
}

.bonus-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  max-width: 280px;
  margin-top: 2px;
  flex: 1;
}

.bonus-btn {
  display: inline-block;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-2));
  color: #0f0d0a;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  align-self: flex-start;
  box-shadow: 0 2px 12px rgba(201,168,76,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.bonus-cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold), 0 10px 32px rgba(0,0,0,0.7); }
.bonus-cta-card:hover .bonus-btn { transform: scale(1.04); box-shadow: 0 4px 20px rgba(201,168,76,0.6); }



/* ── SPORTS SECTION ────────────────────────────────────────── */
.sports-section { margin-bottom: 36px; }

.sport-card {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
  /* background.jpg always sits behind the sport character asset */
  background: url('/assets/sports/background.jpg') center / cover no-repeat;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sport-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.sport-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px var(--accent-gold), 0 8px 24px rgba(0,0,0,0.6);
  border-color: var(--accent-gold);
}

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

/* ── SEO CONTENT ───────────────────────────────────────────── */
.seo-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 44px;
  margin-bottom: 40px;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.seo-section { margin-bottom: 40px; }
.seo-section:last-child { margin-bottom: 0; }

.seo-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.seo-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-2));
}

.seo-section p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.78;
  margin-bottom: 14px;
}

.seo-section p:last-child { margin-bottom: 0; }
.seo-section p strong { color: var(--text-primary); }

.seo-list {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.78;
  padding-left: 0;
  list-style: none;
  margin-bottom: 14px;
}

.seo-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.seo-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.seo-list li strong { color: var(--text-primary); }

/* FAQ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--bg-input);
  border: none;
  padding: 15px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-card-hover); }
.faq-question i { flex-shrink: 0; color: var(--accent-gold); transition: transform 0.3s ease; }
.faq-question[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-question[aria-expanded="true"] { background: var(--bg-card-hover); }

.faq-answer {
  display: none;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--border);
}

.faq-answer p { margin-bottom: 0; font-size: 0.875rem; color: var(--text-secondary); line-height: 1.72; }
.faq-answer.is-open { display: block; }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  margin-left: var(--sidebar-w);
  padding: 40px 0 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.footer-logo-row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { height: 36px; width: auto; }
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.footer-nav a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.footer-payments {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-payments img { height: 22px; width: auto; opacity: 0.6; filter: grayscale(30%); }

.footer-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 820px;
}

.footer-disclaimer a { color: var(--accent-gold); }
.footer-disclaimer a:hover { text-decoration: underline; }

.footer-age { display: flex; gap: 10px; align-items: center; }

.badge-18, .badge-rg {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

/* ── FLOATING CTA ──────────────────────────────────────────── */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-2));
  color: #0f0d0a;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  box-shadow: 0 4px 20px rgba(201,168,76,0.5);
  animation: floatPulse 2.8s infinite;
  transition: transform var(--transition);
}

.floating-cta:hover { transform: translateY(-2px) scale(1.04); }
.floating-cta i { font-size: 0.95rem; }

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(201,168,76,0.5); }
  50%       { box-shadow: 0 4px 36px rgba(201,168,76,0.85); }
}

/* ── MOBILE BOTTOM NAV ─────────────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  align-items: stretch;
  height: 58px;
}

.mob-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 6px 0;
}

.mob-nav-item i { font-size: 1.1rem; }
.mob-nav-item.active { color: var(--accent-gold); }

/* ── VISUALLY HIDDEN ───────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── FADE IN ───────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE: TABLET ────────────────────────────────────── */
@media (max-width: 1200px) {
  :root { --sidebar-w: 180px; }
  .hero-headline { font-size: 1.8rem; }
  .casino-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .seo-content { padding: 28px 28px; }
}

@media (max-width: 1024px) {
  .bonus-cta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar { display: none; }
  .site-footer { margin-left: 0; }
  .mobile-tab-nav { display: flex; }
  .layout-wrapper { margin-top: calc(var(--header-h) + var(--nav-h)); }
}

/* ── RESPONSIVE: MOBILE ────────────────────────────────────── */
@media (max-width: 767px) {
  body { padding-bottom: 58px; }

  :root { --header-h: var(--header-h-mob); }

  .header-search { display: none; }
  .btn-mob-search { display: none; }   /* search via bottom nav instead */
  .header-menu-btn { display: none; }  /* burger removed — bottom nav handles nav */
  .logo-img { height: 28px; }
  .btn-login { padding: 7px 14px; font-size: 0.76rem; }
  .btn-register { padding: 7px 14px; font-size: 0.76rem; }


  .main-content { padding: 14px 12px 24px; }

  /* ── MOBILE HERO: full portrait card, content at bottom ── */
  .hero-section {
    min-height: 88vw;
    aspect-ratio: unset;
    height: auto;
    margin-bottom: 20px;
  }

  .hero-bg {
    object-position: center top;
  }

  /* Gradient now rises from bottom (dark) to transparent at top */
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(5,15,10,0.97) 0%,
      rgba(5,15,10,0.78) 38%,
      rgba(5,15,10,0.18) 68%,
      rgba(5,15,10,0.0) 100%
    );
  }

  /* Content sits at bottom, centered */
  .hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 20px 28px;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-label {
    font-size: 0.82rem;
    margin-bottom: 6px;
    color: rgba(255,255,255,0.75);
  }

  .hero-headline {
    font-size: 1.65rem;
    text-align: center;
    margin-bottom: 18px;
    line-height: 1.2;
  }

  .btn-join {
    max-width: 100%;
    width: 100%;
    padding: 15px 20px;
    font-size: 1rem;
    margin-bottom: 16px;
    border-radius: 8px;
  }

  .hero-payments {
    justify-content: center;
  }

  .hero-payments img {
    height: 26px;
  }


  .bonus-cta-grid { grid-template-columns: 1fr; gap: 10px; }

  .seo-content { padding: 20px 16px; border-radius: 12px; }
  .seo-section h2 { font-size: 1.1rem; }
  .seo-section p, .seo-list { font-size: 0.84rem; }

  .site-footer { padding: 26px 0 70px; }
  .footer-inner { padding: 0 16px; }

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

  .floating-cta {
    bottom: 68px; right: 12px;
    padding: 0; width: 46px; height: 46px;
    justify-content: center; border-radius: 50%;
    font-size: 0;
  }
  .floating-cta i { font-size: 1.2rem; }
  .floating-cta span { display: none; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 1.3rem; }
  .casino-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { padding: 0 12px; }
}
