:root {
    --bg-deep: #0b0514;
    --bg-room: #130924;
    --surface-1: rgba(26, 14, 46, 0.84);
    --surface-2: rgba(39, 21, 68, 0.94);
    --neon-purple: #c026d3;
    --neon-violet: #a855f7;
    --banner-gold: #f59e0b;
    --banner-orange: #ea580c;
    --joy-red: #e5202f;
    --joy-blue: #2f8cff;
    --terabox-cyan: #00d2ff;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    --border-neon: rgba(192, 38, 211, 0.35);
    --border-gold: rgba(245, 158, 11, 0.45);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 12% 10%, rgba(192, 38, 211, 0.22) 0%, transparent 40%),
        radial-gradient(circle at 88% 15%, rgba(47, 140, 255, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 50% 85%, rgba(229, 32, 47, 0.14) 0%, transparent 45%),
        linear-gradient(180deg, #0d0518 0%, #140826 50%, #090410 100%);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--banner-gold), var(--joy-red), var(--joy-blue), var(--neon-purple));
    background-size: 200% 100%;
    animation: ledFlow 6s linear infinite;
    z-index: 100;
    box-shadow: 0 0 16px var(--neon-purple);
}

@keyframes ledFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.glass-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 6, 24, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-neon);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.site-bar {
    max-width: 1640px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--banner-gold);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
    transition: transform 0.25s var(--ease-spring);
}

.brand:hover .brand-avatar {
    transform: scale(1.08) rotate(-3deg);
}

.brand-title-wrap {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(192, 38, 211, 0.5);
}

.brand-gold {
    background: linear-gradient(90deg, #fbbf24, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-sub {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e879f9;
    margin-top: 2px;
}

.search-box {
    position: relative;
    flex: 1 1 240px;
    max-width: 380px;
    transition: max-width 0.35s var(--ease-out);
}

.search-box:focus-within {
    max-width: 450px;
}

.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.search-box:focus-within i {
    color: var(--banner-gold);
}

.glow-input {
    width: 100%;
    background: rgba(25, 12, 44, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.35);
    border-radius: 999px;
    padding: 0.58rem 1rem 0.58rem 2.4rem;
    color: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    transition: all 0.25s var(--ease-out);
}

.glow-input::placeholder {
    color: var(--text-dim);
}

.glow-input:focus {
    outline: none;
    border-color: var(--banner-gold);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22), 0 0 18px rgba(192, 38, 211, 0.35);
}

.site-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.86rem;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.22s var(--ease-out);
}

.nav-pill:hover {
    color: #fff;
    background: rgba(168, 85, 247, 0.14);
    border-color: rgba(168, 85, 247, 0.3);
}

.nav-pill.nav-active {
    color: #1a0d00;
    background: linear-gradient(100deg, #fbbf24, #f97316);
    border-color: #fde047;
    font-weight: 800;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.4);
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #128c7e, #25d366);
    border: 1px solid rgba(134, 239, 172, 0.55);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38);
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}

.community-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65);
}

.main-wrap {
    max-width: 1640px;
    margin: 0 auto;
    padding: 1.25rem;
    width: 100%;
    flex: 1;
}

.hero-banner {
    background: linear-gradient(135deg, rgba(35, 14, 64, 0.92) 0%, rgba(19, 8, 38, 0.96) 100%);
    border: 1px solid var(--border-neon);
    border-radius: 22px;
    padding: 1.4rem 1.75rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 0 32px rgba(192, 38, 211, 0.12);
}

.hero-banner::after {
    content: "GAMING ZONE";
    position: absolute;
    right: 24px;
    top: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 2.6rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.hero-logo-card {
    width: 124px;
    height: 124px;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--banner-gold);
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.45);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-spring);
}

.hero-logo-card:hover {
    transform: scale(1.05) rotate(-2deg);
}

.hero-logo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-info h1 {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.ribbon-tag {
    display: inline-block;
    background: linear-gradient(100deg, #f59e0b, #ea580c);
    color: #140800;
    font-weight: 900;
    padding: 0.15rem 0.7rem;
    border-radius: 8px;
    border: 2px solid #dc2626;
    font-size: 0.85em;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.hero-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 0.45rem;
    max-width: 780px;
    line-height: 1.55;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tech-pill {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0;
}

.tech-pill.terabox {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.4);
    color: #7dd3fc;
}

.tech-pill.gdrive {
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.45);
    color: #6ee7b7;
}

.tech-pill.viking {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(250, 204, 21, 0.5);
    color: #fde047;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.filter-tab {
    background: var(--surface-1);
    border: 1px solid rgba(168, 85, 247, 0.28);
    color: var(--text-muted);
    padding: 0.46rem 0.9rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s var(--ease-out);
}

.filter-tab:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: var(--neon-purple);
}

