/* ================================================================
   CasinoSlotos Theme v6 — Main CSS
   ================================================================ */

/* ── VARIABLES ── */
:root {
  --bg-dark:     #0a0f1a;
  --bg-card:     #111827;
  --bg-card2:    #1a2236;
  --bg-hover:    #1e2d47;
  --border:      #1e2d47;
  --border-lite: #243352;
  --text-main:   #e2e8f0;
  --text-muted:  #8892a4;
  --text-dim:    #4b5870;
  --accent:      #f5a623;
  --accent-dark: #d4861a;
  --accent-text: #0a0f1a;
  --green:       #22c55e;
  --red:         #ef4444;
  --blue:        #3b82f6;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.6);
  --font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container:   1200px;
  --header-h:    112px; /* top-bar + nav */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.4em; }
button { cursor: pointer; font-family: var(--font); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  border: 2px solid transparent;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn-accent  { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--accent-text); }
.btn-outline { background: transparent; color: var(--text-main); border-color: var(--border-lite); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost   { background: rgba(255,255,255,0.06); color: var(--text-main); border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-sm  { padding: 7px 14px; font-size: 0.8rem; }
.btn-lg  { padding: 13px 28px; font-size: 1rem; }
.btn-xs  { padding: 4px 10px; font-size: 0.72rem; }
.btn-full { width: 100%; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* TOP BAR: logo + lang + CTA */
.header-top { border-bottom: 1px solid var(--border); }
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img  { height: 36px; width: auto; object-fit: contain; }
.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.5px;
}
.logo-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 5px;
  border-radius: 4px;
  line-height: 1;
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher (Polylang) */
.lang-switcher { display: flex; align-items: center; gap: 4px; }
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.15s;
  text-transform: uppercase;
}
.lang-switcher a:hover,
.lang-switcher a.current-lang { color: var(--text-main); border-color: var(--border-lite); }
.lang-switcher img { width: 16px; height: 12px; object-fit: cover; border-radius: 2px; }
.header-cta { flex-shrink: 0; }

/* BURGER */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--border-lite);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.25s;
}

/* PRIMARY NAV — horizontal */
.header-nav { background: var(--bg-card); }
.header-nav .container { padding-top: 0; padding-bottom: 0; }

/* WP nav_list / fallback nav-list */
.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  padding: 0;
  margin: 0;
  height: 44px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-list > li > a,
.nav-list > li > span {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.nav-list > li > a:hover { color: var(--text-main); }
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Admin nav hint */
.admin-nav-hint {
  font-size: 0.72rem;
  padding: 4px 14px;
  color: var(--text-dim);
  background: rgba(245,166,35,0.08);
}
.admin-nav-hint a { color: var(--accent); font-size: inherit; }

/* ── MOBILE NAV ── */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .header-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .header-nav.nav-open { display: block; }
  .nav-list {
    flex-direction: column;
    height: auto;
    gap: 0;
    padding: 8px 0;
  }
  .nav-list > li { width: 100%; }
  .nav-list > li > a {
    height: auto;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    border-left: 3px solid transparent;
  }
  .nav-list > li.current-menu-item > a {
    border-left-color: var(--accent);
    border-bottom-color: var(--border);
    background: rgba(245,166,35,0.06);
  }
  .header-cta { display: none; }
}

/* ================================================================
   FOOTER — 4-column grid
   ================================================================ */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: 64px;
}

/* MAIN FOOTER GRID */
.footer-main { padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 40px;
}

/* Brand column */
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-link { display: inline-block; }
.footer-logo { max-height: 44px; width: auto; }
.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.footer-badges { display: flex; align-items: center; gap: 8px; }
.footer-age-badge {
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 900;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 4px;
}
.footer-badge-text { font-size: 0.78rem; color: var(--text-dim); }
.footer-lang { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-lang a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 8px;
  border: 1px solid var(--border-lite);
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.15s;
}
.footer-lang a:hover,
.footer-lang a.current-lang { color: var(--text-main); border-color: var(--accent); }

/* Footer columns */
.footer-col { display: flex; flex-direction: column; }
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list li a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.15s, padding-left 0.15s;
  display: block;
}
.footer-nav-list li a:hover { color: var(--accent); padding-left: 4px; }

/* BOTTOM BAR */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  flex: 1;
  min-width: 200px;
}
.footer-disclaimer strong { color: var(--text-muted); }
.footer-partners { display: flex; gap: 16px; flex-shrink: 0; }
.footer-partners a {
  font-size: 0.75rem;
  color: var(--text-dim);
  border-bottom: 1px dashed var(--border-lite);
}
.footer-partners a:hover { color: var(--text-muted); }
.footer-copy { font-size: 0.75rem; color: var(--text-dim); width: 100%; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   RANKING LIST — Archive Casino + Entity pages
   ================================================================ */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}
.ranking-item {
  display: grid;
  grid-template-columns: 48px 110px 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ranking-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.ranking-top { border-color: var(--border-lite); }

/* Rank number */
.ranking-num {
  text-align: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-dim);
}
.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
  color: #fff;
}
.rank-1 { background: linear-gradient(135deg, #ffd700, #f5a623); color: #000; }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #a0522d); }

/* Logo cell — clickable */
.ranking-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  min-height: 48px;
  background: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ranking-logo:hover { opacity: 0.85; }
.ranking-logo img { max-width: 100px; max-height: 44px; object-fit: contain; padding: 4px; }
.ranking-logo-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  padding: 8px;
}

/* Info */
.ranking-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  text-decoration: none;
}
.ranking-name:hover { color: var(--accent); }
.ranking-bonus { font-size: 0.85rem; color: var(--accent); font-weight: 600; }
.ranking-promo { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.ranking-promo code {
  background: var(--bg-hover);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-main);
}

