﻿/* ==============================================
   TERRITORIO RP â€” styles.css
   Palette: #00ff88 green on near-black
   ============================================== */

/* â”€â”€ Reset & tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green:        #6bff1a;
    --green-lite:   #88ff40;
    --green-dim:    #4dcc10;
    --glow:         rgba(107,255,26,.35);
    --glow-soft:    rgba(107,255,26,.10);
    --bg:           #060c08;
    --bg-card:      rgba(13,22,15,.75);
    --bg-deep:      #030705;
    --border:       rgba(107,255,26,.08);
    --border-hi:    rgba(107,255,26,.22);
    --text:         #eef9f2;
    --muted:        rgba(200,230,210,.45);
    --header-h:     56px;
    --ticker-h:     42px;
    --radius:       10px;
    --font:         'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* â”€â”€ Custom cursor â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cursor {
    position: fixed;
    width: 18px; height: 18px;
    border: 2px solid var(--green-lite);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform .1s ease;
    box-shadow: 0 0 14px var(--glow);
    transform: translate(-50%,-50%);
}
.cursor-spark {
    position: fixed;
    width: 4px; height: 4px;
    background: var(--green-lite);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 8px var(--green-lite);
    animation: sparkFade .55s ease-out forwards;
    transform: translate(-50%,-50%);
}
@keyframes sparkFade {
    0%   { opacity:1; transform:translate(-50%,-50%) scale(1); }
    100% { opacity:0; transform:translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); }
}

/* â”€â”€ Particles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#particles-background {
    position: fixed; inset: 0;
    z-index: 0; pointer-events: none; overflow: hidden;
}
.particle {
    position: absolute;
    background: var(--green-lite);
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 0 0 8px var(--green-lite);
}
.particle-large {
    position: absolute;
    background: radial-gradient(circle, var(--green-lite) 0%, transparent 70%);
    border-radius: 50%;
    animation: fallSlow linear infinite;
    opacity: .3;
}
@keyframes fall {
    0%   { transform: translateY(-80px) rotate(0deg); opacity:0; }
    10%  { opacity:1; }
    90%  { opacity:.8; }
    100% { transform: translateY(100vh) rotate(360deg); opacity:0; }
}
@keyframes fallSlow {
    0%   { transform: translateY(-120px) translateX(0); opacity:0; }
    10%  { opacity:.3; }
    50%  { transform: translateY(50vh) translateX(20px); }
    100% { transform: translateY(105vh) translateX(-20px); opacity:0; }
}

/* â”€â”€ Scrollbar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* â”€â”€ Container â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }

/* â”€â”€ Util animations â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
    50%      { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}
@keyframes glowPulse {
    0%,100% { text-shadow: 0 0 20px rgba(107,255,26,.55), 0 0 50px rgba(107,255,26,.2); }
    50%      { text-shadow: 0 0 40px rgba(107,255,26,.85), 0 0 80px rgba(107,255,26,.35); }
}
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ================================================
   HEADER
================================================ */
header {
    position: fixed; top:0; left:0; right:0;
    height: var(--header-h);
    background: rgba(3,6,4,.8);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;          /* padding directo, sin container */
}

header .container {
    display: contents;          /* el container no crea caja, sus hijos van directo al flex del header */
}

/* Logo â€” solo imagen */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 0;
    margin-right: auto;         /* empuja el nav al extremo derecho */
}
.logo-img {
    height: 34px; width: auto;
    filter: drop-shadow(0 0 8px rgba(107,255,26,.4));
    display: block;
}
.logo-name { display: none; }
.logo-rp   { display: none; }

/* Nav â€” extremo derecho */
nav { flex-shrink: 0; }
nav ul { display:flex; gap:.15rem; list-style:none; align-items:center; }
nav a {
    display: block;
    padding: .4rem .9rem;
    font-size: .85rem; font-weight: 500;
    color: var(--muted);
    border-radius: 7px;
    transition: color .2s, background .2s;
}
nav a:hover, nav a.nav-active { color: var(--text); background: rgba(255,255,255,.04); }

