@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   WINAMAX-CASINOS.ES — Complete Stylesheet
   Brand: Red #E21832 | Dark #0A0A0A | DGOJ Licensed
   ============================================================ */

/* ------ Variables ------ */
:root {
  --dark:        #0A0A0A;
  --dark-mid:    #111111;
  --dark-card:   #181818;
  --dark-el:     #222222;
  --dark-hover:  #2C2C2C;
  --red:         #E21832;
  --red-lt:      #FF2D42;
  --red-dk:      #AA0F20;
  --red-glow:    rgba(226,24,50,.28);
  --red-bg:      rgba(226,24,50,.07);
  --orange:      #FF6B00;
  --green:       #00C853;
  --blue:        #2979FF;
  --yellow:      #FFD600;
  --text-1:      #FFFFFF;
  --text-2:      #C0C0C0;
  --text-3:      #727272;
  --border:      rgba(226,24,50,.18);
  --border-w:    rgba(255,255,255,.07);
  --hh:          72px;
  --r:           10px;
  --r-lg:        16px;
  --shadow:      0 4px 24px rgba(0,0,0,.5);
  --shadow-red:  0 6px 28px var(--red-glow);
  --trans:       .22s ease;
}

/* ------ Reset ------ */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; overflow-x: hidden; -webkit-text-size-adjust: 100% }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--dark); color: var(--text-1); line-height: 1.65; overflow-x: hidden; font-size: 16px }
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-decoration: none; transition: color var(--trans) }
ul, ol { list-style: none }
button { cursor: pointer; border: none; background: none; font-family: inherit }
input, select, textarea { font-family: inherit; font-size: inherit }
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 800 }
p { color: var(--text-2) }

/* ------ Container ------ */
.container { max-width: 1220px; margin: 0 auto; padding: 0 24px }
.container--sm { max-width: 860px; margin: 0 auto; padding: 0 24px }

/* ------ Sections ------ */
.section { padding: 80px 0 }
.section--sm { padding: 56px 0 }
.section--dark { background: var(--dark-mid) }
.section--card { background: var(--dark-card) }
.section__hd { margin-bottom: 8px }
.section__sub { color: var(--text-2); margin-bottom: 40px; font-size: 1.05rem }
.section__sub p { font-size: 1.05rem }

/* ------ Buttons ------ */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--r); font-weight: 700; font-size: .95rem; transition: background var(--trans), transform .15s, box-shadow var(--trans); cursor: pointer; white-space: nowrap; border: none }
.btn-red { background: var(--red); color: #fff }
.btn-red:hover { background: var(--red-lt); box-shadow: var(--shadow-red); transform: translateY(-2px) }
.btn-ghost { background: transparent; color: var(--text-1); border: 1.5px solid var(--border-w) }
.btn-ghost:hover { border-color: var(--red); color: var(--red) }
.btn-dark { background: var(--dark-el); color: var(--text-1) }
.btn-dark:hover { background: var(--dark-hover) }
.btn-sm { padding: 9px 20px; font-size: .85rem }
.btn-lg { padding: 16px 40px; font-size: 1.05rem }
.btn-block { width: 100%; justify-content: center }
.btn-pulse { animation: pulse-red 2.6s infinite }
@keyframes pulse-red { 0%,100%{box-shadow:0 0 0 0 var(--red-glow)} 55%{box-shadow:0 0 0 12px rgba(226,24,50,0)} }

/* ------ Mobile Tracker Bar ------ */
.mobile-tracker { background: var(--red); color: #fff; text-align: center; font-size: .82rem; font-weight: 600; padding: 9px 16px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap }
.mobile-tracker span { opacity: .9 }
.mobile-tracker a { background: #fff; color: var(--red); padding: 5px 16px; border-radius: 40px; font-weight: 800; font-size: .78rem; white-space: nowrap; flex-shrink: 0 }
.mobile-tracker a:hover { background: var(--dark); color: #fff }

/* ------ Header ------ */
#site-header { position: sticky; top: 0; z-index: 900; background: rgba(10,10,10,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-w) }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--hh) }
.logo-link { display: flex; align-items: center; flex-shrink: 0 }
.logo-link img { height: 36px; width: auto }
.main-nav { flex: 1; display: flex; justify-content: center }
.main-nav ul { display: flex; gap: 2px }
.main-nav a { padding: 8px 13px; border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--text-2); transition: color var(--trans), background var(--trans) }
.main-nav a:hover { color: var(--text-1); background: var(--dark-el) }
.main-nav a[aria-current="page"] { color: var(--red); background: var(--red-bg) }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0 }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; background: var(--dark-el) }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform .3s }

/* ------ Mobile Nav Panel ------ */
.m-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); z-index: 950; opacity: 0; pointer-events: none; transition: opacity .3s; backdrop-filter: blur(4px) }
.m-nav-overlay.active { opacity: 1; pointer-events: all }
.m-nav-panel { position: fixed; top: 0; right: -100%; width: min(320px,88vw); height: 100svh; background: var(--dark-card); z-index: 960; transition: right .35s cubic-bezier(.4,0,.2,1); overflow-y: auto; display: flex; flex-direction: column }
.m-nav-panel.active { right: 0 }
.m-nav-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border-w) }
.m-nav-head button { font-size: 1.4rem; color: var(--text-2); padding: 2px 10px; border-radius: 6px; background: var(--dark-el) }
.m-nav-list { padding: 14px; flex: 1 }
.m-nav-list li a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; font-weight: 600; color: var(--text-2); margin-bottom: 3px; transition: background var(--trans), color var(--trans); font-size: .9rem }
.m-nav-list li a:hover { background: var(--dark-el); color: var(--text-1) }
.m-nav-cta { padding: 18px; border-top: 1px solid var(--border-w); display: flex; flex-direction: column; gap: 10px }

/* ------ Breadcrumb ------ */
.breadcrumb { padding: 13px 0; border-bottom: 1px solid var(--border-w) }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-3) }
.breadcrumb-list li:not(:last-child)::after { content: '›'; margin-left: 8px }
.breadcrumb-list a { color: var(--text-3); transition: color var(--trans) }
.breadcrumb-list a:hover { color: var(--red) }
.breadcrumb-list li[aria-current="page"] { color: var(--text-2) }

/* ------ Hero Base ------ */
.hero { position: relative; overflow: hidden; background: var(--dark-mid); min-height: 500px; display: flex; align-items: center }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 65% 50%, var(--red-glow), transparent 70%); pointer-events: none }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; align-items: center; gap: 48px; padding: 80px 0 }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--red-bg); border: 1px solid var(--border); color: var(--red); padding: 6px 16px; border-radius: 40px; font-size: .78rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .5px }
.hero-title { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; letter-spacing: -1.5px; line-height: 1.07; margin-bottom: 20px }
.hero-title em { font-style: normal; color: var(--red) }
.hero-sub { font-size: 1.08rem; color: var(--text-2); margin-bottom: 32px; max-width: 520px; line-height: 1.7 }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap }
.hero-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-red) }
.hero-img img { width: 100%; height: auto }
/* Hero variants */
.hero--center { min-height: 440px }
.hero--center .hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 0; padding: 80px 0 60px }
.hero--center .hero-sub { max-width: 680px }
.hero--center::before { background: radial-gradient(ellipse 70% 55% at 50% 50%, var(--red-glow), transparent 70%) }

