/* ===================================================
   rankingjugadores.com — Main Stylesheet
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg-deep:    #0B0F1A;
  --bg-surface: #141B2D;
  --bg-card:    #1A2340;
  --bg-alt:     #111827;
  --accent:     #00E676;
  --accent-dim: #00C45A;
  --gold:       #F5C518;
  --text-primary: #F0F4FF;
  --text-muted:   #8A96B0;
  --text-dim:     #5A6480;
  --border:     rgba(255,255,255,0.08);
  --border-accent: rgba(0,230,118,0.3);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1140px;
  --max-w-narrow: 720px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }
img { display: block; max-width: 100%; }

/* ── 18+ Top Bar ──────────────────────────────── */
.bar-18 {
  background: #0A0D14;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.bar-18 strong { color: var(--text-muted); }

/* ── Navigation ───────────────────────────────── */
.site-nav {
  position: sticky;
  top: 31px;
  z-index: 999;
  background: rgba(11, 15, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 32px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); opacity: 1; }
.nav-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--accent);
  color: #000;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  background: var(--bg-deep);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1600&q=80') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-deep));
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border-accent);
  background: rgba(0,230,118,0.06);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero-headline {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.btn-ghost {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--text-primary); opacity: 1; }
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
}
.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
}
.stat-num {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Section Containers ───────────────────────── */
.section { padding: 80px 24px; }
.section--tight { padding: 48px 24px; }
.section--wide { padding: 100px 24px; }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--bg-surface); }
.container { max-width: var(--max-w); margin: 0 auto; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; }

/* ── Section Labels ───────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ── Editorial Intro ──────────────────────────── */
.editorial-block {
  max-width: 720px;
  margin: 0 auto;
}
.editorial-block p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}
.editorial-block p:last-child { margin-bottom: 0; }
.editorial-block strong { color: var(--text-primary); font-weight: 600; }

/* ── Methodology Checklist ────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.method-item {
  background: var(--bg-surface);
  padding: 36px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.2s;
}
.method-item:hover { background: var(--bg-card); }
.method-item:first-child { border-radius: var(--radius-md) 0 0 0; }
.method-item:nth-child(2) { border-radius: 0 var(--radius-md) 0 0; }
.method-item:nth-child(3) { border-radius: 0 0 0 var(--radius-md); }
.method-item:last-child { border-radius: 0 0 var(--radius-md) 0; }
.method-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(0,230,118,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.method-icon svg { width: 22px; height: 22px; }
.method-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.method-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.method-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Casino List Card ─────────────────────────── */
.casino-list-wrap {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.casino-list-header {
  display: grid;
  grid-template-columns: 48px 1fr 140px 180px 160px;
  gap: 0;
  padding: 10px 24px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  align-items: center;
}
.casino-list-item {
  display: grid;
  grid-template-columns: 48px 1fr 140px 180px 160px;
  gap: 0;
  background: var(--bg-surface);
  align-items: center;
  transition: background 0.2s;
  position: relative;
}
.casino-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}
.casino-list-item:hover { background: var(--bg-card); }

