:root {
  --bg: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --text: #1f2a44;
  --muted: #63708a;
  --line: #d6dde8;
  --line-strong: #a9b7cb;
  --primary: #27446e;
  --primary-soft: #e9f0fa;
  --success: #2b8a62;
  --gold: #e6c34d;
  --gold-dark: #c89d1a;
  --shadow: 0 18px 44px rgba(31, 42, 68, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, #f1f4f8, #fcfdff 38%, #f6f8fb);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1260px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 248, 251, 0.88);
  border-bottom: 1px solid rgba(214, 221, 232, 0.95);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand { display: inline-flex; align-items: center; }
.site-logo { height: 58px; width: auto; max-width: min(260px, 56vw); object-fit: contain; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { color: var(--muted); font-weight: 700; }
.main-nav a:hover { color: var(--primary); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
}

.hero { padding: 34px 0 22px; }
.hero-shell {
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 24px;
  align-items: stretch;
}
.hero-copy-wrap,
.hero-toolbar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.hero-copy-wrap {
  padding: 28px 28px 30px;
  min-height: 220px;
}
.hero-toolbar {
  padding: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f6edd2;
  color: #7a5b10;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow-alt,
.eyebrow-subtle {
  background: var(--primary-soft);
  color: var(--primary);
}
.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero-copy {
  margin: 16px 0 0;
  max-width: 64ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}
.toolbar-head h2 { margin: 0 0 6px; font-size: 1.15rem; }
.toolbar-head p { margin: 0 0 14px; color: var(--muted); line-height: 1.65; }
.search-wrap input {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 14px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.chip {
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #3c4860;
  font-weight: 700;
}
.chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.results-pill {
  white-space: nowrap;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}
.results-pill.subtle {
  background: var(--surface-soft);
}

.section { padding: 24px 0 34px; }
.section-soft {
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.6));
}
.section-head { margin-bottom: 18px; }
.section-head h2, .legal-header h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.section-head p, .legal-header p { margin: 0; color: var(--muted); line-height: 1.7; }
.section-head-split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}
.section-head.centered, .legal-header.centered { text-align: center; }

.ranking-list {
  display: grid;
  gap: 18px;
}
.ranking-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ranking-main {
  display: grid;
  grid-template-columns: 340px 1fr 260px;
  gap: 22px;
  align-items: center;
  padding: 18px 20px;
}
.operator-panel {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  align-items: center;
  position: relative;
}
.rank-badge {
  position: absolute;
  left: -6px;
  top: -6px;
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d76d, #d7ab2c);
  color: #594107;
  font-weight: 900;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(215, 171, 44, 0.24);
}
.rank-badge.is-standard {
  background: linear-gradient(135deg, #dde6f2, #bcc9da);
  color: #41526d;
  box-shadow: none;
}
.logo-shell {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logo-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.operator-copy h3 {
  margin: 0;
  font-size: 1.05rem;
}
.operator-copy .badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid transparent;
}
.badge-casino { background: #fbf4e2; color: #8b6111; border-color: #ecd8aa; }
.badge-apuestas { background: #ecf7f1; color: #156348; border-color: #c8e1d6; }
.badge-poker { background: #edf3fa; color: #2f5f92; border-color: #ccdaea; }
.badge-tag { background: #f5f7fb; color: #55637f; border-color: #d8e0eb; }
.rating-line {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rating-score {
  font-size: 1.02rem;
  font-weight: 900;
  color: #2e8a59;
}
.rating-stars {
  color: var(--gold-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.editor-pill {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #fff4cf;
  color: #8b6111;
  font-weight: 700;
}
.bonus-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(to bottom, #ffffff, #fbfcfe);
  padding: 18px 20px;
  min-height: 138px;
}
.bonus-panel .label {
  margin: 0;
  color: #7a879f;
  font-size: 0.9rem;
  font-weight: 700;
}
.bonus-main {
  margin-top: 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  font-weight: 900;
  color: #1d2a43;
}
.bonus-main .highlight {
  color: #ce7d3b;
  font-weight: 800;
}
.bonus-meta {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.meta-chip {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #526078;
}
.details-panel {
  display: grid;
  gap: 12px;
}
.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.bullet-list li {
  position: relative;
  padding-left: 20px;
  color: #5a6880;
  line-height: 1.5;
}
.bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 900;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(180deg, #f0d65b, #dfbf40);
  color: #25304a;
  box-shadow: 0 10px 20px rgba(223, 191, 64, 0.18);
}
.btn-primary:hover { filter: brightness(0.98); }
.btn-secondary {
  background: #ffffff;
  color: var(--text);
  border-color: var(--line);
}
.card-cta {
  width: 100%;
  min-height: 58px;
  font-size: 1rem;
}
.ranking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px 14px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
  color: #73819a;
  font-size: 0.92rem;
}
.ranking-footer a {
  color: var(--primary);
  font-weight: 700;
}

.featured-grid,
.benefits-grid {
  display: grid;
  gap: 18px;
}
.featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.featured-card,
.benefit {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.featured-card-inner,
.benefit { padding: 18px; }
.featured-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.featured-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.logo-mini, .logo-box, .logo-table {
  background: transparent;
  border: none;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}
.logo-mini { width: 72px; height: 44px; }
.logo-box { width: 84px; height: 52px; }
.logo-table { width: 68px; height: 42px; }
.top-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f6edd2;
  color: #7a5b10;
  font-weight: 800;
  font-size: 0.76rem;
}
.featured-card p { color: #55637f; line-height: 1.6; }
.meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #55637f;
  font-size: 0.95rem;
  margin: 14px 0;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}
.comparison-table caption {
  text-align: left;
  padding: 18px 18px 0;
  font-weight: 800;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.comparison-table thead th {
  background: #f4f7fb;
  color: #3a4964;
  font-size: 0.92rem;
}
.table-operator {
  display: flex;
  align-items: center;
  gap: 10px;
}
.table-link {
  color: var(--primary);
  font-weight: 800;
}

.benefit h3 { margin: 0 0 8px; }
.benefit p { margin: 0; color: var(--muted); line-height: 1.7; }

.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}
.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.disclaimer {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.empty-state {
  background: #f8fafc;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  padding: 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  margin-top: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 20px;
  padding: 24px 0 28px;
}
.footer-grid p { margin: 8px 0 0; color: var(--muted); line-height: 1.7; }
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-warning { font-size: 0.92rem; }

.legal-main { padding: 36px 0 64px; }
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.legal-card h2 { margin-top: 24px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.8; }

@media (max-width: 1180px) {
  .hero-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .ranking-main {
    grid-template-columns: 1fr;
  }
  .details-panel {
    order: 3;
  }
  .bonus-panel {
    order: 2;
  }
}

@media (max-width: 980px) {
  .featured-grid,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .featured-grid,
  .benefits-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section-head-split,
  .ranking-footer,
  .featured-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .operator-panel {
    grid-template-columns: 78px 1fr;
  }
  .logo-shell {
    width: 78px;
    height: 78px;
  }
  .hero { padding-top: 24px; }
}


.hero-copy-wrap{display:flex;align-items:center;min-height:160px;}
.hero-copy-wrap h1{max-width:20ch;}
.legal-card ul{margin:10px 0 24px 20px;color:var(--muted);line-height:1.8;}
.legal-card li{margin-bottom:8px;}
.legal-card > p{color:var(--muted);line-height:1.8;}
.footer-grid > div p:empty{display:none;}

body.age-gate-open {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(18, 27, 41, 0.72);
  backdrop-filter: blur(10px);
}

.age-gate[hidden] {
  display: none;
}

.age-gate-panel {
  width: min(520px, 100%);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  padding: 28px;
  text-align: center;
}

.age-gate-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 58px;
  border-radius: 999px;
  background: #fff3cf;
  color: #8b6111;
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.age-gate-panel h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
}

.age-gate-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.age-gate-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.age-gate-actions .btn {
  min-width: 160px;
}

.age-gate-note {
  font-size: 0.92rem;
}
