@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ═══════════════════════════════════════
   SINLEY — Modern
═══════════════════════════════════════ */
:root {
    --accent:    #f43cc9;
    --accent-2:  #ff6ad5;
    --accent-soft: #ffc2ef;
    --accent-dim: rgba(244, 60, 201, 0.12);
    --accent-line: rgba(244, 60, 201, 0.32);

    --bg:        #07060b;
    --bg-2:      #0c0a12;
    --surface:   rgba(255, 255, 255, 0.03);
    --elevated:  rgba(255, 255, 255, 0.055);
    --glass:     rgba(12, 10, 18, 0.72);
    --border:    rgba(255, 255, 255, 0.08);
    --border-h:  rgba(255, 255, 255, 0.14);

    --text:      #ffffff;
    --muted:     #c4bcd0;
    --dim:       #8a8199;

    --green:     #3ddea5;
    --red:       #ff6b7a;

    --font:      'Outfit', system-ui, sans-serif;
    --display:   'Space Grotesk', 'Outfit', sans-serif;
    --radius:    20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --header-h:  76px;
    --ease:      cubic-bezier(0.22, 1, 0.36, 1);
    --max:       1140px;

    /* aliases for older pages */
    --pink: var(--accent);
    --pink-hot: var(--accent-2);
    --pink-soft: var(--accent-soft);
    --pink-deep: #9a1878;
    --pink-bg: var(--accent-dim);
    --pink-line: var(--accent-line);
    --heading: var(--display);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}


.mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 50% -15%, rgba(244,60,201,0.2), transparent 55%),
        radial-gradient(circle at 85% 20%, rgba(244,60,201,0.08), transparent 28%),
        radial-gradient(circle at 10% 70%, rgba(80,40,120,0.12), transparent 30%),
        linear-gradient(180deg, #05040a 0%, var(--bg) 40%, #0a0810 100%);
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9995;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; color: inherit; }

.container {
    width: min(100% - 2.5rem, var(--max));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(244,60,201,0.35);
    border-radius: 999px;
}

#particles-background {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    background: #ff72f5;
    border-radius: 50%;
    pointer-events: none;
    animation: fall linear infinite;
    box-shadow: 0 0 8px #f43cc9, 0 0 16px rgba(244,60,201,0.55);
}
.particle-large {
    position: absolute;
    background: radial-gradient(circle, rgba(244,60,201,0.28) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: fallSlow linear infinite;
}
@keyframes fall {
    0%   { transform: translateY(-80px) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.85; }
    85%  { opacity: 0.35; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
@keyframes fallSlow {
    0%   { transform: translateY(-80px); opacity: 0; }
    15%  { opacity: 0.4; }
    100% { transform: translateY(110vh) translateX(-40px); opacity: 0; }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════ HEADER ═══════════════ */
header {
    position: fixed;
    inset: 0 0 auto;
    height: var(--header-h);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: .35s var(--ease);
}
header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.header-right {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.nav-tienda {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .48rem 1.05rem;
    font-size: .86rem;
    font-weight: 700;
    color: var(--accent);
    background: #0a0810;
    border: 1.5px solid var(--accent);
    border-radius: 999px;
    white-space: nowrap;
    transition: .2s var(--ease);
}
.nav-tienda svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.nav-tienda span { display: none; }
.nav-tienda:hover,
.nav-tienda.active {
    color: var(--accent-2);
    border-color: var(--accent-2);
    background: rgba(244,60,201,0.1);
    box-shadow: 0 0 18px rgba(244,60,201,0.2);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.04);
    color: var(--text);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1002;
    transition: .2s var(--ease);
}
.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] {
    border-color: var(--accent-line);
    background: var(--accent-dim);
    color: var(--accent);
}
.nav-toggle-bars {
    display: grid;
    gap: 5px;
    width: 18px;
}
.nav-toggle-bars span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}
.nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.nav-backdrop.open { display: block; opacity: 1; }
body.nav-open { overflow: hidden; }
.logo {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
}
.logo-img, .footer-logo {
    height: 36px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(244,60,201,0.35));
    transition: transform .35s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.05); }
.logo-text {
    font-family: var(--display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}
.logo-text span { color: var(--accent); }

.nav-pill ul,
nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: .15rem;
    padding: .3rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(12px);
}
nav a {
    display: inline-flex;
    padding: .5rem 1rem;
    font-size: .86rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 999px;
    transition: .2s;
}
nav a:hover,
nav a.active {
    color: var(--text);
    background: rgba(255,255,255,0.06);
}
nav a.nav-discord {
    color: #fff;
    background: var(--accent);
    margin-left: .15rem;
}
nav a.nav-discord:hover {
    background: var(--accent-2);
    color: #fff;
}
nav a.nav-connect { color: var(--accent-soft); }

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 1.5rem) 1.25rem 2.5rem;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-mark {
    position: absolute;
    left: 50%;
    top: 40%;
    width: min(62vw, 440px);
    transform: translate(-50%, -50%);
    opacity: 0.2;
    filter: drop-shadow(0 0 50px rgba(244,60,201,0.45));
    animation: markFloat 12s ease-in-out infinite;
}
@keyframes markFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.18; }
    50% { transform: translate(-50%, -54%) scale(1.04); opacity: 0.26; }
}

