/*
    Intro MU Online Premium – Hoja de Estilos
    Autor: AlmaFuerte - AfDevStudio
    Web: https://afdevstudio.com.ar
    Tel: +54 11 2521-5915
    Prohibida su venta sin autorización y quitar copyright.
*/

:root {
    --bg-1: #040407;
    --bg-2: #081018;
    --accent1: #6a00ff;
    --accent2: #ff4d9b;
    --accent3: #00e5ff;
    --glass: rgba(255, 255, 255, 0.04);
    --muted: #98b6da;
    --text: #eaf2ff;
    --glass-strong: rgba(255, 255, 255, 0.06);
}

/* reset */
* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0
}

body {
    font-family: "Inter", "Oxanium", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* container */
.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 22px
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2200;
    background: linear-gradient(180deg, rgba(6, 6, 8, 0.12), rgba(6, 6, 8, 0.06));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 22px;
    gap: 12px
}

.brand-img {
    height: 44px
}

/* nav links */
.nav-links {
    display: flex;
    gap: 16px;
    align-items: center
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all .18s
}

.nav-link:hover {
    color: var(--text);
    transform: translateY(-3px)
}

.nav-cta {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #fff;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800
}

/* scrolled nav */
.nav.scrolled {
    background: rgba(6, 6, 8, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6)
}

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    overflow: hidden
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(110%) saturate(115%) brightness(.6);
    z-index: 0
}

/* vignette & scanlines */
.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 60% at 50% 30%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 70%);
    z-index: 2;
    pointer-events: none
}

.cinematic-scan {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent 96%, rgba(255, 255, 255, 0.01) 100%);
    opacity: 0.06;
    z-index: 3;
    pointer-events: none
}

/* particles canvas */
.particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none
}

/* hero inner layout */
.hero-inner {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 48px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1180px;
    padding: 50px 22px
}

.hero-left {
    flex: 1;
    max-width: 60%
}

.hero-right {
    width: 420px;
    display: flex;
    align-items: center;
    justify-content: center
}

/* texts */
.kicker {
    color: var(--accent3);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 12px;
    margin-bottom: 12px
}

.hero-title {
    font-size: 64px;
    line-height: 0.9;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: 1px
}

.hero-title .g {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    -webkit-background-clip: text;
    color: transparent
}

.hero-title .blend {
    color: var(--text);
    text-shadow: 0 12px 60px rgba(106, 0, 255, 0.12)
}

.hero-lead {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 18px;
    max-width: 700px
}

/* actions */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 16px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform .16s, box-shadow .16s
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    color: #fff;
    box-shadow: 0 12px 40px rgba(106, 0, 255, 0.12)
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text)
}

/* hero features list */
.hero-features {
    list-style: none;
    display: flex;
    gap: 18px;
    margin-top: 12px;
    padding: 0;
    color: var(--muted);
    font-size: 14px
}

/* ============================
   SERVER LAYER (integrated)
   ============================ */
.server-layer {
    width: 100%;
    max-width: 420px;
    border-radius: 18px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(106, 0, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* holographic ring */
.server-layer .ring {
    position: absolute;
    right: -24px;
    top: -28px;
    width: 160px;
    height: 160px;
    opacity: 0.14;
    filter: blur(2px);
    pointer-events: none
}

/* server body layout */
.server-body {
    display: flex;
    gap: 12px;
    align-items: center
}

.sb-left {
    flex: 1;
    padding-right: 6px
}

.sb-right {
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center
}

/* status / name */
.sb-status {
    color: #7cffb6;
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px
}

.sb-status .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(90deg, #6fff99, #00e5ff);
    display: inline-block
}

.sb-name {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    color: var(--text)
}

.sb-tag {
    color: var(--muted);
    margin-top: 4px;
    font-size: 13px
}

/* stats row */
.sb-stats {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px
}

.stat {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px
}

.stat .ic {
    font-size: 18px;
    display: inline-block;
    width: 26px
}

/* vertical separator inside layer */
.separator-vert {
    width: 1px;
    height: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    margin: 0 8px;
}

/* meta & footer */
.sb-meta {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px
}

/* progress */
.progress-wrap {
    width: 100%;
    margin-bottom: 12px
}

.progress-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent3), var(--accent1));
    width: 0%
}

/* actions */
.sb-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%
}

.btn.small {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 14px
}

.btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text)
}

.btn.neon {
    background: transparent;
    border: 1px solid var(--accent3);
    color: var(--accent3);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.06)
}

