﻿/* ============================================================
   AGUERO JUEGOS — WHITE/LIGHT CLEAN THEME
   ============================================================ */

:root {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f4ff;
  --bg-dark: #1a1a2e;
  --accent: #1565c0;
  --accent-light: #1e88e5;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-light: #888;
  --btn-login: #2e7d32;
  --btn-register: #c62828;
  --gold: #f57c00;
  --border: #dee2e6;
  --header-bg: #1a1a2e;
  --shadow: 0 4px 20px rgba(21,101,192,0.12);
  --shadow-hover: 0 10px 40px rgba(21,101,192,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }

img { max-width: 100%; display: block; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f0f4ff; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
  border-bottom: 2px solid var(--accent);
}

.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  white-space: nowrap;
}
.logo span:first-child { color: #ffffff; }
.logo span:last-child  { color: var(--accent-light); }

nav { display: flex; gap: 6px; align-items: center; }

nav a {
  color: #cfd8e3;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
nav a:hover { background: rgba(30,136,229,.18); color: #fff; }

.header-btns { display: flex; gap: 10px; }

.btn-login, .btn-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s, transform .15s;
}
.btn-login    { background: var(--btn-login);    color: #fff; }
.btn-register { background: var(--btn-register); color: #fff; }
.btn-login:hover, .btn-register:hover { filter: brightness(1.15); transform: translateY(-1px); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-color: #1a1a2e;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.4) 50%, rgba(26,26,46,0.6) 100%);
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

/* Decorative shapes */
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
}
.hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #1e88e5, transparent);
  top: -200px; right: -150px;
}
.hero::after {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #f57c00, transparent);
  bottom: -150px; left: -100px;
}

.hero-deco {
  position: absolute;
  font-size: 5rem;
  opacity: .05;
  pointer-events: none;
  user-select: none;
}
.hero-deco-1 { top: 10%; left: 5%; }
.hero-deco-2 { top: 20%; right: 8%; font-size: 3.5rem; }
.hero-deco-3 { bottom: 15%; left: 15%; font-size: 4rem; }

.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(30,136,229,.25);
  border: 1px solid rgba(30,136,229,.5);
  color: #90caf9;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero h1 .accent-text { color: var(--accent-light); }

.hero-bonus {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(245,124,0,.4);
  border-radius: 16px;
  padding: 20px 40px;
  margin: 24px auto;
  gap: 6px;
}

.hero-bonus .bonus-pct {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(245,124,0,.5);
}
.hero-bonus .bonus-label { color: #e0e0e0; font-size: 1.1rem; font-weight: 600; }
.hero-bonus .bonus-sub   { color: #b0bec5; font-size: .9rem; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f57c00, #ff6d00);
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 18px 48px;
  border-radius: 50px;
  text-decoration: none;
  letter-spacing: .5px;
  text-transform: uppercase;
  box-shadow: 0 6px 30px rgba(245,124,0,.5);
  transition: transform .2s, box-shadow .2s;
  margin-top: 12px;
}
.hero-cta:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 40px rgba(245,124,0,.65); color: #fff; }

.hero-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #90caf9;
  font-size: .85rem;
  font-weight: 500;
}
.hero-trust-item .ico { font-size: 1.1rem; }

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.section { padding: 72px 24px; }
.section-alt { background: #f0f4ff; }

.container { max-width: 1280px; margin: 0 auto; }

.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.section-title span { color: var(--accent); }

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 44px;
  font-size: 1rem;
}

/* ============================================================
   GAME CARDS GRID
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.game-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-light);
  background: var(--bg-card-hover);
}

.card-thumb {
  height: 140px;
  position: relative;
  overflow: hidden;
}
.card-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: transform .3s;
}
.game-card:hover .card-thumb-inner { transform: scale(1.07); }

.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gold);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-hot      { background: #e53935; }
.badge-nuevo    { background: #00897b; }
.badge-jackpot  { background: linear-gradient(90deg,#7b2ff7,#f9c20a); }
.badge-top      { background: #b8860b; }
.badge-clasico  { background: #546e7a; }
.badge-popular  { background: var(--gold); }

.card-info {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.card-info h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.card-provider {
  font-size: .75rem;
  color: var(--text-light);
}
.card-play {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: auto;
}

/* ============================================================
   ARTICLE (main page content)
   ============================================================ */
.article-wrap { max-width: 900px; margin: 0 auto; }

.article-wrap h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.article-wrap h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 44px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
}

.article-wrap h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 28px 0 10px;
}

.article-wrap p { color: var(--text-secondary); margin-bottom: 16px; }

/* TOC */
.toc {
  background: #f0f4ff;
  border: 1.5px solid #bbdefb;
  border-radius: 12px;
  padding: 24px 28px;
  margin: 28px 0;
}
.toc h3 { font-size: 1rem; color: var(--accent); margin-bottom: 14px; font-weight: 700; }
.toc ol { padding-left: 18px; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text-secondary); font-size: .93rem; }
.toc a:hover { color: var(--accent); }