.nav-discord {
    background: var(--green) !important;
    color: #050c07 !important;
    font-weight: 700 !important;
    box-shadow: 0 0 14px rgba(107,255,26,.3);
    transition: all .2s !important;
}
.nav-discord:hover {
    background: var(--green-lite) !important;
    box-shadow: 0 0 22px rgba(107,255,26,.5) !important;
    transform: translateY(-1px);
}
.nav-tienda {
    color: var(--green) !important;
    border: 1px solid var(--border-hi) !important;
    transition: all .2s !important;
}
.nav-tienda:hover {
    background: var(--glow-soft) !important;
    border-color: var(--green) !important;
}

/* ================================================
   HERO  â€”  height = 100dvh (header inside via padding)
            ticker is absolute at the very bottom
================================================ */
.hero {
    position: relative;
    height: 100dvh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* push content below fixed header */
    padding-top: var(--header-h);
    /* leave space for ticker at bottom */
    padding-bottom: var(--ticker-h);
}

/* Background layers */
.hero-bg { position:absolute; inset:0; z-index:0; pointer-events:none; }
.hero-grid {
    position: absolute; inset:0;
    background-image:
        linear-gradient(rgba(107,255,26,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(107,255,26,.018) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, black, transparent);
}
.hero-glow-center {
    position:absolute; inset:0;
    background: radial-gradient(ellipse 65% 55% at 50% 48%, rgba(107,255,26,.055), transparent 65%);
}
.hero-glow-left {
    position:absolute; inset:0;
    background: radial-gradient(ellipse 40% 40% at 10% 90%, rgba(107,255,26,.02), transparent 60%);
}
.hero-glow-right {
    position:absolute; inset:0;
    background: radial-gradient(ellipse 40% 40% at 90% 5%, rgba(107,255,26,.02), transparent 60%);
}

/* Ghost watermark */
.hero-ghost {
    position: absolute;
    top:50%; left:50%;
    transform: translate(-50%,-54%);
    font-size: clamp(5rem,14vw,12rem);
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(107,255,26,.04);
    letter-spacing: -.04em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Content */
.hero-container { position:relative; z-index:1; width:100%; }

/* Badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .3rem 1rem;
    font-size: .7rem; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--green);
    background: rgba(107,255,26,.06);
    border: 1px solid rgba(107,255,26,.18);
    border-radius: 50px;
    margin-bottom: 1.25rem;
}
.badge-dot {
    width: 6px; height: 6px;
    background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* Hero logo central */
.hero-logo-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: .75rem;
}
.hero-logo-img {
    width: clamp(220px, 38vw, 480px);
    height: auto;
    filter:
        drop-shadow(0 0 30px rgba(107,255,26,.55))
        drop-shadow(0 0 70px rgba(107,255,26,.25))
        drop-shadow(0 0 120px rgba(107,255,26,.1));
    animation: logoGlow 3.5s ease-in-out infinite;
}
@keyframes logoGlow {
    0%,100% {
        filter:
            drop-shadow(0 0 25px rgba(107,255,26,.5))
            drop-shadow(0 0 60px rgba(107,255,26,.2));
    }
    50% {
        filter:
            drop-shadow(0 0 45px rgba(107,255,26,.8))
            drop-shadow(0 0 100px rgba(107,255,26,.4))
            drop-shadow(0 0 160px rgba(107,255,26,.15));
    }
}

/* Title â€” ya no se usa, oculto por si acaso */
.hero-title  { display: none; }
.hero-ghost  { display: none; }

/* Tagline / desc */
.hero-tagline { display: none; }
.hero-desc    { display: none; }

/* Sub â€” fila de pills debajo del tÃ­tulo */
.hero-sub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}
.hero-sub-item {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: rgba(238,249,242,.45);
}
.hero-sub-sep {
    color: var(--green);
    font-size: .7rem;
    opacity: .6;
}

/* CTA buttons */
.hero-ctas {
    display: flex; gap: .75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .72rem 1.5rem;
    border-radius: 8px; border: none;
    font-family: var(--font);
    font-size: .875rem; font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}
.btn-primary {
    background: var(--green); color: #050c07;
    box-shadow: 0 2px 18px rgba(107,255,26,.35);
}
.btn-primary:hover {
    background: var(--green-lite);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(107,255,26,.5);
}
.btn-ghost {
    background: rgba(255,255,255,.04);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    border-color: rgba(107,255,26,.4);
    background: rgba(107,255,26,.06);
    transform: translateY(-2px);
}