/* sb-footer */
.sb-footer {
    margin-top: 12px;
    font-size: 12px;
    color: var(--muted);
    text-align: center
}

/* hero bottom deco */
.hero-bottom-deco {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(3, 3, 6, 0.95));
    z-index: 6
}

/* =================================
   FEATURES / ABILITIES
   ================================= */
.section {
    padding: 72px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent)
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 8px
}

.section-sub {
    text-align: center;
    color: var(--muted);
    margin-bottom: 26px
}

.abilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 18px
}

.ability {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 16px 40px rgba(10, 8, 20, 0.45);
    transition: transform .24s, box-shadow .24s
}

.ability:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(106, 0, 255, 0.12)
}

.ab-icon {
    font-size: 36px;
    margin-bottom: 12px
}

/* footer */
.footer {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    margin-top: 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent)
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

/* responsive */
@media (max-width:980px) {
    .hero-inner {
        flex-direction: column-reverse;
        gap: 22px;
        padding: 30px 18px
    }

    .hero-left {
        max-width: 100%
    }

    .hero-right {
        width: 100%
    }

    .server-layer {
        max-width: 720px;
        width: 100%
    }
}

@media (max-width:560px) {
    .hero-title {
        font-size: 34px
    }

    .hero-left {
        order: 2
    }

    .hero-right {
        order: 1
    }

    .sb-right {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 8px
    }
}

/* ====== FORCE & INTEGRATION RULES (important) ====== */

.server-layer {
    z-index: 30 !important;
    pointer-events: auto !important;
}

.hero-inner {
    z-index: 12 !important;
}

.bg-video {
    z-index: 0 !important;
}

/* ensure panel visible and centered on all screens */
.server-layer,
.server-panel,
.center-card {
    transform: translateZ(0) !important;
}

/* nav priority */
.nav {
    z-index: 9999 !important;
}

/* mobile fixes */
@media (max-width:760px) {
    .server-layer {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    .hero-inner {
        padding: 18px !important;
    }
}

/* subtle pulsing border for server layer */
@keyframes neonPulse {
    0% {
        box-shadow: 0 18px 60px rgba(106, 0, 255, 0.06), 0 0 12px rgba(0, 229, 255, 0.02);
    }

    50% {
        box-shadow: 0 28px 90px rgba(106, 0, 255, 0.12), 0 0 30px rgba(0, 229, 255, 0.08);
    }

    100% {
        box-shadow: 0 18px 60px rgba(106, 0, 255, 0.06), 0 0 12px rgba(0, 229, 255, 0.02);
    }
}

.server-layer {
    animation: neonPulse 4.8s infinite ease-in-out !important;
}

/* force progress fill visibility */
.progress-fill {
    background: linear-gradient(90deg, var(--accent3), var(--accent1)) !important;
}

/* keep hero bottom deco above background */
.hero-bottom-deco {
    z-index: 6 !important;
}

/* ----------------------------------------------------------
   BASE
---------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    color: #fff;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ----------------------------------------------------------
   NAVBAR
---------------------------------------------------------- */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    padding: 18px 0;
    background: rgba(10, 10, 15, 0.35);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-img {
    width: 100%;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35));
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links .link {
    font-size: 15px;
    opacity: 0.85;
    transition: .2s ease;
}

.nav-links .link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-links .special {
    padding: 9px 18px;
    background: linear-gradient(45deg, #ff008c, #7a00ff);
    border-radius: 8px;
    font-weight: 700;
}

/* 🔥 FIX: El botón hamburguesa solo aparece en móvil */
.nav-toggle {
    display: none;
}

/* ----------------------------------------------------------
   HERO
---------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding-top: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    filter: brightness(0.55) contrast(1.1);
}

.hero-mask {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35vh;
    opacity: 0.45;
    z-index: -2;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 950px;
    padding: 0 20px;
}

.kicker {
    font-size: 14px;
    opacity: 0.7;
    letter-spacing: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 80px;
    font-weight: 800;
    letter-spacing: -3px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.hero-title .g {
    color: #00e5ff;
    text-shadow: 0 0 12px #00e5ff;
}

.hero-title .bold {
    background: linear-gradient(90deg, #ff00aa, #7b00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    margin-top: 14px;
    opacity: 0.85;
    font-size: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 22px;
}

.btn {
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    display: inline-block;
    transition: .2s ease-in-out;
}

.btn-primary {
    background: linear-gradient(45deg, #ff008c, #7a00ff);
}

.btn-ghost {
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn:hover {
    transform: scale(1.05);
}

/* ----------------------------------------------------------
   SERVER RIBBON BLOCK
---------------------------------------------------------- */
.server-block {
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(to bottom,
            rgba(20, 0, 40, 0.9),
            rgba(10, 10, 15, 1));
    display: flex;
    justify-content: center;
}

.server-inner {
    width: 92%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.06);
    padding: 35px 45px;
    border-radius: 18px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-info h3 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 10px;
}