/* Type chips — clickable */
.ranking-type-chips, .casino-type-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.type-chip, .type-chip-sm {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(245,166,35,0.12);
  color: var(--accent);
  border: 1px solid rgba(245,166,35,0.3);
  transition: all 0.15s;
  text-decoration: none;
}
.type-chip:hover, .type-chip-sm:hover {
  background: var(--accent);
  color: var(--accent-text);
}

/* Rating */
.ranking-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
}
.rating-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000;
  font-weight: 900;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stars */
.stars { display: flex; gap: 2px; }
.stars .star { font-size: 0.75rem; }
.stars .star-full  { color: var(--accent); }
.stars .star-half  { color: var(--accent); opacity: 0.6; }
.stars .star-empty { color: var(--text-dim); }

/* CTA */
.ranking-cta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  min-width: 140px;
}

/* Promo copy btn */
.promo-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  padding: 0;
}
.promo-copy-btn:hover { color: var(--accent); }

@media (max-width: 768px) {
  .ranking-item {
    grid-template-columns: 36px 80px 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
    padding: 12px 14px;
  }
  .ranking-rating { grid-column: 2; grid-row: 2; flex-direction: row; }
  .ranking-cta    { grid-column: 3; grid-row: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .ranking-item { grid-template-columns: 30px 1fr; }
  .ranking-logo { width: 70px; justify-self: start; }
  .ranking-rating, .ranking-cta { grid-column: 1 / -1; }
}

/* ================================================================
   CATEGORY FILTER CHIPS
   ================================================================ */
.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 24px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.15s;
  text-decoration: none;
}
.cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.cat-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}
.cat-chip-icon { font-size: 1rem; }

/* Sort bar */
.archive-sort-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.sort-link {
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.sort-link:hover { color: var(--text-main); }
.sort-link.active { color: var(--accent); border-color: var(--accent); }

/* ================================================================
   SINGLE CASINO PAGE
   ================================================================ */
.single-casino-page { padding-bottom: 60px; }

.breadcrumb-bar {
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.breadcrumb-bar a { color: var(--text-muted); }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-sep { margin: 0 6px; color: var(--text-dim); }

/* Layout */
.casino-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-top: 28px;
}
.casino-sidebar { display: flex; flex-direction: column; gap: 16px; }

/* Hero card */
.casino-hero-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.casino-hero-top { display: flex; gap: 24px; margin-bottom: 20px; }
.casino-hero-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.casino-logo-img {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}
.casino-logo-placeholder {
  width: 160px;
  height: 80px;
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-muted);
}
.casino-license-chip {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  padding: 2px 8px;
  border-radius: 20px;
}

.casino-hero-info { flex: 1; }
.casino-hero-title { font-size: 1.5rem; font-weight: 900; color: var(--text-main); margin-bottom: 10px; }
.casino-rating-row { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.rating-score { font-size: 1rem; font-weight: 900; color: var(--accent); }
.rating-label { font-size: 0.78rem; color: var(--text-muted); }

.casino-bonus-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 14px 0;
}
.bonus-icon { font-size: 1.4rem; }
.bonus-label { font-size: 0.78rem; color: var(--text-muted); display: block; }
.bonus-value { font-size: 1.1rem; font-weight: 900; color: var(--accent); display: block; }
.bonus-wager { font-size: 0.72rem; color: var(--text-dim); display: block; }

.casino-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

.casino-promo {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.casino-promo code {
  background: var(--bg-hover);
  color: var(--text-main);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* Key facts grid */
.casino-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 18px;
}
.fact-item {
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.fact-icon { font-size: 1rem; }
.fact-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.fact-val { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }

/* TABS */
.casino-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.casino-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.tab-btn:hover { color: var(--text-main); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h2 { font-size: 1.25rem; margin-bottom: 16px; color: var(--text-main); }

/* Casino review content */
.casino-review-content, .entry-content {
  color: var(--text-muted);
  line-height: 1.8;
}
.entry-content h2, .entry-content h3 { color: var(--text-main); margin: 24px 0 12px; }
.entry-content h2 { font-size: 1.2rem; }
.entry-content h3 { font-size: 1.05rem; }
.entry-content p { margin-bottom: 14px; }
.entry-content ul, .entry-content ol { margin-bottom: 14px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--accent); }
.entry-content strong { color: var(--text-main); }
.entry-content table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 16px; font-size: 0.9rem;
}
.entry-content table th, .entry-content table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  text-align: left;
}
.entry-content table th { background: var(--bg-hover); color: var(--text-main); }

/* Casino intro */
.casino-intro-text {
  background: rgba(245,166,35,0.06);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Pros/Cons */
.pros-cons-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.pros-block, .cons-block {
  background: var(--bg-card2);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.pros-block { border-top: 3px solid var(--green); }
.cons-block { border-top: 3px solid var(--red); }
.pros-block h3 { color: var(--green); margin-bottom: 10px; }
.cons-block h3 { color: var(--red); margin-bottom: 10px; }
.pros-block ul, .cons-block ul { list-style: none; padding: 0; }
.pros-block li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.cons-block li::before { content: "✗ "; color: var(--red); font-weight: 700; }
.pros-block li, .cons-block li { font-size: 0.875rem; margin-bottom: 6px; color: var(--text-muted); }

/* Bonus card */
.bonus-detail-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.bonus-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.bdc-title { font-size: 1rem; font-weight: 700; color: var(--text-main); }
.bdc-value { font-size: 1.3rem; font-weight: 900; color: var(--accent); }
.bonus-detail-meta { display: flex; gap: 16px; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 14px; }

/* ================================================================
   GAMES GRID — 4 desktop, 2 mobile
   ================================================================ */
.games-grid-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 16px 0;
}
.game-tile {
  background: var(--bg-card2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.game-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.game-tile-link { display: block; text-decoration: none; }
.game-tile-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-hover);
}
.game-tile-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.game-tile:hover .game-tile-thumb img { transform: scale(1.05); }
.game-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--text-dim); text-align: center; padding: 8px;
}
.game-tile-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0; transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.game-tile:hover .game-tile-overlay { opacity: 1; }
.game-demo-btn {
  background: var(--accent); color: var(--accent-text);
  border: none; border-radius: var(--radius-sm);
  padding: 7px 14px; font-size: 0.8rem; font-weight: 700;
  cursor: pointer;
}
.game-tile-info { padding: 8px 10px; }
.game-tile-name {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--text-main); margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-tile-provider { font-size: 0.7rem; color: var(--text-dim); display: block; }
.game-tile-rtp { font-size: 0.7rem; color: var(--green); font-weight: 700; }

