:root {
    --neon-blue: #00d4ff;
    --neon-purple: #b44fff;
    --neon-pink: #ff2d78;
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-nav: #0d0d15;
    --text-main: #e8e8f0;
    --text-muted: #7a7a9a;
    --border: #1e1e30;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    -webkit-text-fill-color: var(--neon-pink);
}

nav {
    flex: 1;
    overflow: hidden;
}

nav ul {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav ul li a {
    display: block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    border: 1px solid transparent;
    transition: all 0.2s;
}

nav ul li a:hover {
    color: var(--neon-blue);
    border-color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0 12px;
    gap: 8px;
    transition: border-color 0.2s;
}

.search-wrap:focus-within {
    border-color: var(--neon-blue);
}

.search-wrap input {
    background: none;
    color: var(--text-main);
    font-size: 13px;
    width: 180px;
    padding: 8px 0;
}

.search-wrap input::placeholder {
    color: var(--text-muted);
}

.search-wrap button {
    color: var(--text-muted);
    font-size: 16px;
    padding: 0;
    transition: color 0.2s;
}

.search-wrap button:hover {
    color: var(--neon-blue);
}

footer {
    background: var(--bg-nav);
    border-top: 1px solid var(--border);
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    height: auto;
}

footer a {
    color: var(--text-muted);
    transition: color 0.2s;
}

footer a:hover {
    color: var(--neon-blue);
}

.footer-info {
    margin-top: 8px;
}

.peBtn {
    width: 35px;
    height: 35px;
    display: none;
}

@media (max-width: 768px) {
    header {
        position: relative;
    }

    .peBtn {
        display: block;
    }

    .header-inner {
        max-width: 100%;
        height: 100%;
        justify-content: space-between;
    }

    nav,
    .header-actions {
        width: 100%;
        height: 100vh;
        position: absolute;
        left: 0;
        top: 0;
        transform: translateY(-100%);
        background: rgba(10, 10, 15);
        transition: .3s;
        padding: 0 5px;
    }

    nav ul {
        flex-direction: column;
    }

    .header-actions {
        align-items: start;
        padding-top: 50px;
    }

    .header-actions .searchBar {
        width: 100%;
    }

    .header-actions .searchBar input {
        flex: 1;
    }

    nav.active,
    .header-actions.active {
        top: 100%;
        transform: translateY(0);
    }
}