/* Layout: white page, sticky header + horizontal nav, dark photo hero, casino listing below.
   Palette: signal orange for brand/links, fresh green for primary CTAs, white ground. */
:root {
  --orange: #f26722;
  --orange-dark: #c94f12;
  --orange-soft: #fff1e9;
  --green: #5fb84a;
  --green-dark: #4a9a37;
  --green-soft: #eef8ea;
  --ink: #23262b;
  --ink-soft: #5d636c;
  --line: #e9e6e3;
  --surface: #ffffff;
  --surface-alt: #f6f4f2;
  --night: #15171b;
  --font-display: "Rubik", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: light;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; text-wrap: balance; color: var(--ink); margin: 0; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0; }
code { font-size: .88em; background: var(--surface-alt); padding: 1px 5px; border-radius: 4px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.85rem; letter-spacing: -0.02em; color: var(--orange); line-height: 1; }
.logo span { color: var(--ink); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.age-pill {
  font: 700 .8rem/1 var(--font-display); color: var(--ink-soft);
  border: 2px solid var(--line); border-radius: 999px; padding: 8px 12px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--font-display); border-radius: 8px; padding: 13px 22px;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-outline { border-color: var(--orange); color: var(--orange); background: var(--surface); }
.btn-outline:hover { background: var(--orange-soft); color: var(--orange-dark); }
.btn-lg { font-size: 1.15rem; padding: 17px 30px; }

.main-nav { overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0 0 14px; }
.main-nav a { color: var(--ink-soft); font-size: 0.8rem; font-weight: 600; white-space: nowrap; padding-bottom: 12px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

/* Mobile menu (checkbox toggle, shown below 600px) */
.mobile-menu { position: relative; }
#mobile-menu-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; }
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface);
}
.burger span { display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  margin-top: 24px; border-radius: 18px;
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3.5vw, 44px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 15, 24, .88) 0%, rgba(10, 15, 24, .68) 65%, rgba(10, 15, 24, .45) 100%),
    url("img/main.webp") center / cover no-repeat;
}
.hero > * { position: relative; z-index: 1; min-width: 0; }
.hero .eyebrow { color: #fff; opacity: .92; font-size: .95rem; margin-bottom: 6px; }
.hero h1 {
  width: 100%; color: #fff; margin-bottom: 10px;
  font-size: clamp(1.55rem, 2.3vw, 2.1rem); line-height: 1.15;
  text-wrap: wrap;
}
.hero .lead { color: #f1efed; font-size: 1rem; line-height: 1.6; max-width: none; }
.hero .btn { align-self: flex-start; margin-top: 16px; }

.pay-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.pay {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 30px; padding: 5px 8px; background: #fff; border-radius: 8px;
}
.pay img { display: block; width: auto; height: auto; max-width: 100%; max-height: 20px; object-fit: contain; }

/* ---------- Sections ---------- */
.section { padding-block: 48px 8px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.head-text { display: grid; gap: 8px; min-width: 0; flex: 1 1 520px; }
.section-head .sub { color: var(--ink-soft); max-width: 75ch; }
.link-chip { background: var(--orange-soft); color: var(--orange); font-weight: 700; padding: 9px 16px; border-radius: 8px; }
.link-chip:hover { color: var(--orange-dark); }
.note { margin-top: 14px; color: var(--ink-soft); font-size: .95rem; max-width: 80ch; }
.ranking-first { padding-top: 28px; }
.ranking-first .section-head { margin-bottom: 18px; }
.tag { font-size: .75rem; font-weight: 700; background: var(--surface-alt); color: var(--ink-soft); border-radius: 6px; padding: 3px 8px; }

/* ---------- Casino listing ---------- */
.listing { display: grid; gap: 16px; }
.lst {
  position: relative; display: grid; align-items: center; gap: 20px;
  grid-template-columns: 40px 168px minmax(0, 1.1fr) minmax(0, 1.25fr) 180px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 0; background: var(--surface);
}
.lst.top { border-color: var(--orange); box-shadow: 0 6px 24px rgba(242, 103, 34, .12); }
.lst-badge {
  position: absolute; top: -11px; left: 18px; padding: 6px 10px; border-radius: 6px;
  font: 700 .72rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  color: #fff; background: var(--orange);
}
.lst-badge.new { background: var(--green); }
.lst-pos { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-alt); font: 700 1.05rem/1 var(--font-display); }
.lst.top .lst-pos { background: var(--orange); color: #fff; }
.lst-logo { width: 168px; height: 84px; border-radius: 12px; background: var(--night); display: grid; place-items: center; overflow: hidden; padding: 10px; }
.lst-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 60px; object-fit: contain; margin: 0 auto; }
.lst-logo .wordmark { font: 700 1.15rem/1.1 var(--font-display); color: #fff; text-align: center; letter-spacing: -.01em; }

.lst-bonus {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

.lst-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; font-size: .95rem; }
.lst-info li { position: relative; padding-left: 1.4em; }
.lst-info li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-dark); font-weight: 700; }
.code-chip { display: inline-flex; align-items: center; gap: 6px; border: 2px dashed var(--orange); border-radius: 8px; padding: 2px 4px 2px 10px; font: 700 .92rem/1.4 var(--font-display); color: var(--orange-dark); background: var(--orange-soft); }
.code-chip button { border: 0; background: var(--orange); color: #fff; font: 600 .75rem/1 var(--font-display); padding: 6px 8px; border-radius: 5px; cursor: pointer; }
.lst-cta { display: grid; gap: 8px; justify-items: stretch; }
.lst-cta .btn { text-transform: uppercase; letter-spacing: .03em; }
.lst-cta .more { text-align: center; font-size: .88rem; font-weight: 700; }
.lst details { grid-column: 1 / -1; border-top: 1px solid var(--line); margin: 0 -20px; padding: 0 20px; }
.lst summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--ink-soft); padding: 10px 0; list-style: none; }
.lst summary::-webkit-details-marker { display: none; }
.lst summary::after { content: " ▾"; }
.lst details[open] summary::after { content: " ▴"; }
.lst details p { font-size: .85rem; color: var(--ink-soft); padding-bottom: 14px; max-width: 110ch; }