@media (max-width: 900px) { .games-grid-4col { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .games-grid-4col { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================
   PAYMENTS GRID
   ================================================================ */
.payments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.payment-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid var(--border);
  transition: box-shadow 0.15s;
  text-decoration: none;
}
.payment-tile:hover { box-shadow: 0 0 0 2px var(--accent); }
.payment-tile img { max-width: 80px; max-height: 36px; object-fit: contain; }
.payment-tile-name { font-size: 0.72rem; font-weight: 700; color: #333; text-align: center; }
.payment-tile-speed { font-size: 0.65rem; color: #666; }

/* ================================================================
   SIDEBAR
   ================================================================ */
.sidebar-cta-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.sidebar-casino-logo { max-width: 140px; max-height: 60px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); padding: 6px; }
.sidebar-rating { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.sidebar-bonus { display: flex; flex-direction: column; gap: 2px; }
.sidebar-bonus span { font-size: 0.78rem; color: var(--text-muted); }
.sidebar-bonus strong { color: var(--accent); font-size: 1rem; }
.sidebar-disclaimer { font-size: 0.68rem; color: var(--text-dim); }

.sidebar-box {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.sidebar-box h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Info table */
.info-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 7px 4px; }
.info-table td:first-child { color: var(--text-muted); }
.info-table td:last-child { color: var(--text-main); font-weight: 700; text-align: right; }

/* Sidebar providers */
.sidebar-providers { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-provider-chip {
  background: #fff;
  border-radius: 4px;
  padding: 3px 6px;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s;
}
.sidebar-provider-chip:hover { opacity: 0.8; }
.sidebar-provider-chip img { max-width: 50px; max-height: 22px; object-fit: contain; }
.sidebar-screenshot { width: 100%; border-radius: var(--radius-sm); }

/* Sidebar casino item */
.sidebar-casino-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.sidebar-casino-item:last-child { border-bottom: none; }
.sidebar-casino-item img { max-width: 56px; max-height: 28px; object-fit: contain; background: #fff; border-radius: 3px; padding: 2px; }
.sidebar-casino-info { flex: 1; }
.sidebar-casino-info a { color: var(--text-main); font-size: 0.82rem; font-weight: 600; display: block; }
.sidebar-casino-info a:hover { color: var(--accent); }
.sidebar-casino-info span { font-size: 0.7rem; color: var(--text-muted); }

/* ================================================================
   RELATED CASINOS
   ================================================================ */
.related-casinos-section { margin-top: 40px; }
.related-casinos-section h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--text-main); }
.related-casino-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.related-casino-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.related-casino-logo { display: block; text-decoration: none; }
.related-casino-logo img { max-width: 90px; max-height: 44px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
.related-casino-name {
  font-size: 0.82rem; font-weight: 700;
  color: var(--text-main); text-decoration: none; display: block;
}
.related-casino-name:hover { color: var(--accent); }
.related-bonus { font-size: 0.78rem; color: var(--accent); }
.related-rating { margin: 4px 0; }
@media (max-width: 640px) {
  .related-casino-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   CASINO SIDEBAR LAYOUT
   ================================================================ */
@media (max-width: 960px) {
  .casino-layout { grid-template-columns: 1fr; }
  .casino-sidebar { display: none; }
  .sidebar-cta-box { position: static; }
}

/* ================================================================
   SLOTS PRODUCT GRID
   ================================================================ */
.slots-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.slots-grid-compact { grid-template-columns: repeat(auto-fill, minmax(130px,1fr)); gap:8px; }

.slot-product-card {
  background: var(--bg-card2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.slot-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.slot-thumb-link { display: block; text-decoration: none; }
.slot-thumb-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-hover); }
.slot-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.slot-product-card:hover .slot-thumb-img { transform: scale(1.05); }
.slot-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--text-dim); text-align: center; padding: 8px;
}
.slot-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.65); opacity: 0; transition: opacity 0.2s;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.slot-product-card:hover .slot-thumb-overlay { opacity: 1; }
.slot-play-demo-btn, .slot-review-btn {
  padding: 6px 14px; border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 700;
}
.slot-play-demo-btn { background: var(--accent); color: #000; border: none; cursor: pointer; }
.slot-review-btn { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); text-decoration: none; }
.slot-badge {
  position: absolute; top: 6px; left: 6px;
  background: var(--accent); color: #000;
  font-size: 0.62rem; font-weight: 900;
  padding: 2px 6px; border-radius: 4px;
}
.slot-product-info { padding: 10px 12px; }
.slot-product-name { font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; }
.slot-product-name a { color: var(--text-main); text-decoration: none; }
.slot-provider-label { font-size: 0.7rem; color: var(--text-dim); }
.slot-stats-row { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.slot-stat { display: flex; flex-direction: column; }
.stat-label { font-size: 0.62rem; color: var(--text-dim); text-transform: uppercase; }
.stat-val { font-size: 0.78rem; font-weight: 700; }
.rtp-val { color: var(--green); }
.vola-high, .vola-very-high { color: var(--accent); }

/* Slot Filters */
.slots-filters { margin: 16px 0 24px; }
.filters-form {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  background: var(--bg-card2); padding: 14px 16px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.filter-search-input, .filter-group select {
  background: var(--bg-dark); border: 1px solid var(--border-lite);
  color: var(--text-main); border-radius: var(--radius-sm);
  padding: 7px 10px; font-size: 0.85rem;
}
.filter-search-input { min-width: 200px; }
.filter-group label { display: block; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 4px; }
.filter-group select option { background: var(--bg-card); }
.filter-reset { align-self: flex-end; }

/* Slot Modal */
.slot-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.slot-modal.active { display: flex; }
.slot-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.slot-modal-inner { position: relative; background: var(--bg-card); border-radius: var(--radius); width: min(840px,95vw); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; z-index: 1; }
.slot-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.slot-modal-title { font-weight: 700; color: var(--text-main); }
.slot-modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.slot-modal-casinos { padding: 10px 16px; background: var(--bg-hover); display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.slot-modal-casinos p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }
.slot-modal-casinos-list { display: flex; gap: 8px; }
.modal-casino-chip { background: var(--bg-card2); border-radius: var(--radius-sm); padding: 4px 10px; }
.modal-casino-chip img { height: 24px; width: auto; }
.slot-demo-frame { border: none; width: 100%; height: 500px; }

@media (max-width: 480px) {
  .slots-product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   VENDOR / PAYMENT / BONUS SINGLE PAGES
   ================================================================ */
.vendor-layout, .bonus-layout, .payment-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
  margin-top: 28px;
}
.vendor-hero, .bonus-hero, .payment-hero {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 24px; background: var(--bg-card2);
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 24px;
}
.vendor-logo { max-height: 80px; max-width: 160px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); padding: 8px; }
.payment-logo { max-height: 60px; max-width: 140px; object-fit: contain; background: #fff; border-radius: var(--radius-sm); padding: 6px; }
.vendor-hero-content h1, .bonus-hero-content h1, .payment-hero-content h1 {
  font-size: 1.5rem; color: var(--text-main); margin-bottom: 10px;
}
.vendor-meta-chips, .bonus-meta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  background: var(--bg-hover); padding: 5px 12px;
  border-radius: 20px; font-size: 0.78rem; color: var(--text-muted);
  border: 1px solid var(--border-lite);
}
.payment-stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-top: 10px;
}
.pay-stat { background: var(--bg-hover); padding: 8px 12px; border-radius: var(--radius-sm); }
.pstat-label { display: block; font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; margin-bottom: 2px; }
.pstat-val { font-weight: 700; color: var(--text-main); font-size: 0.9rem; }

.pay-type-badge {
  background: rgba(59,130,246,0.15); color: var(--blue);
  border: 1px solid rgba(59,130,246,0.3);
  font-size: 0.78rem; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

/* Provider chips */
.providers-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.provider-chip {
  background: #fff; border-radius: var(--radius-sm);
  padding: 6px 10px; border: 1px solid var(--border);
  display: inline-flex; align-items: center;
  transition: box-shadow 0.15s; text-decoration: none;
}
.provider-chip:hover { box-shadow: 0 0 0 2px var(--accent); }
.provider-chip img { max-width: 60px; max-height: 28px; object-fit: contain; }
.provider-chip span { font-size: 0.78rem; font-weight: 600; color: #333; }

@media (max-width: 900px) {
  .vendor-layout, .bonus-layout, .payment-layout { grid-template-columns: 1fr; }
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-block { margin: 32px 0; }
.faq-block h2 { font-size: 1.1rem; margin-bottom: 16px; color: var(--text-main); }
.faq-item {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 8px;
}
.faq-question {
  width: 100%; text-align: left; padding: 14px 16px;
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text-main); font-weight: 600; font-size: 0.9rem;
}
.faq-question:hover { background: var(--bg-hover); }
.faq-icon { color: var(--accent); font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; }
.faq-item.open .faq-answer { max-height: 500px; padding: 12px 16px 16px; }
.faq-answer p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ================================================================
   ARCHIVE COMMON
   ================================================================ */
.archive-header { margin: 24px 0 16px; }
.archive-title { font-size: 2rem; font-weight: 900; color: var(--text-main); }
.archive-desc { color: var(--text-muted); font-size: 0.875rem; margin-top: 6px; }

/* Pagination */
.pagination-wrap {
  margin: 36px 0;
  display: flex; justify-content: center;
}
.pagination-wrap .page-numbers {
  display: inline-flex; gap: 4px;
}
.pagination-wrap a.page-numbers, .pagination-wrap span.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted);
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
  transition: all 0.15s;
}
.pagination-wrap a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination-wrap span.current { background: var(--accent); border-color: var(--accent); color: #000; }

/* No results */
.no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-results p { font-size: 1.1rem; margin-bottom: 16px; }

/* ================================================================
   HOMEPAGE SECTIONS (page-home.php)
   ================================================================ */
.hero-section {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card2) 60%, rgba(245,166,35,0.04) 100%);
  padding: 72px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,166,35,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
@media (max-width: 480px) {
  .hero-section { padding: 48px 0 40px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .hero-cta-row .btn { width: 100%; max-width: 280px; justify-content: center; }
}

.home-section { padding: 60px 0; }
.home-section:nth-child(even) { background: var(--bg-card2); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.section-title { font-size: 1.4rem; font-weight: 900; color: var(--text-main); }
.section-link { font-size: 0.875rem; color: var(--accent); font-weight: 600; }
.section-link:hover { color: var(--accent-dark); }

/* Casino card for homepage */
.casino-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.casino-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.casino-card-logo {
  display: flex; align-items: center; justify-content: center;
  height: 56px; background: #fff; border-radius: var(--radius-sm);
}
.casino-card-logo img { max-height: 44px; max-width: 120px; object-fit: contain; padding: 4px; }
.casino-card-name { font-size: 0.95rem; font-weight: 700; color: var(--text-main); }
.casino-card-bonus { font-size: 0.82rem; color: var(--accent); font-weight: 600; }
.casino-card-rating { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--text-muted); }

/* Top-10 section grid */
.top10-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* Category cards grid (clickable tiles) */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.category-card:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.15);
}
.category-card:hover::before { opacity: 1; }
.category-card .cat-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
.category-card .cat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.category-card .cat-count {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  background: rgba(245,166,35,0.12);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ================================================================
   ADMIN HINT (for editors)
   ================================================================ */
.cs-admin-notice {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 12px 0;
}
.cs-admin-notice a { color: var(--accent); }

/* ================================================================
   SCHEMA / STRUCTURED DATA BADGES
   ================================================================ */
.verified-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; font-weight: 700; color: var(--green); }
.licensed-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 0.7rem; font-weight: 700; color: var(--blue); }

/* ================================================================
   VENDOR / PAYMENT archive grids (clickable)
   ================================================================ */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin: 20px 0;
}

