* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    overflow-x: hidden;
    height: 100vh;
}

#video-bg {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1;
    filter: brightness(0.7);
}

#video-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.logo {
    height: 200px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1.2s ease-out 0.3s forwards;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.7));
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons {
    display: flex;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1.2s ease-out 0.8s forwards;
}

.btn {
    padding: 16px 40px;
    min-width: 150px;
    text-align: center;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn:active {
    transform: translateY(-2px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для страницы оплаты */
.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center; /* Добавляем вертикальное центрирование */
    gap: 30px;
    padding: 30px;
    min-height: 70vh; /* Занимаем 70% высоты экрана */
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-out 0.5s forwards;
    box-sizing: border-box;
}

.payment-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-align: center;
}

.payment-desc {
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.price-list {
    margin-bottom: 30px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item:last-child {
    border-bottom: none;
}

.price-period {
    color: rgba(255, 255, 255, 0.7);
}

.price-value {
    color: white;
    font-weight: 500;
}

.payment-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 20px;
}
.btn {
    /* ... существующие стили ... */
    display: inline-block; /* Изменено с position: relative */
}

/* Обновленные анимации */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем по вертикали */
    flex-grow: 1; /* Занимает все доступное пространство */
}
/* Стили только для страницы info.html */
.info-options .payment-card {
    min-height: 500px; /* Фиксированная высота */
    display: flex;
    flex-direction: column;
    text-align: center; /* Центрирование текста */
}

.info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.info-text p {
    margin-bottom: 15px;
    width: 100%;
}

/* Сохраняем все эффекты страницы оплаты */
.info-options .payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
/* Добавьте эти медиа-запросы в конец файла */

/* Общие мобильные стили */
@media (max-width: 768px) {
    .logo {
        height: 120px; /* Уменьшаем логотип */
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    /* Стили для страницы оплаты */
    .payment-options {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    
    .payment-card {
        width: 100%;
        max-width: 320px;
        padding: 20px;
    }
    
    .payment-title {
        font-size: 1.5rem;
    }
    
    /* Стили для страницы информации */
    .info-options .payment-card {
        min-height: auto;
        padding-bottom: 20px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .logo {
        height: 100px;
    }
    
    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .payment-card {
        padding: 15px;
    }
    
    .price-item {
        font-size: 0.9rem;
    }
}

/* Отключаем параллакс на мобильных */
@media (hover: none) {
    .logo {
        transform: none !important;
    }
}

/* Оптимизация видео-фона для мобильных */
@media (max-width: 768px) {
    #video-bg {
        display: none; /* Скрываем видео на мобильных */
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
        z-index: -2;
    }
}