/* Stats */
/* Stats */
.hero-stats {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: rgba(6,12,8,.9);
    border: 1px solid rgba(107,255,26,.12);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: .9rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 24px rgba(0,0,0,.4), inset 0 1px 0 rgba(107,255,26,.06);
}
.stat-item {
    padding: .9rem 1.75rem;
    text-align: center;
}
.stat-sep {
    width: 1px;
    background: rgba(107,255,26,.08);
    flex-shrink: 0;
    margin: .5rem 0;
}
.stat-val {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    font-size: 1.4rem; font-weight: 800;
    color: var(--green);
    text-shadow: 0 0 14px rgba(107,255,26,.5);
    line-height: 1; margin-bottom: .25rem;
    font-variant-numeric: tabular-nums;
}
.stat-val.green { color: #4ade80; text-shadow: 0 0 12px rgba(74,222,128,.4); }
.stat-val sup { font-size: .55em; font-weight: 600; opacity: .45; vertical-align: super; }
.stat-lbl {
    font-size: .6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: rgba(200,230,210,.35);
    display: block;
}
.stat-live-dot {
    width: 7px; height: 7px;
    background: #4ade80; border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

/* IP Bar */
.ip-bar {
    display: inline-flex; align-items: center; gap: .65rem;
    padding: .4rem .4rem .4rem 1rem;
    background: rgba(10,18,12,.9);
    border: 1px solid var(--border);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-size: .85rem;
    flex-wrap: wrap; justify-content: center;
}
.ip-online-dot {
    width: 7px; height: 7px;
    background: #22c55e; border-radius: 50%;
    box-shadow: 0 0 6px #22c55e;
    animation: pulse 2s ease-in-out infinite; flex-shrink:0;
}
.ip-label { font-size: .72rem; color: var(--muted); font-weight: 500; }
.ip-code {
    font-family: 'Courier New', monospace;
    font-size: .8rem; color: var(--green-lite);
    background: transparent; border: none;
}
.ip-copy, .ip-join {
    padding: .32rem .85rem;
    border-radius: 50px;
    font-size: .78rem; font-weight: 600;
    cursor: pointer; border: none;
    transition: all .2s; font-family: var(--font);
    text-decoration: none; line-height: 1.5;
}
.ip-copy { background: rgba(255,255,255,.06); color: var(--muted); border: 1px solid rgba(255,255,255,.08); }
.ip-copy:hover { background: var(--glow-soft); color: var(--green); border-color: var(--border-hi); }
.ip-join { background: var(--green); color: #050c07; font-weight: 700; box-shadow: 0 0 10px rgba(107,255,26,.3); }
.ip-join:hover { background: var(--green-lite); }

/* â”€â”€ Ticker â€” absolute at hero bottom â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* ── Ticker separador entre secciones ─────────── */
.ticker-separator {
    position: relative;
    z-index: 1;
    height: var(--ticker-h);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: rgba(0,0,0,.5);
    border-top: 1px solid rgba(107,255,26,.1);
    border-bottom: 1px solid rgba(107,255,26,.1);
}
.ticker-separator::before,
.ticker-separator::after {
    content: '';
    position: absolute; top:0; bottom:0;
    width: 80px; z-index: 2; pointer-events: none;
}
.ticker-separator::before { left:0;  background: linear-gradient(to right, var(--bg), transparent); }
.ticker-separator::after  { right:0; background: linear-gradient(to left,  var(--bg), transparent); }

/* ── Ticker hero — absolute at hero bottom ────── */
.ticker-wrap {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: var(--ticker-h);
    display: flex; align-items: center;
    overflow: hidden;
    background: rgba(0,0,0,.55);
    border-top: 1px solid rgba(107,255,26,.1);
    z-index: 2;
}
.ticker-wrap::before, .ticker-wrap::after {
    content: '';
    position: absolute; top:0; bottom:0;
    width: 90px; z-index: 2; pointer-events: none;
}
.ticker-wrap::before { left:0; background: linear-gradient(to right, rgba(3,6,4,1), transparent); }
.ticker-wrap::after  { right:0; background: linear-gradient(to left,  rgba(3,6,4,1), transparent); }

.ticker-inner {
    display: flex; align-items: center;
    width: max-content;
    animation: ticker 32s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }

.t-item {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: 0 2rem;
    font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    white-space: nowrap;
    color: rgba(200,230,210,.3);
}
.t-item.hi { color: var(--green); text-shadow: 0 0 8px rgba(107,255,26,.35); }
.t-dot { width: 4px; height: 4px; background: var(--green); border-radius: 50%; box-shadow: 0 0 5px var(--green); flex-shrink:0; }

/* ================================================
   MAIN CONTENT
================================================ */
main { position: relative; z-index: 1; padding: 4rem 0; }

.layout-two-col {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}
.col-main { min-width: 0; }
.col-side {
    position: sticky;
    top: calc(var(--header-h) + var(--ticker-h) + 2rem);
    align-self: start;
}

/* Section header */
.section { margin-bottom: 3.5rem; }
.section-head { margin-bottom: 1.5rem; }
.section-tag {
    display: inline-block;
    font-size: .65rem; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--green);
    margin-bottom: .5rem;
}
.section-head h2 {
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}

/* Features grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
}
.feat-card {
    position: relative;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.feat-card::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(107,255,26,.04) 0%, transparent 55%);
    opacity: 0; transition: opacity .25s;
}
.feat-card:hover { border-color: var(--border-hi); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.3); }
.feat-card:hover::after { opacity: 1; }
.feat-card--wide { grid-column: span 2; }

.feat-status {
    display: inline-flex; align-items: center; gap: .4rem;
    position: absolute; top: 1rem; right: 1rem;
    font-size: .7rem; font-weight: 600;
    color: #22c55e;
    background: rgba(34,197,94,.07);
    border: 1px solid rgba(34,197,94,.2);
    padding: .25rem .65rem; border-radius: 20px;
}
.feat-dot { width:6px; height:6px; background:#22c55e; border-radius:50%; animation: pulse 2s ease-in-out infinite; }

.feat-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(107,255,26,.06);
    border: 1px solid rgba(107,255,26,.14);
    border-radius: 9px;
    color: var(--green);
    margin-bottom: .9rem;
}
.feat-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .35rem; }
.feat-card p  { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* Steps */
.steps-list { display: grid; gap: .7rem; }
.step {
    display: flex; gap: 1.2rem; align-items: center;
    padding: 1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
    transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--border-hi); box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.step-num {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(107,255,26,.06);
    border: 1px solid rgba(107,255,26,.18);
    border-radius: 8px;
    font-size: .85rem; font-weight: 800; color: var(--green);
}
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-size: .88rem; font-weight: 600; margin-bottom: .18rem; }
.step-body p  { font-size: .8rem; color: var(--muted); }

/* ================================================
   CONNECT PANEL — sidebar rediseñado
================================================ */
.connect-panel {
    background: rgba(8,15,10,.95);
    border: 1px solid rgba(107,255,26,.15);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(107,255,26,.04);
    margin-bottom: 1rem;
}

/* Header del panel */
.cp-logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1.4rem .9rem;
    border-bottom: 1px solid rgba(107,255,26,.07);
}
.cp-logo {
    height: 72px;
    width: auto;
    filter: drop-shadow(0 0 14px rgba(107,255,26,.5));
}

