* {
    box-sizing: border-box;
    color: rgba(208, 190, 162, 1);
}

ul {
    list-style: none;
}

html,
body {
    background: rgba(21, 20, 25, 1);
    overflow-x: hidden;
    width: 100%;
}

/* Стили для Telegram модального окна */
#modal-telegram-auto .modal__content {
    max-width: 450px;
    text-align: center;
    padding: 40px 30px;
}

#modal-telegram-auto .telegram-icon {
    margin: 0 auto 25px;
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.telegram-button {
    display: inline-block;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(42, 171, 238, 0.3);
    margin-bottom: 15px;
}

.telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 171, 238, 0.4);
}

.telegram-close-text {
    font-family: 'Reaver-Bold', sans-serif;
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.telegram-close-text:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #modal-telegram-auto .modal__content {
        max-width: 90%;
        padding: 30px 20px;
    }

    #modal-telegram-auto .modal__title {
        font-size: 24px;
    }

    #modal-telegram-auto .modal__text {
        font-size: 14px;
    }

    .telegram-button {
        padding: 12px 30px;
        font-size: 15px;
    }
}
/* Колонка для обратного отсчёта и онлайна */
.header__online-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
}

/* Анимация для зелёной иконки Online */
.header__online-icon.online {
    background-color: rgba(87, 215, 80, 1);
    border-radius: 50%; /* Убедитесь, что иконка круглая */
    position: relative;
    width: 12px; /* или ваш размер */
    height: 12px;
}

.header__online-icon.online::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(87, 215, 80, 0.7);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(87, 215, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(87, 215, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(87, 215, 80, 0);
    }
}

/* Стили для текста обратного отсчёта */
.header__online-text span {
    font-weight: 500;
    transition: color 0.3s ease;
}