


:root {
    --hm-blue: #38bdf8;
    --hm-blue-glow: rgba(56, 189, 248, 0.35);
    --hm-indigo: #2563eb;
    --hm-gold: #ffb347;
    --hm-gold-glow: rgba(255, 179, 71, 0.35);
    --hm-amber: #f59e0b;
    --hm-card-bg: rgba(12, 16, 28, 0.52);
    --hm-card-border: rgba(255, 255, 255, 0.10);
    --hm-card-hover: rgba(18, 24, 40, 0.72);
    --hm-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    --hm-shadow-hover: 0 24px 50px -12px rgba(0, 0, 0, 0.75), 0 0 28px -6px rgba(56, 189, 248, 0.25);
}

body.light {
    --hm-card-bg: rgba(255, 255, 255, 0.65);
    --hm-card-border: rgba(15, 23, 42, 0.12);
    --hm-card-hover: rgba(255, 255, 255, 0.88);
    --hm-shadow: 0 14px 34px -10px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
    --hm-shadow-hover: 0 22px 45px -10px rgba(15, 23, 42, 0.12), 0 0 22px -4px rgba(56, 189, 248, 0.25);
}


.home-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    background-position: center center;
    mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 30%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 20%, #000 30%, transparent 85%);
    opacity: 0.85;
}

body.light .home-bg-grid {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
    opacity: 0.6;
}


.blob {
    position: fixed !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    z-index: 0 !important;
    will-change: transform, opacity !important;
}
.b1 {
    opacity: 0.22 !important;
    background: radial-gradient(circle, #ffb347 0%, #f59e0b 40%, transparent 70%) !important;
    filter: blur(95px) !important;
    -webkit-filter: blur(95px) !important;
}
.b2 {
    opacity: 0.22 !important;
    background: radial-gradient(circle, #38bdf8 0%, #2563eb 50%, transparent 70%) !important;
    filter: blur(95px) !important;
    -webkit-filter: blur(95px) !important;
}
.b3 {
    opacity: 0.16 !important;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%) !important;
    filter: blur(85px) !important;
    -webkit-filter: blur(85px) !important;
}

/* ==========================================================================
   NAVIGATION BAR MODERNIZATION
   ========================================================================== */
#mainHeader {
    background: rgba(4, 6, 14, 0.65) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

body.light #mainHeader {
    background: rgba(246, 248, 252, 0.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
}

.logo-name {
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em !important;
}

.nav-links a:not(.nav-plus-link) {
    font-family: var(--font-display) !important;
    font-weight: 600 !important;
    font-size: .88rem !important;
    color: var(--text-dim) !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.nav-links a:not(.nav-plus-link):hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

body.light .nav-links a:not(.nav-plus-link):hover {
    color: #0f172a !important;
    background: rgba(0, 0, 0, 0.05) !important;
}

.icon-btn.nav-control {
    border-radius: 12px !important;
    border: 1px solid var(--border) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: all .22s ease !important;
}

.icon-btn.nav-control:hover {
    border-color: rgba(56, 189, 248, 0.4) !important;
    background: rgba(56, 189, 248, 0.08) !important;
    color: var(--hm-blue) !important;
    transform: translateY(-2px) !important;
}



/* ==========================================================================
   HERO EXPERIENCE
   ========================================================================== */
.hero {
    position: relative;
    padding: 60px 0 40px !important;
    overflow: visible;
}

.hero h1 {
    font-family: var(--font-display) !important;
    font-size: clamp(2.6rem, 5.5vw, 4.2rem) !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
    line-height: 1.06 !important;
    margin-bottom: 20px !important;
}

body:not(.light) .hero h1 {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 45%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #ffb347 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(0 2px 16px rgba(56, 189, 248, 0.35));
}

.hero p.lead {
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
    color: var(--text-dim) !important;
    max-width: 580px !important;
    margin-bottom: 26px !important;
}





/* Botones del Hero */
.hero-btns {
    display: flex !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    margin-bottom: 34px !important;
}



.hero-btns a.btn-solid:nth-child(2):hover {
    box-shadow: 0 16px 36px -6px rgba(255, 179, 71, 0.65), 0 0 20px rgba(255, 179, 71, 0.35) !important;
}

/* Mini Stats debajo de los botones del Hero */
.hero-mini-stats {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 10px 18px !important;
    border-radius: 16px !important;
    background: rgba(13, 17, 26, 0.65) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

body.light .hero-mini-stats {
    background: rgba(255, 255, 255, 0.88) !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.hero-mini-stats > div {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 16px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.hero-mini-stats > div:last-child {
    border-right: none !important;
}

.hero-mini-stats strong {
    font-family: var(--font-mono) !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--hm-blue) !important;
    line-height: 1.1 !important;
}

.hero-mini-stats span {
    font-size: .68rem !important;
    color: var(--text-faint) !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin-top: 3px !important;
}

/* ==========================================================================
   HUD TERMINAL PANEL (CYBER CORE)
   ========================================================================== */
.panel.hud {
    background: var(--hm-card-bg) !important;
    border: 1px solid rgba(56, 189, 248, 0.28) !important;
    border-radius: 24px !important;
    padding: 24px !important;
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px -8px rgba(56, 189, 248, 0.2) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    transition: all .3s ease !important;
}

.panel.hud:hover {
    border-color: rgba(56, 189, 248, 0.5) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 45px -5px rgba(56, 189, 248, 0.3) !important;
}

.hud-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
}

.hud-readout {
    background: rgba(4, 6, 12, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    margin-top: 18px !important;
}

body.light .hud-readout {
    background: rgba(240, 243, 249, 0.7) !important;
}

.hud-line {
    padding: 5px 0 !important;
    font-size: .82rem !important;
    font-family: var(--font-mono) !important;
}




/* ==========================================================================
   CAROUSEL & SLIDER ARROWS
   ========================================================================== */
.carousel-arrow {
    background: rgba(13, 17, 26, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text) !important;
    backdrop-filter: blur(14px) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all .2s ease !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
}

.carousel-arrow:hover {
    border-color: var(--hm-blue) !important;
    background: var(--hm-blue) !important;
    color: #04121a !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5) !important;
}

/* ==========================================================================
   FEATURES GRID (VENTAJAS COMPETITIVAS)
   ========================================================================== */
.feat {
    background: var(--hm-card-bg) !important;
    border: 1px solid var(--hm-card-border) !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    box-shadow: var(--hm-shadow) !important;
    backdrop-filter: blur(14px) !important;
    transition: all .28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.feat:hover {
    transform: translateY(-4px) !important;
    background: var(--hm-card-hover) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    box-shadow: var(--hm-shadow-hover) !important;
}

.feat-ico {
    width: 50px !important;
    height: 50px !important;
    border-radius: 15px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 1.25rem !important;
    margin-bottom: 16px !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
    transition: transform .25s ease !important;
}

.feat:hover .feat-ico {
    transform: scale(1.1) rotate(4deg) !important;
}

/* ==========================================================================
   PANEL DE SPONSORS / SOLICITAR
   ========================================================================== */
.x87.x87 {
    background: linear-gradient(135deg, rgba(18, 24, 38, 0.85) 0%, rgba(35, 24, 15, 0.85) 100%), var(--hm-card-bg) !important;
    border: 1px solid rgba(255, 179, 71, 0.35) !important;
    border-radius: 24px !important;
    padding: 40px 24px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 179, 71, 0.1) !important;
    backdrop-filter: blur(16px) !important;
}

.x91.x91 {
    background: linear-gradient(135deg, #ffe28a 0%, #ffb347 50%, #f59e0b 100%) !important;
    color: #241400 !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    border-radius: 14px !important;
    padding: 13px 30px !important;
    border: none !important;
    box-shadow: 0 10px 28px -6px rgba(255, 179, 71, 0.45) !important;
    cursor: pointer !important;
    transition: all .25s ease !important;
}

.x91.x91:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 16px 36px -6px rgba(255, 179, 71, 0.65) !important;
    filter: brightness(1.06) !important;
}


/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookieBanner {
    background: rgba(13, 17, 26, 0.94) !important;
    border: 1px solid rgba(56, 189, 248, 0.28) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.1) !important;
    backdrop-filter: blur(20px) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (HOMEPAGE)
   ========================================================================== */
@media (max-width: 900px) {
    .statbar {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .statbar {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 18px 16px !important;
    }
    .stat:nth-child(2) {
        border-right: none !important;
    }
    .hero-mini-stats {
        width: 100% !important;
        justify-content: space-around !important;
        padding: 10px 8px !important;
    }
    .hero-mini-stats > div {
        padding: 0 8px !important;
    }
    .hero-mini-stats strong {
        font-size: 1rem !important;
    }
    .hero-btns {
        flex-direction: column !important;
    }
    .hero-btns a {
        width: 100% !important;
    }
}

/* ==========================================================================
   BUTTON POLISH & INTERACTIVE CONTROLS
   ========================================================================== */
#cookieAccept {
    background: linear-gradient(135deg, #3ddc97 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(61, 220, 151, 0.35) !important;
}
#cookieAccept:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(61, 220, 151, 0.45) !important;
}

#cookieReject {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 93, 106, 0.35) !important;
    color: var(--danger) !important;
}
#cookieReject:hover {
    background: rgba(255, 93, 106, 0.12) !important;
    transform: translateY(-2px) !important;
}

#submitCommentBtn {
    background: linear-gradient(135deg, #38bdf8 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 18px rgba(56, 189, 248, 0.35) !important;
}
#submitCommentBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.5) !important;
}

#appPrevBtn, #appNextBtn {
    border-radius: 12px !important;
    padding: 10px 20px !important;
    font-weight: 700 !important;
}