/* Header del panel (legacy cp-header) */
.cp-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.5rem 1.25rem;
    background: linear-gradient(180deg, rgba(107,255,26,.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(107,255,26,.08);
    text-align: center;
}
.cp-online {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #4ade80;
    margin-bottom: .6rem;
}
.cp-dot {
    width: 6px; height: 6px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 6px #4ade80;
    animation: pulse 2s ease-in-out infinite;
}
.cp-title {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--text);
    margin-bottom: .2rem;
}
.cp-sub {
    font-size: .72rem;
    color: var(--muted);
    font-weight: 500;
}

/* IP section */
.cp-ip {
    padding: 1.1rem 1.4rem .75rem;
}
.cp-ip-label {
    display: block;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    margin-bottom: .5rem;
}
.cp-ip-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: rgba(107,255,26,.04);
    border: 1px solid rgba(107,255,26,.1);
    border-radius: 8px;
    padding: .5rem .75rem;
}
.cp-ip-code {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: .82rem;
    color: var(--green);
    background: none;
    border: none;
}
.cp-copy {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: .2rem;
    display: flex;
    align-items: center;
    transition: color .2s;
    flex-shrink: 0;
}
.cp-copy:hover { color: var(--green); }

/* Boton principal */
.cp-btn-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin: 0 1.4rem .75rem;
    padding: .8rem;
    background: var(--green);
    color: #050c07;
    border-radius: 9px;
    font-weight: 700;
    font-size: .9rem;
    transition: all .2s;
    box-shadow: 0 2px 16px rgba(107,255,26,.3);
}
.cp-btn-main:hover {
    background: var(--green-lite);
    transform: translateY(-1px);
    box-shadow: 0 5px 24px rgba(107,255,26,.45);
}

