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

:root {
  --gold:       #f5b942;
  --gold-dark:  #d4951a;
  --primary:    #1a1f36;
  --primary-lt: #252d4a;
  --accent:     #6c63ff;
  --accent-2:   #ff6584;
  --green:      #27ae60;
  --red:        #e74c3c;
  --amber:      #f39c12;
  --bg:         #0e1120;
  --card:       #181d33;
  --card-hover: #1e2540;
  --border:     rgba(255,255,255,.08);
  --text:       #e2e8f0;
  --muted:      #8892aa;
  --radius:     14px;
  --shadow:     0 8px 32px rgba(0,0,0,.45);
  --header-bg:  linear-gradient(135deg, #0a0e1f 0%, #1a1f36 100%);
  --hero-bg:    linear-gradient(160deg, #1a1f36 0%, #0e1120 60%);
  --input-bg:   #0e1120;
  --btn-ghost-border: rgba(255,255,255,.15);
  --btn-ghost-text:   var(--text);
}

/* ── Light mode ─────────────────────────────────────────────────────────── */
body.light {
  --bg:         #f0f4f8;
  --card:       #ffffff;
  --card-hover: #f7f9fc;
  --primary:    #e4eaf4;
  --primary-lt: #d6dff0;
  --border:     rgba(0,0,0,.10);
  --text:       #1a1f36;
  --muted:      #5a6580;
  --shadow:     0 8px 32px rgba(0,0,0,.10);
  --header-bg:  linear-gradient(135deg, #1a1f36 0%, #252d4a 100%);
  --hero-bg:    linear-gradient(160deg, #252d4a 0%, #1a1f36 60%);
  --input-bg:   #ffffff;
  --btn-ghost-border: rgba(0,0,0,.18);
  --btn-ghost-text:   #1a1f36;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-icon { font-size: 2rem; }
.brand h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.5px; }
.brand h1 { background: linear-gradient(90deg, var(--gold), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-link { text-decoration: none; background: linear-gradient(90deg, var(--gold), #fff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.brand-link:hover { text-decoration: none; }
body.light .brand h1,
body.light .brand-link { background: linear-gradient(90deg, var(--gold-dark), #1a1f36); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { font-size: .75rem; color: var(--muted); }

.update-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(108,99,255,.15);
  border: 1px solid rgba(108,99,255,.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .78rem;
  color: #a5b4fc;
}

/* ── Theme toggle ────────────────────────────────────────────────────────── */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
  transition: border-color .2s, background .2s;
  line-height: 1;
}

.theme-toggle:hover { border-color: var(--gold); background: rgba(245,185,66,.08); }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--hero-bg);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 48px;
  text-align: center;
}

.hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--gold), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 24px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 8px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ── Filters ─────────────────────────────────────────────────────────────── */
.filters-section { padding: 32px 0; }

.filters-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.filters-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--gold);
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-group label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.filter-group select {
  width: 100%;
  padding: 10px 14px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: .88rem;
  font-family: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.filter-group select:focus { outline: none; border-color: var(--accent); }

.filter-actions { display: flex; gap: 10px; }

.btn-primary {
  flex: 1;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), #9f7aea);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
}

.btn-primary:hover { opacity: .9; }
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  flex: 1;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: .88rem;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}

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

/* ── Legend ──────────────────────────────────────────────────────────────── */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 12px 0 24px;
  font-size: .78rem;
  color: var(--muted);
}

.legend-title { font-weight: 600; color: var(--text); }
.legend-item { display: flex; align-items: center; gap: 5px; }

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-tc        { background: #6c63ff; }
.dot-games     { background: #f5b942; }
.dot-providers { background: #27ae60; }
.dot-payments  { background: #3498db; }
.dot-bonus     { background: #ff6584; }
.dot-size      { background: #8892aa; }

/* ── Results bar ─────────────────────────────────────────────────────────── */
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 16px;
  font-size: .82rem;
  color: var(--muted);
}

/* ── States ──────────────────────────────────────────────────────────────── */
.loading-state, .error-state, .empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Casino Grid ─────────────────────────────────────────────────────────── */
#casinoGrid { padding-bottom: 60px; }

.casino-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 80px 60px 1fr 150px;
  gap: 0 20px;
  align-items: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s;
  position: relative;
  overflow: hidden;
}

.casino-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--rank-color, var(--accent));
  border-radius: 4px 0 0 4px;
}

.casino-card:hover {
  background: var(--card-hover);
  border-color: rgba(108,99,255,.4);
  transform: translateY(-2px);
}

/* Rank number */
.card-rank {
  text-align: center;
}

.rank-number {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--rank-color, var(--muted));
}

.rank-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}

/* Logo */
.card-logo {
  width: 52px; height: 52px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid var(--border);
}

/* Main info */
.card-info {}

.card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.card-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-stars {
  font-size: .9rem;
  letter-spacing: 1px;
}

.stars-filled { color: var(--gold); }
.stars-empty  { color: var(--border); }

.card-license {
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.card-bonus {
  font-size: .82rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 8px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 500;
  white-space: nowrap;
}

.tag-size-large  { background: rgba(245,185,66,.15);  color: var(--gold); }
.tag-size-medium { background: rgba(52,152,219,.15);  color: #74b9ff; }
.tag-size-small  { background: rgba(108,99,255,.15);  color: #a5b4fc; }

.tag-games    { background: rgba(39,174,96,.12);  color: #55efc4; }
.tag-providers{ background: rgba(39,174,96,.12);  color: #55efc4; }
.tag-payments { background: rgba(52,152,219,.12); color: #74b9ff; }
.tag-live     { background: rgba(231,76,60,.12);  color: #ff7675; }
.tag-mobile   { background: rgba(149,165,166,.12);color: #b2bec3; }

/* Rank badge */
.rank-badge {
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 4px;
  white-space: nowrap;
}

.badge-gold   { color: #FFD700; }
.badge-silver { color: #C0C0C0; }
.badge-bronze { color: #CD7F32; }

/* CTA panel */
.card-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 130px;
}

.btn-claim {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  font-size: .8rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s, transform .1s;
}

.btn-claim:hover { opacity: .85; text-decoration: none; transform: scale(1.03); }

.card-tc {
  font-size: .6rem;
  color: var(--muted);
  text-align: center;
}

/* Score panel (legacy, used in score ring) */
.card-score-panel {
  text-align: right;
  min-width: 120px;
}

.score-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid var(--rank-color, var(--accent));
  margin-bottom: 6px;
}

.score-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--rank-color, var(--text));
}

.score-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.score-bar-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  color: var(--muted);
}

.score-bar-row span { width: 48px; text-align: right; }

.score-bar-track {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
  min-width: 50px;
}

.score-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width .4s ease;
}

/* Rank-based accent colours */
.rank-1  { --rank-color: #FFD700; }
.rank-2  { --rank-color: #C0C0C0; }
.rank-3  { --rank-color: #CD7F32; }
.rank-4, .rank-5 { --rank-color: #6c63ff; }
.rank-6, .rank-7 { --rank-color: #3498db; }
.rank-8, .rank-9, .rank-10 { --rank-color: #2ecc71; }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  animation: slideUp .25s ease;
}

@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}

.modal-close:hover { color: var(--text); }

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-logo {
  font-size: 2.5rem;
  width: 64px; height: 64px;
  background: var(--primary);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-title { flex: 1; }
.modal-title h2 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
.modal-title p  { color: var(--muted); font-size: .88rem; }

.modal-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  border-radius: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
}

.modal-rating .big-score { font-size: 2rem; font-weight: 800; color: var(--gold); }
.modal-rating .score-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.modal-section { margin-bottom: 20px; }
.modal-section h4 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 10px;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.breakdown-item {
  background: var(--primary);
  border-radius: 10px;
  padding: 12px 16px;
  border: 1px solid var(--border);
}

.breakdown-item .b-label { font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.breakdown-item .b-value { font-size: 1.1rem; font-weight: 700; }

.breakdown-bar {
  height: 4px;
  background: var(--border);
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.breakdown-bar-fill { height: 100%; border-radius: 999px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }

.pill {
  padding: 4px 12px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .75rem;
  color: var(--text);
}

.tc-meter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tc-score-big {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.tc-score-big.score-excellent { color: var(--green); }
.tc-score-big.score-good      { color: var(--gold); }
.tc-score-big.score-poor      { color: var(--red); }

.tc-desc { font-size: .82rem; color: var(--muted); }
.tc-desc strong { color: var(--text); display: block; margin-bottom: 2px; }

.tc-bar-track {
  flex: 1;
  height: 10px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.tc-bar-fill { height: 100%; border-radius: 999px; transition: width .5s ease; }
.tc-excellent { background: linear-gradient(90deg, var(--green), #00b894); }
.tc-good      { background: linear-gradient(90deg, var(--amber), var(--gold)); }
.tc-poor      { background: linear-gradient(90deg, var(--red), #e17055); }

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--muted); }
.info-row span:last-child  { font-weight: 500; }

.modal-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.btn-cta {
  flex: 1;
  padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  text-align: center;
  transition: opacity .2s;
}

.btn-cta:hover { opacity: .9; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
}

.footer-brand {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-brand a { color: var(--gold); }

.footer-note { margin-top: 6px; }

/* ── Countdown ───────────────────────────────────────────────────────────── */
.countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--gold);
}

/* ── SEO content sections ────────────────────────────────────────────────── */
.seo-section { margin-top: 40px; }

.seo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 40px;
}

.seo-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.seo-card > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.method-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.method-icon { font-size: 1.6rem; margin-bottom: 8px; }

.method-item h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.method-weight {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  background: rgba(245,185,66,.12);
  border-radius: 6px;
  padding: 2px 6px;
}

.method-item p { font-size: .83rem; color: var(--muted); line-height: 1.6; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

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

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

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-item p {
  color: var(--muted);
  line-height: 1.7;
  font-size: .88rem;
  margin-top: 10px;
}

.seo-card--rg { border-color: rgba(74,222,128,.25); }
.seo-card--rg h2 { color: #4ade80; }

.rg-links {
  margin-top: 12px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rg-links li { font-size: .88rem; color: var(--muted); }
.rg-links a  { color: var(--gold); text-decoration: none; }
.rg-links a:hover { text-decoration: underline; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .casino-card {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .card-logo { display: none; }

  .card-cta-panel {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .btn-claim { width: auto; flex: 1; }

  .breakdown-grid { grid-template-columns: 1fr; }

  .filters-grid { grid-template-columns: 1fr 1fr; }
  .filter-actions { grid-column: 1 / -1; }

  .hero-stats { gap: 20px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .seo-card { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .filters-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .casino-card { grid-template-columns: 52px 1fr; }
  .method-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   SUBPAGE STYLES
   ═══════════════════════════════════════════════════════════════ */

/* Header nav links */
.header-nav { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.header-nav .nav-link {
  font-size: .8rem; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 5px 10px; border-radius: 20px;
  transition: background .2s, color .2s;
}
.header-nav .nav-link:hover { background: var(--card); color: var(--gold); }

/* Footer nav links */
.footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 20px; margin-bottom: 16px;
}
.footer-links a {
  font-size: .78rem; color: var(--text-muted); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

/* Breadcrumb */
.breadcrumb {
  padding: 12px 0; font-size: .78rem; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.breadcrumb a { color: var(--gold); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .5; }

/* Subpage hero */
.subpage-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #12163a 100%);
  padding: 48px 0 36px; margin-bottom: 0; border-bottom: 1px solid var(--border);
}
.subpage-hero h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 10px; }
.subpage-hero .hero-tagline { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin-bottom: 18px; }

/* Subpage rating stars */
.star-rating { font-size: 1.1rem; letter-spacing: 2px; color: var(--gold); }
.rating-value { font-size: 1.4rem; font-weight: 800; color: var(--gold); margin-right: 6px; }
.rating-label { font-size: .78rem; color: var(--text-muted); }

/* Quick stats row */
.quick-stats {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 24px 0;
}
.quick-stat {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 16px; display: flex; flex-direction: column; gap: 2px;
}
.quick-stat-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.quick-stat-value { font-size: .95rem; font-weight: 700; color: var(--text); }

/* Prose content */
.prose-section {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px 32px; margin-bottom: 20px;
}
.prose-section h2 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 12px;
  color: var(--text); padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.prose-section h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; color: var(--text); }
.prose-section p { line-height: 1.75; color: var(--text-muted); margin-bottom: 12px; font-size: .93rem; }
.prose-section p strong { color: var(--text); }
.prose-section ul { padding-left: 20px; color: var(--text-muted); font-size: .93rem; line-height: 1.8; }
.prose-section ul li { margin-bottom: 4px; }
.prose-section a { color: var(--gold); text-decoration: none; }
.prose-section a:hover { text-decoration: underline; }

/* T&C score meter inline */
.tc-inline {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-weight: 700; font-size: .82rem;
}
.tc-inline.high { background: rgba(39,174,96,.15); color: #27ae60; border: 1px solid rgba(39,174,96,.3); }
.tc-inline.mid  { background: rgba(243,156,18,.15); color: #f39c12; border: 1px solid rgba(243,156,18,.3); }
.tc-inline.low  { background: rgba(231,76,60,.15);  color: #e74c3c; border: 1px solid rgba(231,76,60,.3); }

/* Provider / payment pills */
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill {
  background: var(--primary); border: 1px solid var(--border); border-radius: 20px;
  padding: 3px 10px; font-size: .75rem; color: var(--text-muted);
}

/* Pros / Cons */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.pros-cons-col h3 { font-size: .9rem; font-weight: 700; margin-bottom: 10px; }
.pros-cons-col.pros h3 { color: #27ae60; }
.pros-cons-col.cons h3 { color: #e74c3c; }
.pros-cons-col ul { list-style: none; padding: 0; margin: 0; }
.pros-cons-col li {
  padding: 6px 0; font-size: .85rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-start;
}
.pros-cons-col li::before { flex-shrink: 0; }
.pros-cons-col.pros li::before { content: '✓'; color: #27ae60; font-weight: 700; }
.pros-cons-col.cons li::before { content: '✗'; color: #e74c3c; font-weight: 700; }

/* License badge */
.license-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.3);
  border-radius: 6px; padding: 4px 10px; font-size: .8rem; color: #27ae60; font-weight: 600;
}

/* Info box */
.info-box {
  background: rgba(108,99,255,.08); border: 1px solid rgba(108,99,255,.2);
  border-radius: 10px; padding: 14px 18px; font-size: .88rem;
  color: var(--text-muted); margin: 16px 0;
}
.info-box strong { color: var(--text); }

/* Related casinos mini cards */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card {
  background: var(--primary); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; text-align: center; text-decoration: none; transition: border-color .2s;
}
.related-card:hover { border-color: var(--gold); }
.related-card .rel-logo { font-size: 2rem; margin-bottom: 6px; }
.related-card .rel-name { font-size: .82rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.related-card .rel-score { font-size: .75rem; color: var(--gold); }

/* Country casino table */
.country-casino-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: .88rem; }
.country-casino-table th {
  text-align: left; padding: 10px 12px; font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted);
  border-bottom: 2px solid var(--border);
}
.country-casino-table td {
  padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-muted);
  vertical-align: middle;
}
.country-casino-table tr:hover td { background: var(--primary); }
.country-casino-table .casino-logo-cell { font-size: 1.4rem; text-align: center; width: 50px; }
.country-casino-table .casino-name-cell { font-weight: 600; color: var(--text); }
.country-casino-table .tc-cell { text-align: center; }
.cta-sm {
  display: inline-block; padding: 6px 14px; background: var(--gold);
  color: #000; font-weight: 700; font-size: .78rem; border-radius: 20px;
  text-decoration: none; transition: opacity .2s; white-space: nowrap;
}
.cta-sm:hover { opacity: .85; }

/* Page-level two-column layout */
.page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px;
}
.sidebar-card h3 { font-size: .9rem; font-weight: 700; margin-bottom: 12px; color: var(--gold); }

/* Score ring mini */
.score-ring-sm {
  width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; font-weight: 800;
  border: 4px solid var(--gold); color: var(--text); margin: 0 auto 8px;
}

/* Verdict box */
.verdict-box {
  background: linear-gradient(135deg, rgba(245,185,66,.08), rgba(108,99,255,.08));
  border: 1px solid var(--border); border-radius: 12px; padding: 20px 24px; margin-top: 4px;
}
.verdict-box h3 { font-size: 1rem; font-weight: 700; color: var(--gold); margin-bottom: 8px; }
.verdict-box p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* Trust page styles */
.trust-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #12163a 100%);
  padding: 48px 0 36px; border-bottom: 1px solid var(--border);
}
.trust-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.trust-hero p { color: var(--text-muted); font-size: .95rem; max-width: 560px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.team-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px; text-align: center;
}
.team-avatar { font-size: 3rem; margin-bottom: 10px; }
.team-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: .8rem; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: .82rem; color: var(--text-muted); line-height: 1.65; }

.blacklist-row {
  background: var(--card); border: 1px solid rgba(231,76,60,.25); border-radius: 12px;
  padding: 20px 24px; margin-bottom: 12px; display: grid;
  grid-template-columns: 48px 1fr; gap: 16px; align-items: flex-start;
}
.blacklist-icon { font-size: 2rem; text-align: center; }
.blacklist-name { font-size: 1rem; font-weight: 700; color: #e74c3c; margin-bottom: 4px; }
.blacklist-reason { font-size: .85rem; color: var(--text-muted); line-height: 1.65; }
.blacklist-tag {
  display: inline-block; background: rgba(231,76,60,.12); border: 1px solid rgba(231,76,60,.3);
  color: #e74c3c; border-radius: 20px; padding: 2px 9px; font-size: .72rem; font-weight: 600;
  margin-right: 6px; margin-top: 6px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-method {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px;
}
.contact-method .cm-icon { font-size: 1.8rem; margin-bottom: 8px; }
.contact-method h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.contact-method p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; margin: 0; }
.contact-method a { color: var(--gold); text-decoration: none; }

.page-toc {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 20px; margin-bottom: 20px;
}
.page-toc h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 10px; }
.page-toc ol { padding-left: 18px; margin: 0; }
.page-toc li { margin-bottom: 6px; }
.page-toc a { color: var(--gold); font-size: .85rem; text-decoration: none; }
.page-toc a:hover { text-decoration: underline; }

/* Responsive subpage */
@media (max-width: 768px) {
  .pros-cons { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .prose-section { padding: 20px 18px; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
}
