/* Spinmama / spinmamma-casinos.com: estilos compartidos */
:root {
  --bg: #0e1016;
  --bg-2: #141824;
  --surface: #1a1f2e;
  --surface-2: #222839;
  --border: #2c3348;
  --text: #eceff6;
  --muted: #a9b0c3;
  --lime: #c6f432;
  --lime-dark: #a5d11a;
  --teal: #27b3c4;
  --danger: #ff6b6b;
  --ok: #7be495;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e3ff7a; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 18px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--lime); color: #111; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* Tipografia */
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin-top: 0; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.meta-line { font-size: .88rem; color: var(--muted); }
section { padding: 44px 0; }
section + section { border-top: 1px solid rgba(255,255,255,.04); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 760px; margin-bottom: 22px; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(14,16,22,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo span { font-size: 1.05rem; }
.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); color: var(--text); font-size: 1.4rem; cursor: pointer;
}
.main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 18px 18px; max-height: calc(100vh - 64px); overflow-y: auto; }
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { border-bottom: 1px solid var(--border); margin: 0; }
.main-nav a, .main-nav .sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 46px; padding: 8px 4px; color: var(--text); text-decoration: none; font: inherit; font-weight: 600;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.main-nav a:hover, .main-nav .sub-toggle:hover { color: var(--lime); }
.main-nav a[aria-current="page"] { color: var(--lime); }
.sub-toggle::after { content: "+"; font-size: 1.3rem; color: var(--muted); }
.sub-toggle[aria-expanded="true"]::after { content: "\2212"; }
.submenu { display: none; padding: 0 0 10px 12px; }
.submenu.is-open { display: block; }
.submenu a { font-weight: 500; font-size: .96rem; min-height: 40px; color: var(--muted); }
.header-actions { display: none; }
.nav-actions { display: flex; gap: 10px; padding-top: 14px; }
.nav-actions .btn { flex: 1; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: #11140a; box-shadow: 0 6px 18px rgba(198,244,50,.25); }
.btn-primary:hover { background: #d9ff55; color: #11140a; box-shadow: 0 8px 24px rgba(198,244,50,.4); }
.btn-outline { border-color: var(--lime); color: var(--lime); background: transparent; }
.btn-outline:hover { background: rgba(198,244,50,.1); color: var(--lime); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.btn-lg { min-height: 56px; padding: 14px 34px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* Hero */
.hero { padding: 34px 0 20px; background: radial-gradient(900px 400px at 85% 0%, rgba(39,179,196,.18), transparent 70%), radial-gradient(700px 360px at 0% 10%, rgba(198,244,50,.1), transparent 70%); }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* CTA grande (portada) */
.cta-hero {
  background: linear-gradient(135deg, #1f2740 0%, #171b2a 55%, #1e2d31 100%);
  border: 1px solid rgba(198,244,50,.35); border-radius: 22px; padding: 28px 22px; box-shadow: var(--shadow);
  text-align: center;
}
.cta-hero .cta-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--teal); font-weight: 800; margin-bottom: 6px; }
.cta-hero .cta-title { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; margin: 0 0 4px; }
.cta-hero .cta-amount { font-size: clamp(2rem, 7vw, 3.2rem); font-weight: 900; line-height: 1.1; color: var(--lime); margin: 6px 0; }
.cta-hero .cta-sub { color: var(--muted); margin-bottom: 18px; }
.cta-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; padding: 0; margin: 18px 0 0; font-size: .88rem; color: var(--muted); }
.cta-trust li { margin: 0; padding-left: 20px; position: relative; }
.cta-trust li::before { content: "\2713"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.cta-wide { margin: 8px 0; }

/* CTA compacta (paginas interiores) */
.cta-compact {
  display: flex; flex-direction: column; gap: 12px; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--lime);
  border-radius: 12px; padding: 14px 16px; margin: 22px 0;
}
.cta-compact p { margin: 0; font-weight: 600; }
.cta-compact .btn { min-height: 44px; }

/* Aviso legal */
.notice { background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.4); border-radius: 12px; padding: 14px 16px; font-size: .95rem; color: #ffd6d6; }
.notice strong { color: #fff; }

/* Tarjeta de bono */
.bonus-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px; margin: 18px 0; box-shadow: var(--shadow);
  display: grid; gap: 14px;
}
.bonus-card .bonus-name { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); font-weight: 800; margin: 0; }
.bonus-card .bonus-size { font-size: clamp(1.6rem, 5vw, 2.3rem); font-weight: 900; color: var(--lime); line-height: 1.15; margin: 0; }
.bonus-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bonus-facts li { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin: 0; font-size: .92rem; }
.bonus-facts span { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.promo-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--bg); border: 2px dashed var(--lime); border-radius: 12px; padding: 10px 14px; }
.promo-code code { font-size: 1.2rem; font-weight: 800; letter-spacing: .08em; color: var(--lime); }
.copy-btn { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--lime); background: transparent; color: var(--lime); font: inherit; font-weight: 700; cursor: pointer; }
.copy-btn.is-copied { background: var(--lime); color: #111; }

/* Tablas */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0 22px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
caption { text-align: left; padding: 12px 14px; font-weight: 700; color: var(--muted); caption-side: top; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); color: var(--text); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.02); }
tbody th { font-weight: 700; color: var(--text); background: transparent; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.col-rating, td.rating { text-align: center; white-space: nowrap; font-weight: 800; color: var(--lime); }
.table-note { font-size: .85rem; color: var(--muted); }

/* Condiciones del bono */
.conditions-table tbody th { background: var(--surface-2); text-transform: none; letter-spacing: 0; font-size: .95rem; white-space: nowrap; }
.conditions-table.two-cols tbody th { width: 38%; white-space: normal; }

/* Pros y contras */
.pros-cons { display: grid; gap: 16px; margin: 18px 0; }
.pros, .cons { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }
.pros { border-top: 4px solid var(--ok); }
.cons { border-top: 4px solid var(--danger); }
.pros h3, .cons h3, .pc-title { font-size: 1.1rem; font-weight: 800; margin: 0 0 .6em; }
.pros ul, .cons ul { list-style: none; padding: 0; margin: 0; }
.pros li, .cons li { position: relative; padding-left: 26px; }
.pros li::before { content: "+"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.cons li::before { content: "\2212"; position: absolute; left: 0; color: var(--danger); font-weight: 900; }

/* Game Center */
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 20px 0; }
.game-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease; }
.game-card:hover { transform: translateY(-3px); border-color: var(--lime); }
.game-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-2); }
.game-info { padding: 10px 12px 6px; flex: 1; }
.game-info h3, .game-name { font-size: 1rem; font-weight: 800; margin: 0 0 2px; line-height: 1.25; }
.game-info p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.game-info .game-name { font-size: 1rem; font-weight: 800; color: var(--text); margin: 0 0 4px; }
.game-btn {
  display: flex; align-items: center; justify-content: center; width: calc(100% - 20px); margin: 6px 10px 10px;
  min-height: 46px; border-radius: 999px; background: var(--lime); color: #11140a; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 16px rgba(198,244,50,.22); transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.game-btn:hover { background: #dfff6a; color: #11140a; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(198,244,50,.4); }

/* Pasos, FAQ, indice */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 20px; }
.steps li { counter-increment: step; position: relative; padding: 4px 0 14px 52px; margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: #11140a; font-weight: 900; display: grid; place-items: center; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--lime); }
.faq details[open] summary::after { content: "\2212"; }
.faq .faq-body { padding: 0 18px 16px; color: var(--muted); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 20px 0; }
.toc ul { margin: 0; columns: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0; }
.chips li { margin: 0; padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); font-size: .88rem; color: var(--muted); }
.two-col { display: grid; gap: 22px; align-items: center; }
.two-col img { border-radius: var(--radius); }
.card-grid { display: grid; gap: 14px; margin: 18px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; }