.cp-divider {
    height: 1px;
    background: rgba(107,255,26,.07);
    margin: 0 1.4rem .85rem;
}

/* Discord row */
.cp-discord {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: 0 1.4rem 1.4rem;
}
.cp-discord-info {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #5865f2;
    min-width: 0;
}
.cp-discord-info svg { flex-shrink: 0; }
.cp-discord-name {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cp-discord-count {
    display: block;
    font-size: .65rem;
    color: var(--muted);
    margin-top: .1rem;
}
.cp-online-num { color: #4ade80; font-weight: 700; }
.cp-btn-discord {
    flex-shrink: 0;
    padding: .45rem 1rem;
    background: #5865f2;
    color: #fff;
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 700;
    transition: all .2s;
    box-shadow: 0 2px 10px rgba(88,101,242,.3);
}
.cp-btn-discord:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

/* Mini stats debajo del panel */
.side-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8,15,10,.8);
    border: 1px solid rgba(107,255,26,.08);
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.side-stat {
    flex: 1;
    padding: .75rem .5rem;
    text-align: center;
}
.side-stat-sep {
    width: 1px;
    height: 28px;
    background: rgba(107,255,26,.07);
    flex-shrink: 0;
}
.side-stat-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--green);
    text-shadow: 0 0 10px rgba(107,255,26,.4);
    line-height: 1;
    margin-bottom: .2rem;
    font-variant-numeric: tabular-nums;
}
.side-stat-val.green { color: #4ade80; text-shadow: 0 0 10px rgba(74,222,128,.4); }
.side-stat-lbl {
    font-size: .58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(200,230,210,.3);
}

/* ================================================
   FEAT CARD — número decorativo
================================================ */
.feat-num {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: .65rem;
    font-weight: 800;
    color: rgba(107,255,26,.2);
    letter-spacing: .08em;
}

/* ================================================
   STEP CTA — boton inline en cada paso
================================================ */
.step-cta {
    flex-shrink: 0;
    padding: .35rem .9rem;
    background: rgba(107,255,26,.06);
    border: 1px solid rgba(107,255,26,.18);
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--green);
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}
.step-cta:hover {
    background: rgba(107,255,26,.12);
    border-color: var(--green);
}
.step-cta--green {
    background: var(--green);
    color: #050c07;
    border-color: var(--green);
    box-shadow: 0 0 12px rgba(107,255,26,.25);
}
.step-cta--green:hover {
    background: var(--green-lite);
}
.step-cta--muted {
    color: var(--muted);
    border-color: rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
    cursor: default;
}
.step-cta--muted:hover {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.07);
    color: var(--muted);
}

/* ================================================
   SIDEBAR WIDGETS (legacy, por otras páginas)
================================================ */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}
.widget-head {
    display: flex; align-items: center; gap: .5rem;
    padding: .85rem 1.1rem;
    border-bottom: 1px solid var(--border);
    font-size: .78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted);
}
.widget-body { padding: 1rem; }
.widget-body iframe { border-radius: 7px; display: block; }