.server-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.server-tag {
    padding: 6px 12px;
    background: #7a00ff;
    border-radius: 8px;
    font-size: 13px;
}

.server-stats-inline {
    display: flex;
    gap: 20px;
    font-size: 15px;
    opacity: .85;
}

.server-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.server-actions .btn {
    width: 170px;
}

/* ----------------------------------------------------------
   FEATURES
---------------------------------------------------------- */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 14px;
    font-weight: 800;
}

.lede {
    text-align: center;
    font-size: 18px;
    opacity: .75;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    width: 92%;
    max-width: 1350px;
    margin: auto;
}

.feature.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 14px;
    backdrop-filter: blur(8px);
    transition: .25s ease;
}

.feature.card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.09);
}

.icon {
    font-size: 36px;
    margin-bottom: 14px;
}

/* ----------------------------------------------------------
   FOOTER
---------------------------------------------------------- */
.footer {
    padding: 45px 0;
    background: #0c0c12;
}

.footer-inner {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.footer-links a {
    opacity: .7;
}

.footer-links a:hover {
    opacity: 1;
}

/* ----------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 66px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 850px) {
    .server-inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
}

@media (max-width: 768px) {

    /* mostrar hamburguesa solo en móvil */
    .nav-toggle {
        display: block;
        background: none;
        font-size: 26px;
        border: none;
        color: white;
    }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 20px;
        flex-direction: column;
        gap: 15px;
        background: rgba(0, 0, 0, 0.8);
        padding: 22px;
        border-radius: 14px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        transition: .25s ease;
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 50px;
    }
}

/* ------------------------------------------------ */
/*     SERVER PANEL – GLASS NEON HOLOGRAPHIC        */
/* ------------------------------------------------ */

.server-layer {
    position: relative;
    padding: 32px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: 18px !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.45) !important;
    width: 100% !important;
}

/* Holographic Ring */
.ring {
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
    width: 90px !important;
    opacity: 0.55 !important;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* BODY GRID */
.server-body {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr !important;
    gap: 40px !important;
    align-items: center !important;
}

/* LEFT SIDE */
.sb-left .sb-status {
    color: #00ffbb !important;
    margin-bottom: 6px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
}

.sb-left .dot.online {
    width: 10px !important;
    height: 10px !important;
    background: #00ff88 !important;
    border-radius: 50% !important;
    margin-right: 6px !important;
}

.sb-name {
    color: #fff !important;
    font-size: 1.9rem !important;
    margin-bottom: 3px !important;
    font-weight: 700 !important;
}

.sb-tag {
    color: #aaa !important;
    font-size: 1rem !important;
    margin-bottom: 20px !important;
}

/* STATS */
.sb-stats {
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.stat {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.stat strong {
    font-size: 1.1rem !important;
    color: #fff !important;
}

.stat small {
    display: block !important;
    color: #aaa !important;
    font-size: 0.75rem !important;
    margin-top: -3px !important;
}

.separator-vert {
    width: 1px !important;
    height: 28px !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* RIGHT SIDE */
.progress-wrap {
    margin-bottom: 22px !important;
}

.progress-label {
    color: #ccc !important;
    margin-bottom: 6px !important;
}

.progress-bar {
    width: 100% !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.progress-fill {
    height: 100% !important;
    background: linear-gradient(90deg, #6a00ff, #00e5ff) !important;
    border-radius: 10px !important;
}

.progress-text {
    margin-top: 6px !important;
    color: #ccc !important;
    font-size: 0.9rem !important;
}

/* BUTTONS */
.sb-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

.btn.small {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

/* Glow Button */
.btn-glow {
    background: #6a00ff !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(106, 0, 255, 0.6) !important;
}

.btn-glow:hover {
    background: #5800d1 !important;
}

/* Outline */
.btn.outline {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
}

.btn.outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Neon Button */
.btn.neon {
    background: linear-gradient(90deg, #00e5ff, #00ffa6) !important;
    color: #000 !important;
    font-weight: 700 !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .server-body {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 28px !important;
    }

    .sb-stats {
        justify-content: center !important;
    }

    .sb-actions {
        justify-content: center !important;
    }
}