/* Homepage-specific entity grids — wider tiles */
.entity-grid-home {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 1200px) {
  .entity-grid-home { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 960px) {
  .entity-grid-home { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 680px) {
  .entity-grid-home { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 440px) {
  .entity-grid-home { grid-template-columns: repeat(2, 1fr); }
}

.entity-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.entity-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.12);
}
.entity-card-logo {
  height: 72px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
}
.entity-card-logo img { max-height: 48px; max-width: 130px; object-fit: contain; }
.entity-card-logo-placeholder {
  height: 72px;
  background: var(--bg-hover);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--text-muted); font-size: 0.82rem; padding: 10px; text-align: center;
}
.entity-card-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.entity-card-name { font-size: 0.82rem; font-weight: 700; color: var(--text-main); text-align: center; }
.entity-card-meta { font-size: 0.72rem; color: var(--accent); text-align: center; }
.entity-card-cta { font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-top: auto; }

/* Slots grid on homepage */
.home-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 1100px) {
  .home-slots-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  /* Mobile: horizontal scroll, 2.5 tiles visible */
  .home-slots-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .home-slots-grid::-webkit-scrollbar { display: none; }
  .home-slots-grid .slot-product-card {
    flex: 0 0 calc(40% - 5px);
    min-width: 140px;
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .home-slots-grid .slot-product-card {
    flex: 0 0 calc(38% - 5px);
  }
}



/* ── HOMEPAGE EXTRAS ── */
.hero-badge-line {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.4);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-item span { color: var(--text-main); font-weight: 600; }

.cat-chip-count {
  background: rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: 4px;
}
.cat-chip.active .cat-chip-count {
  background: rgba(0,0,0,0.2);
  color: var(--accent-text);
}

/* Archive controls */
.archive-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.archive-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.archive-search-input {
  background: var(--bg-card2);
  border: 1px solid var(--border-lite);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 0.875rem;
  min-width: 200px;
}
.archive-search-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.archive-search-input::placeholder { color: var(--text-dim); }

/* Entity card rating row */
.entity-card-rating { display: flex; align-items: center; gap: 4px; }

/* Slot modal global */
body:has(#slot-demo-modal.active) { overflow: hidden; }

/* ================================================================
   GUIDE CARDS GRID
   ================================================================ */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
}
.guide-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.guide-card-img {
  height: 180px;
  background: var(--bg-hover) center/cover no-repeat;
}
.guide-card-img-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.guide-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.guide-card-cat {
  display: inline-block;
  background: rgba(245,166,35,0.15);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}
.guide-card-title { font-size: 1rem; font-weight: 700; color: var(--text-main); line-height: 1.4; }
.guide-card-excerpt { font-size: 0.85rem; color: var(--text-muted); flex: 1; }
.guide-card-date { font-size: 0.75rem; color: var(--text-dim); }

/* ================================================================
   COMPARE TABLE
   ================================================================ */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.875rem;
}
.compare-table th { background: var(--bg-hover); font-weight: 700; color: var(--text-main); }
.compare-table td { color: var(--text-muted); }
.compare-table td:first-child { color: var(--text-main); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ================================================================
   HOMEPAGE SLOTS GRID — override for better tiles
   ================================================================ */
.home-slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.home-slots-grid .slot-product-card { border-radius: var(--radius); }
.home-slots-grid .slot-thumb-wrap { aspect-ratio: 3/4; }
@media (max-width: 1100px) { .home-slots-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .home-slots-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .home-slots-grid { grid-template-columns: repeat(2, 1fr); } }

/* ================================================================
   ARCHIVE PAGE GENERIC
   ================================================================ */
.archive-page { padding: 32px 0 60px; }
.archive-header { margin-bottom: 24px; }
.archive-title { font-size: 1.8rem; font-weight: 900; }
.archive-desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ── HERO IMPROVEMENTS ── */
.hero-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero-trust-bar {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item span { color: var(--text-main); font-weight: 600; }
@media (max-width: 600px) {
  .hero-trust-bar { gap: 12px; }
  .trust-item { font-size: 0.78rem; }
}

/* ── ENTITY CARD IMPROVEMENTS ── */
.entity-card-logo {
  height: 70px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.entity-card-logo img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  transition: transform 0.2s;
}
.entity-card:hover .entity-card-logo img { transform: scale(1.05); }
.entity-card-body {
  padding: 10px 12px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.entity-card-name {
  font-size: 0.79rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  line-height: 1.3;
}
.entity-card-meta {
  font-size: 0.7rem;
  color: var(--accent);
  text-align: center;
  font-weight: 600;
}

/* ── CATEGORY CARD IMPROVEMENTS ── */
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.22s ease;
  text-align: center;
  min-height: 110px;
  position: relative;
  overflow: hidden;
}
.category-card:hover {
  border-color: var(--accent);
  background: var(--bg-card2);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(245,166,35,0.13);
}
.category-card .cat-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.category-card .cat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}
.category-card .cat-count {
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 700;
  background: rgba(245,166,35,0.12);
  padding: 1px 7px;
  border-radius: 10px;
}

/* ── SLOTS PRODUCT CARD ── */
.slot-product-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.slot-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(245,166,35,0.14);
  border-color: var(--accent);
}
.slot-thumb-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-hover);
}
.slot-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.slot-product-card:hover .slot-thumb-img { transform: scale(1.06); }
.slot-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}
.slot-product-card:hover .slot-thumb-overlay { opacity: 1; }
.slot-play-demo-btn, .slot-review-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.slot-play-demo-btn {
  background: var(--accent);
  color: #000;
  border: none;
}
.slot-review-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  text-decoration: none;
  display: inline-block;
}
.slot-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
}
.slot-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  gap: 6px;
}
.slot-product-info { padding: 8px 10px 10px; }
.slot-product-name { font-size: 0.8rem; font-weight: 700; color: var(--text-main); margin-bottom: 3px; }
.slot-product-name a { color: inherit; text-decoration: none; }
.slot-provider-label { font-size: 0.7rem; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   FULLSCREEN SLOT DEMO MODAL
   ═══════════════════════════════════════════════ */
.slot-fullscreen-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  flex-direction: column;
}
.slot-fullscreen-modal.active {
  display: flex;
}
.slot-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(0,0,0,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  height: 48px;
  flex-shrink: 0;
}
.slot-modal-game-title, .slot-modal-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.slot-modal-close {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.slot-modal-close:hover { background: rgba(255,255,255,0.2); }
.slot-modal-iframe-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.slot-modal-iframe-wrap iframe,
#cs-slot-modal-iframe,
#slot-demo-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.slot-modal-bottombar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.9);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  flex-shrink: 0;
}
.slot-modal-casino-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 16px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  line-height: 1.3;
  transition: opacity 0.15s;
}
.slot-modal-casino-btn:hover { opacity: 0.9; }
.slot-modal-casino-bonus { font-size: 0.7rem; font-weight: 600; opacity: 0.8; }