.widget-connect { display: grid; gap: .75rem; }
.cw-row {
    padding: 1rem;
    background: rgba(3,6,4,.55);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
}
.cw-lbl {
    display: block;
    font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--muted); margin-bottom: .4rem;
}
.cw-val {
    display: block;
    font-family: 'Courier New', monospace;
    font-size: .82rem; color: var(--green);
    background: rgba(107,255,26,.05);
    border: 1px solid rgba(107,255,26,.1);
    border-radius: 5px; padding: .3rem .6rem;
    margin-bottom: .7rem;
}
.cw-btn {
    display: block; width: 100%;
    padding: .6rem;
    background: var(--green); color: #050c07;
    border-radius: 7px; font-weight: 700; font-size: .82rem;
    transition: all .2s; border: none; cursor: pointer;
    box-shadow: 0 1px 10px rgba(107,255,26,.2);
}
.cw-btn:hover { background: var(--green-lite); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(107,255,26,.35); }

/* ================================================
   CONTROLS / KEYBOARD
================================================ */
.controls-section {
    position: relative; z-index: 1;
    padding: 5rem 0;
    border-top: 1px solid var(--border);
}
.controls-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem; align-items: start;
}
.controls-info h2 { font-size: 2rem; font-weight: 800; margin: .5rem 0 .75rem; letter-spacing: -.02em; }
.controls-info p  { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.7; }

.key-legend {
    list-style: none;
    display: flex; flex-direction: column; gap: .45rem;
}
.key-legend li {
    display: flex; align-items: center; gap: .65rem;
    font-size: .85rem; color: var(--muted);
}
.key-legend kbd {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px; height: 24px; padding: 0 5px;
    background: var(--bg-card);
    border: 1px solid var(--green);
    border-radius: 4px;
    font-family: var(--font); font-size: .72rem; font-weight: 700;
    color: var(--green);
    box-shadow: 0 0 6px rgba(107,255,26,.15), inset 0 -2px 0 rgba(107,255,26,.15);
    flex-shrink: 0;
}

/* Keyboard */
.kb-board {
    position: relative;
    background: rgba(10,18,12,.7);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.85rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.kb-row {
    display: flex; gap: 4px;
    margin-bottom: 4px;
}
.kb-row:last-child { margin-bottom: 0; }
.kb-gap     { width: 14px; flex-shrink: 0; }
.kb-gap-sm  { width:  7px; flex-shrink: 0; }

.key {
    display: flex; align-items: center; justify-content: center;
    height: 34px; min-width: 34px; padding: 0 5px;
    background: rgba(18,32,22,.9);
    border: 1px solid rgba(107,255,26,.07);
    border-radius: 5px;
    font-size: .6rem; font-weight: 600;
    color: rgba(238,249,242,.28);
    user-select: none;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.4);
    transition: all .15s ease;
    cursor: default; white-space: nowrap;
    position: relative;
}
/* Width helpers */
.kw-15  { min-width: 50px; }
.kw-175 { min-width: 60px; }
.kw-2   { min-width: 70px; }
.kw-225 { min-width: 82px; }
.kw-275 { min-width: 96px; }
.kw-space { flex: 1; max-width: 240px; }

/* Active keys */
.key.kactive {
    background: rgba(107,255,26,.1);
    border-color: var(--green);
    color: var(--green);
    box-shadow: 0 0 10px rgba(107,255,26,.2), inset 0 -2px 0 rgba(107,255,26,.2);
    cursor: pointer;
}
.key.kactive:hover {
    background: rgba(107,255,26,.18);
    box-shadow: 0 0 18px rgba(107,255,26,.35), inset 0 -2px 0 rgba(107,255,26,.3);
    transform: translateY(-1px);
}

/* Tooltip */
.kb-tooltip {
    position: absolute;
    background: rgba(3,8,5,.97);
    border: 1px solid var(--green);
    border-radius: 7px;
    padding: .4rem .75rem;
    font-size: .78rem; font-weight: 600;
    color: var(--green);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .15s;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 4px 16px rgba(107,255,26,.2);
}
.kb-tooltip.visible { opacity: 1; }
.kb-tooltip::after {
    content: '';
    position: absolute; top:100%; left:50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--green);
}