.hero-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    width: min(100%, 820px);
    padding-bottom: 1rem;
    animation: rise 1s var(--ease) both;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

.hero-brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(3.2rem, 9vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: #fff;
    text-shadow: 0 0 40px rgba(244,60,201,0.3);
}
.hero-brand span {
    color: var(--accent);
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(1.2rem, 2.6vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.3;
    max-width: 24ch;
    margin: 0 auto .9rem;
    color: var(--text);
}
.hero h1 em {
    font-style: normal;
    color: var(--accent-soft);
}

.hero-sub {
    color: var(--muted);
    font-size: clamp(.98rem, 1.6vw, 1.1rem);
    max-width: 36ch;
    margin: 0 auto 1.6rem;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.btn-connect-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem 1.7rem;
    font-size: .95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(244,60,201,0.4);
    transition: .3s var(--ease);
}
.btn-connect-now:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
    box-shadow: 0 16px 44px rgba(244,60,201,0.5);
}
.btn-discord {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 1.4rem;
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-h);
    border-radius: 16px;
    transition: .25s var(--ease);
}
.btn-discord:hover {
    border-color: #5865F2;
    color: #fff;
    background: rgba(88,101,242,0.12);
}
.btn-discord svg { color: #5865F2; }

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    width: min(100%, 560px);
    margin: 0 auto 1.25rem;
    text-align: left;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .9rem 1rem;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}
.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0,0,0,0.35);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    overflow: hidden;
}
.stat-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.stat-icon-discord { color: #5865F2; }
.stat-body { flex: 1; min-width: 0; }
.stat-body-split {
    display: flex;
    gap: 1.1rem;
}
.stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.stat-value {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #fff;
}
.stat-value small {
    font-size: .85rem;
    font-weight: 600;
    color: var(--dim);
}
.stat-value-green { color: var(--green); }
.stat-label {
    margin-top: .15rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dim);
}
.stat-online {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    background: rgba(61,222,165,0.1);
    border: 1px solid rgba(61,222,165,0.25);
    border-radius: 999px;
    white-space: nowrap;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.5rem;
    font-size: .92rem;
    font-weight: 700;
    border-radius: 14px;
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 40px rgba(244,60,201,0.35);
}
.btn-primary:hover {
    background: var(--accent-2);
    box-shadow: 0 16px 48px rgba(244,60,201,0.45);
}
.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: btnShine 4s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 70% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.btn-ghost, .btn-secondary {
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border-color: var(--border-h);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover, .btn-secondary:hover {
    border-color: var(--accent-line);
    background: var(--accent-dim);
}

/* Hero dock / connect */
.hero-dock {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 0 auto;
    padding: .55rem .55rem .55rem 1rem;
    background: var(--glass);
    border: 1px solid var(--border-h);
    border-radius: 999px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    width: max-content;
    max-width: 100%;
}
.dock-live {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    white-space: nowrap;
}
.status-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: statusPulse 2s ease-out infinite;
}
@keyframes statusPulse {
    0%   { box-shadow: 0 0 0 0 rgba(61,222,165,0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(61,222,165,0); }
    100% { box-shadow: 0 0 0 0 rgba(61,222,165,0); }
}
.dock-ip {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: .92rem;
    font-weight: 600;
    color: #f3d0ea;
    padding: .55rem .95rem;
    background: rgba(80, 20, 65, 0.55);
    border: 1px solid rgba(244,60,201,0.22);
    border-radius: 12px;
}
.btn-copy {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1rem;
    font-size: .82rem;
    font-weight: 700;
    color: #e8e2ee;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    transition: .2s;
}
.btn-copy:hover { color: var(--text); border-color: var(--border-h); }
.btn-copy .icon-check { display: none; }
.btn-copy.copied {
    color: var(--green);
    border-color: rgba(61,222,165,0.35);
    background: rgba(61,222,165,0.1);
}
.btn-copy.copied .icon-copy { display: none; }
.btn-copy.copied .icon-check { display: block; }
.dock-go {
    display: inline-flex;
    padding: .6rem 1.1rem;
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    transition: .25s var(--ease);
    white-space: nowrap;
}
.dock-go:hover { background: var(--accent-2); transform: translateX(2px); }

.connect-band, .live-strip, .server-status, .hero-scroll, .hero-float-card { display: none !important; }

/* Marquee */
.marquee {
    position: relative;
    z-index: 2;
    border-block: 1px solid var(--border);
    background: rgba(255,255,255,0.015);
    overflow: hidden;
    padding: 1rem 0;
    mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marquee 32s linear infinite;
    font-family: var(--display);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dim);
}
.marquee-track span:nth-child(odd) { color: var(--muted); }
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ═══════════════ MAIN ═══════════════ */
main { position: relative; z-index: 2; padding-bottom: 1rem; }

