.header {
    position: absolute;
    /* Фиксирует элемент вне потока документа */
    top: 0;
    /* Прижимает к верхнему краю */
    left: 0;
    /* Прижимает к левому краю */
    right: 0;
    /* Растягивает на всю ширину */
    z-index: 1000;
    /* Обеспечивает отображение поверх других элементов (при необходимости) */
    /* Другие стили (фон, отступы и т. д.) */
    flex: 0 0 auto;
    /* Фиксированная высота, не растягивается */
    height: 3rem;
    /* Укажите нужную высоту header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.accent-glow-header {
    position: absolute;
    width: 40%;
    height: 80%;
    background: linear-gradient(164deg, rgb(0 255 255 / 96%), rgb(0 0 0 / 0%));
    filter: blur(30px);
    transform: translate(0px, -63px) rotateZ(355deg);
}

.header-players {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px solid rgb(3 230 231 / 40%);
    border-radius: 30px;
    padding: 4px 10px;
    background: rgb(255 255 255 / 8%);
}

.header-players p {
    color: #a3a3a3;
}

.header-players span {
    font-family: "Orbitron", sans-serif;
    font-size: 1rem;
    color: var(--accent);
    font-style: italic;
    font-weight: bold;
}

.logo-link {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--accent), #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: "Orbitron", sans-serif;
    font-size: 0.7rem;
}

.header-logo {
    height: 3.5rem;
    /* фиксированная высота */
    width: auto;
    /* сохранение пропорций */
}

/* Адаптивность: уменьшаем логотип на мобильных */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header-logo {
        height: 30px;
    }
}

.online-dot {
    width: 12px;
    height: 12px;
    background-color: #f23383;
    border-radius: 50%;
    box-shadow: 0 0 0 0 #f23383b3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #f23383b3;
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 #f23383b3;
    }
}

.header-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    /* Располагаем элементы в строку */
    gap: 1rem;
    /* Отступы между кнопками */
    justify-content: center;
}

.header-nav-item {
    margin: 0;
}

.header-nav-link {
    min-width: 155px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color);
    background-color: rgba(119, 119, 119, 0.1);
    border-radius: 7px;
    padding: 5px 2px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif !important;
    transition: all 0.3s ease;
    justify-content: center;
    border: rgba(0, 0, 0, 0) 2px solid;
    transform: skew(-12deg, 0deg);
    box-shadow: 1px 2px 2px var(--accent);
}

.header-nav-link:hover {
    color: var(--accent);
    border: var(--accent) 2px solid;
}

.header-nav-link.active {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 2px 4px 4px var(--accent);
}

.header-nav-link.active:hover {
    color: var(--accent);
    border: var(--accent) 2px solid;
}

.header-right {
    display: flex;
    gap: 0.8rem;
}

.header-donate {
    max-height: 37px;
    padding: 0.6rem;
    border: var(--accent) solid 1px;
    border-radius: 8px;
    color: var(--text-color);
    background: none;
    font-size: 15px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: rgba(0, 0, 0, 0) 2px solid;
    transform: skew(-12deg, 0deg);
    box-shadow: 1px 2px 2px var(--accent);
}

.header-donate:hover {
    color: var(--accent);
    background: none;
    border: var(--accent) 2px solid;
}

.header-steam-auth {
    max-height: 37px;
    padding: 0.6rem;
    border: var(--accent) solid 1px;
    border-radius: 8px;
    color: var(--background-color);
    background: var(--accent);
    font-size: 15px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif !important;
    transition: all 0.3s ease;
    cursor: pointer;
    border: rgba(0, 0, 0, 0) 2px solid;
    transform: skew(-12deg, 0deg);
    box-shadow: 1px 2px 2px var(--accent);
}

.header-steam-auth:hover {
    color: var(--accent);
    background: none;
    border: var(--accent) 2px solid;
}