/* ============================================
   FRAGA CASINO ARGENTINA — css/style.css
   Design system: Dark Navy + Red + Gold
   ============================================ */

/* 1. VARIABLES */
:root {
  --bg:       #0D1422;
  --bg2:      #111827;
  --card:     #192030;
  --card2:    #141C2B;
  --card3:    #1E2840;

  --red:      #E8193C;
  --red2:     #C0112B;
  --red3:     #FF4B6B;
  --gold:     #FFB800;
  --gold2:    #FFD84D;
  --green:    #00C853;

  --text:     #F0F4FF;
  --muted:    #8895A7;
  --subtle:   #6B7A8D;

  --border:   rgba(255,255,255,0.07);
  --border2:  rgba(255,255,255,0.13);

  --grad-red:    linear-gradient(135deg, #E8193C 0%, #FF4B6B 100%);
  --grad-gold:   linear-gradient(135deg, #FFB800 0%, #FFD84D 100%);
  --grad-dark:   linear-gradient(160deg, #1E2840 0%, #0D1422 100%);
  --grad-hero:   linear-gradient(120deg, #0D1422 0%, #180A18 50%, #0D1422 100%);

  --shadow-red:  0 8px 32px rgba(232,25,60,0.30);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.5);

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; color: var(--text); }

/* 2b. FOCUS VISIBLE — keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 3px;
}

/* 2c. VISUALLY HIDDEN — screen readers only */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* 3. TYPOGRAPHY */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 700; }
p { margin-bottom: .9rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.text-red    { color: var(--red); }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--text); }
.text-muted  { color: var(--muted); }
.text-green  { color: var(--green); }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-lg     { font-size: 1.1rem; }
.text-sm     { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.uppercase   { text-transform: uppercase; letter-spacing: 1px; }

.grad-text {
  background: var(--grad-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.grad-gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 4. LAYOUT */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 22px; }
.section    { padding: 80px 0; }
.section-sm { padding: 52px 0; }
.section-xs { padding: 32px 0; }
.mb-0  { margin-bottom: 0 !important; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.grid-2   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3   { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-5   { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.grid-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 32px; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.align-center { align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* 5. SKIP LINK */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--red); color: #fff;
  padding: 8px 18px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .9rem; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* 6. COOKIE BANNER */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #101929; border-top: 2px solid var(--red);
  padding: 16px 24px; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
#cookie-banner p { margin: 0; font-size: .85rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-ok {
  background: var(--grad-red); color: #fff;
  font-size: .82rem; font-weight: 800;
  padding: 8px 22px; border-radius: var(--r-sm);
  transition: opacity .2s;
}
.btn-cookie-ok:hover { opacity: .9; }
.btn-cookie-no {
  background: transparent; border: 1px solid var(--border2);
  color: var(--muted); font-size: .82rem; font-weight: 600;
  padding: 8px 16px; border-radius: var(--r-sm);
}

/* 7. TICKER */
.ticker {
  background: var(--red2);
  height: 38px; overflow: hidden;
  display: flex; align-items: center;
}
.ticker-inner { display: flex; overflow: hidden; flex: 1; }
.ticker-track {
  display: flex; align-items: center; gap: 64px;
  animation: tickerMove 35s linear infinite;
  white-space: nowrap; padding: 0 16px;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.88); display: flex; align-items:center; gap: 6px; flex-shrink: 0; }
.ticker-win  { color: #FFD84D; font-weight: 900; }
@keyframes tickerMove { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 8. NAVIGATION */
.nav {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(13,20,34,.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.nav-inner {
  display: flex; align-items: center; gap: 28px;
  height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.logo-img { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-size: 1.25rem; font-weight: 900; color: var(--text); letter-spacing: 1.5px; }
.logo-sub   { font-size: .6rem; font-weight: 700; color: var(--red); letter-spacing: 3px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 13px;
  border-radius: var(--r-xs);
  font-size: .88rem; font-weight: 600; color: var(--muted);
  transition: all .2s; position: relative;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-links a.active { color: var(--text); font-weight: 700; }
.nav-links a.active::after {
  content: ''; position: absolute;
  bottom: -1px; left: 13px; right: 13px;
  height: 2px; background: var(--red);
  border-radius: 2px 2px 0 0;
}

.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-nav-reg {
  background: var(--grad-red); color: #fff;
  font-size: .88rem; font-weight: 800;
  padding: 10px 22px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; gap: 7px;
  transition: all .25s; box-shadow: var(--shadow-red);
}
.btn-nav-reg:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(232,25,60,.42); }
.btn-nav-login {
  background: rgba(255,255,255,.07); border: 1px solid var(--border2);
  color: var(--text); font-size: .88rem; font-weight: 600;
  padding: 10px 16px; border-radius: var(--r-md); transition: background .2s;
}
.btn-nav-login:hover { background: rgba(255,255,255,.12); }

.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.9);
  animation: pulseDot 1.6s ease infinite; flex-shrink: 0;
}
@keyframes pulseDot { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.4); opacity: .6; } }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 9px 7px; border-radius: var(--r-xs);
  transition: background .2s; margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 9. MOBILE MENU */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 999; padding: 84px 20px 32px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.25,.1,.25,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu > a {
  display: block; padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 1.05rem; font-weight: 700; color: var(--muted);
  border-bottom: 1px solid var(--border); transition: .2s;
}
.mobile-menu > a:hover, .mobile-menu > a.active { color: var(--text); background: rgba(255,255,255,.04); }
.mm-footer {
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.mm-btn-reg {
  display: block; padding: 15px; text-align: center;
  background: var(--grad-red); color: #fff;
  font-size: 1rem; font-weight: 900; border-radius: var(--r-lg);
  box-shadow: var(--shadow-red);
}
.mm-btn-login {
  display: block; padding: 13px; text-align: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--border2);
  color: var(--text); font-size: .9rem; font-weight: 700;
  border-radius: var(--r-md);
}

/* 10. BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px; border-radius: var(--r-md);
  font-size: .95rem; font-weight: 800; transition: all .22s; cursor: pointer; border: none;
}
.btn-red  { background: var(--grad-red);  color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover  { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(232,25,60,.45); }
.btn-gold { background: var(--grad-gold); color: #0D1422; }
.btn-gold:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; border: 2px solid var(--border2); color: var(--text); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-outline-red { background: transparent; border: 2px solid var(--red); color: var(--red); }
.btn-outline-red:hover { background: rgba(232,25,60,.08); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-xl { padding: 22px 52px; font-size: 1.2rem; border-radius: var(--r-lg); }
.btn-full { width: 100%; }

/* 11. SECTION LABELS */
.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .75rem; font-weight: 800; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--red); border-radius: 2px; }
.divider { width: 48px; height: 3px; background: var(--grad-red); border-radius: 2px; margin-top: 12px; }
.section-header { margin-bottom: 48px; }

/* 12. CARDS */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.card-p  { padding: 24px; }
.card-p2 { padding: 20px; }
.card-red-bar { border-top: 3px solid var(--red); }
.card-glass {
  background: rgba(25,32,48,.75); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg);
}
.card-highlight {
  background: linear-gradient(135deg, rgba(232,25,60,.08) 0%, var(--card) 100%);
  border: 1px solid rgba(232,25,60,.18);
}

/* 13. GAME CARDS */
.game-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  transition: all .3s;
}
.game-card:hover { transform: translateY(-5px); box-shadow: 0 10px 36px rgba(232,25,60,.22); border-color: rgba(232,25,60,.3); }
.game-thumb { width: 100%; aspect-ratio: 4/2.5; background: var(--card2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-body  { padding: 14px; }
.game-badge { position: absolute; top: 10px; right: 10px; background: var(--grad-red); color: #fff; font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 20px; }
.game-title { font-weight: 700; font-size: .92rem; color: var(--text); margin-bottom: 4px; }
.game-meta  { display: flex; gap: 10px; font-size: .76rem; color: var(--muted); }
.game-rtp   { color: var(--gold); font-weight: 700; }

/* 14. HERO */
.hero {
  position: relative; min-height: 580px;
  display: flex; align-items: center;
  overflow: hidden; padding: 80px 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 80% at 75% 50%, rgba(232,25,60,.14) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  top: -120px; right: -60px;
  width: 520px; height: 520px; border-radius: 50%;
  background: rgba(232,25,60,.06);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(232,25,60,.1); border: 1px solid rgba(232,25,60,.25);
  border-radius: 40px; padding: 6px 16px;
  font-size: .76rem; font-weight: 700; color: var(--red3); margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulseDot 1.5s infinite; }
.hero-title { margin-bottom: 20px; }
.hero-desc  { font-size: 1.05rem; color: var(--muted); margin-bottom: 32px; max-width: 520px; }
.hero-btns  { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); }
.hero-stat  { display: flex; flex-direction: column; }
.hero-stat-n { font-size: 1.7rem; font-weight: 900; color: var(--text); line-height: 1; }
.hero-stat-l { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }
.hero-visual {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 44%; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 1;
}

/* 15. TRUST BADGES */
.trust-bar {
  background: var(--card2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 20px 0;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 1.5rem; flex-shrink: 0; }
.trust-label { font-size: .78rem; font-weight: 800; color: var(--text); line-height: 1; }
.trust-sub   { font-size: .68rem; color: var(--muted); }

/* 16. TABLES */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
thead { background: var(--red); }
thead th { padding: 13px 18px; font-size: .83rem; font-weight: 800; color: #fff; text-align: left; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,.025); }
tbody td { padding: 13px 18px; font-size: .88rem; color: var(--muted); vertical-align: middle; white-space: nowrap; }
tbody td:first-child { color: var(--text); font-weight: 600; }
tbody td strong { color: var(--text); }
.row-gold { background: rgba(255,184,0,.05) !important; }
.row-top td:first-child::before { content: '🏆 '; }

.badge {
  display: inline-flex; padding: 3px 10px;
  border-radius: 20px; font-size: .72rem; font-weight: 700;
}
.badge-green  { background: rgba(0,200,83,.12);  color: #00C853; }
.badge-red    { background: rgba(232,25,60,.12);  color: var(--red3); }
.badge-gold   { background: rgba(255,184,0,.12);  color: var(--gold); }
.badge-blue   { background: rgba(59,130,246,.12); color: #60A5FA; }
.badge-purple { background: rgba(139,92,246,.12); color: #A78BFA; }
.badge-gray   { background: rgba(255,255,255,.07);color: var(--muted); }

/* 17. CHARTS */
.chart-box {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px;
}
.chart-title {
  font-size: .93rem; font-weight: 800; color: var(--text);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.chart-title .bar { width: 3px; height: 18px; background: var(--grad-red); border-radius: 2px; flex-shrink: 0; }
canvas { max-height: 340px !important; }

/* 18. ACCORDION / FAQ */
.faq-wrap { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; background: var(--card2); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; cursor: pointer;
  font-weight: 700; font-size: .93rem; color: var(--text);
  transition: background .2s; text-align: left;
}
.faq-q:hover { background: rgba(255,255,255,.03); }
.faq-arrow { font-size: 1.1rem; color: var(--red); transition: transform .3s; flex-shrink: 0; margin-left: 12px; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-body-inner { padding: 2px 20px 18px; font-size: .88rem; color: var(--muted); line-height: 1.75; }

/* 19. BONUS CARDS */
.bonus-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  transition: all .3s;
}
.bonus-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(232,25,60,.18); }
.bonus-head {
  background: var(--grad-red); padding: 30px 28px 24px;
  position: relative;
}
.bonus-head::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 22px; background: var(--card);
  border-radius: 50% 50% 0 0 / 22px 22px 0 0;
}
.bonus-amount  { font-size: 2.6rem; font-weight: 900; color: #fff; line-height: 1; }
.bonus-type    { font-size: .75rem; font-weight: 700; color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: 2px; margin-top: 6px; }
.bonus-body    { padding: 20px 28px 28px; }
.bonus-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.bonus-row:last-child { border-bottom: none; }
.bonus-row-k { font-size: .8rem; color: var(--muted); }
.bonus-row-v { font-size: .9rem; font-weight: 700; color: var(--text); }
.bonus-crown { position: absolute; top: 14px; right: 18px; font-size: 1.4rem; }

/* 20. PROGRESS BARS */
.bar-wrap     { margin-bottom: 14px; }
.bar-header   { display: flex; justify-content: space-between; font-size: .83rem; margin-bottom: 6px; }
.bar-track    { height: 8px; background: rgba(255,255,255,.07); border-radius: 4px; overflow: hidden; }
.bar-fill     { height: 100%; border-radius: 4px; background: var(--grad-red); width: 0; transition: width 1.4s ease; }
.bar-fill-g   { background: var(--grad-gold); }
.bar-fill-gr  { background: linear-gradient(90deg, #00C853, #00E676); }
.bar-fill-bl  { background: linear-gradient(90deg, #3B82F6, #60A5FA); }

/* 21. STEPS */
.steps-v { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 52px; }
.steps-v::before { content: ''; position: absolute; left: 22px; top: 20px; bottom: 20px; width: 2px; background: var(--border2); }
.step-item { position: relative; padding: 0 0 28px 0; }
.step-item:last-child { padding-bottom: 0; }
.step-num {
  position: absolute; left: -52px; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-red); color: #fff;
  font-size: 1.1rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: var(--shadow-red);
}
.step-title { font-weight: 800; color: var(--text); margin-bottom: 6px; }
.step-desc  { font-size: .88rem; color: var(--muted); }

/* 22. RATING */
.stars       { color: var(--gold); letter-spacing: 2px; }
.rating-big  { font-size: 2.8rem; font-weight: 900; color: var(--text); line-height: 1; }
.rating-label{ font-size: .78rem; color: var(--muted); }

/* 23. TAGS */
.tag { display: inline-flex; padding: 4px 12px; border-radius: 20px; font-size: .74rem; font-weight: 700; background: rgba(255,255,255,.07); color: var(--muted); border: 1px solid var(--border); }
.tag-red  { background: rgba(232,25,60,.1);  color: var(--red3); border-color: rgba(232,25,60,.2); }
.tag-gold { background: rgba(255,184,0,.1);  color: var(--gold); border-color: rgba(255,184,0,.2); }
.tag-blue { background: rgba(59,130,246,.1); color: #60A5FA; border-color: rgba(59,130,246,.2); }

/* 24. STAT BOXES */
.stat-box { background: var(--card2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; text-align: center; transition: all .25s; }
.stat-box:hover { border-color: rgba(232,25,60,.25); }
.stat-n   { font-size: 2.2rem; font-weight: 900; line-height: 1; margin-bottom: 6px; }
.stat-l   { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* 25. PROVIDER CHIPS */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 9px 16px;
  font-size: .82rem; font-weight: 700; color: var(--muted);
  transition: all .2s; cursor: default;
}
.chip:hover { border-color: rgba(232,25,60,.3); color: var(--text); background: rgba(232,25,60,.05); }

/* 26. BLOG CARDS */
.blog-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all .25s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--border2); }
.blog-thumb { width: 100%; aspect-ratio: 16/9; background: var(--card2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-body  { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat   { font-size: .7rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.blog-title { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 8px; line-height: 1.4; }
.blog-excerpt { font-size: .85rem; color: var(--muted); flex: 1; margin-bottom: 16px; }
.blog-meta  { display: flex; gap: 14px; font-size: .74rem; color: var(--subtle); }

/* 27. CALLOUT */
.callout {
  background: rgba(232,25,60,.06); border-left: 3px solid var(--red);
  border-radius: var(--r-md); padding: 16px 20px;
}
.callout-gold { background: rgba(255,184,0,.06); border-left-color: var(--gold); }
.callout-green { background: rgba(0,200,83,.06); border-left-color: var(--green); }

/* 28. SPORTS / MATCH CARDS */
.match-card {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; transition: all .2s;
}
.match-card:hover { border-color: rgba(232,25,60,.2); transform: translateY(-1px); }
.match-league { font-size: .68rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.match-teams  { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.match-team   { font-size: .88rem; font-weight: 700; color: var(--text); display: flex; align-items: center; gap: 7px; }
.match-time   { font-size: .7rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.odds-row     { display: flex; gap: 6px; }
.odd-btn {
  background: rgba(255,255,255,.07); border: 1px solid var(--border2);
  border-radius: var(--r-xs); padding: 7px 13px;
  font-size: .85rem; font-weight: 800; color: var(--text);
  transition: all .2s; cursor: pointer;
}
.odd-btn:hover, .odd-btn.active {
  background: rgba(232,25,60,.12);
  border-color: rgba(232,25,60,.35); color: var(--red3);
}

/* 29. AUTHOR */
.author-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px;
  display: flex; gap: 32px; align-items: flex-start;
}
.author-photo {
  width: 130px; height: 130px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden; border: 3px solid rgba(232,25,60,.3);
  background: var(--grad-dark);
}
.author-photo img { width: 100%; height: 100%; object-fit: cover; }
.author-name  { font-size: 1.6rem; font-weight: 900; }
.author-role  { font-size: .85rem; color: var(--red); font-weight: 700; margin-bottom: 12px; }
.author-tag: { display: inline-flex; padding: 3px 12px; font-size: .72rem; font-weight: 700; border-radius: 20px; }

/* 30. BREADCRUMB */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--subtle); }
.breadcrumb .cur { color: var(--text); }

/* 31. PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, rgba(232,25,60,.07) 0%, transparent 55%);
  border-bottom: 1px solid var(--border); padding: 48px 0 44px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute;
  top: -80px; right: -40px;
  width: 360px; height: 360px;
  border-radius: 50%; background: rgba(232,25,60,.05);
  pointer-events: none;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); margin-bottom: 12px; }
.page-hero p  { font-size: .98rem; color: var(--muted); max-width: 580px; }

/* 32. LIVE BADGE */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(0,200,83,.1); border: 1px solid rgba(0,200,83,.2);
  border-radius: 20px; padding: 3px 10px;
  font-size: .72rem; font-weight: 800; color: #00C853;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #00C853; animation: pulseDot 1s infinite; }

/* 33. TIMELINE */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--border2); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-dot  { position: absolute; left: -24px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(232,25,60,.15); }
.tl-date { font-size: .73rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.tl-title{ font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.tl-desc { font-size: .85rem; color: var(--muted); }

/* 34. GAMBLING DISCLAIMER */
.disclaimer {
  background: rgba(20,28,43,1); border-top: 1px solid rgba(232,25,60,.15);
  padding: 14px 0; text-align: center;
}
.disclaimer p {
  font-size: .74rem; color: var(--muted); margin: 0; line-height: 1.65;
}
.disclaimer a { color: var(--red); text-decoration: underline; }
.disclaimer strong { color: var(--text); }

/* 35. FOOTER */
.footer { background: #080D18; border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 52px; padding-bottom: 52px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-about { font-size: .83rem; color: var(--muted); line-height: 1.75; margin-bottom: 20px; }
.footer-heading { font-size: .73rem; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .85rem; color: var(--muted); transition: color .2s; display: flex; align-items: center; gap: 5px; }
.footer-links a::before { content: '›'; color: var(--red); font-weight: 700; transition: transform .2s; }
.footer-links a:hover { color: var(--red); }
.footer-links a:hover::before { transform: translateX(2px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .75rem; color: var(--subtle); margin: 0; }
.age-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: .7rem; font-weight: 900;
  flex-shrink: 0;
}
.pay-icons { display: flex; gap: 7px; flex-wrap: wrap; }
.pay-icon {
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 9px;
  font-size: .7rem; font-weight: 700; color: var(--muted);
}

/* 36. SEO CONTENT BOX */
.seo-content {
  background: var(--card2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 36px;
}
.seo-content h2 { font-size: 1.5rem; color: var(--text); margin: 24px 0 12px; }
.seo-content h3 { font-size: 1.15rem; color: var(--text); margin: 20px 0 10px; }
.seo-content p  { font-size: .9rem; color: var(--muted); line-height: 1.85; }
.seo-content ul { list-style: disc; padding-left: 18px; margin: 0 0 1rem; }
.seo-content ul li { font-size: .9rem; color: var(--muted); margin-bottom: 6px; }
.seo-content h2:first-child { margin-top: 0; }

/* 37. SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; }
.sidebar-heading { font-size: .8rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text); padding-bottom: 12px; border-bottom: 2px solid var(--red); margin-bottom: 16px; display: block; }

/* 38. FORM ELEMENTS */
.form-field   { margin-bottom: 20px; }
.form-label   { display: block; font-size: .85rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-input   { width: 100%; background: var(--card2); border: 1.5px solid var(--border2); border-radius: var(--r-md); padding: 13px 16px; color: var(--text); font-size: .93rem; transition: border-color .2s; }
.form-input:focus { border-color: var(--red); }
.form-input::placeholder { color: var(--subtle); }
.form-hint    { font-size: .76rem; color: var(--subtle); margin-top: 5px; }

/* 39. APP MOCKUP */
.phone-mock {
  width: 260px; max-width: 100%;
  background: var(--card2); border: 2px solid var(--border2);
  border-radius: 36px; padding: 16px 10px 28px;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(232,25,60,.12);
  position: relative; flex-shrink: 0;
}
.phone-notch { width: 80px; height: 6px; background: var(--border2); border-radius: 3px; margin: 0 auto 12px; }
.phone-screen { background: var(--bg2); border-radius: 24px; overflow: hidden; aspect-ratio: 9/16; }

/* 40. MISC */
.divider-v { width: 1px; background: var(--border); align-self: stretch; }
.separator { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ===========================
   ANIMATIONS
   =========================== */
[data-aos] { opacity: 0; transition: opacity .5s ease, transform .5s ease; }
[data-aos="fade-up"] { transform: translateY(22px); }
[data-aos="fade-right"] { transform: translateX(-20px); }
[data-aos="fade-left"]  { transform: translateX(20px); }
[data-aos].aos-in { opacity: 1; transform: none; }

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .grid-2-1, .grid-3-2, .grid-1-2 { grid-template-columns: 1fr; }
  .hero-visual { width: 40%; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-visual { display: none; }
  .hero-btns { flex-direction: column; }
  .hero { padding: 60px 0 48px; min-height: auto; }
  canvas { max-height: 260px !important; }
  .table-wrap { margin-left: -22px; margin-right: -22px; border-radius: 0; border-left: none; border-right: none; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .auth-card { padding: 30px 22px; }
  .bonus-body { padding: 16px 22px 22px; }
  .seo-content { padding: 24px 20px; }
  .page-hero { padding: 36px 0 32px; }
}
/* PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-aos] { transition: none !important; }
  .live-dot, .pulse { animation: none !important; }
}

/* FORCED COLORS — Windows High Contrast */
@media (forced-colors: active) {
  .btn-red, .btn-gold { border: 2px solid ButtonText; forced-color-adjust: none; }
  .age-badge { border: 2px solid ButtonText; forced-color-adjust: none; }
  .card { border: 1px solid ButtonText; }
  a:focus-visible, button:focus-visible { outline: 3px solid Highlight; }
}

/* PRINT */
@media print {
  .nav, .mobile-menu, .ticker-wrap, .hamburger, .nav-cta,
  #cookie-banner, .disclaimer, .gambling-btn, .btn-red, .btn-gold {
    display: none !important;
  }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .container { max-width: 100%; padding: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .btn-xl { padding: 16px 28px; font-size: 1rem; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .hero-stats { gap: 20px; }
  canvas { max-height: 220px !important; }
  .match-card .odds-row { display: none; }
  .phone-mock { width: 220px; }
  .steps-v { padding-left: 44px; }
  .step-num { left: -44px; width: 36px; height: 36px; font-size: .95rem; }
}

/* ===== FRAGA REAL BRAND + PHOTO REFRESH ===== */
:root {
  --bg: #080d20;
  --bg2: #0d1328;
  --card: #121a35;
  --card2: #0f172e;
  --card3: #172244;
  --red: #ff315d;
  --red2: #d91f48;
  --red3: #ff7d96;
  --gold: #ffd31f;
  --gold2: #ffe56b;
  --grad-red: linear-gradient(135deg, #ff315d 0%, #ff5d7d 62%, #ffd31f 100%);
  --grad-gold: linear-gradient(135deg, #ffd31f 0%, #ff7d2e 100%);
  --shadow-red: 0 8px 32px rgba(255,49,93,0.30);
}

body.page-home { --page-hero-photo: url('/images/hero-home.webp'); }
body.page-casino, body.page-tragamonedas { --page-hero-photo: url('/images/hero-casino.webp'); }
body.page-bonos { --page-hero-photo: url('/images/hero-bonos.webp'); }
body.page-apuestas { --page-hero-photo: url('/images/hero-apuestas.webp'); }
body.page-app, body.page-auth { --page-hero-photo: url('/images/hero-app.webp'); }
body.page-blog { --page-hero-photo: url('/images/card-12.webp'); }
body.page-autor { --page-hero-photo: url('/images/autor-matias-garcia.webp'); }
body.page-legal { --page-hero-photo: url('/images/hero-home.webp'); }

.logo {
  width: clamp(138px, 15vw, 196px);
  height: 54px;
  background: url('/images/fraga-logo.webp') left center / contain no-repeat;
}
.logo-img,
.logo-text {
  display: none !important;
}
.footer-logo {
  min-height: 48px;
  padding-left: 150px;
  background: url('/images/fraga-logo.webp') left center / 138px auto no-repeat;
}
.footer-logo img,
.footer-logo .logo-text {
  display: none !important;
}

.hero {
  background:
    linear-gradient(90deg, rgba(8,13,32,.98), rgba(8,13,32,.82) 48%, rgba(8,13,32,.38)),
    var(--page-hero-photo) center / cover no-repeat;
}
.hero-bg { display: none; }
.hero-visual img {
  width: min(560px, 100%);
  border-radius: 24px;
  border: 1px solid rgba(255,49,93,.28);
  box-shadow: 0 22px 70px rgba(0,0,0,.44), 0 0 50px rgba(255,49,93,.16);
}
.page-hero {
  background:
    linear-gradient(90deg, rgba(8,13,32,.96), rgba(8,13,32,.84) 55%, rgba(8,13,32,.48)),
    var(--page-hero-photo) center / cover no-repeat !important;
}
.game-card-img,
.blog-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--card2);
}
.game-card,
.blog-card,
.bonus-card,
.card,
.chart-box,
.stat-box {
  min-width: 0;
}
.autor-photo img,
.author-photo img {
  object-fit: cover;
}

@media (max-width: 900px) {
  .logo { width: 142px; height: 50px; }
  .footer-logo { padding-left: 136px; background-size: 124px auto; }
  .hero,
  .page-hero {
    background:
      linear-gradient(180deg, rgba(8,13,32,.94), rgba(8,13,32,.86)),
      var(--page-hero-photo) center / cover no-repeat !important;
  }
}
@media (max-width: 430px) {
  .logo { width: 132px; }
  .nav-inner { gap: 10px; }
}

/* ===== MOBILE HARDENING FOR CARDS, CHARTS AND TABLES ===== */
.chart-wrap,
.table-container,
.game-card,
.blog-card,
.bonus-card,
.card,
.seo-box,
.seo-content,
.sidebar-box,
.match-card,
.stat-box {
  min-width: 0;
  max-width: 100%;
}

.chart-wrap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  overflow: hidden;
}

.chart-wrap canvas,
.chart-box canvas {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
}

.table-container,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.game-card-img {
  height: auto !important;
}

.game-card-body,
.bonus-card-body,
.blog-body {
  min-width: 0;
}

.game-card-title,
.blog-title,
.bonus-card h3,
.chart-title,
.page-hero-title,
.hero-title {
  overflow-wrap: anywhere;
}

.game-card-meta,
.blog-meta,
.odds-row,
.hero-stats {
  min-width: 0;
}

@media (max-width: 768px) {
  .container,
  .container-wide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .grid-2,
  .grid-3,
  .grid-3-1,
  .grid-3-2,
  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr !important;
  }

  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .section-header {
    align-items: flex-start !important;
    text-align: left;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .chart-wrap,
  .chart-box {
    padding: 18px 14px;
    border-radius: var(--r-md);
  }

  .chart-title {
    font-size: .88rem;
    line-height: 1.35;
    margin-bottom: 14px;
  }

  .chart-wrap canvas,
  .chart-box canvas {
    min-height: 220px;
    max-height: 260px !important;
  }

  .table-container,
  .table-wrap {
    margin-left: -16px !important;
    margin-right: -16px !important;
    width: calc(100% + 32px);
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  table {
    min-width: 620px;
  }

  .bonus-card-header,
  .bonus-head {
    padding: 24px 22px 20px !important;
  }

  .bonus-card-body,
  .bonus-body,
  .card-p,
  .card-p2,
  .seo-box,
  .seo-content {
    padding: 20px !important;
  }

  .match-card {
    align-items: stretch;
    flex-direction: column;
  }

  .odds-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .odd-btn {
    min-width: 0;
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 520px) {
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr !important;
  }

  .hero-btns,
  .hero-btns .btn,
  .btn-full {
    width: 100%;
  }

  .btn,
  .btn-lg,
  .btn-xl {
    width: 100%;
    white-space: normal;
    text-align: center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .game-card-img,
  .blog-thumb img {
    aspect-ratio: 16 / 11;
  }

  .chart-wrap canvas,
  .chart-box canvas {
    min-height: 200px;
    max-height: 230px !important;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo {
    min-height: 44px;
    padding-left: 122px;
    background-size: 112px auto;
  }
}