/* ================================================
   FOOTER
================================================ */
footer {
    position: relative; z-index: 1;
    margin-top: 5rem;
    padding: 2.5rem 0 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(3,6,4,.9);
    backdrop-filter: blur(16px);
}
.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem; margin-bottom: 2rem;
}
.footer-brand { max-width: 360px; }
.footer-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: .75rem;
    line-height: 0;
}
.footer-logo-link .logo-img { height: 36px; }
.footer-brand p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-top: .75rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.footer-col h4 {
    font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--green); margin-bottom: .85rem;
}
.footer-col a {
    display: block;
    font-size: .875rem; color: var(--muted);
    margin-bottom: .55rem;
    transition: color .2s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p { font-size: .78rem; color: rgba(200,230,210,.3); }

/* ================================================
   NORMATIVA PAGES (shared styles)
================================================ */
.normativa-page, .normativas-page {
    padding-top: var(--header-h);
    min-height: 100vh;
}
.normativas-page { padding-bottom: 4rem; }

.page-header {
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}
.back-link {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--muted); font-size: .9rem;
    margin-bottom: 1.25rem;
    transition: color .2s;
}
.back-link:hover { color: var(--green); }
.page-header h1 {
    font-size: 2.5rem; font-weight: 800;
    letter-spacing: -.025em; margin-bottom: .75rem;
}
.page-description { font-size: 1.05rem; color: var(--muted); max-width: 640px; line-height: 1.6; }

.normativa-content { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; padding-bottom: 4rem; }
.normativa-sidebar { position: relative; }
.sidebar-sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
.normativa-sidebar h3 {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--muted); margin-bottom: .85rem;
}
.table-of-contents { display: flex; flex-direction: column; gap: .3rem; }
.table-of-contents a {
    display: block; padding: .45rem .9rem;
    color: var(--muted); font-size: .85rem;
    border-left: 2px solid var(--border);
    transition: all .2s;
}
.table-of-contents a:hover { color: var(--green); border-left-color: var(--green); padding-left: 1.1rem; }

.normativa-main { max-width: 860px; }
.rule-section { margin-bottom: 3.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.rule-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.25rem; }
.rule-section h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .85rem; color: var(--green-lite); }
.rule-section h4 { font-size: .95rem; font-weight: 600; margin-bottom: .65rem; color: rgba(238,249,242,.75); }

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
}
.rule-card:last-child { margin-bottom: 0; }
.rule-card p { color: var(--muted); line-height: 1.8; margin-bottom: .85rem; }
.rule-card p:last-child { margin-bottom: 0; }

.rule-list { list-style: none; padding: 0; }
.rule-list li {
    position: relative; padding-left: 1.4rem;
    margin-bottom: .6rem; color: var(--muted); line-height: 1.65;
}
.rule-list li::before {
    content: ''; position: absolute; left: 0; top: .55em;
    width: 5px; height: 5px;
    background: var(--green); border-radius: 50%;
}

