/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: #08090b;
    color: #ffffff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================
   VARIABLES
========================= */

:root {
    --bg: #08090b;
    --bg-secondary: #0d0f12;
    --card: #111419;

    --border: rgba(255, 255, 255, 0.08);

    --text: #ffffff;
    --text-secondary: #9da3ad;

    --accent: #ffffff;
    --accent-dark: #d9d9d9;

    --max-width: 1180px;
}


/* =========================
   GENERAL
========================= */

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: auto;
}

.section-header {
    max-width: 680px;
    margin-bottom: 60px;
}

.section-label {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #777d87;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;

    margin-bottom: 20px;

    letter-spacing: -1.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
}
.server-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.server-icon img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 100;

    background: rgba(8, 9, 11, 0.75);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.nav-content {
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 1px;
}

.logo strong {
    color: #8f949d;
}

.logo-mark {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: #ffffff;
    color: #08090b;

    font-size: 15px;
    font-weight: 800;
}
.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}   

.nav-button {
    padding: 10px 18px;

    border: 1px solid var(--border);
    border-radius: 8px;

    font-size: 13px;

    transition: 0.2s ease;
}

.nav-button:hover {
    background: #ffffff;
    color: #08090b;
}

/* =========================
   HAMBURGER MENU
========================= */

.menu-toggle {

    width: 44px;
    height: 44px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 0;

    background: transparent;

    border: 1px solid var(--border);
    border-radius: 9px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.menu-toggle span {

    width: 18px;
    height: 2px;

    display: block;

    background: #ffffff;

    border-radius: 10px;

    transition:
        transform 0.25s ease,
        opacity 0.2s ease;
}


/* HOVER */

.menu-toggle:hover {

    background: #111419;

    border-color: rgba(255,255,255,0.16);
}


/* =========================
   HAMBURGER → X
========================= */

.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {

    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================
   OVERLAY
========================= */

.menu-overlay {

    position: fixed;

    inset: 0;

    background: rgba(0, 0, 0, 0.58);

    backdrop-filter: blur(2px);

    opacity: 0;

    visibility: hidden;

    z-index: 190;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.menu-overlay.active {

    opacity: 1;

    visibility: visible;
}


/* =========================
   SIDE MENU
========================= */

.side-menu {

    position: fixed;

    top: 0;
    right: 0;

    width: 330px;
    max-width: 88vw;

    height: 100vh;

    display: flex;
    flex-direction: column;

    padding: 22px;

    background: #0b0d10;

    border-left: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        -20px 0 60px rgba(0,0,0,0.35);

    z-index: 200;

    transform: translateX(100%);

    transition:
        transform 0.32s cubic-bezier(.22,.61,.36,1);

    overflow-y: auto;
}

.side-menu.active {

    transform: translateX(0);
}


/* =========================
   MENU HEADER
========================= */

.side-menu-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding-bottom: 22px;

    border-bottom: 1px solid var(--border);
}


.side-menu-brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.side-menu-brand img {

    width: 42px;
    height: 42px;

    padding: 5px;

    object-fit: contain;

    background: #ffffff;

    border-radius: 10px;
}


.side-menu-brand strong {

    display: block;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 1px;
}


.side-menu-brand span {

    display: block;

    margin-top: 2px;

    color: #626872;

    font-size: 10px;
}


/* =========================
   CLOSE BUTTON
========================= */

.side-menu-close {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    background: transparent;

    border: 1px solid var(--border);

    border-radius: 8px;

    color: #8b919a;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.side-menu-close:hover {

    color: #ffffff;

    background: #111419;

    border-color: rgba(255,255,255,0.15);
}


/* =========================
   MENU NAV
========================= */

.side-menu-nav {

    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 22px;
}


.side-menu-nav a {

    min-height: 48px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 0 13px;

    border: 1px solid transparent;

    border-radius: 9px;

    color: #a0a5ad;

    font-size: 13px;

    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.side-menu-nav a:hover {

    color: #ffffff;

    background: #111419;

    border-color: var(--border);
}


.menu-icon {

    width: 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #777d86;

    font-size: 16px;
}


.side-menu-nav a:hover .menu-icon {

    color: #ffffff;
}


.menu-external {

    margin-left: auto;

    color: #555b64;

    font-size: 13px;
}


/* =========================
   DIVIDER
========================= */

.side-menu-divider {

    width: 100%;

    height: 1px;

    margin: 22px 0;

    background: var(--border);
}


/* =========================
   STAFF AREA
========================= */

.side-menu-staff {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.side-menu-label {

    color: #555b64;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.staff-login-button {

    min-height: 68px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 11px;

    background: #111419;

    border: 1px solid var(--border);

    border-radius: 10px;

    color: #ffffff;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.staff-login-button:hover {

    background: #16191e;

    border-color: rgba(255,255,255,0.16);

    transform: translateY(-1px);
}


.staff-login-icon {

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    background: #f1f1f1;

    color: #08090b;

    border-radius: 8px;

    font-size: 15px;
}


.staff-login-button div {

    min-width: 0;

    flex: 1;
}


.staff-login-button strong {

    display: block;

    font-size: 12px;

    font-weight: 700;
}


.staff-login-button div span {

    display: block;

    margin-top: 2px;

    color: #646a73;

    font-size: 9px;

    line-height: 1.4;
}


.staff-login-arrow {

    color: #626872;

    font-size: 16px;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.staff-login-button:hover .staff-login-arrow {

    color: #ffffff;

    transform: translateX(3px);
}


/* =========================
   MENU FOOTER
========================= */

.side-menu-footer {

    margin-top: auto;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #41464e;

    font-size: 9px;

    text-align: center;
}


/* =========================
   PREVENT SCROLL
========================= */

body.menu-open {

    overflow: hidden;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .menu-toggle {

        width: 42px;
        height: 42px;
    }

    .side-menu {

        width: 320px;

        max-width: 88vw;

        padding: 18px;
    }

    .side-menu-header {

        padding-bottom: 18px;
    }

}


/* =========================
   VERY SMALL SCREENS
========================= */

@media (max-width: 380px) {

    .side-menu {

        width: 290px;

        max-width: 86vw;
    }

}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 70% 40%,
            rgba(255,255,255,0.07),
            transparent 35%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(255,255,255,0.035),
            transparent 35%
        );
}

.hero-content {
    position: relative;

    padding-top: 80px;

    max-width: 1180px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    border: 1px solid var(--border);
    border-radius: 100px;

    color: #fffafa;

    font-size: 12px;

    margin-bottom: 28px;
}

.status-dot {
    width: 7px;
    height: 7px;

    display: inline-block;

    background: #cb1b1b;

    border-radius: 50%;

    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.hero h1 {
    max-width: 850px;

    font-size: clamp(52px, 8vw, 94px);

    line-height: 0.98;

    letter-spacing: -4px;
}

.hero h1 span {
    color: #777d86;
}

.hero p {
    max-width: 620px;

    margin-top: 30px;

    color: #9da3ad;

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    gap: 12px;

    margin-top: 38px;
}

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 600;

    transition: all 0.2s ease;
}

.button-primary {
    background: #ffffff;
    color: #08090b;
}

.button-primary:hover {
    background: #dcdcdc;

    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--border);

    color: #ffffff;
}

.button-secondary:hover {
    background: #ffffff;
    color: #08090b;
}

.hero-scroll {
    position: absolute;

    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: center;
    gap: 10px;

    color: #5f646d;

    font-size: 10px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.hero-scroll span {
    width: 20px;
    height: 1px;

    background: #5f646d;
}


/* =========================
   SERVER
========================= */

.server-section {
    padding: 130px 0;

    background: var(--bg-secondary);
}

.server-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 14px;
}

.server-info {
    display: flex;
    align-items: center;

    gap: 18px;
}

.server-icon {
    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    background: #ffffff;

    color: #08090b;

    border-radius: 12px;

    font-size: 22px;
    font-weight: 800;
}

.small-label {
    color: #656b74;

    font-size: 10px;
    letter-spacing: 2px;
}

.server-info h3 {
    font-size: 18px;

    margin: 2px 0 7px;
}

.server-ip {
    color: #8f959e;

    font-family: monospace;

    font-size: 13px;
}

.server-ip button {
    margin-left: 7px;

    background: none;

    border: none;

    color: #777d86;

    cursor: pointer;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.server-status strong {
    display: block;

    font-size: 13px;
}

.server-status span:not(.status-dot) {
    display: block;

    color: #6f747c;

    font-size: 11px;
}


/* =========================
   FEATURES
========================= */

.features-section {
    padding: 140px 0;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}

.feature-card {
    min-height: 270px;

    padding: 28px;

    background: var(--card);

    border: 1px solid var(--border);

    border-radius: 12px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255,255,255,0.18);
}

.feature-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);

    border-radius: 9px;

    margin-bottom: 45px;

    color: #ffffff;
}