.prod-card {
    background: var(--hm-card-bg) !important;
    border: 1px solid var(--hm-card-border) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: var(--hm-shadow) !important;
    transition: all .28s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.prod-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: var(--hm-shadow-hover) !important;
}
.prod-card .btn {
    border-radius: 12px !important;
}

.community-server-card {
    border-radius: 20px !important;
    border: 1px solid var(--hm-card-border) !important;
    background: var(--hm-card-bg) !important;
    backdrop-filter: blur(14px) !important;
    box-shadow: var(--hm-shadow) !important;
    transition: all .25s ease !important;
}
.community-server-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: var(--hm-shadow-hover) !important;
}
.community-server-join {
    border-radius: 12px !important;
    font-weight: 700 !important;
}

.hall-fame-card, .hof-card {
    border-radius: 18px !important;
    border: 1px solid rgba(255, 179, 71, 0.3) !important;
    background: linear-gradient(145deg, rgba(255, 179, 71, 0.08), rgba(185, 140, 255, 0.04)) !important;
    backdrop-filter: blur(14px) !important;
    transition: all .25s ease !important;
}
.hall-fame-card:hover, .hof-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--hm-gold) !important;
    box-shadow: 0 10px 26px rgba(255, 179, 71, 0.25) !important;
}

.x20.x20 {
    border-radius: 14px !important;
    padding: 10px 18px !important;
    font-weight: 700 !important;
}