/* Info Table */
.info-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.info-table th, .info-table td { padding: 13px 18px; text-align: left; font-size: .92rem; border-bottom: 1px solid var(--border); }
.info-table th { background: var(--bg-dark); color: #fff; font-weight: 700; width: 40%; }
.info-table td { background: #fff; color: var(--text-secondary); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: #f8f9fa; }

/* Payment Table */
.payment-table { width: 100%; border-collapse: collapse; margin: 20px 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.payment-table thead tr { background: var(--accent); }
.payment-table thead th { color: #fff; padding: 13px 18px; font-size: .88rem; font-weight: 700; text-align: left; }
.payment-table tbody tr:nth-child(odd)  { background: #fff; }
.payment-table tbody tr:nth-child(even) { background: #f0f4ff; }
.payment-table td { padding: 12px 18px; font-size: .88rem; color: var(--text-secondary); border-bottom: 1px solid var(--border); }

/* Steps grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 24px 0;
}
.step-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-num {
  width: 36px; height: 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .95rem;
}
.step-card p { font-size: .88rem; color: var(--text-secondary); margin: 0; }

/* Bonus box */
.bonus-box {
  background: linear-gradient(135deg, #1a1a2e, #1565c0);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
  margin: 28px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bonus-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M20 0l5 15H40L28 24l5 15-13-9-13 9 5-15L0 15h15z'/%3E%3C/g%3E%3C/svg%3E");
}
.bonus-box > * { position: relative; z-index: 1; }
.bonus-box .bonus-tag {
  display: inline-block;
  background: rgba(245,124,0,.3);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.bonus-box h3 { font-size: 1.4rem; color: #fff; margin-bottom: 8px; }
.bonus-box .bonus-amount { font-size: 3rem; font-weight: 900; color: var(--gold); line-height: 1; margin: 10px 0; }
.bonus-box .bonus-spins  { color: #90caf9; font-size: 1.1rem; margin-bottom: 6px; }
.bonus-box .bonus-code   { color: #b0bec5; font-size: .9rem; }
.bonus-box .bonus-code strong { color: #fff; }
.bonus-box .btn-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f57c00, #ff6d00);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(245,124,0,.4);
  transition: transform .2s, box-shadow .2s;
  margin-top: 18px;
}
.bonus-box .btn-bonus:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,124,0,.55); color: #fff; }

/* Bonus list */
.bonus-list { list-style: none; padding: 0; margin: 20px 0; }
.bonus-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 10px;
  font-size: .92rem;
  color: var(--text-secondary);
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.bonus-list li .bi { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* Stats bar */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 28px 0;
}
.stat-item {
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px 28px;
  min-width: 150px;
  box-shadow: var(--shadow);
  flex: 1;
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--accent); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

/* Pros/Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.pros-card, .cons-card {
  border-radius: 12px;
  padding: 22px;
  border: 1.5px solid var(--border);
}
.pros-card { background: #f1f8e9; border-color: #a5d6a7; }
.cons-card { background: #fce4e4; border-color: #ef9a9a; }
.pros-card h4 { color: #2e7d32; margin-bottom: 14px; font-size: 1rem; }
.cons-card h4 { color: #c62828; margin-bottom: 14px; font-size: 1rem; }
.pros-card ul, .cons-card ul { list-style: none; padding: 0; }
.pros-card li, .cons-card li { font-size: .88rem; color: var(--text-secondary); margin-bottom: 8px; display: flex; gap: 8px; align-items: flex-start; }
.pros-card li::before { content: '✓'; color: #2e7d32; font-weight: 800; flex-shrink: 0; }
.cons-card li::before { content: '✗'; color: #c62828; font-weight: 800; flex-shrink: 0; }

/* Support cards */
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.support-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.support-card:hover { transform: translateY(-3px); border-color: var(--accent-light); }
.support-card .s-icon { font-size: 2.2rem; margin-bottom: 10px; }
.support-card h4 { color: var(--text-primary); font-size: .95rem; margin-bottom: 6px; }
.support-card p { font-size: .83rem; color: var(--text-light); margin: 0; }
.support-card a { color: var(--accent); font-size: .83rem; font-weight: 600; }

/* FAQ Accordion */
.faq-list { margin: 20px 0; }

.faq-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
  gap: 12px;
}
.faq-question:hover { background: #f0f4ff; }
.faq-question.open   { background: #e8f0fe; color: var(--accent); }

.faq-icon { font-size: 1.2rem; font-weight: 400; flex-shrink: 0; transition: transform .3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner { padding: 0 22px 20px; font-size: .9rem; color: var(--text-secondary); }

/* Comments */
.comments { margin: 24px 0; }
.comment-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.comment-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.comment-author { font-weight: 700; color: var(--text-primary); font-size: .93rem; }
.comment-date   { color: var(--text-light); font-size: .8rem; }
.comment-stars  { color: var(--gold); font-size: 1rem; }
.comment-text   { color: var(--text-secondary); font-size: .88rem; line-height: 1.6; }

/* ============================================================
   SLOT PAGE SPECIFIC
   ============================================================ */
.slot-hero {
  padding: 60px 24px 50px;
  background: linear-gradient(135deg, #1a1a2e 0%, #1565c0 100%);
  color: #fff;
  text-align: center;
}
.slot-hero-badge {
  display: inline-block;
  background: rgba(245,124,0,.25);
  border: 1px solid rgba(245,124,0,.5);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.slot-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.slot-hero p { color: #90caf9; max-width: 600px; margin: 0 auto 20px; font-size: 1rem; }
.slot-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.slot-meta-item {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 10px 18px;
  font-size: .82rem;
  color: #cfd8e3;
}
.slot-meta-item strong { display: block; color: #fff; font-size: .95rem; }

.slot-thumb-big {
  width: 260px;
  height: 180px;
  border-radius: 16px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}

.slot-cta-bar {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin: 28px 0;
  text-align: center;
  box-shadow: var(--shadow);
}
.slot-cta-bar h3 { color: var(--text-primary); margin-bottom: 6px; }
.slot-cta-bar p  { color: var(--text-secondary); font-size: .88rem; margin-bottom: 16px; }
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f57c00, #ff6d00);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(245,124,0,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,124,0,.5); color: #fff; }

/* Spec table (slot pages) */
.spec-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 12px 18px; font-size: .9rem; border-bottom: 1px solid var(--border); }
.spec-table th { background: var(--accent); color: #fff; font-weight: 700; width: 40%; }
.spec-table td { background: #fff; color: var(--text-secondary); }
.spec-table tr:nth-child(even) td { background: #f8f9fa; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

/* Game nav breadcrumb */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-size: .82rem;
  color: var(--text-light);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: #90a4ae;
  padding: 56px 24px 28px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}

.footer-brand .logo { margin-bottom: 12px; display: inline-block; }

.footer-brand p {
  font-size: .82rem;
  line-height: 1.7;
  color: #78909c;
  max-width: 280px;
}

.footer-col h4 {
  color: #cfd8e3;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: #78909c;
  font-size: .83rem;
  text-decoration: none;
  transition: color .2s;
}
.footer-col a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  font-size: .75rem;
  color: #546e7a;
  line-height: 1.6;
  max-width: 700px;
}

.footer-age {
  background: #c62828;
  color: #fff;
  font-weight: 900;
  font-size: .9rem;
  padding: 6px 14px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-0  { margin-top: 0 !important; }
.mb-24 { margin-bottom: 24px; }
.mb-0  { margin-bottom: 0 !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; }
  nav { order: 3; width: 100%; justify-content: center; gap: 4px; padding-bottom: 8px; }
  nav a { font-size: .75rem; padding: 6px 10px; }
  .header-btns { gap: 8px; }
  .btn-login, .btn-register { padding: 8px 14px; font-size: .78rem; }

  .hero { padding: 60px 16px 50px; }
  .hero-bonus { padding: 16px 24px; }

  .pros-cons { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-bar { gap: 12px; }
  .stat-item { min-width: 130px; padding: 14px 18px; }
}

@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .article-wrap h2 { font-size: 1.2rem; }
  .bonus-box { padding: 24px 20px; }
  .slot-thumb-big { width: 180px; height: 130px; font-size: 4rem; }
  .slot-meta-row { gap: 10px; }
}

/* --- ARTICLE IMAGES --- */
.article-img-wrap {
  margin: 28px 0;
  text-align: center;
}
.article-img-wrap img {
  width: 100%;
  max-width: 720px;
  height: auto;
  min-height: 220px;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: inline-block;
  object-fit: cover;
  background: #f0f4ff;
  color: #555;
  font-size: 0.9rem;
  vertical-align: middle;
  line-height: 220px;
}
.article-img-wrap figcaption {
  font-size: 0.82rem;
  color: #888;
  margin-top: 8px;
  font-style: italic;
}

/* === GAME CARDS (unified format = site 1) === */
.games-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.game-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.game-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(30,144,255,0.2);
  border-color: var(--accent);
}
.game-thumb {
  position: relative;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.game-icon {
  font-size: 48px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
  z-index: 1;
}
.game-card:hover .game-icon { transform: scale(1.15); }
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.82);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.game-overlay span {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}
.badge-popular { background: var(--accent); color: #fff; }
.badge-nuevo   { background: #28a745; color: #fff; }
.badge-hot     { background: #dc3545; color: #fff; }
.badge-jackpot { background: #f57c00; color: #000; }
.badge-top     { background: #9b59b6; color: #fff; }
.badge-clasico { background: #6c757d; color: #fff; }
.game-name {
  padding: 10px 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1024px) { .games-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .games-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- AUTHOR BLOCK --- */
.author-section {
  background: var(--bg-secondary);
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px;
  max-width: 860px;
}
.author-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent);
  background: var(--bg-primary);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.author-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
}
.author-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.author-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}
.author-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.author-social-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.author-social-link:hover {
  background: var(--accent);
  color: #fff;
}
@media (max-width: 600px) {
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .author-socials { justify-content: center; }
}

/* --- RELATED SLOTS --- */
.related-slots { padding: 40px 0; background: var(--bg-secondary); }
.related-slots h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; color: var(--text-primary); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 1024px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,22,40,0.97);
  border-top: 2px solid var(--accent);
  padding: 14px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 99999;
  flex-wrap: wrap;
  backdrop-filter: blur(8px);
}
.cookie-banner.visible { display: flex; }
.cookie-text {
  font-size: 0.85rem;
  color: #ccc;
  flex: 1;
  min-width: 200px;
}
.cookie-text a { color: var(--accent); text-decoration: underline; }
.cookie-btn-accept {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.cookie-btn-accept:hover { opacity: 0.85; }
.cookie-btn-decline {
  background: transparent;
  color: #888;
  border: 1px solid #555;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; text-align: center; }
}

/* --- SLOT CARD IMAGES --- */
.game-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: 0;
  display: block;
}
.game-thumb .game-icon    { position: relative; z-index: 1; }
.game-thumb .game-overlay { z-index: 3; }
.game-thumb .game-badge   { z-index: 4; }

/* --- SLOT PAGE IMAGES --- */
.slot-main-img {
  margin: 20px 0 28px;
  border-radius: 12px;
  overflow: hidden;
  max-width: 720px;
}
.slot-main-img img {
  width: 100%;
  height: auto;
  min-height: 200px;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-card);
}
.slot-thumb-big {
  position: relative;
  overflow: hidden;
}
.slot-thumb-big img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  display: block;
}
.slot-thumb-big > :not(img) { position: relative; z-index: 1; }

/* --- SLOT MAIN IMG FIX --- */
.slot-main-img {
  margin: 0 0 24px 24px;
  float: right;
  width: 220px;
  border-radius: 12px;
  overflow: hidden;
  clear: right;
}
.slot-main-img img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-card);
}
@media (max-width: 600px) {
  .slot-main-img {
    float: none;
    margin: 0 auto 20px;
    width: 160px;
  }
}

/* --- SLOT THUMB BIG IMAGE FIX --- */
.slot-thumb-big img {
  position: static !important;
  width: auto !important;
  height: 100% !important;
  max-height: 280px;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.slot-thumb-big {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 16px;
}

/* --- HIDE EMOJI WHEN IMAGE PRESENT IN SLOT THUMB BIG --- */
.slot-thumb-big { font-size: 0; color: transparent; }
.slot-thumb-big img {
  font-size: 1rem;
  color: inherit;
  display: block;
  margin: 0 auto;
  max-height: 280px;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* --- SLOT TABLE --- */
.slot-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(21,101,192,0.1);
  font-size: 0.9rem;
}
.slot-table thead tr { background: #1565c0; }
.slot-table thead th { padding: 13px 18px; text-align: left; color: #fff; font-weight: 700; font-size: 0.85rem; }
.slot-table tbody tr:nth-child(odd)  { background: #ffffff; }
.slot-table tbody tr:nth-child(even) { background: #f0f4ff; }
.slot-table tbody tr:hover { background: #dce8ff; }
.slot-table tbody th { padding: 12px 18px; font-weight: 700; color: #1565c0; text-align: left; border-right: 1px solid #dee2e6; width: 42%; }
.slot-table tbody td { padding: 12px 18px; color: #1a1a2e; border-bottom: 1px solid #dee2e6; }

/* --- CONTRAST FIXES --- */
.badge-nuevo { background: #1a7a30 !important; color: #fff !important; }
figcaption { color: #37474f; }