/* ------ Stats Bar ------ */
.stats-bar { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(4,1fr); position: relative; z-index: 5; box-shadow: var(--shadow); margin-bottom: 64px }
.stats-bar--float { margin: -36px 0 64px }
.stat-item { padding: 24px 20px; text-align: center; border-right: 1px solid var(--border-w) }
.stat-item:last-child { border-right: none }
.stat-num { font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; display: block }
.stat-label { font-size: .75rem; color: var(--text-3); margin-top: 5px; text-transform: uppercase; letter-spacing: .5px; display: block }

/* ------ Grids ------ */
.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: 24px }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px }

/* ------ Promo Cards ------ */
.promo-card { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); overflow: hidden; transition: transform .2s, border-color .2s, box-shadow .2s; position: relative }
.promo-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow-red) }
.promo-card__img { aspect-ratio: 16/8; overflow: hidden; background: var(--dark-el) }
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s }
.promo-card:hover .promo-card__img img { transform: scale(1.05) }
.promo-card__body { padding: 20px 22px }
.promo-card__tag { display: inline-flex; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px }
.promo-card__title { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px }
.promo-card__amount { font-size: 2.2rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 10px }
.promo-card__desc { font-size: .875rem; color: var(--text-2); margin-bottom: 14px; line-height: 1.6 }
.promo-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--border-w) }
.promo-card__meta { font-size: .75rem; color: var(--text-3) }

/* ------ Countdown ------ */
.countdown { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--text-2) }
.countdown__seg { background: var(--dark-el); padding: 4px 8px; border-radius: 5px; font-size: .95rem; color: var(--text-1); min-width: 34px; text-align: center; font-variant-numeric: tabular-nums }
.countdown__sep { color: var(--red) }

/* ------ Feature Cards ------ */
.feature-card { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); padding: 28px 24px; transition: border-color .2s, transform .2s }
.feature-card:hover { border-color: var(--border); transform: translateY(-4px) }
.feature-card__icon { font-size: 2.4rem; margin-bottom: 14px }
.feature-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px }
.feature-card__desc { font-size: .875rem; color: var(--text-2); line-height: 1.65 }

/* ------ Category Tabs ------ */
.cat-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 28px }
.cat-tab { padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: .875rem; color: var(--text-3); background: var(--dark-card); border: 1px solid var(--border-w); cursor: pointer; transition: all var(--trans) }
.cat-tab:hover { color: var(--text-1) }
.cat-tab.active { color: #fff; background: var(--red); border-color: var(--red) }
.tab-panel { display: none }
.tab-panel.active { display: block; animation: fadeIn .3s ease }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }

/* ------ Games Grid ------ */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px }
.game-card { background: var(--dark-card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border-w); transition: transform .2s, border-color .2s; position: relative }
.game-card:hover { transform: translateY(-4px); border-color: var(--border) }
.game-card__thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--dark-el); display: flex; align-items: center; justify-content: center }
.game-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s }
.game-card:hover .game-card__thumb img { transform: scale(1.06) }
.game-card__info { padding: 10px 12px }
.game-card__name { font-size: .85rem; font-weight: 700; margin-bottom: 3px }
.game-card__prov { font-size: .7rem; color: var(--text-3) }
.game-card__abs { position: absolute; top: 8px; left: 8px }

/* ------ Tables ------ */
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); border: 1px solid var(--border-w) }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 540px }
.tbl thead th { background: var(--dark-el); padding: 13px 16px; text-align: left; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); white-space: nowrap }
.tbl tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border-w); color: var(--text-2); vertical-align: middle }
.tbl tbody tr:last-child td { border-bottom: none }
.tbl tbody tr:hover td { background: rgba(255,255,255,.02) }
.tbl--striped tbody tr:nth-child(even) td { background: rgba(255,255,255,.02) }
.tbl .hi { background: rgba(226,24,50,.05) }
.tbl .hi-head { background: var(--red) !important; color: #fff !important }
.tbl .yes { color: var(--green) }
.tbl .no { color: var(--text-3) }
.tbl .amt { color: var(--green); font-weight: 700 }
.tbl .warn { color: var(--orange) }
.rank-1 { color: #FFD600; font-weight: 800 }
.rank-2 { color: #C0C0C0; font-weight: 800 }
.rank-3 { color: #CD7F32; font-weight: 800 }

/* ------ Comparison Table ------ */
.cmp-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 500px }
.cmp-table th, .cmp-table td { padding: 13px 18px; border: 1px solid var(--border-w); text-align: center }
.cmp-table th { background: var(--dark-el); font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3) }
.cmp-table th.cmp-hi { background: var(--red); color: #fff }
.cmp-table td.cmp-hi { background: rgba(226,24,50,.06); border-color: rgba(226,24,50,.25) }
.cmp-table td:first-child { text-align: left; font-weight: 600; color: var(--text-1) }
.cmp-table .check { color: var(--green) }
.cmp-table .cross { color: var(--text-3) }
.cmp-table .star { color: var(--yellow) }

/* ------ Bar Charts ------ */
.bar-chart { display: flex; flex-direction: column; gap: 14px }
.bar-row { display: flex; align-items: center; gap: 12px }
.bar-label { width: 150px; flex-shrink: 0; font-size: .85rem; color: var(--text-2); font-weight: 600 }
.bar-track { flex: 1; background: var(--dark-el); border-radius: 4px; height: 11px; overflow: hidden }
.bar-fill { height: 100%; background: var(--red); border-radius: 4px; width: 0; transition: width 1.3s cubic-bezier(.4,0,.2,1) }
.bar-fill--green { background: var(--green) }
.bar-fill--orange { background: var(--orange) }
.bar-fill--yellow { background: var(--yellow) }
.bar-fill--blue { background: var(--blue) }
.bar-val { width: 52px; text-align: right; font-size: .85rem; font-weight: 700; color: var(--text-1); flex-shrink: 0 }

/* Horizontal gradient bar */
.hbar-chart { }
.hbar-item { margin-bottom: 20px }
.hbar-head { display: flex; justify-content: space-between; margin-bottom: 8px }
.hbar-name { font-size: .9rem; font-weight: 600 }
.hbar-val { font-size: .85rem; font-weight: 700; color: var(--red) }
.hbar-track { height: 12px; background: var(--dark-el); border-radius: 6px; overflow: hidden }
.hbar-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--red-dk), var(--red-lt)); width: 0; transition: width 1.4s cubic-bezier(.4,0,.2,1) }