.highlight-text { color: var(--green-lite) !important; font-weight: 500; }
code {
    padding: .15rem .45rem;
    background: var(--glow-soft);
    border: 1px solid rgba(107,255,26,.18);
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: .88em; color: var(--green-lite);
}
.example-box {
    margin-top: 1.25rem; padding: 1.25rem;
    background: var(--glow-soft);
    border-left: 3px solid var(--green);
    border-radius: 6px;
}
.example-box strong { display:block; color:var(--green-lite); margin-bottom:.4rem; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; }
.example-box p { margin:0; color:var(--muted); }
.info-box {
    margin-top: 1.25rem; padding: 1.25rem;
    background: var(--glow-soft);
    border: 1px solid rgba(107,255,26,.2);
    border-radius: 8px;
}
.info-box strong { display:block; color:var(--green-lite); margin-bottom:.4rem; }
.info-box p { margin:0; }
.warning-box {
    margin-top: 1.25rem; padding: 1.25rem;
    background: rgba(239,68,68,.05);
    border-left: 3px solid #ef4444;
    border-radius: 6px;
}
.warning-box strong { display:block; color:#ef4444; margin-bottom:.4rem; }
.warning-box p { margin:0; }

/* Normativas index cards */
.normativas-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.25rem; }
.normativa-card {
    display: flex; flex-direction: column;
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none; color: var(--text);
    transition: all .25s; cursor: pointer;
    position: relative; overflow: hidden;
    backdrop-filter: blur(6px);
}
.normativa-card::before {
    content: ''; position: absolute; top:0; left:0; right:0; height:2px;
    background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.normativa-card:hover::before { transform: scaleX(1); }
.normativa-card:hover { border-color: var(--border-hi); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.normativa-header { display:flex; align-items:center; gap:.85rem; margin-bottom:.85rem; }
.normativa-icon-box {
    width:44px; height:44px;
    display:flex; align-items:center; justify-content:center;
    background: var(--glow-soft);
    border: 1px solid rgba(107,255,26,.14);
    border-radius: 9px; color: var(--green); flex-shrink:0;
}
.normativa-card h3 { font-size: 1rem; font-weight: 600; margin:0; }
.normativa-card p  { color: var(--muted); font-size: .875rem; line-height: 1.6; margin-bottom: 1.25rem; flex:1; }
.normativa-footer {
    display:flex; align-items:center; justify-content:space-between;
    padding-top: .85rem; border-top: 1px solid var(--border);
    font-size: .85rem; color: var(--muted); font-weight:500;
    transition: color .2s;
}
.normativa-footer svg { transition: transform .25s; }
.normativa-card:hover .normativa-footer { color: var(--green); }
.normativa-card:hover .normativa-footer svg { transform: translateX(4px); }

/* Streamers */
.platform-requirements { display:grid; gap:.85rem; margin-top:1.25rem; }
.platform-item {
    display:flex; align-items:center; gap:.85rem;
    padding:1.1rem;
    background: var(--glow-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .25s;
}
.platform-item:hover { border-color: var(--border-hi); transform:translateX(4px); }
.platform-icon { width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:9px; flex-shrink:0; }
.platform-icon.twitch  { background:rgba(145,70,255,.1); color:#9146FF; }
.platform-icon.youtube { background:rgba(255,0,0,.1); color:#FF0000; }
.platform-icon.tiktok  { background:rgba(0,0,0,.2); color:#fff; }
.platform-icon.kick    { background:rgba(83,252,75,.1); color:#53FC4B; }
.platform-icon.other   { background:var(--glow-soft); color:var(--green); }
.platform-info { display:flex; flex-direction:column; gap:.2rem; }
.platform-info strong { font-size:.95rem; color:var(--text); }
.platform-info span   { font-size:.85rem; color:var(--muted); }

.benefits-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1.25rem; }
.benefit-card {
    padding:1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align:center;
    transition: all .25s;
    backdrop-filter: blur(6px);
}
.benefit-card:hover { border-color:var(--border-hi); transform:translateY(-3px); box-shadow:0 8px 24px rgba(0,0,0,.3); }
.benefit-icon {
    width:56px; height:56px; margin:0 auto 1.25rem;
    display:flex; align-items:center; justify-content:center;
    background:var(--glow-soft); border:1px solid rgba(107,255,26,.18);
    border-radius:12px; color:var(--green);
}
.benefit-card h3 { font-size:.95rem; font-weight:600; margin-bottom:.5rem; }
.benefit-card p  { font-size:.85rem; color:var(--muted); line-height:1.6; }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width:1100px) {
    .layout-two-col { grid-template-columns:1fr; }
    .col-side { position:relative; top:0; }
    .controls-layout { grid-template-columns:1fr; gap:2rem; }
    .normativa-content { grid-template-columns:1fr; }
    .normativa-sidebar { display:none; }
    .footer-layout { grid-template-columns:1fr; gap:2rem; }
}
@media (max-width:768px) {
    :root { --header-h:52px; --ticker-h:38px; }
    .hero { padding-top: var(--header-h); padding-bottom: var(--ticker-h); }
    .hero-title { font-size:clamp(2.5rem,11vw,4rem); }
    .hero-ghost { font-size:clamp(4rem,16vw,7rem); }
    .hero-ctas { flex-direction:column; align-items:center; }
    .btn { width:280px; justify-content:center; }
    .hero-stats { flex-direction:column; border-radius:10px; }
    .stat-sep { width:100%; height:1px; }
    .ip-bar { border-radius:12px; padding:.75rem; flex-direction:column; gap:.5rem; }
    nav ul { gap:0; }
    .logo-name { display:none; }
    .feature-grid { grid-template-columns:1fr; }
    .feat-card--wide { grid-column:1; }
    .page-header h1 { font-size:1.75rem; }
    .kb-board { padding:1rem; }
    .key { height:28px; min-width:28px; font-size:.55rem; }
}