.feature-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}

.feature-card p {
    color: #777d86;

    font-size: 13px;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 0 0 140px;
}

.cta-card {
    padding: 60px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    background: linear-gradient(
        120deg,
        #111419,
        #0c0e11
    );

    border: 1px solid var(--border);

    border-radius: 16px;
}

.cta-card h2 {
    font-size: clamp(30px, 4vw, 48px);

    letter-spacing: -1.5px;

    line-height: 1;
}

.cta-card p {
    max-width: 520px;

    margin-top: 15px;

    color: #777d86;

    font-size: 14px;
}


/* =========================
   RULES
========================= */

.rules-section {
    padding: 130px 0;

    background: var(--bg-secondary);
}

.rules-grid {
    border-top: 1px solid var(--border);
}

.rule {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 20px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}

.rule > span {
    color: #555b64;

    font-family: monospace;
    font-size: 12px;
}

.rule h3 {
    margin-bottom: 5px;

    font-size: 17px;
}

.rule p {
    color: #777d86;

    font-size: 13px;
}


/* =========================
   FOOTER
========================= */

.footer {
    padding: 70px 0 25px;

    background: #07080a;
}

.footer-content {
    display: flex;

    justify-content: space-between;

    padding-bottom: 60px;
}

.footer-content p {
    margin-top: 15px;

    color: #60656e;

    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 25px;

    color: #777d86;

    font-size: 12px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #4d525a;

    font-size: 10px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .server-card {
        gap: 30px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 28px, var(--max-width));
    }

    .hero h1 {
        letter-spacing: -2.5px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .cta-card {
        padding: 35px 25px;
    }

    .footer-content {
        flex-direction: column;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 8px;
    }
}