.filter-tab.activo {
    background: linear-gradient(135deg, #c026d3, #7e22ce);
    color: #fff;
    border-color: #f0abfc;
    box-shadow: 0 0 14px rgba(192, 38, 211, 0.45);
}

.count-badge {
    margin-left: auto;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid var(--border-gold);
    color: #fde68a;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
    gap: 1.15rem;
}

.post-card {
    background: var(--surface-1);
    border: 1px solid rgba(168, 85, 247, 0.24);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s var(--ease-out), border-color 0.28s, box-shadow 0.28s;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--banner-gold);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.65), 0 0 22px rgba(192, 38, 211, 0.3);
}

.cover-wrap {
    position: relative;
    aspect-ratio: 2 / 3;
    width: 100%;
    overflow: hidden;
    background: #140824;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.45s var(--ease-out);
}

.post-card:hover .cover-wrap img {
    transform: scale(1.06);
}

.badge-lang {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(8px);
}

.badge-es { background: rgba(220, 38, 38, 0.88); color: #fff; border: 1px solid rgba(254, 202, 202, 0.45); }
.badge-multi { background: rgba(124, 58, 237, 0.88); color: #fff; border: 1px solid rgba(221, 214, 254, 0.45); }
.badge-en { background: rgba(30, 41, 59, 0.88); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.4); }

.badge-type {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    padding: 0.22rem 0.65rem;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}

.type-fork { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.type-wrapper { background: linear-gradient(135deg, #16a34a, #15803d); }
.type-port { background: linear-gradient(135deg, #ea580c, #c2410c); }
.type-recomp { background: linear-gradient(135deg, #c026d3, #9333ea); border: 1px solid #f5d0fe; }

.cover-builds {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.cover-build {
    background: rgba(15, 7, 28, 0.9);
    border: 1px solid var(--border-gold);
    color: #fde047;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.16rem 0.5rem;
    border-radius: 6px;
}

.card-body {
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.chip-cat {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.55rem;
    border-radius: 6px;
    background: rgba(229, 32, 47, 0.18);
    color: #fda4af;
    border: 1px solid rgba(229, 32, 47, 0.35);
}

.credit-porter {
    font-size: 0.72rem;
    font-weight: 700;
    color: #f5d0fe;
    background: rgba(192, 38, 211, 0.18);
    border: 1px solid rgba(192, 38, 211, 0.35);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
    padding-top: 0.35rem;
    font-size: 0.74rem;
    color: var(--text-dim);
}

.spec {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.18rem 0.48rem;
    border-radius: 6px;
}

.spec-downloads {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.32);
    color: #7dd3fc;
    font-weight: 700;
}

.spec-downloads i {
    color: var(--terabox-cyan);
}

@keyframes dl-bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.28); color: #fde047; }
    100% { transform: scale(1); }
}

.dl-bump {
    display: inline-block;
    animation: dl-bump 0.35s ease-out;
}

.card-actions {
    display: flex;
    align-items: stretch;
    gap: 0.35rem;
    margin-top: 0.45rem;
    flex-wrap: wrap;
}

.btn-terabox,
.btn-gdrive,
.btn-viking {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    padding: 0.54rem 0.42rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.76rem;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}

.btn-terabox {
    background: linear-gradient(100deg, #0284c7, #2563eb);
    border: 1px solid rgba(125, 211, 252, 0.45);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-terabox:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.55);
}

.btn-gdrive {
    background: linear-gradient(100deg, #059669, #16a34a);
    border: 1px solid rgba(110, 231, 183, 0.45);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
}

.btn-gdrive:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
}

.btn-viking {
    background: linear-gradient(100deg, #eab308, #ca8a04);
    border: 1px solid rgba(253, 224, 71, 0.65);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.35);
    color: #140e02;
}

.btn-viking:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(234, 179, 8, 0.55);
    color: #000;
}

.btn-info {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-info:hover {
    color: #fff;
    border-color: var(--banner-gold);
    background: rgba(245, 158, 11, 0.18);
}

/* ESTADOS ESPECIALES: EN MANTENIMIENTO Y PRÓXIMAMENTE */
.btn-status {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.58rem 0.75rem;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.8rem;
    user-select: none;
    cursor: not-allowed;
}

.btn-mantenimiento {
    background: repeating-linear-gradient(
        -45deg,
        rgba(234, 88, 12, 0.28),
        rgba(234, 88, 12, 0.28) 10px,
        rgba(180, 83, 9, 0.38) 10px,
        rgba(180, 83, 9, 0.38) 20px
    );
    border: 1px solid rgba(251, 146, 60, 0.65);
    color: #fed7aa;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);
}

.btn-proximamente {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.55), rgba(49, 46, 129, 0.65));
    border: 1px solid rgba(192, 132, 252, 0.5);
    color: #e9d5ff;
    box-shadow: 0 4px 14px rgba(147, 51, 234, 0.25);
}

/* BARRA DE PROGRESO CON TRANSICIÓN GRADUAL DE COLOR */
.progress-wrap {
    margin-top: 0.35rem;
    background: rgba(10, 5, 20, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.42rem 0.55rem;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.28rem;
}

.progress-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.35s var(--ease-out), background 0.35s ease, box-shadow 0.35s ease;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.member-card {
    background: var(--surface-1);
    border: 1px solid var(--border-neon);
    border-radius: 16px;
    padding: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.member-card:hover {
    transform: translateY(-4px);
    border-color: var(--banner-gold);
}

.member-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    background: rgba(192, 38, 211, 0.16);
    border: 1px solid var(--border-gold);
    flex-shrink: 0;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.15rem;
    margin-top: 1rem;
}

.guide-card {
    background: var(--surface-1);
    border: 1px solid rgba(168, 85, 247, 0.28);
    border-radius: 16px;
    padding: 1.25rem;
}

.guide-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    color: #fde047;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.guide-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.guide-steps li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.step-num {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #140800;
    font-weight: 900;
    font-size: 0.72rem;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-juego {
    margin: auto;
    background: var(--surface-2);
    color: var(--text-main);
    border: 1px solid var(--banner-gold);
    border-radius: 20px;
    max-width: 740px;
    width: calc(100% - 2rem);
    padding: 1.5rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85), 0 0 36px rgba(192, 38, 211, 0.35);
}

.modal-juego::backdrop {
    background: rgba(5, 2, 12, 0.82);
    backdrop-filter: blur(6px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.footer-glow {
    border-top: 1px solid var(--border-neon);
    background: rgba(9, 4, 16, 0.9);
    padding: 2rem 1rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.82rem;
}

.hidden {
    display: none !important;
}

/* ================= CONTADOR DE USUARIOS EN VIVO (ESTÉTICA GAMER) ================= */
.live-counter-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(34, 197, 94, 0.4);
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #f8fafc;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.18), inset 0 0 10px rgba(34, 197, 94, 0.08);
    backdrop-filter: blur(12px);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease;
    user-select: none;
    cursor: default;
}
.live-counter-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.35);
    border-color: rgba(34, 197, 94, 0.7);
}
.live-dot-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
.live-dot-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 1.5px solid #22c55e;
    animation: radarPulse 2s ease-out infinite;
}
@keyframes radarPulse {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}
.live-count-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 0.96rem;
    color: #4ade80;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    display: inline-block;
}
.live-count-number.pulse {
    animation: numberPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes numberPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.24); color: #86efac; text-shadow: 0 0 10px #4ade80; }
    100% { transform: scale(1); }
}
.live-count-text {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #94a3b8;
    font-weight: 800;
}
.tech-pill.live-pill {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.45);
    color: #4ade80;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.15);
}
.tech-pill.live-pill:hover {
    background: rgba(34, 197, 94, 0.22);
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.35);
    color: #86efac;
}

