/* =========================================================
   1win Korea - style.css
   1. Variables    5. Secciones
   2. Reset/base   6. Componentes
   3. Botones      7. Footer
   4. Header/Hero  8. Responsive
   ========================================================= */

/* ============ 1. VARIABLES ============ */
:root {
  --bg:          #070b18;
  --bg-alt:      #0b1124;
  --surface:     #101a33;
  --surface-2:   #142042;
  --line:        #1e2c52;
  --text:        #e9eefb;
  --muted:       #94a2c4;
  --primary:     #1f5bff;
  --primary-2:   #4d8bff;
  --primary-dk:  #0f3bc4;
  --accent:      #ffc738;
  --green:       #2ee08a;
  --red:         #ff6b6b;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 18px 44px rgba(3, 8, 25, .55);
  --shadow-sm:   0 8px 20px rgba(3, 8, 25, .4);
  --container:   1180px;
  --header-h:    68px;
  --font: 'Noto Sans KR', 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Fuente segun el idioma de la pagina (<html lang>) */
:root:lang(en), :root:lang(es), :root:lang(ru) {
  --font: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
:root:lang(ar) {
  --font: 'Noto Sans Arabic', 'Noto Sans', Tahoma, 'Segoe UI', system-ui, sans-serif;
}
/* El arabe es escritura ligada: el espaciado entre letras la rompe */
[dir="rtl"] * { letter-spacing: 0 !important; }
[dir="rtl"] body { line-height: 1.8; }
:root:lang(ja) {
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, system-ui, sans-serif;
}

/* ============ 2. RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

html, body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-2); text-decoration: none; }
a:hover { color: #8fb4ff; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }
strong { font-weight: 700; }
code { font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; font-size: .85em; color: var(--accent); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 860px; }
.muted { color: var(--muted); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 0; top: 0; z-index: 999; transform: translateY(-120%);
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { transform: none; color: #fff; }

:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; }

/* ============ 3. BOTONES ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer;
  text-align: center; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(31, 91, 255, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(31, 91, 255, .5); transform: translateY(-2px); }

.btn-outline { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-outline:hover { border-color: var(--primary-2); color: #fff; background: rgba(31, 91, 255, .12); }

.btn-success {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #fff; box-shadow: 0 10px 24px rgba(34, 197, 94, .28);
}
.btn-success:hover { color: #fff; box-shadow: 0 14px 30px rgba(34, 197, 94, .42); transform: translateY(-2px); }

.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .06); }

.btn-sm  { padding: 9px 16px; font-size: .85rem; }
.btn-lg  { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-copy {
  background: var(--accent); color: #241a00; padding: 9px 16px; font-size: .85rem;
  border-radius: 10px;
}
.btn-copy:hover { background: #ffd66a; }
.btn-copy.is-done { background: var(--green); color: #05230f; }

/* ============ 4. HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 24, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); background: rgba(7, 11, 24, .97); }

.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { border-radius: 10px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text b { font-size: 1.16rem; font-weight: 900; color: #fff; letter-spacing: -.02em; }
.logo-text small { font-size: .66rem; font-weight: 600; color: var(--muted); letter-spacing: .1em; }
.logo-footer { margin-bottom: 4px; }

.main-nav { margin-inline-start: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-size: .92rem; font-weight: 500;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a.is-active { color: #fff; background: rgba(31, 91, 255, .18); }
.nav-cta { display: none; }
/* Idiomas con etiquetas largas: menu mas compacto en escritorio */
:root:lang(de) .main-nav a, :root:lang(ru) .main-nav a { padding: 8px 6px; font-size: .84rem; }
:root:lang(de) .main-nav > ul, :root:lang(ru) .main-nav > ul { gap: 0; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

.burger {
  display: none; width: 42px; height: 38px; padding: 9px 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
}
.burger span {
  display: block; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.scroll-progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .1s linear;
}

/* ============ HERO ============ */
.hero { position: relative; padding: clamp(40px, 6vw, 76px) 0 48px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: -30% 0 auto -10%; height: 640px; pointer-events: none;
  background:
    radial-gradient(45% 45% at 22% 32%, rgba(31, 91, 255, .38), transparent 70%),
    radial-gradient(38% 42% at 78% 18%, rgba(125, 60, 255, .3), transparent 70%),
    radial-gradient(30% 30% at 62% 70%, rgba(255, 199, 56, .12), transparent 70%);
  filter: blur(6px);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.2fr .9fr;
  gap: clamp(24px, 4vw, 52px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 18px;
  background: rgba(31, 91, 255, .14); border: 1px solid rgba(77, 139, 255, .3);
  border-radius: 999px; color: #b9cdff; font-size: .82rem; font-weight: 500;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 224, 138, .18); }

.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); color: #c4cfe8; max-width: 62ch; }
.lead-sm { color: #c4cfe8; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.hero-note { margin-top: 16px; font-size: .82rem; color: var(--muted); }

/* Imagen principal del hero */
.hero-visual { position: relative; margin: 0; max-width: 460px; justify-self: end; width: 100%; }
.hero-visual a { display: block; border-radius: 20px; overflow: hidden; }
/* Solo el banner (no el logo del badge) */
.hero-visual > a img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 199, 56, .25);
  border-radius: 20px; transition: transform .35s ease;
}
.hero-visual > a:hover img { transform: scale(1.02); }

/* Badge de puntuacion: compacto, dentro de la esquina superior izquierda */
.hero-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 7px;
  background: rgba(8, 12, 28, .78); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
  pointer-events: none;
}
.hero-badge img { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.hero-badge-text { display: flex; flex-direction: column; line-height: 1.15; }
.hero-badge-label { font-size: .66rem; color: var(--muted); letter-spacing: .02em; }
.hero-badge .rating { gap: 6px; font-size: .82rem; }
.hero-badge .stars::before { font-size: .78rem; letter-spacing: 1px; }

/* Ficha de puntuacion (seccion 기본 정보) */
.score-card .score-list { margin: 0; }
.hero-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-card-title { margin: 0 0 4px; font-size: 1.05rem; }

.rating { display: flex; align-items: center; gap: 8px; font-size: .95rem; }
.stars::before {
  content: "★★★★★";
  font-size: 1rem; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--accent) var(--rate, 100%), rgba(255, 255, 255, .16) var(--rate, 100%));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.score-list { display: grid; gap: 12px; margin: 0 0 22px; }
.score-list li { display: grid; grid-template-columns: 90px 1fr 34px; align-items: center; gap: 10px; font-size: .88rem; }
.score-list span { color: var(--muted); }
.score-list i { height: 6px; background: rgba(255, 255, 255, .08); border-radius: 99px; overflow: hidden; display: block; }
.score-list i::after {
  content: ""; display: block; height: 100%; width: var(--w, 50%);
  background: linear-gradient(90deg, var(--primary), var(--primary-2)); border-radius: 99px;
}
.score-list b { text-align: end; font-size: .85rem; }

.stats-strip {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(28px, 4vw, 44px); padding: 0; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
}
.stats-strip li { padding: 20px 16px; text-align: center; background: var(--bg-alt); }
.stats-strip strong { display: block; font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: #fff; font-weight: 900; }
.stats-strip span { font-size: .84rem; color: var(--muted); }

/* ============ 5. SECCIONES ============ */
.section { padding: clamp(44px, 6vw, 78px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.section-head p { color: var(--muted); margin-bottom: 0; }
.kicker {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px;
  background: rgba(255, 199, 56, .12); border-radius: 999px;
  color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.subhead { margin: 36px 0 16px; font-size: 1.15rem; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); align-items: start; }

/* ============ 6. COMPONENTES ============ */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}

/* Tablas */
.table-card { padding: 6px 6px 2px; overflow: hidden; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: 13px 14px; text-align: start; vertical-align: top; }
.data-table tbody th { color: var(--muted); font-weight: 500; white-space: nowrap; }
.data-table tbody tr + tr { border-top: 1px solid var(--line); }
.data-table thead th {
  background: var(--surface-2); color: #fff; font-size: .82rem; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
.data-table.striped tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.data-table.striped tbody th { color: var(--text); font-weight: 700; }
.pay-method { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.pay-method img { width: 24px; height: 24px; border-radius: 6px; flex: none; }

/* Pros / cons */
.proscons { display: grid; gap: 18px; }
.proscons h3 { display: flex; align-items: center; gap: 8px; }
.proscons ul { display: grid; gap: 10px; }
.proscons li { position: relative; padding-inline-start: 26px; font-size: .93rem; color: #cdd7ee; }
.proscons li::before { position: absolute; inset-inline-start: 0; top: 0; font-weight: 700; }
.pros { border-inline-start: 3px solid var(--green); }
.pros li::before { content: "+"; color: var(--green); }
.cons { border-inline-start: 3px solid var(--red); }
.cons li::before { content: "−"; color: var(--red); }

/* Bonos */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bonus-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.bonus-card.featured { border-color: rgba(77, 139, 255, .55); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.bonus-card.featured::after {
  content: ""; position: absolute; inset: -40% -60% auto auto; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(31, 91, 255, .35), transparent 65%); pointer-events: none;
}
.tag {
  align-self: flex-start; margin-bottom: 12px; padding: 4px 10px;
  background: rgba(31, 91, 255, .18); border: 1px solid rgba(77, 139, 255, .35);
  border-radius: 999px; color: #b9cdff; font-size: .74rem; font-weight: 700;
}
.bonus-card p { font-size: .9rem; color: var(--muted); }
.bonus-meta { display: grid; gap: 8px; margin: 0 0 18px; }
.bonus-meta div { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; border-bottom: 1px dashed rgba(255, 255, 255, .08); padding-bottom: 6px; }
.bonus-meta dt { color: var(--muted); margin: 0; }
.bonus-meta dd { margin: 0; font-weight: 700; }
.disclaimer { margin-top: 20px; font-size: .82rem; color: var(--muted); }

/* Juegos */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chips li {
  display: flex; align-items: baseline; gap: 7px; padding: 8px 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: #c6d2ea;
}
.cat-chips b { color: var(--accent); font-size: .8rem; }

/* Tarjetas mas pequenas que el original (235px) para que la imagen nunca se amplie */
.games-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 900px; margin-inline: auto;
}
.game-card {
  position: relative; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(77, 139, 255, .5); box-shadow: var(--shadow); }
.game-card:hover .game-thumb img { transform: scale(1.04); }

.game-thumb { position: relative; overflow: hidden; }
.game-thumb img {
  width: 100%; aspect-ratio: 232 / 310; object-fit: cover;
  transition: transform .35s ease;
}
.game-type {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px;
  background: rgba(6, 10, 22, .78); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px; font-size: .72rem; font-weight: 700; color: #e9eefb;
  backdrop-filter: blur(4px);
}
.game-body { padding: 11px 13px 14px; }
.game-body h4 { margin: 0 0 2px; font-size: .88rem; font-weight: 700; }
.game-provider { font-size: .72rem; color: var(--muted); }
.game-link { position: absolute; inset: 0; }

/* Captura de pantalla con pie de foto */
.shot { margin: 34px 0 0; }
.shot-top { margin: 0 0 26px; }

/* Seccion 인터페이스 */
.section-interface {
  background:
    radial-gradient(50% 60% at 50% 0%, rgba(31, 91, 255, .16), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.shot-interface { margin: 0; }
.shot-interface img { box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(77, 139, 255, .18); }
.ui-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ui-points li { display: flex; gap: 12px; padding: 18px; }
.ui-points h3 { margin-bottom: 4px; font-size: .98rem; }
.ui-points p { margin: 0; font-size: .85rem; color: var(--muted); }
.ui-num {
  flex: none; width: 28px; height: 28px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 50%; font-size: .82rem; font-weight: 900; color: #fff;
}
.shot-top img { max-width: 760px; margin-inline: auto; }
.shot img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.shot figcaption { margin-top: 10px; font-size: .82rem; color: var(--muted); text-align: center; }

.provider-list { display: flex; flex-wrap: wrap; gap: 10px; }
.provider-list li {
  padding: 8px 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; font-size: .84rem; color: #c6d2ea;
}

/* Tabs */
.tab-btns { display: inline-flex; gap: 6px; padding: 5px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.tab-btn {
  padding: 9px 26px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.tab-btn:hover { color: #fff; }
.tab-btn.is-active { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; }
.tab-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tab-panel[hidden] { display: none; }

.note-box {
  margin-top: 24px; padding: 22px 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(31, 91, 255, .12), rgba(255, 255, 255, .02));
  border: 1px solid rgba(77, 139, 255, .25);
}
.note-box h3 { margin-bottom: 12px; }
.note-box ul { display: grid; gap: 8px; }
.note-box li { position: relative; padding-inline-start: 22px; font-size: .9rem; color: #cdd7ee; }
.note-box li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--green); font-weight: 700; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step {
  display: flex; gap: 14px; padding: 22px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.step-num {
  flex: none; width: 34px; height: 34px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 50%; font-weight: 900; font-size: .95rem; color: #fff;
}
.step h3 { margin-bottom: 6px; font-size: 1rem; }
.step p { margin: 0; font-size: .87rem; color: var(--muted); }

/* Registro: imagen + pasos */
.signup-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: center;
}
.signup-grid .steps { grid-template-columns: 1fr; gap: 12px; }
.signup-grid .step { padding: 16px 18px; }
.signup-visual { margin: 0; }
.signup-visual img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(77, 139, 255, .22);
}

.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  margin-top: 28px; padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--primary-dk), #6b2bd9 55%, #0d2a80);
  box-shadow: var(--shadow);
}
.cta-band h3 { margin-bottom: 4px; font-size: 1.25rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .92rem; }

/* App */
.app-grid { align-items: center; }
.feature-list { display: grid; gap: 16px; margin: 22px 0 26px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list h3 { margin-bottom: 2px; font-size: .98rem; }
.feature-list p { margin: 0; font-size: .87rem; color: var(--muted); }
.feature-icon {
  flex: none; width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(31, 91, 255, .14); border: 1px solid rgba(77, 139, 255, .3);
  border-radius: 12px; font-size: 1.1rem;
}
.feature-icon[data-icon="bolt"]::before   { content: "⚡"; }
.feature-icon[data-icon="bell"]::before   { content: "🔔"; }
.feature-icon[data-icon="shield"]::before { content: "🛡"; }
.feature-icon[data-icon="wallet"]::before { content: "👛"; }
.app-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.app-visual { display: grid; place-items: center; }
.app-visual img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(77, 139, 255, .22);
}

/* Deportes / seguridad */
.sports-grid, .safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.safety-grid { grid-template-columns: repeat(3, 1fr); }
.sport-card p { font-size: .88rem; color: var(--muted); }
.pill {
  display: inline-block; padding: 5px 12px; background: rgba(46, 224, 138, .12);
  border-radius: 999px; color: var(--green); font-size: .76rem; font-weight: 700;
}
.safety-card { border-top: 3px solid var(--primary); }
.safety-card p { margin: 0; font-size: .89rem; color: var(--muted); }

/* Resenas */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card header strong { display: block; font-size: .95rem; }
.review-card header span { font-size: .78rem; }
.review-card p { margin: 10px 0 0; font-size: .89rem; color: #cdd7ee; }
.avatar {
  width: 42px; height: 42px; flex: none; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #7d3cff); border-radius: 50%;
  font-weight: 700; color: #fff;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item h3 { margin: 0; font-size: 1rem; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 18px 20px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .98rem; color: var(--text); text-align: start;
}
.faq-q:hover { background: rgba(255, 255, 255, .03); }
.faq-icon {
  position: relative; flex: none; width: 22px; height: 22px;
  border: 1px solid var(--line); border-radius: 50%; transition: transform .25s ease, background .2s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px;
  background: var(--primary-2); transform: translate(-50%, -50%); border-radius: 2px;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: opacity .2s ease; }
.faq-q[aria-expanded="true"] .faq-icon { background: rgba(31, 91, 255, .2); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-a { padding: 0 20px 18px; }
.faq-a p { margin: 0; font-size: .92rem; color: var(--muted); }

/* CTA final */
.final-cta {
  padding: clamp(46px, 6vw, 72px) 0; text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(31, 91, 255, .35), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.final-cta p { color: var(--muted); }
.final-cta .btn { margin-top: 8px; }
.final-cta small { display: block; margin-top: 16px; font-size: .78rem; color: var(--muted); }

/* ============ 7. FOOTER ============ */
.site-footer { background: #050813; border-top: 1px solid var(--line); padding-top: 46px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 34px; }
.footer-brand p { margin-top: 14px; font-size: .84rem; color: var(--muted); max-width: 42ch; }
.footer-col h2 { font-size: .95rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col li, .footer-col a { font-size: .86rem; color: var(--muted); }
.footer-col a:hover { color: #fff; }
.badge-18 {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-inline-end: 6px;
  border: 2px solid var(--red); border-radius: 50%; color: var(--red); font-size: .72rem; font-weight: 900;
  vertical-align: middle;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  padding: 18px 0 26px; border-top: 1px solid var(--line);
}
.footer-bottom p { margin: 0; font-size: .8rem; color: var(--muted); }

/* Idiomas en el pie (enlaces rastreables entre versiones) */
.footer-langs { padding: 0 0 18px; }
.footer-langs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-langs a {
  display: inline-block; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .8rem; color: var(--muted);
}
.footer-langs a:hover, .footer-langs a[aria-current] { color: #fff; border-color: var(--primary-2); }

/* ============ AVISO SUPERIOR (solo review / +18) ============ */
.notice-bar { background: #1a0f14; border-bottom: 1px solid rgba(255, 107, 107, .25); }
.notice-bar .container { display: flex; align-items: center; gap: 10px; padding-top: 7px; padding-bottom: 7px; }
.notice-bar .badge-18 { flex: none; width: 26px; height: 26px; font-size: .64rem; margin: 0; }
.notice-bar p { margin: 0; font-size: .78rem; line-height: 1.45; color: #e7c9cd; }
.notice-bar a { color: #ffb3b3; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.hero-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ============ SELECTOR DE IDIOMA ============ */
.lang-switch { position: relative; }
.lang-switch summary {
  display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  list-style: none; cursor: pointer; user-select: none;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); font-size: .82rem; font-weight: 700; letter-spacing: .04em;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--primary-2); }
.lang-switch summary:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 2px; }
.globe {
  width: 15px; height: 15px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; opacity: .85;
}
.globe::before, .globe::after { content: ""; position: absolute; }
.globe::before { inset: -1.6px 3.2px; border: 1.6px solid currentColor; border-radius: 50%; }
.globe::after { left: 0; right: 0; top: 50%; border-top: 1.6px solid currentColor; transform: translateY(-50%); }
.lang-switch ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 120; min-width: 180px; padding: 6px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.lang-switch li a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  color: var(--text); font-size: .9rem;
}
.lang-switch li a b { width: 24px; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.lang-switch li a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.lang-switch li a.is-current { background: rgba(31, 91, 255, .18); color: #fff; }

/* ============ AVISO LEGAL ============ */
.disclaimer-section { background: linear-gradient(180deg, #120c16, var(--bg)); border-top: 1px solid rgba(255, 107, 107, .22); }
.kicker-warn { background: rgba(255, 107, 107, .14); color: var(--red); }
.disc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.disc-card { border-color: rgba(255, 107, 107, .2); }
.disc-card h3 { font-size: 1.02rem; }
.disc-card p { margin: 0; color: #c4cfe8; font-size: .93rem; }
.disc-main { grid-column: 1 / -1; background: linear-gradient(135deg, rgba(255, 107, 107, .12), var(--surface)); border-color: rgba(255, 107, 107, .4); }
.disc-main h3 { font-size: 1.15rem; }

/* Volver arriba */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2)); border: 0; border-radius: 50%;
  cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.to-top::before {
  content: ""; position: absolute; top: 52%; left: 50%; width: 11px; height: 11px;
  border-left: 2px solid #fff; border-top: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
.to-top.is-visible { opacity: 1; transform: translateY(0); }

/* Animacion de entrada */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ 8. RESPONSIVE ============ */
@media (max-width: 1100px) {
  .bonus-grid, .steps, .sports-grid, .safety-grid, .ui-points { grid-template-columns: repeat(2, 1fr); }
  .safety-grid, .bonus-grid { grid-template-columns: repeat(3, 1fr); }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* Menu hamburguesa: el menu completo necesita ~1180px */
@media (max-width: 1180px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .3s ease, visibility 0s linear .3s; box-shadow: var(--shadow);
    visibility: hidden;
  }
  .main-nav.is-open { transform: translateY(0); visibility: visible; transition: transform .3s ease; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 1rem; border-radius: 10px; }
  .nav-cta { display: flex; gap: 10px; margin-top: 14px; }
  .nav-cta .btn { flex: 1; }
  .burger { display: block; }
  .header-actions { margin-inline-start: auto; }
}

@media (max-width: 980px) {

  .hero-inner { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-grid .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { justify-self: center; max-width: 520px; }
  .hero-badge { left: 10px; top: 10px; }
  .grid-2, .app-grid { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .header-login { display: none; }
  .bonus-grid, .steps, .sports-grid, .safety-grid, .reviews-grid, .ui-points { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero-btns .btn { flex: 1 1 100%; }
  .signup-grid .steps { grid-template-columns: 1fr; }
  .data-table th, .data-table td { padding: 11px 12px; font-size: .86rem; }
}

@media (max-width: 400px) {
  .tab-btn { padding: 9px 18px; }
  .to-top { right: 12px; bottom: 12px; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Impresion */
@media print {
  .site-header, .to-top, .hero-glow, .final-cta .btn { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Ajustes moviles para aviso, idioma y aviso legal */
@media (max-width: 720px) {
  .disc-grid { grid-template-columns: 1fr; }
  .notice-bar p { font-size: .74rem; }
}
@media (max-width: 440px) {
  .header-cta { display: none; }           /* el boton sigue en el menu movil */
  .lang-switch summary { padding: 0 9px; }
}