/* Boton flotante */
.float-cta { position: fixed; right: 14px; bottom: 14px; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.float-cta.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-cta .btn { box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 6px 18px rgba(198,244,50,.3); }

/* Pie */
.site-footer { background: #0a0c11; border-top: 1px solid var(--border); padding: 40px 0 24px; margin-top: 20px; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
.footer-grid h2, .footer-title { font-size: 1rem; font-weight: 800; margin: 0 0 10px; color: var(--text); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--muted); text-decoration: none; }
.footer-grid a:hover { color: var(--lime); }
.footer-brand { grid-column: 1 / -1; }
.footer-legal { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 18px; color: var(--muted); font-size: .85rem; }
.age-badge { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--danger); color: var(--danger); font-weight: 900; margin-right: 10px; vertical-align: middle; }

/* Escritorio */
@media (min-width: 640px) {
  .game-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-compact { flex-direction: row; align-items: center; justify-content: space-between; }
  .pros-cons { grid-template-columns: 1fr 1fr; }
  .bonus-facts { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .toc ul { columns: 2; }
}
@media (min-width: 980px) {
  body { font-size: 18px; }
  .nav-toggle { display: none; }
  .header-inner { gap: 22px; }
  .main-nav { display: flex !important; position: static; background: none; border: 0; padding: 0; max-height: none; overflow: visible; align-items: center; flex: 1; justify-content: space-between; }
  .main-nav > ul { display: flex; gap: 2px; align-items: center; }
  .main-nav > ul > li { border: 0; position: relative; }
  .main-nav a, .main-nav .sub-toggle { min-height: 44px; padding: 8px 12px; font-size: .95rem; white-space: nowrap; width: auto; }
  .sub-toggle::after { content: "\25BE"; font-size: .8rem; margin-left: 6px; }
  .sub-toggle[aria-expanded="true"]::after { content: "\25BE"; }
  .submenu { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); }
  .has-sub:hover > .submenu, .has-sub:focus-within > .submenu, .submenu.is-open { display: block; }
  .submenu a { padding: 8px 12px; border-radius: 8px; }
  .submenu a:hover { background: var(--surface-2); }
  .nav-actions { padding-top: 0; }
  .nav-actions .btn { flex: none; min-height: 42px; padding: 8px 20px; }
  .hero { padding: 54px 0 30px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .two-col { grid-template-columns: 1fr 1fr; gap: 40px; }
  .two-col.reverse > :first-child { order: 2; }
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  section { padding: 56px 0; }
  .float-cta { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