/* Vertical bar chart */
.vbar-wrap { background: var(--dark-card); border-radius: var(--r); border: 1px solid var(--border-w); padding: 24px 20px 10px }
.vbar-chart { display: flex; align-items: flex-end; gap: 10px; height: 180px }
.vbar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100% }
.vbar-bar { width: 100%; background: linear-gradient(180deg, var(--red-lt), var(--red-dk)); border-radius: 4px 4px 0 0; min-height: 4px; transition: height 1s ease }
.vbar-label { font-size: .65rem; color: var(--text-3); margin-top: 8px; text-align: center; white-space: nowrap }
.vbar-val { font-size: .7rem; font-weight: 700; color: var(--red); margin-bottom: 5px }

/* Star ratings chart */
.star-chart { }
.star-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px }
.star-lbl { width: 36px; font-size: .85rem; font-weight: 700; color: var(--text-2) }
.star-track { flex: 1; height: 10px; background: var(--dark-el); border-radius: 5px; overflow: hidden }
.star-fill { height: 100%; background: var(--yellow); border-radius: 5px; width: 0; transition: width 1.2s ease }
.star-cnt { width: 44px; text-align: right; font-size: .78rem; color: var(--text-3) }

/* Donut chart */
.donut-set { display: flex; gap: 32px; flex-wrap: wrap; align-items: center }
.donut { width: 130px; height: 130px; position: relative; flex-shrink: 0 }
.donut svg { width: 100%; height: 100%; transform: rotate(-90deg) }
.donut circle { fill: none; stroke-width: 14 }
.donut__bg { stroke: var(--dark-el) }
.donut__fill { stroke: var(--red); stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.4,0,.2,1) }
.donut__val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900 }
.donut__sub { font-size: .65rem; color: var(--text-3); line-height: 1.2; text-align: center; padding: 0 8px }
.donut-legend { flex: 1 }
.donut-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .875rem }
.donut-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0 }

/* ------ Steps ------ */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px }
.step-item { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); padding: 28px 24px }
.step-num { width: 44px; height: 44px; background: var(--red); color: #fff; font-size: 1.1rem; font-weight: 900; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 14px }
.step-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px }
.step-desc { font-size: .875rem; color: var(--text-2); line-height: 1.6 }

/* ------ Promo Strip ------ */
.promo-strip { background: linear-gradient(135deg, var(--red-dk), var(--red-lt)); border-radius: var(--r-lg); padding: 40px 48px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; margin: 48px 0; position: relative; overflow: hidden }
.promo-strip::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: rgba(255,255,255,.06); border-radius: 50%; pointer-events: none }
.promo-strip__title { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 8px }
.promo-strip__sub { color: rgba(255,255,255,.82); font-size: 1rem }

/* ------ FAQ ------ */
.faq-list { display: flex; flex-direction: column; gap: 10px }
.faq-item { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); overflow: hidden; transition: border-color .2s }
.faq-item.open { border-color: var(--border) }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: .95rem; gap: 12px }
.faq-q::after { content: '+'; font-size: 1.5rem; color: var(--red); flex-shrink: 0; transition: transform .25s; line-height: 1 }
.faq-item.open .faq-q::after { transform: rotate(45deg) }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease }
.faq-a p { padding: 0 20px 18px; font-size: .9rem; color: var(--text-2); line-height: 1.75; margin: 0 }
.faq-item.open .faq-a { max-height: 400px }

/* ------ Badges & Tags ------ */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 4px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px }
.badge--red { background: var(--red); color: #fff }
.badge--green { background: rgba(0,200,83,.12); color: var(--green); border: 1px solid rgba(0,200,83,.25) }
.badge--yellow { background: rgba(255,214,0,.1); color: var(--yellow); border: 1px solid rgba(255,214,0,.2) }
.badge--gray { background: var(--dark-el); color: var(--text-3) }
.tag { display: inline-flex; align-items: center; gap: 5px; background: var(--dark-el); color: var(--text-2); font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border-w) }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px }
.live-dot { display: inline-block; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1.2s infinite }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ------ Jackpot Ticker ------ */
.jackpot-ticker { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 16px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap }
.jt-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); white-space: nowrap; flex-shrink: 0 }
.jt-amount { font-size: 2rem; font-weight: 900; color: var(--yellow); font-variant-numeric: tabular-nums }
.jt-game { font-size: .82rem; color: var(--text-2); margin-left: auto }

/* ------ Odds Card ------ */
.odds-cell { display: inline-flex; align-items: center; justify-content: center; background: var(--dark-el); border: 1px solid var(--border-w); border-radius: 6px; padding: 5px 12px; font-weight: 700; min-width: 54px; transition: background .2s, border-color .2s, color .2s; cursor: pointer; font-size: .9rem }
.odds-cell:hover { background: var(--red-bg); border-color: var(--border); color: var(--red) }
.odds-cell--live { border-color: var(--red); color: var(--red) }
.match-card { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; transition: border-color .2s }
.match-card:hover { border-color: var(--border) }
.match-teams { flex: 1 }
.match-league { font-size: .7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px }
.match-team { font-size: .92rem; font-weight: 700; margin-bottom: 4px }
.match-time { font-size: .75rem; color: var(--red); font-weight: 600 }
.match-odds { display: flex; gap: 8px; flex-shrink: 0 }

/* ------ Poker ------ */
.hand-tbl th, .hand-tbl td { padding: 11px 14px; border-bottom: 1px solid var(--border-w); font-size: .875rem }
.hand-tbl th { background: var(--dark-el); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3) }
.hand-rank-pill { display: inline-flex; align-items: center; gap: 9px; font-weight: 700 }
.hrp-num { width: 26px; height: 26px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 900; flex-shrink: 0 }

/* ------ Sport icons ------ */
.sport-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(110px,1fr)); gap: 12px }
.sport-item { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 20px 12px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s }
.sport-item:hover { border-color: var(--border); background: var(--red-bg) }
.sport-icon { font-size: 2rem; margin-bottom: 10px }
.sport-name { font-size: .78rem; font-weight: 600; color: var(--text-2) }
.sport-count { font-size: .68rem; color: var(--text-3); margin-top: 2px }

/* ------ Leaderboard ------ */
.lb-tbl { width: 100%; border-collapse: collapse }
.lb-tbl th, .lb-tbl td { padding: 13px 16px; border-bottom: 1px solid var(--border-w); font-size: .875rem }
.lb-tbl th { background: var(--dark-el); font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3) }
.lb-tbl tr.top3 td { background: rgba(226,24,50,.04) }
.lb-prize { color: var(--green); font-weight: 700 }