/* =========================================================
   FIX MENU MOVIL
========================================================= */

/* El botón SIEMPRE debe estar visible */
.menu-toggle {
    display: flex !important;

    width: 44px;
    height: 44px;

    flex-shrink: 0;

    position: relative;
    z-index: 210;
}


/* Ocultar completamente la navegación antigua */
.nav-links {
    display: none !important;
}

.nav-button {
    display: none !important;
}


/* =========================================================
   LOGO DEL HEADER
========================================================= */

.navbar .logo {
    display: flex;

    align-items: center;

    gap: 10px;
}

.navbar .logo img {
    width: 40px;
    height: 40px;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================================
   MENU LATERAL
========================================================= */

.side-menu {
    display: flex !important;

    position: fixed;

    top: 0;
    right: 0;

    width: 330px;
    max-width: 88vw;

    height: 100vh;

    transform: translateX(100%);

    visibility: hidden;

    opacity: 1;

    z-index: 200;
}

.side-menu.active {
    transform: translateX(0);

    visibility: visible;
}


/* =========================================================
   OVERLAY
========================================================= */

.menu-overlay {
    display: block !important;

    position: fixed;

    inset: 0;

    z-index: 190;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MOVIL
========================================================= */

@media (max-width: 600px) {

    .nav-content {
        height: 68px;
    }


    .navbar .logo img {
        width: 34px;
        height: 34px;
    }


    .navbar .logo {
        font-size: 13px;

        gap: 8px;
    }


    .menu-toggle {

        width: 40px;
        height: 40px;

        gap: 5px;
    }


    .menu-toggle span {

        width: 17px;
        height: 2px;
    }


    .side-menu {

        width: 310px;

        max-width: 84vw;

        padding: 18px;

        overflow-y: auto;
    }


    .side-menu-brand img {

        width: 38px;
        height: 38px;

        padding: 5px;
    }


    .side-menu-brand strong {

        font-size: 13px;
    }


    .side-menu-nav {

        margin-top: 18px;

        gap: 4px;
    }


    .side-menu-nav a {

        min-height: 46px;

        padding: 0 11px;

        font-size: 12px;
    }


    .staff-login-button {

        min-height: 64px;
    }

}


/* =========================================================
   TELEFONOS PEQUEÑOS
========================================================= */

@media (max-width: 380px) {

    .side-menu {

        width: 285px;

        max-width: 84vw;
    }

}

/* =========================================================
   COMING SOON — TIENDA
========================================================= */

.coming-soon-page {

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    background:
        radial-gradient(
            circle at 50% 40%,
            rgba(255,255,255,0.055),
            transparent 35%
        ),
        #08090b;
}


/* HEADER */

.coming-header {

    height: 76px;

    display: flex;
    align-items: center;

    padding: 0 30px;

    border-bottom: 1px solid var(--border);

    background: rgba(8,9,11,0.75);

    backdrop-filter: blur(18px);
}


/* CONTENT */

.coming-soon {

    flex: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 80px 20px;
}


.coming-content {

    width: min(600px, 100%);

    text-align: center;
}


/* ICON */

.coming-icon {

    width: 74px;
    height: 74px;

    display: grid;
    place-items: center;

    margin: 0 auto 30px;

    background: #111419;

    border: 1px solid var(--border);

    border-radius: 18px;

    color: #ffffff;

    font-size: 25px;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.25);
}


.coming-content h1 {

    margin-bottom: 18px;

    font-size: clamp(42px, 7vw, 70px);

    line-height: 1;

    letter-spacing: -3px;
}


.coming-content p {

    max-width: 500px;

    margin: 0 auto;

    color: #777d86;

    font-size: 15px;
}


/* STATUS */

.coming-status {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin: 25px 0 30px;

    padding: 8px 13px;

    border: 1px solid var(--border);

    border-radius: 100px;

    color: #777d86;

    font-size: 11px;
}


.coming-status .status-dot {

    background: #777d86;

    box-shadow: none;
}


/* BUTTON */

.coming-content .button {

    width: auto;

    padding-left: 24px;
    padding-right: 24px;
}


/* FOOTER */

.coming-footer {

    padding: 20px 0;
}


/* MOBILE */

@media (max-width: 600px) {

    .coming-header {

        height: 68px;

        padding: 0 18px;
    }


    .coming-content h1 {

        letter-spacing: -2px;
    }


    .coming-content p {

        font-size: 14px;
    }


    .coming-content .button {

        width: auto;
    }

}
