/* ==========================================================================
   1V1 — Hoja de estilos compartida para guías /guia/*
   Basada en el design system live (HUD esports, gradiente energy).
   Reutilizable por todas las páginas de guía del clúster de contenido SEO.
   ========================================================================== */

:root {
  --brand-primary: #8b5cf6; --brand-light: #a78bfa; --brand-dark: #6d28d9;
  --accent-green: #10b981; --accent-gold: #f59e0b; --accent-gold-light: #fbbf24;
  --accent-red: #ef4444; --accent-pink: #ec4899; --accent-blue: #3b82f6; --val: #ff4655;
  --bg-root: #050509; --bg-card: rgba(255,255,255,.024);
  --border: rgba(139,92,246,.16); --border-soft: rgba(255,255,255,.06);
  --text-primary: #f5f4fb; --text-secondary: #a5a3b4; --text-muted: #605e70;
  --energy: linear-gradient(100deg, #8b5cf6 0%, #ec4899 52%, #f59e0b 100%);
  --transition: transform .28s cubic-bezier(.4,0,.2,1), color .28s, background-color .28s, background-position .28s, border-color .28s, box-shadow .28s;
  --font-display: 'Rajdhani', sans-serif; --font-body: 'Outfit', sans-serif; --font-mono: 'Space Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; color-scheme: dark; -webkit-text-size-adjust: 100%; } html, body { overflow-x: clip; }
body { background: var(--bg-root); color: var(--text-primary); font-family: var(--font-body); line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: inherit; } img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--brand-primary); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; }