/* ------ Phone mockup ------ */
.phones-row { display: flex; justify-content: center; align-items: flex-end; gap: 16px; padding: 32px 0 }
.ph-frame { flex-shrink: 0 }
.ph-frame--main { z-index: 2 }
.ph-frame--side { opacity: .7; transform: scale(.88) translateY(20px) }
.ph-frame img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.6) }

/* ------ Tier cards (bonos/vip) ------ */
.tier-list { display: flex; flex-direction: column; gap: 12px }
.tier-row { background: var(--dark-card); border: 1.5px solid var(--border-w); border-radius: var(--r); padding: 18px 22px; display: grid; grid-template-columns: 48px 1fr 1fr auto; align-items: center; gap: 16px; transition: border-color .2s }
.tier-row:hover { border-color: var(--border) }
.tier-icon-wrap { font-size: 1.8rem; text-align: center }
.tier-name { font-size: 1rem; font-weight: 800 }
.tier-req { font-size: .78rem; color: var(--text-3); margin-top: 2px }
.tier-pct { font-size: .875rem; color: var(--text-2) }
.tier-chip { background: var(--red-bg); color: var(--red); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 40px; border: 1px solid var(--border); white-space: nowrap }

/* ------ Auth ------ */
.auth-layout { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--dark-mid) }
.auth-card { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); padding: 40px; width: 100%; max-width: 460px; box-shadow: var(--shadow) }
.auth-logo { display: flex; justify-content: center; margin-bottom: 28px }
.auth-title { font-size: 1.6rem; font-weight: 900; text-align: center; margin-bottom: 6px }
.auth-sub { text-align: center; color: var(--text-3); font-size: .875rem; margin-bottom: 28px }
.form-group { margin-bottom: 18px }
.form-label { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-bottom: 7px }
.form-inp { width: 100%; background: var(--dark-el); border: 1.5px solid var(--border-w); border-radius: var(--r); padding: 12px 16px; color: var(--text-1); font-size: .95rem; transition: border-color .2s }
.form-inp:focus { outline: none; border-color: var(--red) }
.inp-wrap { position: relative }
.inp-wrap .form-inp { padding-right: 48px }
.inp-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; cursor: pointer; color: var(--text-3); background: none; border: none; padding: 0 }
.pw-bar { height: 4px; background: var(--dark-el); border-radius: 2px; margin-top: 7px; overflow: hidden }
.pw-bar-fill { height: 100%; border-radius: 2px; width: 0; transition: width .4s, background .4s }
.pw-txt { font-size: .7rem; margin-top: 4px; color: var(--text-3) }
.soc-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 1.5px solid var(--border-w); border-radius: var(--r); padding: 12px; font-weight: 600; font-size: .9rem; color: var(--text-1); background: var(--dark-el); transition: background .2s, border-color .2s; cursor: pointer; margin-bottom: 10px }
.soc-btn:hover { background: var(--dark-hover) }
.plan-radio { display: none }
.plan-lbl { display: block; padding: 16px; background: var(--dark-el); border: 1.5px solid var(--border-w); border-radius: var(--r); cursor: pointer; transition: border-color .2s; margin-bottom: 10px }
.plan-radio:checked + .plan-lbl { border-color: var(--red); background: var(--red-bg) }
.plan-lbl-title { font-weight: 700; margin-bottom: 4px; font-size: .95rem }
.plan-lbl-desc { font-size: .8rem; color: var(--text-3) }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 }
.auth-divider::before,.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-w) }
.auth-divider span { font-size: .75rem; color: var(--text-3) }
.auth-link { text-align: center; font-size: .875rem; color: var(--text-3); margin-top: 20px }
.auth-link a { color: var(--red); font-weight: 600 }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--text-3) }
.form-check input[type="checkbox"] { margin-top: 2px; accent-color: var(--red); flex-shrink: 0; width: 16px; height: 16px }
.form-check a { color: var(--red) }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }

/* ------ Legal ------ */
.legal-wrap { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start }
.legal-toc { position: sticky; top: calc(var(--hh) + 20px); background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); padding: 22px }
.legal-toc h2 { font-size: .95rem; font-weight: 700; margin-bottom: 14px; color: var(--text-2) }
.legal-toc ul { display: flex; flex-direction: column; gap: 3px }
.legal-toc a { font-size: .8rem; color: var(--text-3); padding: 6px 10px; border-radius: 6px; display: block; transition: color .2s, background .2s }
.legal-toc a:hover { color: var(--red); background: var(--dark-el) }
.legal-body h1 { font-size: 2rem; margin-bottom: 6px }
.legal-body .legal-date { font-size: .8rem; color: var(--text-3); margin-bottom: 28px; display: block }
.legal-body h2 { font-size: 1.25rem; font-weight: 700; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border-w) }
.legal-body p { font-size: .92rem; color: var(--text-2); margin-bottom: 14px; line-height: 1.78 }
.legal-body ul, .legal-body ol { margin: 12px 0 18px 24px }
.legal-body li { font-size: .92rem; color: var(--text-2); margin-bottom: 8px; line-height: 1.7 }
.legal-body ul li { list-style: disc }
.legal-body ol li { list-style: decimal }
.legal-warning { background: var(--red-bg); border: 1px solid var(--border); border-radius: var(--r); padding: 16px 20px; font-size: .875rem; color: var(--text-2); margin-bottom: 24px }

/* ------ Author ------ */
.author-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start }
.author-sidebar { position: sticky; top: calc(var(--hh) + 20px) }
.author-photo-wrap { border-radius: var(--r-lg); overflow: hidden; border: 2px solid var(--border) }
.author-photo-wrap img { width: 100% }
.author-name { font-size: 1.4rem; font-weight: 900; margin-top: 16px }
.author-role { font-size: .875rem; color: var(--red); font-weight: 600; margin-top: 4px }
.a-stats { display: flex; flex-direction: column; gap: 10px; margin-top: 20px }
.a-stat { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 12px 16px; text-align: center }
.a-stat-n { font-size: 1.6rem; font-weight: 900; color: var(--red); display: block }
.a-stat-l { font-size: .72rem; color: var(--text-3); display: block }
.author-body h1 { font-size: 2rem; margin-bottom: 12px }
.author-body h2 { font-size: 1.25rem; font-weight: 700; margin: 28px 0 12px; border-bottom: 1px solid var(--border-w); padding-bottom: 8px }
.author-body p { font-size: .92rem; color: var(--text-2); margin-bottom: 14px; line-height: 1.78 }
.method-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px }
.m-step { display: flex; gap: 16px; align-items: flex-start }
.m-step-n { width: 36px; height: 36px; background: var(--red); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: .9rem }
.m-step-body h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px }
.m-step-body p { font-size: .85rem; margin: 0 }

