/* === Стили шапки сайта === */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    padding: 15px 30px;
    font-family: 'Courier New', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    border-bottom: 2px solid #ffaa00;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Логотип */
.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;

}

/* Меню */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: #ffaa00;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #ffaa00;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Telegram-кнопка */
.telegram-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #555;
    background-color: #1e1e1e;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.telegram-nav-link:hover {
    background-color: #a700ff;
    color: black;
    box-shadow: 0 0 10px #a700ff;
}

.telegram-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #888;
    transform: none !important;
    transition: none !important;
}

/* Бургер-меню */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffaa00;
}

/* === Адаптив для мобильных устройств === */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #111;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
        display: none;
        border-bottom: 2px solid #ffaa00;
    }

    .menu-toggle:checked + .menu-icon + .nav-links {
        display: flex;
    }

    .telegram-nav-link {
        width: 100%;
        justify-content: center;
    }
}