/* Header Styles */
.header {
    background: linear-gradient(to bottom, 
        rgba(15, 23, 41, 0.9) 0%,
        rgba(15, 23, 41, 0.7) 100%
    );
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
    clip-path: polygon(
        0% 0%,
        2% 10%,
        98% 10%,
        100% 0%,
        98% 100%,
        85% 90%,
        15% 90%,
        2% 100%
    );
    border: 1px solid rgba(184, 199, 255, 0.1);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            rgba(114, 137, 218, 0.1) 0%,
            rgba(114, 137, 218, 0) 20%,
            rgba(114, 137, 218, 0) 80%,
            rgba(114, 137, 218, 0.1) 100%
        ),
        linear-gradient(180deg,
            rgba(184, 199, 255, 0.1) 0%,
            rgba(114, 137, 218, 0.05) 100%
        );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 4rem;
    padding: 1.5rem 4rem;
    position: relative;
}

.nav-container::before,
.nav-container::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: rgba(184, 199, 255, 0.2);
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(184, 199, 255, 0.3);
}

.nav-container::before {
    left: 20px;
    background: linear-gradient(90deg, rgba(114, 137, 218, 0), rgba(114, 137, 218, 0.3));
}

.nav-container::after {
    right: 20px;
    background: linear-gradient(90deg, rgba(114, 137, 218, 0.3), rgba(114, 137, 218, 0));
}

/* Mobile Navigation Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.nav-toggle:focus {
    outline: none;
}

.nav-toggle div {
    width: 30px;
    height: 3px;
    background: var(--nav-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hamburger Animation */
.nav-toggle.active div:first-child {
    transform: rotate(45deg);
}

.nav-toggle.active div:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-toggle.active div:nth-child(3) {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-container {
        padding: 1rem 2rem;
    }

    .nav-center {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        background: linear-gradient(to right,
            rgba(15, 23, 41, 0.95) 0%,
            rgba(15, 23, 41, 0.98) 100%
        );
        flex-direction: column;
        padding: 80px 20px;
        transition: right 0.3s ease-in-out;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-left: 1px solid rgba(184, 199, 255, 0.1);
    }

    .nav-center::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            linear-gradient(90deg, 
                rgba(114, 137, 218, 0.1) 0%,
                rgba(114, 137, 218, 0) 20%,
                rgba(114, 137, 218, 0) 80%,
                rgba(114, 137, 218, 0.1) 100%
            ),
            linear-gradient(180deg,
                rgba(184, 199, 255, 0.1) 0%,
                rgba(114, 137, 218, 0.05) 100%
            );
        z-index: -1;
    }

    .nav-center.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border: 1px solid rgba(184, 199, 255, 0.1);
        margin: 0.5rem 0;
        background: rgba(114, 137, 218, 0.05);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .nav-link:hover {
        background: rgba(114, 137, 218, 0.1);
        border-color: rgba(184, 199, 255, 0.3);
        box-shadow: 0 0 15px rgba(114, 137, 218, 0.2);
    }

    .nav-right {
        margin-left: auto;
    }

    .server-status {
        display: flex !important;
    }
} 