/* ------ 404 ------ */
.page-404 { min-height: calc(100vh - var(--hh)); display: flex; align-items: center; justify-content: center; padding: 60px 24px; text-align: center }
.e404-inner { position: relative; max-width: 580px }
.e404-bg-num { font-size: clamp(8rem,22vw,16rem); font-weight: 900; color: var(--red); opacity: .08; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; user-select: none; line-height: 1 }
.e404-content { position: relative; z-index: 1 }
.e404-icon { font-size: 4rem; margin-bottom: 16px }
.e404-content h1 { font-size: clamp(1.6rem,4vw,2.4rem); margin-bottom: 14px }
.e404-content p { color: var(--text-2); margin-bottom: 32px }
.e404-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 40px }
.e404-link { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 14px; text-align: center; transition: border-color .2s, background .2s }
.e404-link:hover { border-color: var(--border); background: var(--red-bg) }
.e404-link-icon { font-size: 1.6rem; margin-bottom: 6px }
.e404-link-name { font-size: .8rem; font-weight: 600 }

/* ------ SEO Block ------ */
.seo-block { background: var(--dark-mid); padding: 64px 0; border-top: 1px solid var(--border-w) }
.seo-block .container { max-width: 880px }
.seo-block h2 { font-size: 1.7rem; margin-bottom: 16px }
.seo-block h3 { font-size: 1.15rem; font-weight: 700; margin: 28px 0 10px }
.seo-block p { font-size: .925rem; color: var(--text-2); line-height: 1.82; margin-bottom: 16px }

/* ------ RG Bar ------ */
.rg-bar { background: var(--dark-card); border-top: 1px solid var(--border-w); padding: 10px 0 }
.rg-bar .container { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .75rem; color: var(--text-3) }
.rg-bar strong { color: var(--text-2) }
.rg-18 { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2px solid var(--text-3); border-radius: 50%; font-size: .7rem; font-weight: 800; color: var(--text-3); flex-shrink: 0 }

/* ------ Footer ------ */
.site-footer { background: var(--dark-mid); border-top: 1px solid var(--border-w); padding-top: 52px }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border-w) }
.footer-brand-tagline { font-size: .875rem; color: var(--text-3); margin-top: 14px; line-height: 1.7; max-width: 280px }
.footer-lic { display: flex; gap: 12px; margin-top: 24px; background: var(--dark-el); border-radius: var(--r); padding: 12px 14px; align-items: flex-start }
.lic-badge { min-width: 44px; height: 44px; background: var(--red); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: .62rem; font-weight: 900; color: #fff; text-align: center; line-height: 1.2; flex-shrink: 0 }
.lic-text strong { display: block; font-size: .8rem; margin-bottom: 2px }
.lic-text span { font-size: .7rem; color: var(--text-3) }
.footer-col-hd { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); margin-bottom: 14px }
.footer-links { display: flex; flex-direction: column; gap: 10px }
.footer-links a { font-size: .875rem; color: var(--text-3); transition: color .2s }
.footer-links a:hover { color: var(--red) }
.footer-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px }
.pay-tag { background: var(--dark-el); border: 1px solid var(--border-w); border-radius: 5px; padding: 4px 10px; font-size: .7rem; font-weight: 700; color: var(--text-3) }
.footer-bottom { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap }
.footer-bottom p { font-size: .75rem; color: var(--text-3) }

/* ------ Utils ------ */
.mt-4 { margin-top: 4px } .mt-8 { margin-top: 8px } .mt-16 { margin-top: 16px } .mt-24 { margin-top: 24px } .mt-32 { margin-top: 32px } .mt-48 { margin-top: 48px }
.mb-8 { margin-bottom: 8px } .mb-16 { margin-bottom: 16px } .mb-24 { margin-bottom: 24px } .mb-32 { margin-bottom: 32px } .mb-48 { margin-bottom: 48px }
.text-red { color: var(--red) }
.text-green { color: var(--green) }
.text-muted { color: var(--text-3) }
.text-center { text-align: center }
.font-heavy { font-weight: 900 }
.flex { display: flex }
.flex-wrap { flex-wrap: wrap }
.items-center { align-items: center }
.justify-between { justify-content: space-between }
.justify-center { justify-content: center }
.gap-8 { gap: 8px }
.gap-12 { gap: 12px }
.gap-16 { gap: 16px }
.gap-24 { gap: 24px }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px }
::-webkit-scrollbar-track { background: var(--dark-mid) }
::-webkit-scrollbar-thumb { background: var(--dark-hover); border-radius: 4px }
::-webkit-scrollbar-thumb:hover { background: var(--red) }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px }
  .grid-4 { grid-template-columns: repeat(2,1fr) }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none }
  .hero--center .hero-inner { padding: 60px 0 }
  .stats-bar { grid-template-columns: repeat(2,1fr) }
  .stats-bar .stat-item:nth-child(2) { border-right: none }
  .stats-bar .stat-item:nth-child(3) { border-top: 1px solid var(--border-w) }
  .tier-row { grid-template-columns: 48px 1fr auto }
  .tier-pct { display: none }
}
@media (max-width: 768px) {
  .main-nav { display: none }
  .mobile-menu-btn { display: flex }
  .header-actions .btn-ghost { display: none }
  .section { padding: 56px 0 }
  .section--sm { padding: 40px 0 }
  .hero-inner { padding: 56px 0 }
  .grid-3 { grid-template-columns: 1fr }
  .grid-2 { grid-template-columns: 1fr }
  .promo-strip { grid-template-columns: 1fr; text-align: center }
  .legal-wrap { grid-template-columns: 1fr }
  .legal-toc { position: static }
  .author-wrap { grid-template-columns: 1fr }
  .author-sidebar { position: static }
  .footer-grid { grid-template-columns: 1fr; gap: 28px }
  .footer-bottom { flex-direction: column; text-align: center }
  .bar-label { width: 110px }
  .form-row { grid-template-columns: 1fr }
  .e404-links { grid-template-columns: repeat(2,1fr) }
  .steps-grid { grid-template-columns: 1fr }
  .donut-set { flex-direction: column }
}
@media (max-width: 480px) {
  .container { padding: 0 16px }
  html, body { overflow-x: hidden }
  .stats-bar { grid-template-columns: repeat(2,1fr); margin-bottom: 40px }
  .stat-num { font-size: 1.5rem }
  .hero-cta { flex-direction: column; align-items: stretch }
  .hero-cta .btn { justify-content: center }
  .games-grid { grid-template-columns: repeat(2,1fr) }
  .sport-grid { grid-template-columns: repeat(3,1fr) }
  .grid-4 { grid-template-columns: 1fr }
  .auth-card { padding: 28px 20px }
  .promo-strip { padding: 28px 24px }
  .e404-links { grid-template-columns: 1fr }
  .tier-row { grid-template-columns: 48px 1fr auto }
  .mobile-tracker { gap: 10px }
}


