body, html {
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: hidden; /* Убираем прокрутку на этой странице */
    background-color: #000;
}

/* Контейнер для фоновой анимации */
.choice-main-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Помещаем фон за основной контент */
}

/* Эти стили нужны для правильной работы скопированной анимации */
.choice-main-area .top-glow {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to bottom, rgba(0, 80, 200, 0.25), transparent);
    z-index: 2;
}
.choice-main-area #snowflakes-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
}

/* Общий контейнер-оверлей для модального окна */
.choice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Полупрозрачный фон */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000; /* Выше всего остального контента */
    transition: opacity 0.5s ease-out;
    backdrop-filter: blur(8px);
}

/* Скрываем оверлей */
.choice-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none; /* Чтобы нельзя было кликнуть на скрытый оверлей */
}

/* Контейнер с карточками выбора (взят из старых стилей) */
.choice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    text-align: center;
    padding: 20px;
    opacity: 0;
    animation: fadeInContainer 1s ease-out 0.2s forwards;
}

@keyframes fadeInContainer {
    to { opacity: 1; }
}

.choice-header {
    margin-bottom: 28px;
}
.choice-logo { display: none; }

.choice-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.choice-rotating-logo {
    height: 64px;
    width: auto;
    filter: drop-shadow(0 0 16px rgba(120, 200, 255, 0.35));
    animation: choice-rotate 24s linear infinite;
}

@keyframes choice-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.choice-brand-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.choice-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

.choice-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Поднимаем блок выше за счёт доп. отступа сверху у контейнера */
.choice-modal-overlay .choice-container {
    margin-top: -180px;
}

.choice-card {
    background-color: rgba(30, 30, 30, 0.7);
    border: 1px solid #444;
    border-radius: 16px;
    width: 320px;
    padding: 30px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.choice-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 110, 200, 0.5);
    box-shadow: 0 10px 30px rgba(0, 110, 200, 0.2);
    text-decoration: none;
    color: #fff;
}

.card-icon {
    color: #4f8cff;
    margin-bottom: 20px;
}
.card-content {
    flex: 1; /* Позволяет контенту занимать все доступное место */
}
.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.card-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.choice-card.disabled {
    cursor: not-allowed;
    filter: grayscale(80%);
    opacity: 0.6;
}
.choice-card.disabled:hover {
    transform: none;
    box-shadow: none;
    border-color: #444;
}

.soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #4f8cff;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .choice-header {
        margin-bottom: 18px; /* Уменьшаем отступ */
    }
    .choice-logo {
        height: 60px; /* Уменьшаем логотип */
        margin-bottom: 15px;
    }
    .choice-header h1 {
        font-size: 1.8rem; /* Более компактный заголовок */
    }
    .choice-cards {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* Сближаем карточки */
    }
    .choice-card {
        width: 90%;
        max-width: 400px; /* Чуть шире на планшетах в портретной ориентации */
        padding: 25px;
    }
    .card-content h3 {
        font-size: 1.3rem;
    }
    .card-content p {
        font-size: 0.95rem;
    }
    .choice-modal-overlay .choice-container {
        margin-top: -90px;
    }
}