/* ---------- Tables ---------- */
.prov-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-alt); font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .03em; color: var(--ink-soft); text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

/* ---------- Content blocks ---------- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.steps li { counter-increment: step; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font: 700 1rem/1 var(--font-display); }
.steps p { color: var(--ink-soft); font-size: .95rem; }

.bonus-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.bonus-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bonus-type { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; align-content: start; }
.bonus-type p { color: var(--ink-soft); font-size: .95rem; }
.bonus-type .ex { font-size: .85rem; color: var(--ink); background: var(--surface-alt); border-radius: 8px; padding: 8px 10px; }

/* Small uppercase labels shared by several cards */
.feature .k, .bonus-type .k, .prov .spec, .author-home .role {
  font: 700 .76rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange);
}

.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.game { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: grid; }
.game-top { padding: 18px 20px; color: #fff; display: grid; gap: 4px; }
.game-top h3 { color: #fff; font-size: 1.2rem; }
.game-top .k { font: 700 .74rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.game-body { padding: 18px 20px; display: grid; gap: 10px; align-content: start; }
.game-body p { color: var(--ink-soft); font-size: .95rem; }
.game-body .facts { display: flex; flex-wrap: wrap; gap: 6px; }
.g1 { background: linear-gradient(135deg, #a8400b, var(--orange)); }
.g2 { background: linear-gradient(135deg, var(--night), #3a3f4a); }
.g3 { background: linear-gradient(135deg, #2f6e22, var(--green)); }
.g4 { background: linear-gradient(135deg, #3a3f4a, #6b3a1c); }
.g5 { background: linear-gradient(135deg, var(--orange), #ff9a5c); }

.prov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.prov { background: var(--surface-alt); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; align-content: start; }
.prov h3 { font-size: 1.05rem; }
.prov p { color: var(--ink-soft); font-size: .92rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--surface-alt); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feature p { color: var(--ink-soft); }

/* Legal / regulation block */
.legal-section { padding-block: 60px; }
.legal-content { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .75fr); gap: 45px; align-items: start; }
.legal-text-content { min-width: 0; }
.section-label { display: inline-block; margin-bottom: 12px; font: 700 .75rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.legal-text-content h2 { margin: 0 0 22px; font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.2; }
.legal-text-content > p { margin: 0 0 18px; line-height: 1.7; }
.legal-contacts { margin: 30px 0; padding: 25px; border-radius: var(--radius); background: var(--surface-alt); }
.legal-contacts h3 { margin: 0 0 18px; font-size: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: .875rem; line-height: 1.5; }
.contact-item strong { line-height: 1.35; }
.contact-item b { font-weight: 700; white-space: nowrap; }
.legal-note { padding-left: 18px; border-left: 3px solid var(--line); font-size: .875rem; line-height: 1.6; color: var(--ink-soft); }
.legal-image { position: sticky; top: 140px; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); }
.legal-image img { display: block; width: 100%; object-fit: cover; }
.image-caption { display: flex; flex-direction: column; gap: 4px; padding: 18px; background: var(--surface); }
.image-caption strong { font-size: .95rem; }
.image-caption span { font-size: .82rem; color: var(--ink-soft); }

/* Author block */
.author-home { margin-top: 48px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); align-items: start; }
.author-home .body { display: grid; gap: 10px; min-width: 0; }
.author-home p { color: var(--ink-soft); }
.avatar { flex: none; width: 120px; height: 120px; border-radius: 50%; background: var(--orange-soft); display: grid; place-items: center; overflow: hidden; }
.avatar.team { background: var(--orange); color: #fff; font: 700 2rem/1 var(--font-display); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.cred { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Inner pages (reseñas, legal, autor) ---------- */
.page-hero { background: var(--surface-alt); border-radius: 18px; margin-top: 28px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; }
.page-hero .lead { color: var(--ink-soft); font-size: 1.1rem; max-width: 62ch; }
.breadcrumb { font-size: .88rem; color: var(--ink-soft); }
.breadcrumb a { font-weight: 600; }
.meta { font-size: .85rem; color: var(--ink-soft); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; padding-block: 40px 24px; align-items: start; }
.prose { max-width: 70ch; min-width: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; scroll-margin-top: 140px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.callout { border-left: 4px solid var(--orange); background: var(--orange-soft); border-radius: 0 10px 10px 0; padding: 14px 18px; }
.callout.green { border-left-color: var(--green); background: var(--green-soft); }
.placeholder { background: #fff7cc; color: var(--ink); border-radius: 4px; padding: 0 4px; font-weight: 700; }

.toc { position: sticky; top: 140px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; }
.toc strong { font-family: var(--font-display); }
.toc a { color: var(--ink-soft); font-size: .93rem; font-weight: 600; }
.toc a:hover { color: var(--orange); }

.pros-cons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pros-cons > div { border-radius: var(--radius); padding: 16px 18px; }
.pros-cons h3 { margin-bottom: 6px; }
.pros-cons ul { margin: 0; padding-left: 1.1em; }
.pros { background: var(--green-soft); }
.cons { background: var(--orange-soft); }

.scorecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.scorecard div { background: var(--surface-alt); border-radius: 10px; padding: 12px 14px; }
.scorecard span { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.scorecard b { font: 700 1.4rem/1.2 var(--font-display); font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; background: var(--surface); }
.faq summary { cursor: pointer; font: 600 1.05rem/1.4 var(--font-display); padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 14px; color: var(--ink-soft); }

/* ---------- Responsible gaming banner + footer ---------- */
.rg-banner {
  margin-top: 48px; background: var(--night); color: #fff; border-radius: 18px; padding: 24px clamp(20px, 4vw, 36px);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.rg-banner .left { display: flex; gap: 18px; align-items: center; min-width: 0; flex: 1 1 380px; }
.rg-banner p { color: #e6e3df; max-width: 70ch; }
.rg-banner strong { color: #fff; }
.age-badge { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 3px solid var(--orange); display: grid; place-items: center; font: 700 1.2rem/1 var(--font-display); color: #fff; }

.site-footer { margin-top: 48px; background: var(--surface-alt); padding-block: 40px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-grid h4 { font: 600 .95rem/1.2 var(--font-display); margin: 0 0 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--ink-soft); font-size: .93rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-grid p { color: var(--ink-soft); font-size: .93rem; margin-top: 10px; }
.disclaimer { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: .82rem; color: var(--ink-soft); line-height: 1.55; }
.disclaimer strong { color: var(--ink); }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .lst { grid-template-columns: 40px 150px minmax(0, 1fr); }
  .lst-logo { width: 150px; }
  .lst-info { grid-column: 2 / -1; }
  .lst-cta { grid-column: 1 / -1; }
}

@media (max-width: 980px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .bonus-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .legal-content { grid-template-columns: 1fr; gap: 30px; }
  .legal-image { position: relative; top: auto; order: -1; }
  .legal-image img { aspect-ratio: 16 / 9; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  /* Header + burger menu */
  .header-actions .age-pill, .header-actions .btn-outline { display: none; }
  .header-actions .btn { padding: 10px 14px; font-size: .9rem; }
  .logo { font-size: 1.5rem; }
  .mobile-menu { margin-left: auto; flex-shrink: 0; }
  .burger { display: flex; margin-left: auto; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 10px); right: 0; left: auto; z-index: 9999;
    width: min(260px, calc(100vw - 32px)); padding: 10px; overflow: visible;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
  }
  #mobile-menu-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0; }
  .main-nav li a { display: block; padding: 12px; white-space: normal; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { border-bottom: 0; }
  #mobile-menu-toggle:checked + .burger span:first-child { transform: translateY(7px) rotate(45deg); }
  #mobile-menu-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
  #mobile-menu-toggle:checked + .burger span:last-child { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero { margin-top: 16px; padding: 20px; }
  .hero .eyebrow { font-size: .85rem; }
  .hero .lead { font-size: .95rem; }
  .hero .btn-lg { font-size: 1rem; padding: 12px 20px; margin-top: 12px; }
  .pay-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(36px, 1fr)); gap: 5px; margin-top: 14px; }
  .pay { width: auto; height: 24px; padding: 3px 5px; border-radius: 6px; }
  .pay img { max-height: 15px; }

  /* Listing: no position numbers, compact logo next to the bonus */
  .ranking-first { padding-top: 22px; }
  .ranking-first .link-chip { display: none; }
  .lst { grid-template-columns: 104px minmax(0, 1fr); gap: 12px 14px; padding: 20px 16px 0; }
  .lst-pos { display: none; }
  .lst-logo { width: 104px; height: 52px; padding: 6px 8px; border-radius: 10px; }
  .lst-logo img { max-height: 36px; }
  .lst-logo .wordmark { font-size: .9rem; }
  .lst-bonus .headline { font-size: 1.05rem; }
  .lst-info, .lst-cta { grid-column: 1 / -1; }
  .lst details { margin: 0 -16px; padding: 0 16px; }

  /* Grids collapse to one column */
  .feature-grid, .bonus-grid.four, .pros-cons, .footer-grid { grid-template-columns: 1fr; }
  .author-home { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
@media (min-width: 601px) {
  .header-top { align-items: center; }
  .mobile-menu { order: 1; flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
  .header-actions { order: 2; }
  .main-nav ul { align-items: center; padding: 0; }
  .main-nav a { display: block; padding-block: 6px; }
}

/* Tablet: free up room so the menu isn't cut off */
@media (min-width: 601px) and (max-width: 900px) {
  .header-actions .age-pill, .header-actions .btn-outline { display: none; }
  .main-nav ul { gap: 20px; }
}
/* ---------- Text blocks (dinero real, conclusiones) ---------- */
.section-text { display: grid; gap: 14px; max-width: 78ch; margin-bottom: 22px; color: var(--ink-soft); font-size: 1.02rem; }
.section-text p, .section-text li { line-height: 1.7; }
.section-text strong { color: var(--ink); }
.pick-list { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
#conclusiones .section-text { margin-bottom: 0; }

/* ---------- Listing without bonus (casinos en pesos) ---------- */
.lst.lite { grid-template-columns: 168px minmax(0, 1fr) 180px; padding-bottom: 22px; }
.lst-body { display: grid; gap: 10px; min-width: 0; }
.lst-name { font: 700 1.25rem/1.2 var(--font-display); color: var(--ink); }

/* ---------- Bonus calculator ---------- */
.calc { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 26px); display: grid; gap: 18px; background: var(--surface); }
.calc-head { display: grid; gap: 6px; }
.calc-head p { color: var(--ink-soft); }
.calc-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.calc label { display: grid; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.calc input, .calc select { width: 100%; font: 600 1rem/1.2 var(--font-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.calc input:focus-visible, .calc select:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.calc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.calc-out div { background: var(--orange-soft); border-radius: 10px; padding: 12px 16px; display: grid; gap: 2px; }
.calc-out span { font-size: .8rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.calc-out b { font: 700 1.4rem/1.2 var(--font-display); color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.bond-note { margin-top: 20px; font-size: .92rem; color: var(--ink-soft); }
.bond-note strong { color: var(--ink); }

/* ---------- Payment methods: comparison list (method × casino) ---------- */
.pm-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.pm-head, .pm-row {
  display: grid; align-items: center; gap: 16px;
  grid-template-columns: minmax(0, 2.2fr) minmax(150px, 1fr) repeat(4, minmax(78px, .55fr));
  padding: 16px 20px;
}
.pm-head { background: var(--night); color: #fff; font: 600 .78rem/1.2 var(--font-display); letter-spacing: .05em; text-transform: uppercase; padding-block: 12px; }
.pm-head span:nth-child(n+3) { text-align: center; }
.pm-row { border-top: 1px solid var(--line); }
.pm-row:nth-child(odd) { background: var(--surface-alt); }
.pm-method { display: grid; gap: 4px; min-width: 0; }
.pm-type { font: 700 .72rem/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.pm-method h3 { font-size: 1.05rem; }
.pm-method p { color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }
.pm-speed { margin: 0; display: grid; gap: 6px; }
.pm-speed div { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; }
.pm-speed dt { color: var(--ink-soft); }
.pm-speed dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.pm-avail { display: contents; }
.pm-cas { display: flex; justify-content: center; }
.pm-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--surface); color: #b9b3ad; border: 1px solid var(--line); }
.pm-cas.on .pm-mark { background: var(--green); border-color: var(--green); color: #fff; }
.pm-cas-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Conclusiones: full width, picks as three blocks ---------- */
#conclusiones .section-text { max-width: none; }
#conclusiones .pick-list { list-style: none; padding: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
#conclusiones .pick-list li { background: var(--surface-alt); border-radius: var(--radius); padding: 16px 18px; border-top: 3px solid var(--orange); }
#conclusiones .pick-list strong { display: block; margin-bottom: 4px; }

/* ---------- Footer trust logos ---------- */
.trust-strip {
  margin-top: 28px; padding: 18px clamp(16px, 3vw, 28px); border-radius: 14px; background: #223246;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
}
.trust-logo { display: inline-flex; align-items: center; opacity: .9; transition: opacity .15s; }
.trust-logo:hover { opacity: 1; }
.trust-logo img { display: block; height: 40px; width: auto; max-width: 170px; object-fit: contain; }

@media (max-width: 1080px) {
  .lst.lite { grid-template-columns: 150px minmax(0, 1fr); }
}
@media (max-width: 900px) {
  /* Payment list turns into one card per method; casinos become labelled chips */
  .pm-head { display: none; }
  .pm-row { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .pm-speed { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pm-speed div { flex-direction: column; justify-content: flex-start; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
  .pm-speed dd { text-align: left; }
  .pm-avail { display: flex; flex-wrap: wrap; gap: 6px; }
  .pm-cas { align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .82rem; font-weight: 700; color: #a29b94; }
  .pm-cas.on { background: var(--green-soft); border-color: transparent; color: var(--green-dark); }
  .pm-mark { width: 20px; height: 20px; font-size: .75rem; }
  .pm-cas-name { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .pm-cas:not(.on) .pm-cas-name { text-decoration: line-through; }
  #conclusiones .pick-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .trust-strip { justify-content: center; }
  .trust-logo img { height: 30px; }
  .lst.lite { grid-template-columns: 104px minmax(0, 1fr); padding-bottom: 16px; }
  .lst.lite .lst-body { grid-column: 1 / -1; }
  .lst-name { font-size: 1.1rem; }
}
.footer-grid .logo { font-size: 1.6rem; color: var(--orange); }
.footer-grid .logo span { color: var(--ink); }

/* ---------- Review page (resena-*.html) ---------- */
.review-hero { gap: 16px; }
.rv-head { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 24px; align-items: center; }
.rv-logo { width: 168px; height: 84px; border-radius: 12px; background: var(--night); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.rv-logo img { display: block; max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }
.rv-title { display: grid; gap: 10px; min-width: 0; }
.rv-title h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }

.review h3 { scroll-margin-top: 140px; }
.review .prov-table-wrap table { min-width: 520px; }
.kv-table { min-width: 0 !important; }
.kv-table th { width: 38%; background: var(--surface-alt); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .92rem; font-family: var(--font-body); font-weight: 700; }

.rv-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding: 18px 20px; border: 1px solid var(--orange); border-radius: var(--radius); background: var(--orange-soft); }
.rv-cta > div { display: grid; gap: 4px; min-width: 0; flex: 1 1 320px; }
.rv-cta strong { font-family: var(--font-display); font-size: 1.05rem; }
.rv-cta span { font-size: .85rem; color: var(--ink-soft); }
.rv-cta-end { margin-top: 2em; }

.rv-steps { list-style: none; counter-reset: rvstep; padding-left: 0 !important; display: grid; gap: 10px; }
.rv-steps li { counter-increment: rvstep; position: relative; padding: 12px 14px 12px 52px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.rv-steps li + li { margin-top: 0; }
.rv-steps li::before { content: counter(rvstep); position: absolute; left: 14px; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font: 700 .85rem/1 var(--font-display); }

.rv-faq summary h3 { margin: 0; font: inherit; color: inherit; }
.rv-faq details p { margin-top: 0; }

.rv-author { margin-top: 2em; }
.rv-author .avatar { width: 96px; height: 96px; }
.rv-author-name { margin-top: 0 !important; font-size: 1.3rem; }
.author-home.rv-author { grid-template-columns: 96px minmax(0, 1fr); }

@media (max-width: 600px) {
  .rv-head { grid-template-columns: 1fr; gap: 14px; }
  .rv-logo { width: 140px; height: 64px; }
  .rv-cta .btn { width: 100%; }
  .author-home.rv-author { grid-template-columns: 1fr; }
}

/* ---------- Review hero: score tiles beside the title ---------- */
.rv-head { grid-template-columns: 168px minmax(0, 1fr) 300px; }
.rv-title h1 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); }
.rv-score { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-self: center; }
.rv-score div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; min-width: 0; }
.rv-score dt { font: 700 .68rem/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.rv-score dd { margin: 0; font: 700 1.05rem/1.2 var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-score .rv-score-main { background: var(--orange); border-color: var(--orange); }
.rv-score .rv-score-main dt { color: rgba(255, 255, 255, .85); }
.rv-score .rv-score-main dd { color: #fff; font-size: 1.35rem; }
.rv-score small { font-size: .75em; opacity: .8; margin-left: 1px; }

/* ---------- Image slots inside reviews ---------- */
.rv-figure { margin: 1.6em 0; }
.rv-figure img, .img-slot { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); object-fit: cover; }
.img-slot { display: grid; place-items: center; background: var(--surface-alt); border: 2px dashed var(--line); color: var(--ink-soft); font-size: .85rem; text-align: center; padding: 12px; }
.rv-figure figcaption { margin-top: 8px; font-size: .85rem; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .rv-head { grid-template-columns: 140px minmax(0, 1fr); }
  .rv-logo { width: 140px; height: 70px; }
  .rv-score { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .rv-head { grid-template-columns: 1fr; }
  .rv-score { grid-template-columns: 1fr 1fr; gap: 6px; }
  .rv-score div { padding: 8px 10px; }
  .rv-score dd { font-size: .98rem; }
  .rv-score .rv-score-main dd { font-size: 1.2rem; }
}

/* Review hero: keep the block no taller than before */
.review-hero { gap: 10px; }
.rv-head { grid-template-columns: 140px minmax(0, 1fr) 344px; gap: 22px; }
.rv-head .rv-logo { width: 140px; height: 70px; }
.rv-title { gap: 8px; }
.rv-title .lead { font-size: 1.02rem; }
.rv-score dt { white-space: nowrap; }
.rv-score div { padding: 9px 12px; }
@media (max-width: 1080px) {
  .rv-head { grid-template-columns: 120px minmax(0, 1fr); gap: 16px 20px; }
  .rv-head .rv-logo { width: 120px; height: 60px; }
}
@media (max-width: 600px) {
  .review-hero { padding: 18px; gap: 8px; }
  .rv-head { grid-template-columns: 1fr; gap: 10px; }
  .rv-head .rv-logo { width: 104px; height: 52px; padding: 6px 8px; }
  .rv-title { gap: 6px; }
  .rv-title h1 { font-size: 1.5rem; }
  .rv-title .lead { font-size: .95rem; line-height: 1.5; }
}
@media (max-width: 1080px) {
  .rv-score dt { white-space: normal; }
  .rv-score div { padding: 8px 10px; }
  .rv-score dd { font-size: 1rem; }
  .rv-score .rv-score-main dd { font-size: 1.2rem; }
}
@media (max-width: 760px) {
  .rv-score { grid-template-columns: 1fr 1fr; }
}

/* Header: let the menu shrink instead of pushing the page wider (all pages) */
.header-top { min-width: 0; }
.header-actions { min-width: 0; flex: 0 1 auto; }
.mobile-menu { min-width: 0; }
@media (min-width: 601px) and (max-width: 900px) {
  .main-nav { overflow-x: auto; max-width: 100%; }
  .main-nav ul { gap: 16px; }
}
@media (max-width: 400px) {
  .logo { font-size: 1.3rem; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 9px 11px; font-size: .85rem; }
  .burger { width: 38px; height: 38px; padding: 9px; }
}
@media (max-width: 340px) {
  .logo { font-size: 1.12rem; }
  .header-actions .btn { padding: 8px 9px; font-size: .8rem; }
  .header-top { gap: 8px; }
}
toc-acc > summary { list-style: none; font-family: var(--font-display); font-weight: 700; color: var(--ink); cursor: default; }
.toc-acc > summary::-webkit-details-marker { display: none; }
.toc-links { display: grid; gap: 8px; margin-top: 10px; }
@media (max-width: 980px) {
  .toc { padding: 0; }
  .toc-acc > summary { cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .toc-acc > summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
  .toc-acc[open] > summary::after { content: "−"; }
  .toc-links { margin-top: 0; padding: 0 18px 16px; }
}
.rv-figure { margin: 1.6em 0; text-align: center; }
.rv-figure img {
  display: block; margin: 0 auto;
  width: auto; max-width: 100%; height: auto;
  aspect-ratio: auto; object-fit: contain;
  max-height: 560px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-alt);
}
.rv-figure.portrait img { max-height: 620px; max-width: min(100%, 340px); }
.rv-figure.full img { width: 100%; max-height: none; }
.rv-figure figcaption { text-align: left; }
.img-slot { aspect-ratio: 16 / 9; }
@media (max-width: 600px) {
  .rv-figure img { max-height: 420px; }
  .rv-figure.portrait img { max-height: 480px; max-width: 78%; }
}
/* Enlace dentro de las tarjetas de juegos */
.game-body .link-chip { justify-self: start; }

/* Juegos gratis: tarjetas logo + botón */
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin: 1.4em 0 .4em; }
.mini-card { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mini-card .lst-logo { width: 100%; height: 76px; }
.mini-card .btn { justify-content: center; text-align: center; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; }
.mini-note { font-size: .8rem; color: var(--ink-soft); margin-top: 0; }
@media (max-width: 600px) {
  .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mini-card { padding: 10px; gap: 10px; }
  .mini-card .lst-logo { height: 60px; }
  .mini-card .btn { padding-left: 8px; padding-right: 8px; font-size: .85rem; }
}

/* Juegos gratis: hero en dos columnas con ofertas compactas */
.hero-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: center; }
.hero-main { display: grid; gap: 12px; min-width: 0; }
.hero-offers { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(35, 38, 43, .08); display: grid; gap: 10px; }
.hof-title { font: 700 .78rem/1.2 var(--font-display); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 2px; }
.hof-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: hof; }
.hof-item { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .15s, transform .15s; }
.hof-item:hover { border-color: var(--orange); transform: translateY(-1px); }
.hof-logo { height: 40px; border-radius: 8px; background: var(--night); display: grid; place-items: center; padding: 5px 8px; overflow: hidden; }
.hof-logo img { display: block; max-width: 100%; max-height: 28px; width: auto; height: auto; object-fit: contain; }
.hof-rate { font: 700 .88rem/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.hof-rate::first-letter { color: #ffcc00; }
.hof-btn { font: 700 .82rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--green); border-radius: 8px; padding: 10px 14px; white-space: nowrap; }
.hof-btn:hover { background: var(--green-dark); color: #fff; }
.hof-note { font-size: .75rem; color: var(--ink-soft); margin: 0 2px; }
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-offers { max-width: 520px; }
}
@media (max-width: 600px) {
  .hero-offers { padding: 12px; }
  .hof-item { grid-template-columns: 84px 1fr auto; gap: 8px; }
}

/* ---------- Header: menú desplegable (Reseñas, Juegos) ---------- */
.sub-toggle { background: none; border: 0; padding: 6px 0; cursor: pointer; font: inherit; color: var(--ink-soft); font-size: 0.8rem; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.sub-toggle::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.sub-toggle:hover { color: var(--ink); }
.has-sub { position: relative; }
.main-nav .sub { list-style: none; margin: 0; padding: 0; }
@media (min-width: 601px) {
  .main-nav { overflow: visible; }
  .main-nav .sub {
    display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 9999;
    min-width: 190px; padding: 8px; flex-direction: column; gap: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  }
  .main-nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: flex; }
  .has-sub:hover > .sub-toggle, .has-sub:focus-within > .sub-toggle { color: var(--ink); }
  .has-sub:hover > .sub-toggle::after, .has-sub:focus-within > .sub-toggle::after { transform: rotate(225deg) translateY(-2px); }
  .main-nav .sub a { display: block; text-align: left; padding: 9px 12px; border-radius: 8px; border-bottom: 0; font-size: .85rem; color: var(--ink); }
  .main-nav .sub a:hover { background: var(--orange-soft); color: var(--orange-dark); }
}
@media (max-width: 600px) {
  .sub-toggle { display: block; width: 100%; text-align: left; padding: 12px; font-size: .8rem; color: var(--ink); border-bottom: 1px solid var(--line); cursor: default; }
  .sub-toggle::after { display: none; }
  .main-nav .sub li a { padding: 10px 12px 10px 24px; font-size: .85rem; }
  .main-nav { max-height: calc(100vh - 90px); overflow-y: auto; }
}