/* ══ Hero background images ════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.88) 30%, rgba(226,24,50,0.14) 100%);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0;
}

/* ══ Slot game cards grid ═══════════════════════════════════════════════════ */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}
@media (max-width: 960px) { .slots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .slots-grid { grid-template-columns: 1fr; } }

.slot-card {
  background: var(--dark-card);
  border: 1px solid var(--border-w);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.slot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 32px rgba(226,24,50,0.30);
  border-color: rgba(226,24,50,0.35);
}
.slot-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.slot-card__body {
  padding: 16px 18px 18px;
}
.slot-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 3px;
}
.slot-card__provider {
  font-size: .78rem;
  color: var(--text-3);
  margin-bottom: 10px;
}
.slot-card__rtp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(0,200,83,.12);
  padding: 3px 10px;
  border-radius: 20px;
}
.slot-card__cta {
  margin-top: 14px;
}

/* ══ Author photo ═══════════════════════════════════════════════════════════ */
.author-photo-wrap img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--red);
  box-shadow: 0 0 0 6px rgba(226,24,50,0.15);
}
/* ============================================================
   WINAMAX-CASINOS.ES â€” Layout & Component Fixes
   Aliases mismatched class names + missing components
   ============================================================ */

/* ---- Class aliases (HTML uses these names) ---- */
.site-logo { display: flex; align-items: center; flex-shrink: 0 }
.site-logo img { height: 36px; width: auto; display: block }

.section-head { margin-bottom: 32px; text-align: center }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 900; letter-spacing: -.5px; margin-bottom: 8px; color: var(--text-1) }
.section-head p { color: var(--text-2); font-size: 1rem; max-width: 680px; margin: 0 auto }

.form-input {
  width: 100%; background: var(--dark-el);
  border: 1.5px solid var(--border-w);
  border-radius: var(--r); padding: 12px 16px;
  color: var(--text-1); font-size: .95rem;
  transition: border-color .2s; font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--red) }
.form-input::placeholder { color: var(--text-3) }

.game-card__provider { font-size: .7rem; color: var(--text-3); padding: 0 12px 10px }

/* ---- Hero structure (HTML wraps content in .hero-content) ---- */
.hero { min-height: 520px; display: flex; align-items: center; position: relative; overflow: hidden; background: var(--dark-mid) }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,460px); align-items: center; gap: 48px; padding: 80px 0; width: 100% }
.hero-content { position: relative; z-index: 2; min-width: 0 }
.hero-title { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -1.2px; line-height: 1.08; margin-bottom: 20px; color: var(--text-1) }
.hero-title em, .hero-title span { font-style: normal; color: var(--red); display: inline }
.hero-sub { font-size: 1.05rem; color: var(--text-2); margin-bottom: 28px; max-width: 560px; line-height: 1.7 }
.hero-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--text-3); font-weight: 600 }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px }
.hero-img { border-radius: var(--r-lg); overflow: hidden }
.hero-img img { width: 100%; height: auto; display: block }

/* Hero variants */
.hero--center { text-align: center }
.hero--center .hero-inner { grid-template-columns: 1fr; justify-items: center; gap: 0 }
.hero--center .hero-sub { margin-left: auto; margin-right: auto }
.hero--center .hero-cta { justify-content: center }
.hero--dark { background: var(--dark) }
.hero--dark::before { background: radial-gradient(ellipse 70% 60% at 70% 50%, var(--red-glow), transparent 70%) !important }
.hero--gradient { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 60%, rgba(226,24,50,.10) 100%) }
.hero--gradient::before { background: radial-gradient(ellipse 80% 60% at 50% 30%, var(--red-glow), transparent 65%) !important }

.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; opacity: .28; pointer-events: none }

/* ---- Stats bar (HTML: .stats-bar > .container > .stats-inner > .stat-item) ---- */
.stats-bar { display: block; background: transparent; border: none; box-shadow: none; padding: 0; position: relative; z-index: 5; margin-bottom: 56px; grid-template-columns: none }
.stats-bar--float { margin: -36px 0 56px }
.stats-bar > .container { padding-left: 24px; padding-right: 24px }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--dark-card);
  border: 1px solid var(--border-w);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.stats-inner .stat-item { padding: 22px 18px; text-align: center; border-right: 1px solid var(--border-w) }
.stats-inner .stat-item:last-child { border-right: none }