@media (max-width: 768px) {
    .hero-banner {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .hero-badges {
        justify-content: center;
    }
}



/* ========================================================================= */
/* ================= BOTÓN ALTERNADOR DE TEMA (MODO CLARO / OSCURO) ========= */
/* ========================================================================= */
.theme-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    background: rgba(22, 10, 42, 0.88);
    border: 1px solid var(--border-neon);
    color: #fde047;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    user-select: none;
    transition: all 0.25s var(--ease-spring);
    box-shadow: 0 0 14px rgba(192, 38, 211, 0.22);
    backdrop-filter: blur(10px);
}

.theme-switch-btn:hover {
    border-color: var(--banner-gold);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.45);
    transform: translateY(-1px) scale(1.02);
}

.theme-toggle-track {
    width: 34px;
    height: 18px;
    border-radius: 999px;
    background: rgba(147, 51, 234, 0.35);
    border: 1px solid rgba(192, 38, 211, 0.5);
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.theme-toggle-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fbbf24;
    color: #1e1b4b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    position: absolute;
    left: 2px;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-switch-text {
    letter-spacing: 0.03em;
    font-weight: 800;
    line-height: 1;
}

/* Transiciones suaves al alternar */
body, .glass-header, .hero-banner, .post-card, .filter-tab, .nav-pill, 
.member-card, .guide-card, .modal-juego, .footer-glow, .glow-input {
    transition: background-color 0.28s ease, background 0.28s ease, 
                border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

/* Clases semánticas para componentes */
.modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
}
.modal-author {
    font-size: 0.82rem;
    color: #f0abfc;
    margin-top: 0.2rem;
}
.modal-specs-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    background: rgba(0, 0, 0, 0.32);
    padding: 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.member-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #fff;
}
.member-role {
    font-size: 0.76rem;
    color: #fde047;
    font-weight: 700;
}
.member-specialty {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}
.footer-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