/* rank */
.cli-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}
.cli-rank-num {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* brand col */
.cli-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 20px 24px 0;
}
.cli-logo-wrap {
  flex-shrink: 0;
  width: 88px;
  height: 56px;
  background: linear-gradient(135deg, #FF6B00, #C62828);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cli-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.cli-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.cli-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.cli-features {
  display: flex;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

/* rating col */
.cli-rating {
  padding: 0 20px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.cli-score {
  font-size: 36px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.cli-score-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.cli-score-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.cli-score-label {
  font-size: 11px;
  color: var(--text-dim);
}

/* bonus col */
.cli-bonus {
  padding: 0 20px;
  border-right: 1px solid var(--border);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.cli-bonus-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.cli-bonus-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.cli-bonus-terms {
  font-size: 10.5px;
  color: var(--text-dim);
}

/* action col */
.cli-action {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.cli-action-note {
  font-size: 11px;
  color: var(--text-dim);
}

/* ── Buttons ──────────────────────────────────── */
.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}
.badge--license {
  background: rgba(0,230,118,0.1);
  color: var(--accent);
  border: 1px solid var(--border-accent);
}
.badge--rec {
  background: rgba(245,197,24,0.1);
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.3);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  width: 100%;
}
.btn-primary:hover {
  background: var(--accent-dim);
  color: #000;
  opacity: 1;
  transform: translateY(-1px);
}
.btn-primary--sm {
  font-size: 13px;
  padding: 11px 20px;
}

/* ── Why Licensed — Split ─────────────────────── */
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
}
.why-col {
  padding: 60px 48px;
}
.why-col:first-child {
  border-right: 1px solid var(--border);
}
.why-col p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.why-col p:last-child { margin-bottom: 0; }
.why-col strong { color: var(--text-primary); }
.why-num {
  font-size: 80px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: 0.15;
  letter-spacing: -0.05em;
  margin-bottom: -20px;
}
.why-stat-label {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
}

/* ── FAQ ──────────────────────────────────────── */
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--border-accent); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  cursor: pointer;
  background: var(--bg-surface);
  transition: background 0.2s;
  gap: 20px;
}
.faq-question:hover { background: var(--bg-card); }
.faq-q-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(0,230,118,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 28px 24px;
  background: var(--bg-surface);
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-answer a { color: var(--accent); }

/* ── Disclaimer Block ─────────────────────────── */
.disclaimer-block {
  border: 1px solid var(--border);
  border-left: 4px solid var(--text-dim);
  border-radius: var(--radius-sm);
  padding: 28px 32px;
  background: rgba(255,255,255,0.02);
}
.disclaimer-block p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 8px;
}
.disclaimer-block p:last-child { margin-bottom: 0; }
.disclaimer-block strong { color: var(--text-muted); }

/* ── Footer ───────────────────────────────────── */
.site-footer {
  background: #080B14;
  border-top: 1px solid var(--border);
  padding: 60px 24px 32px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}
.footer-nav-group h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav-group a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-nav-group a:hover { color: var(--text-primary); opacity: 1; }

.rg-section { margin-bottom: 40px; }
.rg-intro {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
  font-weight: 500;
}
.rg-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.rg-logo-link {
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.rg-logo-link:hover { opacity: 1; }
.rg-logo-link img { height: 40px; width: auto; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-18 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dim);
}
.badge-18 {
  font-size: 14px;
  font-weight: 900;
  background: var(--text-dim);
  color: var(--bg-deep);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Cookie Banner ────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-accent);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  min-width: 260px;
}
.cookie-text a { color: var(--accent); }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--accent);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--accent-dim); }
.btn-cookie-more {
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
}
.btn-cookie-more:hover { border-color: var(--text-muted); color: var(--text-primary); }

/* ── Policy Pages ─────────────────────────────── */
.policy-hero {
  padding: 60px 24px 48px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.policy-hero .section-label { display: block; margin-bottom: 12px; }
.policy-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.policy-meta {
  font-size: 13px;
  color: var(--text-dim);
}
.policy-content {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.policy-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  letter-spacing: -0.015em;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.policy-content ul, .policy-content ol {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}
.policy-content li { margin-bottom: 6px; }
.policy-content strong { color: var(--text-primary); font-weight: 600; }
.policy-content a { color: var(--accent); }
.policy-content .highlight-box {
  background: rgba(0,230,118,0.05);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}
.policy-content .highlight-box p { margin-bottom: 0; color: var(--text-primary); font-size: 14px; }

/* ── Utilities ────────────────────────────────── */
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: row; }
  .stat-box { flex: 1; }
  .method-grid { grid-template-columns: 1fr; }
  .method-item { border-radius: 0 !important; }
  .casino-list-header { display: none; }
  .casino-list-item {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .casino-list-item::before { width: 100%; height: 3px; top: 0; bottom: auto; }
  .cli-rank { padding: 20px 24px 0; justify-content: flex-start; }
  .cli-brand { padding: 16px 24px; border-right: none; }
  .cli-rating { border-left: none; border-right: none; border-top: 1px solid var(--border); flex-direction: row; align-items: center; gap: 16px; padding: 16px 24px; }
  .cli-score { font-size: 28px; }
  .cli-score-bar { flex: 1; }
  .cli-bonus { border-right: none; border-top: 1px solid var(--border); padding: 16px 24px; }
  .cli-action { border-top: 1px solid var(--border); padding: 16px 24px; align-items: stretch; }
  .why-split { grid-template-columns: 1fr; }
  .why-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .hero { padding: 60px 16px 60px; }
  .hero-stats { flex-direction: column; }
  .section, .section--wide { padding: 60px 16px; }
  .section--tight { padding: 36px 16px; }
  .btn-primary { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .why-col { padding: 40px 24px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