/* ---- Promo strip (HTML: .promo-strip > .container > p) ---- */
.promo-strip { display: block; padding: 28px 0; margin: 48px 0; background: linear-gradient(135deg, var(--red-dk), var(--red-lt)); border-radius: var(--r-lg); position: relative; overflow: hidden; grid-template-columns: none }
.promo-strip::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: rgba(255,255,255,.06); border-radius: 50%; pointer-events: none }
.promo-strip > .container { position: relative; z-index: 1; text-align: center }
.promo-strip__title { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 900; color: #fff; margin-bottom: 6px }
.promo-strip__title strong { color: #fff }
.promo-strip__sub { color: rgba(255,255,255,.88); font-size: .95rem; margin: 0 }
.promo-strip__sub a { color: #fff; text-decoration: underline; font-weight: 700 }

/* ---- Hero trust (small icons row) â€” already styled above ---- */

/* ---- Tabs alt (.tab-btn / .tab-content) ---- */
.tab-btn { padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: .875rem; color: var(--text-3); background: var(--dark-card); border: 1px solid var(--border-w); cursor: pointer; transition: all var(--trans); margin-right: 6px; margin-bottom: 6px }
.tab-btn:hover { color: var(--text-1) }
.tab-btn.active, .tab-btn[aria-selected="true"] { color: #fff; background: var(--red); border-color: var(--red) }
.tab-content { display: none }
.tab-content--active, .tab-content.active { display: block; animation: fadeIn .3s ease }

/* ---- Leaderboard top rows ---- */
.lb-tbl tr.lb-top1 td { background: rgba(255,214,0,.07) }
.lb-tbl tr.lb-top2 td { background: rgba(192,192,192,.05) }
.lb-tbl tr.lb-top3 td { background: rgba(205,127,50,.05) }
.lb-tbl tr.lb-top1 td:first-child { color: #FFD600; font-weight: 800 }
.lb-tbl tr.lb-top2 td:first-child { color: #C0C0C0; font-weight: 800 }
.lb-tbl tr.lb-top3 td:first-child { color: #CD7F32; font-weight: 800 }

/* ---- Match card / Odds table (apuestas) ---- */
.odds-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: .9rem }
.odds-table thead th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; color: var(--text-3); padding: 6px 12px }
.odds-table tbody tr { background: var(--dark-card); border: 1px solid var(--border-w); transition: border-color .2s }
.odds-table tbody td { padding: 14px 16px; border-top: 1px solid var(--border-w); border-bottom: 1px solid var(--border-w); vertical-align: middle }
.odds-table tbody td:first-child { border-left: 1px solid var(--border-w); border-radius: var(--r) 0 0 var(--r) }
.odds-table tbody td:last-child { border-right: 1px solid var(--border-w); border-radius: 0 var(--r) var(--r) 0 }
.odds-table tbody tr:hover td { border-color: var(--border) }

.match-card { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; transition: border-color .2s; margin-bottom: 10px }

/* ---- Prize bars (torneos) ---- */
.prize-bar-chart { display: flex; flex-direction: column; gap: 14px }
.prize-bar { display: flex; align-items: center; gap: 12px }
.prize-bar__label { width: 90px; font-size: .85rem; font-weight: 700; color: var(--text-2); flex-shrink: 0 }
.prize-bar__track { flex: 1; height: 14px; background: var(--dark-el); border-radius: 7px; overflow: hidden }
.prize-bar__fill { height: 100%; background: linear-gradient(90deg, var(--red-dk), var(--red-lt)); border-radius: 7px; width: 0; transition: width 1.4s cubic-bezier(.4,0,.2,1) }
.prize-bar__amount { width: 110px; text-align: right; font-size: .9rem; font-weight: 800; color: var(--green); flex-shrink: 0 }

/* ---- Chart section wrapper ---- */
.chart-section { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r-lg); padding: 28px; margin-bottom: 28px }
.chart-section h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 18px; color: var(--text-1) }

/* ---- Bar chart horizontal (gradient variant) ---- */
.bar-chart-h { display: flex; flex-direction: column; gap: 16px }
.bar-chart-h .bar-item { }
.bar-chart-h .bar-item .bar-label { width: 100%; margin-bottom: 6px; display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600 }
.bar-chart-h .bar-item .bar-track { width: 100%; height: 10px; background: var(--dark-el); border-radius: 5px; overflow: hidden }
.bar-chart-h .bar-item .bar-fill { height: 100%; background: var(--red); border-radius: 5px; width: 0; transition: width 1.3s cubic-bezier(.4,0,.2,1) }
.bar-chart-h--gradient .bar-fill { background: linear-gradient(90deg, var(--red-dk), var(--red-lt)) !important }

/* ---- Internal cross-link card ---- */
.int-link { display: flex; align-items: center; gap: 14px; background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 16px 20px; transition: border-color .2s, transform .2s; color: var(--text-1) }
.int-link:hover { border-color: var(--border); transform: translateY(-2px); color: var(--text-1) }
.int-link strong { display: block; font-size: .95rem; font-weight: 700; margin-bottom: 3px }
.int-link span { font-size: .8rem; color: var(--text-3) }
.int-link::after { content: '\2192'; margin-left: auto; color: var(--red); font-size: 1.2rem; flex-shrink: 0 }

/* ---- Footer columns (HTML: .footer-grid > .footer-col) ---- */
.footer-col { min-width: 0 }
.site-footer { padding-bottom: 0 }
.site-footer .container { padding-left: 24px; padding-right: 24px }

/* ---- Footer minimal ---- */
.footer-minimal { background: var(--dark-mid); border-top: 1px solid var(--border-w); padding: 28px 0 20px; margin-top: auto }
.fm-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.fm-inner img { height: 28px; width: auto }
.fm-links { display: flex; gap: 18px; flex-wrap: wrap }
.fm-links a { font-size: .8rem; color: var(--text-3); transition: color .2s }
.fm-links a:hover { color: var(--red) }

/* ---- 404 nav buttons / badge ---- */
.e404-badge { display: inline-block; background: rgba(226,24,50,.12); color: var(--red); border: 1px solid rgba(226,24,50,.3); border-radius: 100px; padding: 5px 16px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px }
.e404-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 24px 0 }
.e404-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: var(--r); background: var(--dark-el); color: var(--text-2); font-size: .85rem; font-weight: 600; border: 1px solid var(--border-w); transition: background .2s, color .2s, border-color .2s }
.e404-nav a:hover { background: var(--dark-card); color: var(--text-1); border-color: rgba(226,24,50,.4) }

/* ---- Author layout aliases ---- */
.author-grid, .author-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start }
.author-photo-wrap { border-radius: var(--r-lg); overflow: hidden }
.author-contact { background: var(--dark-card); border: 1px solid var(--border-w); border-radius: var(--r); padding: 16px; margin-top: 18px; font-size: .85rem; color: var(--text-2) }
.author-contact strong { color: var(--text-1); display: block; margin-bottom: 6px }
.author-expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px }
.author-expertise .tag { font-size: .72rem }
.a-stat__num { font-size: 1.6rem; font-weight: 900; color: var(--red); display: block; line-height: 1 }
.a-stat__lbl { font-size: .72rem; color: var(--text-3); display: block; margin-top: 4px; text-transform: uppercase; letter-spacing: .4px }

/* ---- Legal layout aliases ---- */
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start }
.legal-inner { min-width: 0 }

/* ---- Auth split layout ---- */
body.auth-page { background: var(--dark-mid) }
.auth-page .auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; align-items: stretch; max-width: none }
.auth-brand {
  background: linear-gradient(135deg, var(--red-dk) 0%, var(--dark) 100%);
  padding: 56px 48px; display: flex; flex-direction: column;
  justify-content: center; gap: 20px; position: relative; overflow: hidden;
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 1 }
.auth-brand img { height: 42px; width: auto }
.auth-brand-tagline { font-size: 1.15rem; color: rgba(255,255,255,.92); font-weight: 600; max-width: 420px; line-height: 1.5 }
.auth-brand-feats { display: flex; flex-direction: column; gap: 12px; margin-top: 12px }
.auth-feat { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 500 }
.auth-feat span { font-size: 1.4rem; flex-shrink: 0 }
.auth-back { position: absolute; top: 24px; left: 24px; color: rgba(255,255,255,.85); font-size: .85rem; font-weight: 600; z-index: 2; display: inline-flex; align-items: center; gap: 6px }
.auth-back:hover { color: #fff }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--dark-mid) }
.auth-main .auth-card { box-shadow: none; max-width: 480px; width: 100% }
.auth-form { display: block }
.auth-legal { font-size: .75rem; color: var(--text-3); text-align: center; line-height: 1.6; margin-top: 18px }
.auth-legal a { color: var(--red) }

/* Social buttons grid */
.soc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px }
.soc-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-weight: 800 }

/* Password reveal & wrapper */
.pw-wrap { position: relative }
.pw-wrap .form-input, .pw-wrap input { padding-right: 46px }
.pw-toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-3); font-size: 1.05rem; cursor: pointer; padding: 4px 8px; border-radius: 4px }
.pw-toggle:hover { color: var(--text-1) }

.form-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px }
.form-link { font-size: .78rem; color: var(--red); font-weight: 600 }
.form-link:hover { text-decoration: underline }