/* ========================================================================= */
/* ==================== MODO CLARO NXMASTERS (THEME-LIGHT) ================= */
/* ========================================================================= */
html.theme-light {
    --bg-deep: #f7f5fd;
    --bg-room: #ede8fc;
    --surface-1: #ffffff;
    --surface-2: #faf8ff;
    --neon-purple: #9333ea;
    --neon-violet: #7c3aed;
    --banner-gold: #d97706;
    --banner-orange: #ea580c;
    --joy-red: #dc2626;
    --joy-blue: #0284c7;
    --terabox-cyan: #0284c7;
    --text-main: #180d2b;
    --text-muted: #4b3f6b;
    --text-dim: #6d6289;
    --border-neon: rgba(147, 51, 234, 0.22);
    --border-gold: rgba(217, 119, 6, 0.38);
}

html.theme-light body {
    background-color: #f7f5fd;
    background-image:
        radial-gradient(circle at 12% 10%, rgba(192, 38, 211, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 88% 15%, rgba(47, 140, 255, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #fdfcff 0%, #f6f3fc 50%, #ede8f8 100%);
    color: var(--text-main);
}

html.theme-light .glass-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(147, 51, 234, 0.18);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.08);
}

html.theme-light .brand-name {
    color: #180d2b;
    text-shadow: none;
}

html.theme-light .brand-sub {
    color: #9333ea;
}

html.theme-light .glow-input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(147, 51, 234, 0.26);
    color: #180d2b;
    box-shadow: 0 2px 10px rgba(147, 51, 234, 0.05);
}
html.theme-light .glow-input::placeholder {
    color: #7c7198;
}
html.theme-light .glow-input:focus {
    background: #ffffff;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.18), 0 0 16px rgba(147, 51, 234, 0.22);
}

html.theme-light .nav-pill {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(147, 51, 234, 0.18);
    color: #4c1d95;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
}
html.theme-light .nav-pill:hover {
    background: rgba(243, 232, 255, 0.95);
    border-color: #9333ea;
    color: #6b21a8;
}
html.theme-light .nav-pill.nav-active {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: #a855f7;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.32);
}

/* Botón de tema en Light Mode */
html.theme-light .theme-switch-btn {
    background: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.3);
    color: #7c3aed;
    box-shadow: 0 3px 12px rgba(124, 58, 237, 0.12);
}
html.theme-light .theme-switch-btn:hover {
    border-color: #9333ea;
    box-shadow: 0 5px 18px rgba(124, 58, 237, 0.25);
    color: #9333ea;
}
html.theme-light .theme-toggle-track {
    background: linear-gradient(90deg, #7c3aed, #9333ea);
    border-color: #7c3aed;
}
html.theme-light .theme-toggle-thumb {
    left: calc(100% - 16px);
    background: #ffffff;
    color: #7c3aed;
    box-shadow: 0 0 6px rgba(124, 58, 237, 0.5);
}

/* Contador en vivo */
html.theme-light .live-counter-pill {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(34, 197, 94, 0.45);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.12);
    color: #180d2b;
}
html.theme-light .live-count-number {
    color: #16a34a;
}
html.theme-light .live-count-text {
    color: #64748b;
}

/* Hero Banner en modo claro */
html.theme-light .hero-banner {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 241, 255, 0.96) 55%, rgba(254, 250, 240, 0.98) 100%);
    border: 1px solid rgba(147, 51, 234, 0.22);
    box-shadow: 0 16px 44px rgba(124, 58, 237, 0.09), 0 0 32px rgba(245, 158, 11, 0.08);
}
html.theme-light .hero-banner::after {
    color: rgba(147, 51, 234, 0.04);
}
html.theme-light .hero-info h1 {
    color: #180d2b;
}
html.theme-light .hero-info p {
    color: #4b3f6b;
}