/* ═══════════════════════════════════════════════
   SLOT HERO CARD (single slot page)
   ═══════════════════════════════════════════════ */
.slot-hero-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
}
.slot-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: blur(8px);
}
.slot-hero-body {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 24px;
  align-items: flex-start;
}
.slot-hero-thumb {
  flex-shrink: 0;
  width: 140px;
}
.slot-hero-thumb img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.slot-hero-thumb-placeholder {
  width: 140px; height: 186px;
  background: var(--bg-hover);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.slot-hero-info { flex: 1; }
.slot-hero-title { font-size: 1.6rem; font-weight: 900; margin-bottom: 4px; }
.slot-hero-provider { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.slot-hero-provider a { color: var(--accent); }
.slot-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 20px;
}
.stat-box {
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.stat-label { font-size: 0.68rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-val { font-size: 0.9rem; font-weight: 700; color: var(--text-main); }
.stat-val.accent { color: var(--accent); }
.slot-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-gold {
  background: linear-gradient(135deg, #f5a623, #e08b1a);
  color: #000;
  font-weight: 800;
  border: none;
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-1px); }
@media (max-width: 640px) {
  .slot-hero-body { flex-direction: column; align-items: center; text-align: center; }
  .slot-hero-thumb { width: 120px; }
  .slot-stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════
   SLOTS ARCHIVE GRID — always 5 col, forced tile
   ═══════════════════════════════════════════════ */
.slots-product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.slots-product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .slots-product-grid { grid-template-columns: repeat(4, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .slots-product-grid { grid-template-columns: repeat(3, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .slots-product-grid { grid-template-columns: repeat(2, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
.slot-stat-tag {
  display: inline-block;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 8px;
  color: var(--text-muted);
  margin-right: 3px;
}
.slot-stats-row { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }

/* ═══════════════════════════════════════════════
   ENTITY GRID — ARCHIVE (5 col)
   ═══════════════════════════════════════════════ */
.entity-grid-archive {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: 20px 0;
}
@media (max-width: 960px) { .entity-grid-archive { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 680px) { .entity-grid-archive { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 440px) { .entity-grid-archive { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════════
   FIX: Slots archive — always tile grid, never rows
   ═══════════════════════════════════════════════ */
.slots-archive-page .slots-product-grid,
.slots-archive-page article.slot-product-card {
  /* Force tile/card display regardless of filter state */
  display: flex;
  flex-direction: column;
}
.slots-archive-page .slots-product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
}
@media (max-width: 1100px) {
  .slots-archive-page .slots-product-grid { grid-template-columns: repeat(4, 1fr) !important; }
}
@media (max-width: 768px) {
  .slots-archive-page .slots-product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 480px) {
  .slots-archive-page .slots-product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ═══════════════════════════════════════════════
   FIX: Single slot — "Де грати" ranking items
   ═══════════════════════════════════════════════ */
.content-sidebar .ranking-list .ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.content-sidebar .ranking-item .ranking-logo {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: center;
}
.content-sidebar .ranking-item .ranking-logo img {
  max-width: 80px;
  max-height: 40px;
  object-fit: contain;
}
.content-sidebar .ranking-item .ranking-info {
  flex: 1;
  min-width: 0;
}
.content-sidebar .ranking-item .ranking-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 3px;
}
.content-sidebar .ranking-item .ranking-bonus {
  font-size: 0.78rem;
  color: var(--accent);
}
.content-sidebar .ranking-item .ranking-rating {
  flex-shrink: 0;
}
.content-sidebar .ranking-item .ranking-cta {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   FIX: Single slot related cards — show images properly
   ═══════════════════════════════════════════════ */
.slots-product-grid--4 .slot-product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s;
}
.slots-product-grid--4 .slot-thumb-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--bg-hover);
  display: block;
}
.slots-product-grid--4 .slot-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slots-product-grid--4 .slot-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-dim);
  gap: 6px;
}
.slots-product-grid--4 .slot-product-info {
  padding: 8px 10px 10px;
}
.slots-product-grid--4 .slot-product-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════════════════════════════════════
   FIX: Slots filters form — keep tile after filter
   ═══════════════════════════════════════════════ */
.slots-filters {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.filters-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.filter-group label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.filter-group select,
.filter-search-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-group select:focus,
.filter-search-input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.filter-search { display: flex; flex-direction: column; gap: 4px; }
.filter-search label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--text-dim); }
.filter-reset {
  align-self: flex-end;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════
   FIX: Hero section — proper desktop 2-col layout
   ═══════════════════════════════════════════════ */
.hero-section .container {
  max-width: 760px;
}
.hero-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ================================================================
   CASINOSLOTOS — COMPREHENSIVE FIX PATCH v7
   Fixes: Hero layout, Categories 4-col, Entity grid, Slots 5-col
   mobile scroll, sorting, SEO URLs, compare, single slot layout
   ================================================================ */

/* ─────────────────────────────────────────
   FIX 1: HERO — desktop centered, mobile compact
   ───────────────────────────────────────── */
.hero-section {
  padding: 64px 0 52px;
  text-align: center;
  background: linear-gradient(150deg, #0d1525 0%, #111827 55%, rgba(245,166,35,0.05) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(245,166,35,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section .container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.35);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--accent); }
.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 540px;
  line-height: 1.65;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  width: 100%;
}
.hero-cta-row .btn {
  min-width: 200px;
  justify-content: center;
}
.hero-trust-bar {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  width: 100%;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.trust-item span { color: var(--text-main); font-weight: 600; }
@media (max-width: 640px) {
  .hero-section { padding: 40px 0 32px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-cta-row .btn { min-width: 0; width: 100%; }
  .hero-trust-bar { gap: 10px; }
  .trust-item { font-size: 0.78rem; }
}

/* ─────────────────────────────────────────
   FIX 2: CATEGORIES GRID — 4 col desktop, 2 mobile
   ───────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .categories-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
@media (max-width: 640px) { .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.22s ease;
  text-align: center;
  min-height: 115px;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.22s;
}
.category-card:hover {
  border-color: var(--accent);
  background: var(--bg-card2);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(245,166,35,0.14);
  color: var(--text-main);
}
.category-card:hover::before { opacity: 1; }
.category-card .cat-icon { font-size: 2rem; line-height: 1; }
.category-card .cat-label { font-size: 0.82rem; font-weight: 700; color: var(--text-main); line-height: 1.3; }
.category-card .cat-count {
  font-size: 0.7rem; color: var(--accent); font-weight: 700;
  background: rgba(245,166,35,0.12); padding: 2px 8px; border-radius: 10px;
}

/* ─────────────────────────────────────────
   FIX 3: ENTITY GRID — Payments & Providers
   prettier card with logo + name centered
   ───────────────────────────────────────── */
.entity-grid {
  display: grid;
  gap: 12px;
}
.entity-grid-home {
  grid-template-columns: repeat(6, 1fr);
}
@media (max-width: 1100px) { .entity-grid-home { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 860px)  { .entity-grid-home { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .entity-grid-home { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 380px)  { .entity-grid-home { grid-template-columns: repeat(2, 1fr); } }

.entity-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: all 0.2s;
}
.entity-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.12);
}
.entity-card-logo {
  height: 64px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.entity-card-logo img { max-height: 40px; max-width: 110px; object-fit: contain; }
.entity-card-logo-placeholder {
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
  text-align: center;
}
.entity-card-body {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.entity-card-name { font-size: 0.75rem; font-weight: 700; color: var(--text-main); text-align: center; }
.entity-card-meta { font-size: 0.68rem; color: var(--accent); font-weight: 600; }

/* ─────────────────────────────────────────
   FIX 4: HOME SLOTS — 5 col desktop
   Mobile: horizontal scroll showing 2.5 cards
   ───────────────────────────────────────── */
.home-slots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.home-slots-grid .slot-product-card { border-radius: var(--radius); }
.home-slots-grid .slot-thumb-wrap { aspect-ratio: 3/4; }

@media (max-width: 1100px) {
  .home-slots-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .home-slots-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 12px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
  }
  .home-slots-grid::-webkit-scrollbar { display: none; }
  .home-slots-grid .slot-product-card {
    flex: 0 0 calc(40% - 5px);
    scroll-snap-align: start;
    min-width: 140px;
  }
}
@media (max-width: 480px) {
  .home-slots-grid .slot-product-card {
    flex: 0 0 calc(38% - 5px);
  }
}

/* Scrollable hint arrow on mobile */
.home-slots-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
@media (max-width: 860px) { .home-slots-scroll-hint { display: flex; } }

/* ─────────────────────────────────────────
   FIX 5: CASINO ARCHIVE — sort bar active state
   ───────────────────────────────────────── */
.archive-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.archive-sort-bar > span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.sort-link {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid var(--border-lite);
  background: transparent;
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.sort-link:hover { color: var(--text-main); border-color: var(--accent); }
.sort-link.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* Category chips (archive & home) */
.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  background: var(--bg-card2);
  border: 1px solid var(--border-lite);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.18s;
  white-space: nowrap;
}
.cat-chip:hover { color: var(--text-main); border-color: var(--accent); }
.cat-chip.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.cat-chip-count {
  background: rgba(0,0,0,0.25);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.7rem;
}
.cat-chip.active .cat-chip-count { background: rgba(0,0,0,0.2); }

/* ─────────────────────────────────────────
   FIX 7: SLOTS ARCHIVE — always grid, not list
   ───────────────────────────────────────── */
.slots-product-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.slots-product-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .slots-product-grid { grid-template-columns: repeat(4, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .slots-product-grid { grid-template-columns: repeat(3, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .slots-product-grid { grid-template-columns: repeat(2, 1fr); }
  .slots-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────
   FIX 8: SINGLE SLOT — "Where to play" fix
   ───────────────────────────────────────── */
.slot-where-play .ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: border-color 0.18s;
}
.slot-where-play .ranking-item:hover { border-color: var(--accent); }
.slot-where-play .ranking-logo {
  flex-shrink: 0;
  width: 88px;
  height: 46px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
}
.slot-where-play .ranking-logo img { max-width: 76px; max-height: 34px; object-fit: contain; }
.slot-where-play .ranking-info { flex: 1; min-width: 0; }
.slot-where-play .ranking-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
}
.slot-where-play .ranking-bonus { font-size: 0.82rem; color: var(--accent); }
.slot-where-play .ranking-rating { flex-shrink: 0; }
.slot-where-play .rating-circle {
  width: 40px; height: 40px;
  background: var(--accent);
  color: #000;
  font-weight: 900;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.slot-where-play .ranking-cta { flex-shrink: 0; }
@media (max-width: 540px) {
  .slot-where-play .ranking-item { flex-wrap: wrap; gap: 10px; }
  .slot-where-play .ranking-cta { width: 100%; }
  .slot-where-play .ranking-cta .btn { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────
   FIX 9: RELATED SLOTS — show with image
   ───────────────────────────────────────── */
.related-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
@media (max-width: 640px) { .related-slots-grid { grid-template-columns: repeat(2, 1fr); } }
.related-slot-card {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.related-slot-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.13);
}
.related-slot-thumb {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-hover);
  overflow: hidden;
}
.related-slot-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.related-slot-card:hover .related-slot-thumb img { transform: scale(1.06); }
.related-slot-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.75rem;
}
.related-slot-badge {
  position: absolute;
  top: 6px; right: 6px;
  background: var(--accent);
  color: #000;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 8px;
}
.related-slot-info { padding: 8px 10px 10px; }
.related-slot-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related-slot-provider { font-size: 0.68rem; color: var(--text-muted); }

/* ─────────────────────────────────────────
   FIX 10: COMPARE PAGE — interactive widget
   ───────────────────────────────────────── */
.compare-widget {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.compare-widget h2 { font-size: 1.3rem; font-weight: 900; margin-bottom: 20px; }
.compare-select-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.compare-select-row select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-lite);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.18s;
}
.compare-select-row select:focus { outline: 2px solid var(--accent); }
.compare-vs-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  text-align: center;
}
@media (max-width: 640px) {
  .compare-select-row { grid-template-columns: 1fr; }
  .compare-vs-badge { display: none; }
}

/* ─────────────────────────────────────────
   GENERAL: Filters form — always grid not list
   ───────────────────────────────────────── */
.filters-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 24px;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 160px;
}
.filter-group label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}
.filter-group select,
.filter-search-input {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.18s;
}
.filter-group select:hover,
.filter-search-input:hover { border-color: var(--border-lite); }
.filter-group select:focus,
.filter-search-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-search { min-width: 220px; flex: 1; }
.filter-reset { margin-left: auto; }

/* Content-sidebar layout fix */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .content-sidebar { grid-template-columns: 1fr; }
  .content-sidebar aside { display: none; }
}

/* Ranking list general reset */
.ranking-list { display: flex; flex-direction: column; gap: 12px; }
.ranking-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.ranking-item:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(245,166,35,0.1); }
.ranking-item.ranking-top { border-color: rgba(245,166,35,0.3); }
.ranking-num { flex-shrink: 0; min-width: 36px; }
.rank-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.75rem;
}
.rank-1 { background: #FFD700; color: #000; }
.rank-2 { background: #C0C0C0; color: #000; }
.rank-3 { background: #CD7F32; color: #fff; }
.ranking-logo {
  flex-shrink: 0;
  width: 100px;
  height: 52px;
  background: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px;
  overflow: hidden;
}
.ranking-logo img { max-width: 90px; max-height: 40px; object-fit: contain; }
.ranking-logo-text { font-size: 0.75rem; font-weight: 700; color: #333; text-align: center; }
.ranking-info { flex: 1; min-width: 0; }
.ranking-name { font-size: 1rem; font-weight: 700; color: var(--text-main); text-decoration: none; display: block; margin-bottom: 4px; }
.ranking-name:hover { color: var(--accent); }
.ranking-bonus { font-size: 0.82rem; color: var(--accent); margin-bottom: 4px; }
.ranking-promo { font-size: 0.78rem; color: var(--text-muted); }
.promo-copy-btn {
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.78rem;
}
.promo-copy-btn:hover { background: rgba(245,166,35,0.2); }
.ranking-type-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.type-chip-sm {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(245,166,35,0.12);
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(245,166,35,0.2);
  white-space: nowrap;
}
.type-chip-sm:hover { background: rgba(245,166,35,0.25); }
.ranking-rating { flex-shrink: 0; text-align: center; }
.rating-circle {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 4px;
}
.ranking-cta { flex-shrink: 0; display: flex; flex-direction: column; gap: 6px; min-width: 130px; }
.ranking-cta .btn { text-align: center; justify-content: center; }
@media (max-width: 768px) {
  .ranking-item { flex-wrap: wrap; gap: 10px; }
  .ranking-num { order: 1; }
  .ranking-logo { order: 2; }
  .ranking-info { order: 3; width: calc(100% - 170px); }
  .ranking-rating { order: 4; }
  .ranking-cta { order: 5; width: 100%; flex-direction: row; }
  .ranking-cta .btn { flex: 1; }
}
@media (max-width: 480px) {
  .ranking-info { width: 100%; order: 5; }
  .ranking-rating { order: 4; }
}