.fx-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(rgba(139,92,246,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(139,92,246,.045) 1px,transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse 90% 60% at 50% 0%,#000 20%,transparent 75%); -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%,#000 20%,transparent 75%); }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
main { position: relative; z-index: 2; }
section { padding: 52px 0; position: relative; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .2px; line-height: 1.1; text-wrap: balance; color: #fff; }
p { color: var(--text-secondary); font-size: 16.5px; text-wrap: pretty; }

.grad-energy { background: var(--energy); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 220% auto; animation: flow 7s linear infinite; }
@keyframes flow { to { background-position: 220% center; } }
.tele { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.tele::before { content: "//"; color: var(--brand-primary); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brand-light); background: rgba(139,92,246,.08); border: 1px solid rgba(139,92,246,.24); padding: 8px 15px; border-radius: 4px; }

/* header */
header { position: sticky; top: 0; z-index: 100; height: 66px; background: rgba(5,5,9,.82); border-bottom: 1px solid rgba(139,92,246,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo-1v1 { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 27px; letter-spacing: 4px; text-decoration: none; text-shadow: 0 0 14px rgba(139,92,246,.4); }
.logo-1v1 span { color: var(--brand-primary); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.pill-live { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-green); background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.22); border-radius: 9999px; padding: 6px 13px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; animation: pulse 1.8s infinite ease-in-out; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .55; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-family: var(--font-body); font-size: 14px; font-weight: 700; padding: 13px 24px; border-radius: 9px; cursor: pointer; transition: var(--transition); border: 1px solid transparent; text-transform: uppercase; letter-spacing: .6px; }
.btn-primary { background: var(--energy); background-size: 180% auto; color: #fff; box-shadow: 0 6px 22px rgba(139,92,246,.34); }
.btn-primary:hover { transform: translateY(-2px); background-position: right center; box-shadow: 0 10px 32px rgba(236,72,153,.44); }
.btn-ghost { background: rgba(255,255,255,.02); color: #fff; border-color: rgba(139,92,246,.3); }
.btn-ghost:hover { background: rgba(139,92,246,.1); border-color: var(--brand-light); }
.btn-header { padding: 9px 17px; font-size: 12.5px; }

/* breadcrumbs */
.breadcrumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-secondary); margin-bottom: 24px; }
.breadcrumbs a { color: var(--brand-light); text-decoration: none; } .breadcrumbs a:hover { color: #fff; } .breadcrumbs .sep { opacity: .4; }

/* hero */
.hero { padding: 38px 0 14px; }
.hero h1 { font-size: clamp(30px, 4.8vw, 50px); margin: 16px 0 18px; }
.hero-lead { font-size: 18px; color: var(--text-secondary); max-width: 760px; }
.hero-lead b { color: #fff; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.hero-meta span b { color: var(--brand-light); font-weight: 700; }

/* bands & headings */
.band { border-top: 1px solid rgba(139,92,246,.06); border-bottom: 1px solid rgba(139,92,246,.06); background: rgba(255,255,255,.008); }
.section-head { max-width: 760px; margin: 0 auto 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 13px; }
.section-title { font-size: clamp(25px, 4vw, 38px); }
.section-sub { font-size: 16px; color: var(--text-secondary); }

/* card + HUD corners */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; transition: var(--transition); }
.hud { position: relative; }
.hud::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; --b: 1.5px; --l: 15px; --c: rgba(139,92,246,.55);
  background: linear-gradient(var(--c),var(--c)) top left/var(--l) var(--b) no-repeat, linear-gradient(var(--c),var(--c)) top left/var(--b) var(--l) no-repeat, linear-gradient(var(--c),var(--c)) top right/var(--l) var(--b) no-repeat, linear-gradient(var(--c),var(--c)) top right/var(--b) var(--l) no-repeat, linear-gradient(var(--c),var(--c)) bottom left/var(--l) var(--b) no-repeat, linear-gradient(var(--c),var(--c)) bottom left/var(--b) var(--l) no-repeat, linear-gradient(var(--c),var(--c)) bottom right/var(--l) var(--b) no-repeat, linear-gradient(var(--c),var(--c)) bottom right/var(--b) var(--l) no-repeat; }

/* TOC (tabla de contenidos) */
.toc { max-width: 760px; margin: 0 auto; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.012); padding: 20px 24px; }
.toc h2 { font-size: 14px; letter-spacing: 1px; color: var(--brand-light); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 8px; }
.toc li { counter-increment: toc; }
.toc a { color: var(--text-secondary); text-decoration: none; font-size: 14.5px; display: flex; gap: 10px; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--brand-primary); font-weight: 700; }
.toc a:hover { color: #fff; }

/* prose */
.prose { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: clamp(23px,3.6vw,32px); margin-top: 10px; scroll-margin-top: 84px; }
.prose h3 { font-size: 19px; color: #fff; margin-top: 6px; }
.prose a { color: var(--brand-light); text-decoration: underline; text-underline-offset: 2px; }
.prose b, .prose strong { color: #fff; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--text-secondary); font-size: 16px; }
.prose li b { color: #fff; }

/* callout / aviso */
.callout { border: 1px solid var(--border); border-left: 3px solid var(--brand-primary); border-radius: 10px; background: rgba(139,92,246,.05); padding: 16px 20px; }
.callout.gold { border-left-color: var(--accent-gold); background: rgba(245,158,11,.05); }
.callout.green { border-left-color: var(--accent-green); background: rgba(16,185,129,.05); }
.callout p { font-size: 14.5px; margin: 0; }
.callout b { color: #fff; }

/* checklist / criterios */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 900px; margin: 0 auto; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.012); }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent-green); margin-top: 2px; }
.checklist b { color: #fff; display: block; margin-bottom: 2px; font-size: 15px; }
.checklist p { font-size: 13.5px; margin: 0; }

/* pasos numerados */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.step { padding: 24px 22px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.012); position: relative; overflow: hidden; }
.step .n { font-family: var(--font-display); font-size: 56px; font-weight: 700; color: transparent; -webkit-text-stroke: 1.5px rgba(139,92,246,.3); line-height: .8; position: absolute; top: 12px; right: 16px; }
.step h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* tabla comparativa / datos */
.table-wrap { overflow-x: auto; border-radius: 14px; max-width: 900px; margin: 0 auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; background: rgba(255,255,255,.012); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); font-size: 14.5px; vertical-align: top; }
table.data thead th { font-family: var(--font-display); font-size: 16px; text-transform: uppercase; color: #fff; background: rgba(139,92,246,.06); }
table.data thead th.col-1v1 { color: var(--brand-light); }
table.data td:first-child { font-weight: 600; color: #fff; }
table.data td.yes { color: var(--accent-green); }
table.data .col-1v1 { background: rgba(139,92,246,.05); }
table.data tr:last-child td { border-bottom: none; }

/* listicle item */
.rank { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.rank-item { border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.012); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.rank-item .rk { font-family: var(--font-mono); font-size: 12px; color: var(--brand-primary); font-weight: 700; }
.rank-item h3 { font-size: 20px; color: #fff; }
.rank-item .best { display: inline-block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--accent-gold); background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); padding: 3px 9px; border-radius: 5px; }
.rank-item p { font-size: 14.5px; margin: 0; }
.rank-item .pc { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; font-size: 13.5px; margin-top: 4px; }
.rank-item .pc .pro { color: var(--accent-green); } .rank-item .pc .con { color: var(--text-secondary); }

/* faq */
.faq-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.012); overflow: hidden; }
.faq-item.open { border-color: rgba(139,92,246,.3); }
.faq-header { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 14px; cursor: pointer; }
.faq-question { font-size: 15.5px; font-weight: 600; color: #fff; font-family: var(--font-display); }
.faq-chevron { width: 20px; height: 20px; stroke: var(--brand-light); fill: none; stroke-width: 2.5; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.faq-body-inner { padding: 0 22px 18px; color: var(--text-secondary); font-size: 14.5px; line-height: 1.7; }
.faq-body-inner a { color: var(--brand-light); text-decoration: underline; }

/* related (enlaces del clúster) */
.related { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 14px; }
.related a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.012); text-decoration: none; transition: var(--transition); }
.related a:hover { transform: translateY(-3px); border-color: rgba(139,92,246,.34); box-shadow: 0 12px 30px rgba(139,92,246,.1); }
.related .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); }
.related .t { font-family: var(--font-display); font-size: 16px; color: #fff; }

/* cta */
.cta-card { text-align: center; border: 1px solid rgba(139,92,246,.24); border-radius: 20px; padding: 44px 28px; background: linear-gradient(140deg, rgba(139,92,246,.08), rgba(236,72,153,.03) 55%, rgba(245,158,11,.04)); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-card h2 { font-size: clamp(26px,4vw,40px); }

/* footer */
footer { background: #020204; border-top: 1px solid rgba(139,92,246,.15); padding: 46px 0 28px; margin-top: auto; position: relative; z-index: 2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; margin-bottom: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13.5px; } .footer-links a:hover { color: var(--brand-light); }
.footer-disc p { font-size: 11.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 6px; }
.footer-bottom { font-size: 12px; color: var(--text-muted); margin-top: 16px; }

@media (max-width: 720px) { .checklist, .steps, .rank-item .pc { grid-template-columns: 1fr; } section { padding: 40px 0; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .01ms !important; } }
