header {
    background: #232526;
    color: #bbfcfb;
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

header ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    padding: 0 16px;
}

header a {
    color: #bbfcfb;
    text-decoration: none;
    font-weight: bold;
    font-size: 17px;
    transition: color 0.2s;
}

header a:hover {
    color: #fff;
}

.header-toggle {
    display: none;
}

@media (max-width: 700px) {
    header {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 10px 12px;
    }

    .header-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid rgba(187, 252, 251, 0.18);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: #bbfcfb;
        cursor: pointer;
        font-size: 1.3rem;
        line-height: 1;
    }

    header ul {
        position: absolute;
        top: calc(100% + 10px);
        right: 12px;
        left: 12px;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        background: rgba(35, 37, 38, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
    }

    header.header-open ul {
        display: flex;
    }

    header li {
        width: 100%;
    }

    header a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border-radius: 10px;
        font-size: 15px;
    }

    header a:hover {
        background: rgba(255, 255, 255, 0.05);
    }
}