/* ---- Hero countdown ---- */
.countdown-hero { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,0,0,.35); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 14px; margin-top: 18px; backdrop-filter: blur(6px) }
.cd-box { display: inline-flex; flex-direction: column; align-items: center; min-width: 48px }
.cd-num { font-size: 1.4rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; line-height: 1 }
.cd-unit { font-size: .62rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px }
.cd-h, .cd-m, .cd-s { display: inline-flex; flex-direction: column; align-items: center; min-width: 48px }

/* ---- Promo card badge ---- */
.promo-card__badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: .4px; z-index: 2 }

/* ---- Bonus card "wager-calc" already inline; ensure inputs don't break out ---- */
.calc-row input, .calc-row select { max-width: 100%; min-width: 0 }

/* ---- Image polish ---- */
.slot-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center; display: block; background: var(--dark-el) }
.author-photo-wrap img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: center top; border-radius: var(--r-lg); border: 2px solid var(--border); margin: 0 auto; display: block }

/* ---- Scrollable tables full-bleed on mobile ---- */
.tbl-wrap { -webkit-overflow-scrolling: touch }

/* ============================================================
   Responsive overrides for fixed layouts
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px }
  .hero-img { display: none }
  .stats-inner { grid-template-columns: repeat(2,1fr) }
  .stats-inner .stat-item:nth-child(2) { border-right: none }
  .stats-inner .stat-item:nth-child(3),
  .stats-inner .stat-item:nth-child(4) { border-top: 1px solid var(--border-w) }
  .author-grid, .author-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 60px }
  .author-sidebar { position: static }
  .legal-layout { grid-template-columns: 1fr; gap: 32px }
  .auth-page .auth-layout { grid-template-columns: 1fr }
  .auth-brand { padding: 40px 32px; min-height: 200px }
  .auth-brand-feats { display: none }
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2,1fr) }
  .stats-inner .stat-item { padding: 16px 12px; border-right: 1px solid var(--border-w) !important }
  .stats-inner .stat-item:nth-child(even) { border-right: none !important }
  .stats-inner .stat-item:nth-child(n+3) { border-top: 1px solid var(--border-w) }
  .stat-num { font-size: 1.5rem }
  .stat-label { font-size: .68rem }
  .promo-strip { padding: 22px 0; margin: 32px 0 }
  .promo-strip__title { font-size: 1.05rem }
  .promo-strip__sub { font-size: .85rem }
  .section-head { margin-bottom: 24px }
  .section-head h2 { font-size: 1.5rem }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px }
  .hero-trust { gap: 12px; font-size: .76rem }
  .hero-cta .btn { flex: 1; justify-content: center; min-width: 0 }
  .hero-title { font-size: clamp(1.7rem, 6vw, 2.4rem) }
  .hero-sub { font-size: .95rem }
  .auth-main { padding: 32px 16px }
  .auth-main .auth-card { padding: 28px 20px }
  .soc-btns { grid-template-columns: 1fr }
  .lb-tbl, .hand-tbl, .cmp-table, .tbl { font-size: .82rem }
  .lb-tbl th, .lb-tbl td, .hand-tbl th, .hand-tbl td { padding: 10px 12px }
  .match-card { padding: 14px 16px }
  .odds-table { font-size: .82rem }
  .odds-table tbody td { padding: 12px 10px }
  .prize-bar__label { width: 70px; font-size: .78rem }
  .prize-bar__amount { width: 90px; font-size: .82rem }
  .chart-section { padding: 20px 16px }
  .bar-chart .bar-label { width: auto; flex: 0 0 110px; font-size: .78rem }
  .bar-val { width: 44px; font-size: .78rem }
  .donut-set { flex-direction: column; align-items: center; text-align: center }
  .donut { width: 130px; height: 130px }
  .e404-nav a { font-size: .78rem; padding: 8px 14px }
  .fm-inner { justify-content: center; text-align: center }
  .fm-links { justify-content: center }
  .countdown-hero { gap: 4px; padding: 8px 10px }
  .cd-box, .cd-h, .cd-m, .cd-s { min-width: 40px }
  .cd-num { font-size: 1.15rem }
}
@media (max-width: 540px) {
  .container, .stats-bar > .container, .site-footer .container { padding-left: 16px; padding-right: 16px }
  .stats-inner { grid-template-columns: 1fr 1fr }
  .footer-grid { grid-template-columns: 1fr !important }
  .hero-cta { flex-direction: column; align-items: stretch }
  .hero-cta .btn { flex: none }
  .hero-trust { font-size: .72rem; gap: 10px }
  .hero { min-height: 460px }
  .hero-inner { padding: 48px 0 }
  .promo-strip__title { font-size: .98rem }
  .stats-bar--float { margin-top: -24px }
  .auth-brand { padding: 32px 24px; min-height: 160px }
  .auth-brand img { height: 36px }
  .auth-brand-tagline { font-size: 1rem }
  .breadcrumb { padding: 10px 0 }
  .breadcrumb-list { font-size: .72rem }
  .games-grid { grid-template-columns: repeat(2,1fr); gap: 10px }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr !important }
  .slots-grid { grid-template-columns: 1fr }
  .sport-grid { grid-template-columns: repeat(3,1fr) }
  .tier-row { grid-template-columns: 40px 1fr; gap: 10px; padding: 14px 16px }
  .tier-row .tier-pct, .tier-row .tier-chip { display: none }
  .e404-nav { gap: 8px }
  .e404-nav a { font-size: .72rem; padding: 7px 12px }
}

/* ============================================================
   Polish: subtle improvements
   ============================================================ */
.tbl tbody td a { color: var(--text-1) }
.tbl tbody td a:hover { color: var(--red) }
.feature-card { height: 100% }
.promo-card { height: 100%; display: flex; flex-direction: column }
.promo-card__body { display: flex; flex-direction: column; flex: 1 }
.promo-card__footer { margin-top: auto }
.slot-card { height: 100%; display: flex; flex-direction: column }
.slot-card__body { display: flex; flex-direction: column; flex: 1 }
.slot-card__cta { margin-top: auto }

/* Smooth image loading */
img { background-color: transparent }
img[loading="lazy"] { transition: opacity .25s }

/* Prevent horizontal overflow caused by inline grid styles */
.section, section { min-width: 0 }

/* Make all primary headings render crisply */
h1, h2, h3, h4 { text-wrap: balance }
.hero-title { text-wrap: balance }

/* Hero ::before overlay should not block content */
.hero::before { z-index: 0 }
.hero > * { position: relative; z-index: 1 }
.hero > .hero-bg-img { z-index: 0 }

/* Hide legacy SVG hero illustrations — PNG hero-bg-img replaces them */
.hero .hero-img { display: none !important }
.hero-inner { grid-template-columns: 1fr !important; max-width: 820px; margin: 0 auto; text-align: center }
.hero-content { text-align: center }
.hero-cta { justify-content: center }
.hero-trust { justify-content: center }