.section { padding: 5.5rem 0 1rem; }
.section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.section-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .65rem;
}
.section-top h2,
.community-copy h2,
.section-header h2 {
    font-family: var(--display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
}
.section-lead, .section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 32ch;
    font-weight: 400;
    margin-bottom: 0;
}
.section-header { margin-bottom: 2.25rem; }
.divider {
    width: 40px;
    height: 3px;
    margin-top: 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

/* Bento — mobile-first: columna; grid solo en desktop */
.bento {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.bento-item {
    position: relative;
    padding: 1.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(244,60,201,0.12), transparent 50%);
    opacity: 0;
    transition: opacity .35s;
}
.bento-item:hover {
    border-color: var(--accent-line);
    transform: translateY(-4px);
    background: var(--elevated);
}
.bento-item:hover::before { opacity: 1; }
.bento-lg {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-width: 0;
}
.bento-wide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    min-width: 0;
}
.bento-num {
    font-family: var(--display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    display: block;
    position: relative;
}
.bento-item h3 {
    font-family: var(--display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: .5rem;
    position: relative;
    max-width: 100%;
}
.bento-item p {
    color: var(--muted);
    font-size: .95rem;
    max-width: 100%;
    position: relative;
}
.bento-link {
    font-size: .9rem;
    font-weight: 700;
    color: var(--accent-soft);
    white-space: nowrap;
    transition: transform .25s var(--ease);
    position: relative;
}
.bento-wide:hover .bento-link { transform: translateX(4px); }

@media (min-width: 769px) {
    .bento {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .bento-item { padding: 1.75rem; }
    .bento-item p { max-width: 34ch; }
    .bento-lg {
        grid-row: auto;
        min-height: 0;
    }
    .bento-wide {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

@media (min-width: 1101px) {
    .bento {
        grid-template-columns: 1.3fr 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .bento-lg {
        grid-row: span 2;
        min-height: 320px;
    }
    .bento-wide {
        grid-column: span 2;
    }
}

/* Steps modern */
/* Steps modern — mobile-first */
.steps-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
@media (min-width: 600px) {
    .steps-modern { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1101px) {
    .steps-modern { grid-template-columns: repeat(4, 1fr); }
}
.step-card {
    display: block;
    padding: 1.6rem 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: .35s var(--ease);
}
.step-card:hover {
    border-color: var(--accent-line);
    transform: translateY(-4px);
    background: var(--elevated);
}
.step-card-accent {
    background: linear-gradient(160deg, rgba(244,60,201,0.16), rgba(255,255,255,0.03));
    border-color: var(--accent-line);
}
.step-n {
    font-family: var(--display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 1.25rem;
    line-height: 1;
}
.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: .3rem;
}
.step-card p {
    color: var(--muted);
    font-size: .9rem;
}

/* Community */
.community-panel {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.community-copy {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.community-copy p {
    color: var(--muted);
    margin: 1rem 0 1.75rem;
    max-width: 32ch;
}
.discord-frame {
    border-left: 1px solid var(--border);
    background: #0d0b12;
    min-height: 400px;
}
.discord-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: 0;
}

/* Legacy pillars / journey */
.pillars {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
@media (min-width: 600px) {
    .pillars { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1101px) {
    .pillars { grid-template-columns: repeat(4, 1fr); }
}
.pillar {
    padding: 1.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pillar-num { font-family: var(--display); color: var(--accent); font-weight: 700; display: block; margin-bottom: 1rem; }
.pillar h3 { font-family: var(--display); margin-bottom: .4rem; }
.pillar p { color: var(--muted); font-size: .92rem; }

.journey { list-style: none; }
.journey-step {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--border);
}
.journey-num { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.journey-step h3 { font-weight: 700; margin-bottom: .15rem; }
.journey-step p { color: var(--muted); font-size: .9rem; }
.journey-link { color: var(--accent-soft); font-weight: 700; font-size: .88rem; }

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 2.5rem;
}
.sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.features { display: flex; flex-direction: column; }
.feature {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 1.1rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
}
.feature-icon-svg {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--accent-line);
    border-radius: 14px;
}
.feature h3 { font-weight: 700; margin-bottom: .3rem; }
.feature p { color: var(--muted); font-size: .94rem; }
.feature-status-badge { color: var(--green); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { padding: 1.25rem 0; border-top: 2px solid var(--accent-line); }
.step-number { font-family: var(--display); font-size: 1.8rem; color: var(--accent); font-weight: 700; }
.step-content h3 { font-weight: 700; margin: .6rem 0 .25rem; }
.step-content p { color: var(--muted); font-size: .88rem; }

.widget {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}
.widget-header {
    display: flex; align-items: center; gap: .5rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--border);
}
.widget-header h3 { font-size: .9rem; font-weight: 700; }
.widget-content { padding: 1rem; }
.widget-content iframe { border: 0; border-radius: 12px; width: 100%; }
.connect-box {
    padding: 1rem;
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: .65rem;
}
.connect-label { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: .3rem; }
.connect-value { font-family: ui-monospace, monospace; font-size: .86rem; color: var(--accent-soft); margin-bottom: .75rem; }
.connect-btn {
    display: block; text-align: center; padding: .65rem;
    font-size: .85rem; font-weight: 700; color: #fff;
    background: var(--accent); border-radius: 10px;
}
.connect-btn:hover { background: var(--accent-2); }
.connect-panel { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.connect-ip-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.connect-ip { font-family: ui-monospace, monospace; color: var(--accent-soft); padding: .7rem 1rem; background: rgba(0,0,0,.3); border-radius: 10px; border: 1px solid var(--accent-line); }
.live-pill { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.btn-connect { padding: .7rem 1.2rem; }

/* Keyboard */
.keyboard-section { padding-bottom: 4rem; }
.keyboard-wrapper {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.4rem;
    position: relative;
}
.keyboard { display: flex; flex-direction: column; gap: 5px; user-select: none; }
.key-row { display: flex; gap: 4px; align-items: center; }
.key-gap { width: 22px; flex-shrink: 0; }
.key {
    min-width: 38px; height: 38px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: .68rem; font-weight: 600; color: var(--dim);
    flex-shrink: 0; transition: .15s var(--ease);
}
.key-active {
    background: var(--accent-dim);
    border-color: var(--accent-line);
    color: var(--accent-soft);
}
.key-active:hover {
    background: rgba(244,60,201,0.2);
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(244,60,201,0.25);
    transform: translateY(-2px);
}
.key-sm { min-width: 32px; font-size: .6rem; }
.key-wide { min-width: 72px; }
.key-wide2 { min-width: 62px; }
.key-shift { min-width: 90px; }
.key-ctrl { min-width: 54px; }
.key-esc { min-width: 46px; }
.key-space { min-width: 240px; }

.key-tooltip {
    position: fixed; display: none;
    background: #14101c;
    border: 1px solid var(--accent-line);
    border-radius: 12px;
    padding: .75rem 1rem;
    min-width: 160px;
    z-index: 9990; pointer-events: none;
    opacity: 0; transform: translateY(6px); transition: .15s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.key-tooltip.visible { opacity: 1; transform: none; }
.key-tooltip-header { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.key-tooltip-badge {
    background: var(--accent); color: #fff;
    font-size: .66rem; font-weight: 800;
    padding: .15rem .45rem; border-radius: 6px;
}
.key-tooltip-label { font-size: .82rem; font-weight: 700; }
.key-tooltip-actions { list-style: none; }
.key-tooltip-actions li {
    display: flex; gap: .4rem; align-items: center;
    font-size: .74rem; color: var(--muted); margin-top: .2rem;
}

@media (max-width: 900px) {
    .keyboard-wrapper { overflow-x: auto; }
    .keyboard { min-width: 600px; }
    .key-space { min-width: 170px; }
}

/* Footer */
footer {
    position: relative; z-index: 1;
    padding: 3.5rem 0 1.5rem;
    border-top: 1px solid var(--border);
    margin-top: 2rem;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    margin-bottom: 1.75rem;
}
.footer-logo { height: 32px; margin-bottom: 0; }
.footer-brand .logo { margin-bottom: .9rem; }
.footer-brand p { color: var(--dim); font-size: .86rem; max-width: 36ch; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.footer-column h4 {
    font-size: .68rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin-bottom: .8rem;
}
.footer-column a {
    display: block; color: var(--dim);
    font-size: .9rem; font-weight: 500; margin-bottom: .45rem;
    transition: color .2s;
}
.footer-column a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.15rem; text-align: center;
}
.footer-bottom p { color: var(--dim); font-size: .75rem; }

/* ═══════════════ NORMATIVAS ═══════════════ */
.normativas-page,
.normativa-page,
.general-page {
    position: relative;
    z-index: 1;
    padding-top: var(--header-h);
    min-height: 100vh;
    padding-bottom: 4rem;
}

.norms-hero {
    position: relative;
    padding: 3.75rem 0 2.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.norms-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.norms-hero-grid { display: none; }
.norms-hero-glow {
    position: absolute;
    width: 420px; height: 240px;
    left: 10%; top: 0;
    background: radial-gradient(ellipse, rgba(244,60,201,0.22), transparent 70%);
    filter: blur(10px);
}
.norms-hero h1 {
    font-family: var(--display);
    font-size: clamp(3.5rem, 10vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    margin-bottom: .75rem;
    color: #fff;
}

.page-header {
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    position: relative;
}
.page-header::before {
    content: '';
    position: absolute;
    left: -5%; top: 0;
    width: 260px; height: 160px;
    background: radial-gradient(ellipse, rgba(244,60,201,0.14), transparent 70%);
    pointer-events: none;
}
.page-header > * { position: relative; z-index: 1; }
.page-header::after {
    content: '';
    position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--accent-line), transparent 65%);
}
.back-link {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--dim); font-size: .84rem; font-weight: 600;
    margin-bottom: 1.1rem; transition: .2s;
}
.back-link:hover { color: var(--accent); gap: .6rem; }
.page-header h1 {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: .55rem;
}
.page-description {
    color: var(--muted);
    max-width: 42ch;
    font-size: 1.02rem;
}

.norms-filter {
    display: flex; flex-wrap: wrap; gap: .45rem;
    margin-bottom: 1.6rem;
}
.norms-chip {
    padding: .5rem 1rem;
    font-size: .8rem; font-weight: 700;
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: .25s var(--ease);
}
.norms-chip:hover { color: var(--text); border-color: var(--border-h); }
.norms-chip.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(244,60,201,0.28);
}

.normativas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
    padding-bottom: 2rem;
}
.normativa-card {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-height: 250px;
    position: relative;
    overflow: hidden;
    transition: .4s var(--ease);
    animation: cardIn .65s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 0.05s);
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
.normativa-card.is-hidden { display: none; }
.normativa-card::after {
    content: '';
    position: absolute; left: 0; top: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
}
.normativa-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-line);
    background: var(--elevated);
    box-shadow: 0 24px 50px rgba(0,0,0,0.3);
}
.normativa-card:hover::after { transform: scaleX(1); }

.normativa-card-warn {
    background: linear-gradient(165deg, rgba(255,107,122,0.08), transparent 45%), var(--surface);
}
.normativa-card-warn .normativa-icon-box {
    color: var(--red);
    background: rgba(255,107,122,0.1);
    border-color: rgba(255,107,122,0.28);
}
.normativa-card-warn .normativa-tag {
    color: var(--red);
    background: rgba(255,107,122,0.1);
    border-color: rgba(255,107,122,0.22);
}

.normativa-index {
    position: absolute; top: 1.1rem; right: 1.2rem;
    font-family: var(--display);
    font-size: 1.5rem; font-weight: 700;
    color: rgba(255,255,255,0.06);
    transition: .3s;
}
.normativa-card:hover .normativa-index { color: rgba(244,60,201,0.3); }

.normativa-header { display: flex; align-items: center; gap: .8rem; margin-bottom: .75rem; }
.normativa-icon-box {
    width: 48px; height: 48px;
    display: grid; place-items: center;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid var(--accent-line);
    border-radius: 14px;
    margin-bottom: 1rem;
    transition: .35s var(--ease);
}
.normativa-card:hover .normativa-icon-box {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 0 24px rgba(244,60,201,0.25);
}
.normativa-tag {
    display: inline-flex; align-self: flex-start;
    font-size: .66rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-soft);
    background: var(--accent-dim);
    border: 1px solid var(--accent-line);
    border-radius: 999px;
    padding: .25rem .6rem;
    margin-bottom: .7rem;
}
.normativa-card h3 {
    font-family: var(--display);
    font-size: 1.15rem; font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: .45rem;
}
.normativa-card p {
    color: var(--muted); font-size: .9rem;
    line-height: 1.5; flex: 1; margin-bottom: 1.1rem;
}
.normativa-cta {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .84rem; font-weight: 700; color: var(--dim);
    margin-top: auto; padding-top: .9rem;
    border-top: 1px solid var(--border);
    transition: .25s;
}
.normativa-card:hover .normativa-cta { color: var(--accent); gap: .55rem; }
.normativa-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: .85rem; border-top: 1px solid var(--border);
    font-size: .8rem; font-weight: 700; color: var(--dim);
}
.normativa-card:hover .normativa-footer { color: var(--accent); }

.normativa-content {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.sidebar-sticky {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    max-height: calc(100vh - var(--header-h) - 2rem);
    overflow-y: auto;
    padding: 1.1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    scrollbar-width: thin;
}
.normativa-sidebar h3 {
    font-size: .66rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: .9rem;
}
.table-of-contents { display: flex; flex-direction: column; gap: .08rem; }
.table-of-contents a {
    display: block; padding: .45rem .7rem;
    font-size: .8rem; font-weight: 500; color: var(--muted);
    border-radius: 10px; border-left: 2px solid transparent;
    transition: .2s;
}
.table-of-contents a:hover {
    color: var(--text);
    background: var(--accent-dim);
    border-left-color: var(--accent);
}

.rule-section {
    margin-bottom: 2.5rem;
    scroll-margin-top: calc(var(--header-h) + 1rem);
}
.rule-section h2 {
    font-family: var(--display);
    font-size: 1.5rem; font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem; padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.rule-section h2::after {
    content: '';
    position: absolute; left: 0; bottom: -1px;
    width: 64px; height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.rule-section h3 {
    font-size: .95rem; font-weight: 700;
    color: var(--accent-soft); margin-bottom: .65rem;
}
.rule-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.35rem;
    margin-bottom: .75rem;
    transition: .3s var(--ease);
}
.rule-card:hover {
    border-color: var(--accent-line);
    transform: translateX(3px);
}
.rule-card p {
    color: var(--muted); line-height: 1.7;
    margin-bottom: .65rem; font-weight: 450;
}
.rule-card p:last-child { margin-bottom: 0; }
.rule-list { list-style: none; }
.rule-list li {
    position: relative; padding-left: 1.15rem;
    margin-bottom: .5rem; color: var(--muted);
    font-size: .92rem; line-height: 1.55;
}
.rule-list li::before {
    content: '';
    position: absolute; left: 0; top: .7em;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(244,60,201,0.45);
}

.highlight-text { color: var(--accent-soft) !important; font-weight: 700; }
code {
    font-family: ui-monospace, monospace;
    font-size: .86em; color: var(--accent-soft);
    background: var(--accent-dim);
    border-radius: 6px; padding: .1rem .35rem;
}

.info-box, .warning-box, .example-box {
    margin-top: 1rem; padding: 1rem 1.1rem;
    border-radius: 12px;
}
.info-box { background: var(--accent-dim); border: 1px solid var(--accent-line); }
.info-box strong, .example-box strong {
    display: block; color: var(--accent-soft);
    font-size: .68rem; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: .3rem;
}
.warning-box { background: rgba(255,107,122,0.08); border: 1px solid rgba(255,107,122,0.25); }
.warning-box strong {
    display: block; color: var(--red);
    font-size: .68rem; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: .3rem;
}
.example-box { background: rgba(255,255,255,0.025); border-left: 3px solid var(--accent); }
.info-box p, .warning-box p, .example-box p {
    margin: 0; font-size: .9rem; color: var(--muted);
}

.robo-tipo {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem; margin-bottom: .7rem;
}
.robo-tipo h4 {
    color: var(--accent-soft); margin-bottom: .7rem;
    padding-bottom: .5rem; border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.platform-requirements { display: grid; gap: .5rem; margin-top: 1rem; }
.platform-item {
    display: flex; gap: .85rem; align-items: center;
    padding: .85rem 1rem;
    background: var(--elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
}
.platform-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 10px; flex-shrink: 0;
}
.platform-icon.twitch  { background: rgba(145,70,255,.12); color: #9146FF; }
.platform-icon.youtube { background: rgba(255,0,0,.1); color: #FF4040; }
.platform-icon.tiktok  { background: rgba(255,255,255,.05); color: #fff; }
.platform-icon.kick    { background: rgba(83,252,75,.08); color: #53FC4B; }
.platform-icon.other   { background: var(--accent-dim); color: var(--accent); }
.platform-info strong { display: block; font-size: .88rem; font-weight: 700; }
.platform-info span { font-size: .78rem; color: var(--muted); }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .85rem;
}
.benefit-card {
    padding: 1.35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    transition: .3s var(--ease);
}
.benefit-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.benefit-icon {
    width: 48px; height: 48px;
    margin: 0 auto .9rem;
    display: grid; place-items: center;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 14px;
}
.benefit-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.benefit-card p { font-size: .85rem; color: var(--muted); margin: 0; }

html.is-mobile .bento {
    display: flex !important;
    flex-direction: column !important;
    gap: .85rem !important;
}
html.is-mobile .bento > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
}
html.is-mobile .bento-item p,
html.is-mobile .bento-item h3 { max-width: 100% !important; }
html.is-mobile .steps-modern,
html.is-mobile .pillars,
html.is-mobile .steps,
html.is-mobile .normativas-grid {
    grid-template-columns: 1fr !important;
}
html.is-mobile .nav-pill:not(.open) {
    position: fixed !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
html.is-mobile .nav-toggle { display: grid !important; }
html.is-mobile .nav-tienda {
    display: inline-flex !important;
    align-items: center !important;
    gap: .4rem !important;
    padding: .55rem .9rem !important;
    font-size: .82rem !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    min-height: 44px !important;
}
html.is-mobile .hero-stats { grid-template-columns: 1fr !important; }
html.is-mobile .hero-actions { flex-direction: column !important; }
html.is-mobile .btn-connect-now,
html.is-mobile .btn-discord { width: 100% !important; }

/* Responsive */
@media (max-width: 1100px) {
    .steps-modern, .pillars, .steps { grid-template-columns: 1fr 1fr; }
    .community-panel { grid-template-columns: 1fr; }
    .discord-frame { border-left: 0; border-top: 1px solid var(--border); }
    .normativas-grid { grid-template-columns: 1fr 1fr; }
    .content-wrapper { grid-template-columns: 1fr; }
    .normativa-content { grid-template-columns: 1fr; }
    .normativa-sidebar { display: none; }
    .section-top { flex-direction: column; align-items: start; }
}

@media (max-width: 900px) {
    .nav-toggle { display: grid; }

    .header-inner {
        gap: .5rem;
        min-width: 0;
    }
    .header-right {
        gap: .45rem;
        min-width: 0;
        margin-left: auto;
    }

    /* Ocultar nav desktop; el JS lo abre como panel */
    .nav-pill {
        position: fixed;
        top: calc(var(--header-h) + .5rem);
        right: .75rem;
        left: .75rem;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
    }
    .nav-pill.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    .nav-pill ul,
    nav.nav-pill ul,
    header nav ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: .35rem;
        padding: .75rem;
        border-radius: 18px;
        background: rgba(10, 8, 16, 0.96);
        border: 1px solid var(--border-h);
        box-shadow: 0 24px 60px rgba(0,0,0,0.55);
        backdrop-filter: blur(20px);
    }
    .nav-pill ul li,
    nav.nav-pill ul li,
    header nav ul li { width: 100%; }
    .nav-pill a,
    nav.nav-pill a,
    header nav a {
        width: 100%;
        justify-content: center;
        padding: .85rem 1rem;
        font-size: .95rem;
        border-radius: 12px;
    }
    nav a.nav-discord {
        margin-left: 0;
        margin-top: .15rem;
    }

    .nav-tienda {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        padding: .55rem .9rem;
        font-size: .82rem;
        font-weight: 700;
        max-width: none;
        overflow: visible;
        white-space: nowrap;
        min-height: 44px;
        border-radius: 12px;
    }
    .nav-tienda svg {
        margin: 0;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    :root { --header-h: 64px; }

    .container { width: min(100% - 1.25rem, var(--max)); }

    /* Una sola columna */
    .steps-modern,
    .pillars,
    .steps,
    .normativas-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap: .85rem;
    }
    .cta-buttons { flex-direction: column; width: 100%; max-width: 320px; margin-inline: auto; }
    .btn { width: 100%; }

    .hero {
        min-height: auto;
        justify-content: flex-start;
        padding: calc(var(--header-h) + 1rem) 1rem 2rem;
        overflow: visible;
    }
    .hero-copy {
        width: 100%;
        padding-bottom: .5rem;
    }
    .hero-mark {
        width: min(78vw, 280px);
        top: 28%;
        opacity: 0.14;
    }
    .hero h1 {
        max-width: 100%;
        font-size: clamp(1.15rem, 4.6vw, 1.45rem);
    }
    .hero-sub {
        max-width: 100%;
        margin-bottom: 1.25rem;
        font-size: .95rem;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        width: 100%;
        gap: .6rem;
        margin-bottom: 1rem;
    }
    .stat-card {
        padding: .85rem .9rem;
        gap: .7rem;
    }
    .stat-value { font-size: 1.2rem; }
    .stat-row {
        flex-wrap: wrap;
        align-items: flex-start;
    }
    .stat-body-split {
        gap: .85rem;
        justify-content: space-between;
    }
    .btn-connect-now, .btn-discord { width: 100%; }
    .hero-actions {
        width: 100%;
        max-width: none;
        margin-inline: auto;
        flex-direction: column;
    }
    .hero-dock {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 18px;
        padding: .75rem;
        gap: .5rem;
    }
    .dock-ip {
        width: 100%;
        text-align: center;
        font-size: .85rem;
        word-break: break-all;
    }
    .btn-copy, .dock-go {
        flex: 1 1 auto;
        min-height: 44px;
        justify-content: center;
    }

    .logo-text { display: none; }
    .logo-img { height: 30px; }
    .footer-content { grid-template-columns: 1fr; }
    .community-copy { padding: 2rem 1.25rem; }
    .hero-brand {
        font-size: clamp(2.6rem, 14vw, 4rem);
        margin-bottom: 1rem;
    }
    .journey-step { grid-template-columns: 48px minmax(0, 1fr); }
    .journey-link { grid-column: 2; }
    header .container { width: min(100% - 1rem, var(--max)); }

    .section {
        padding-block: 3.5rem;
    }
    .marquee { font-size: .75rem; }

    .docs-item {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: .65rem;
    }
    .docs-item-arrow { display: none; }
    .docs-item-body small {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .connect-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .connect-ip-row {
        flex-direction: column;
        align-items: stretch;
    }

    .discord-frame,
    .discord-frame iframe {
        min-height: 320px;
    }

    header {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
}

@media (max-width: 480px) {
    .container { width: min(100% - 1rem, var(--max)); }
    .norms-chip { padding: .4rem .75rem; font-size: .75rem; }
    .stat-icon { width: 38px; height: 38px; }
    .stat-online {
        padding: .22rem .45rem;
        font-size: .6rem;
    }
    .nav-tienda svg { width: 15px; height: 15px; }
    .dock-live { font-size: .65rem; }
}

/* ═══════════════ DOCS / NORMATIVAS COMPACT ═══════════════ */
.docs-body { overflow-x: hidden; }

.docs-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr) 210px;
    gap: 0;
    min-height: calc(100vh - var(--header-h));
    padding-top: var(--header-h);
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.docs-nav {
    border-right: 1px solid var(--border);
    background: rgba(0,0,0,0.2);
}
.docs-nav-inner,
.docs-toc-inner {
    position: sticky;
    top: var(--header-h);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 1rem .85rem 2rem;
    scrollbar-width: thin;
}

.docs-search {
    width: 100%;
    padding: .55rem .75rem;
    margin-bottom: .9rem;
    font: inherit;
    font-size: .82rem;
    color: var(--text);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: none;
}
.docs-search:focus { border-color: var(--accent-line); }
.docs-search::placeholder { color: var(--dim); }

.docs-nav-label {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: .85rem 0 .35rem .55rem;
}
.docs-menu { display: flex; flex-direction: column; gap: .1rem; }

.docs-link {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .48rem .6rem;
    font-size: .84rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 8px;
    border: 1px solid transparent;
    border-left: 2px solid transparent;
    transition: .15s;
}
.docs-link svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: .85;
    display: block !important;
    visibility: visible !important;
}
.docs-link:hover {
    color: var(--text);
    background: rgba(255,255,255,0.04);
}
.docs-link.active {
    color: #fff;
    background: var(--accent-dim);
    border-color: var(--accent-line);
    border-left-color: var(--accent);
}
.docs-link.active svg {
    opacity: 1 !important;
    color: var(--accent);
    stroke: currentColor;
}

.docs-main {
    padding: 1.35rem 1.75rem 3rem;
    min-width: 0;
}
.docs-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--dim);
    margin-bottom: .85rem;
}
.docs-breadcrumb a { color: var(--muted); font-weight: 600; }
.docs-breadcrumb a:hover { color: var(--accent); }

.docs-title {
    font-family: var(--display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: .4rem;
    color: #fff;
}
.docs-lead {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 1.25rem;
    max-width: 52ch;
}

.docs-list {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.docs-item {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: .7rem .85rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: .2s;
}
.docs-item:hover {
    border-color: var(--accent-line);
    background: var(--elevated);
}
.docs-item-icon {
    width: 36px; height: 36px;
    display: grid; place-items: center;
    color: var(--accent);
    background: var(--accent-dim);
    border-radius: 9px;
}
.docs-item-body { min-width: 0; }
.docs-item-body strong {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    margin-bottom: .1rem;
}
.docs-item-body small {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.docs-item-arrow { color: var(--dim); font-weight: 700; }
.docs-item:hover .docs-item-arrow { color: var(--accent); }
.docs-item-warn .docs-item-icon { color: var(--red); background: rgba(255,107,122,0.1); }

.docs-toc {
    border-left: 1px solid var(--border);
}
.docs-toc .table-of-contents a,
.docs-toc-inner .toc-link {
    display: block;
    padding: .32rem .55rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--muted);
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: .15s;
}
.docs-toc .table-of-contents a:hover,
.docs-toc-inner .toc-link:hover {
    color: var(--text);
    background: var(--accent-dim);
    border-left-color: var(--accent);
}
.docs-toc-hint {
    font-size: .78rem;
    color: var(--dim);
    padding: 0 .55rem;
    line-height: 1.45;
}

/* Detail pages inside docs shell */
.docs-shell .page-header {
    padding: 0 0 1rem;
    margin-bottom: 1rem;
}
.docs-shell .page-header::before,
.docs-shell .page-header::after { display: none; }
.docs-shell .page-header h1 {
    font-size: clamp(1.5rem, 2.8vw, 1.9rem);
    margin-bottom: .35rem;
}
.docs-shell .page-description { font-size: .9rem; }
.docs-shell .back-link { display: none; }
.docs-shell .section-label { margin-bottom: .4rem; }
.docs-shell .normativa-content {
    display: block;
    padding-bottom: 0;
}
.docs-shell .normativa-sidebar { display: none; }
.docs-shell .rule-section { margin-bottom: 1.5rem; }
.docs-shell .rule-section h2 {
    font-size: 1.15rem;
    margin-bottom: .65rem;
    padding-bottom: .5rem;
    color: var(--accent);
}
.docs-shell .rule-card {
    padding: .9rem 1rem;
    margin-bottom: .5rem;
    border-radius: 10px;
}
.docs-shell .rule-list li {
    font-size: .88rem;
    margin-bottom: .35rem;
    line-height: 1.45;
}
.docs-shell .rule-card:hover { transform: none; }

.soon-page {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
    text-align: center;
}
.soon-box { max-width: 480px; }
.soon-box h1 {
    font-family: var(--display);
    font-size: clamp(2.4rem, 6vw, 3.5rem);
    font-weight: 700;
    margin-bottom: .75rem;
}
.soon-box p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .docs-shell { grid-template-columns: 220px minmax(0, 1fr); }
    .docs-toc { display: none; }
}
@media (max-width: 800px) {
    .docs-shell { grid-template-columns: 1fr; }
    .docs-nav {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: var(--header-h);
        z-index: 20;
        background: rgba(7, 6, 11, 0.94);
        backdrop-filter: blur(16px);
    }
    .docs-nav-inner {
        position: relative;
        top: 0;
        max-height: none;
        padding: .85rem .85rem 1rem;
    }
    .docs-search { margin-bottom: .65rem; }
    .docs-nav-inner > .docs-nav-label { display: none; }
    .docs-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .25rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s var(--ease), opacity .25s, margin .25s;
        margin: 0;
    }
    .docs-nav.open .docs-menu {
        max-height: 520px;
        opacity: 1;
        margin-top: .35rem;
    }
    .docs-nav-label {
        grid-column: 1 / -1;
        margin: .55rem 0 .2rem .35rem;
    }
    .docs-menu-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        padding: .7rem .85rem;
        margin-bottom: .15rem;
        font-size: .88rem;
        font-weight: 700;
        color: var(--text);
        background: rgba(255,255,255,0.04);
        border: 1px solid var(--border);
        border-radius: 12px;
        cursor: pointer;
    }
    .docs-menu-toggle span:last-child {
        color: var(--accent);
        transition: transform .25s var(--ease);
    }
    .docs-nav.open .docs-menu-toggle span:last-child {
        transform: rotate(180deg);
    }
    .docs-link {
        font-size: .8rem;
        padding: .55rem .5rem;
        min-height: 44px;
    }
    .docs-main { padding: 1rem 1rem 2.5rem; }
    .header-right { gap: .4rem; }
    .nav-tienda { padding: .55rem .9rem; font-size: .82rem; min-height: 44px; }
}
@media (min-width: 801px) {
    .docs-menu-toggle { display: none; }
}