/* Tech pills en hero */
html.theme-light .tech-pill {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(147, 51, 234, 0.18);
    color: #3b2a59;
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.04);
}
html.theme-light .tech-pill.terabox {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.35);
    color: #0369a1;
}
html.theme-light .tech-pill.gdrive {
    background: rgba(22, 163, 74, 0.08);
    border-color: rgba(22, 163, 74, 0.35);
    color: #15803d;
}
html.theme-light .tech-pill.viking {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(202, 138, 4, 0.4);
    color: #854d0e;
}
html.theme-light .tech-pill.live-pill {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.45);
    color: #15803d;
}

/* Filtros */
html.theme-light .filter-tab {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #3b2a59;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.04);
}
html.theme-light .filter-tab:hover {
    background: #fdfaff;
    border-color: #9333ea;
    color: #6b21a8;
}
html.theme-light .filter-tab.activo {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: #a855f7;
    color: #fff;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.3);
}
html.theme-light .count-badge {
    background: rgba(147, 51, 234, 0.12);
    color: #6b21a8;
}
html.theme-light .filter-tab.activo .count-badge {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
}

/* Tarjetas de juegos */
html.theme-light .post-card {
    background: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.18);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.06);
}
html.theme-light .post-card:hover {
    border-color: #9333ea;
    box-shadow: 0 14px 34px rgba(124, 58, 237, 0.16);
}
html.theme-light .cover-wrap {
    background: #f3e8ff;
}
html.theme-light .card-title {
    color: #180d2b;
}
html.theme-light .credit-porter {
    color: #6b21a8;
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(147, 51, 234, 0.25);
}
html.theme-light .spec {
    background: rgba(124, 58, 237, 0.06);
    color: #4b3f6b;
}
html.theme-light .spec-downloads {
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.32);
    color: #0369a1;
}
html.theme-light .btn-info {
    background: rgba(124, 58, 237, 0.07);
    border-color: rgba(124, 58, 237, 0.2);
    color: #5b21b6;
}
html.theme-light .btn-info:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--banner-gold);
    color: #b45309;
}
html.theme-light .cover-build {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(217, 119, 6, 0.45);
    color: #b45309;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Barra de progreso */
html.theme-light .progress-wrap {
    background: rgba(147, 51, 234, 0.06);
    border-color: rgba(147, 51, 234, 0.16);
}
html.theme-light .progress-track {
    background: rgba(147, 51, 234, 0.12);
}

/* Tarjetas de miembros y guías */
html.theme-light .member-card {
    background: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.18);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.05);
}
html.theme-light .member-card:hover {
    border-color: #d97706;
    box-shadow: 0 10px 28px rgba(124, 58, 237, 0.12);
}
html.theme-light .member-name {
    color: #180d2b;
}
html.theme-light .member-role {
    color: #b45309;
}
html.theme-light .member-specialty {
    color: #4b3f6b;
}
html.theme-light .member-icon {
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(217, 119, 6, 0.4);
}
html.theme-light .guide-card {
    background: #ffffff;
    border: 1px solid rgba(147, 51, 234, 0.18);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.05);
}
html.theme-light .guide-card h3 {
    color: #b45309;
}
html.theme-light .guide-steps {
    color: #4b3f6b;
}

/* Modal */
html.theme-light .modal-juego {
    background: #ffffff;
    color: #180d2b;
    border-color: var(--banner-gold);
    box-shadow: 0 24px 64px rgba(124, 58, 237, 0.16), 0 0 32px rgba(245, 158, 11, 0.15);
}
html.theme-light .modal-juego::backdrop {
    background: rgba(24, 13, 43, 0.55);
}
html.theme-light .modal-title {
    color: #180d2b;
}
html.theme-light .modal-author {
    color: #7c3aed;
}
html.theme-light .modal-specs-box {
    background: rgba(147, 51, 234, 0.05);
    border-color: rgba(147, 51, 234, 0.18);
}
html.theme-light .modal-close {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #180d2b;
}
html.theme-light .modal-close:hover {
    background: rgba(124, 58, 237, 0.16);
    color: #9333ea;
}

/* Pie de página */
html.theme-light .footer-glow {
    background: #ede8fc;
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    color: #6d6289;
}
html.theme-light .footer-title {
    color: #180d2b;
}

@media (max-width: 640px) {
    .theme-switch-btn {
        padding: 5px 10px 5px 8px;
        font-size: 0.74rem;
        gap: 0.4rem;
    }
    .theme-toggle-track {
        width: 30px;
        height: 16px;
    }
    .theme-toggle-thumb {
        width: 12px;
        height: 12px;
        font-size: 0.52rem;
    }
    html.theme-light .theme-toggle-thumb {
        left: calc(100% - 14px);
    }
}
