* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    
    /* Фоновое изображение + АНИМАЦИЯ 1: Медленный зум */
    background: url('sports-image.png') center/cover no-repeat fixed;
    animation: bgZoom 25s infinite alternate linear; /* Чуть замедлил для плавности */
}

/* Анимация для фона (Зум) */
@keyframes bgZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.age-gate-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    padding: 20px;
}

.age-gate-card {
    /* Полупрозрачный фон */
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.50), rgba(26, 34, 53, 0.50));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: hidden;
}

.age-gate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #ff6b35, #00c682);
    border-radius: 20px 20px 0 0;
}

.brand-logo {
    margin-bottom: 30px;
}

/* Синий логотип */
.brand-name {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.age-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    position: relative;
}

/* Красный 18+ */
.age-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(145deg, #1e293b, #162032);
    border: 3px solid #ff3b30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: #ff3b30;
    box-shadow:
        0 0 30px rgba(255, 59, 48, 0.3),
        0 0 60px rgba(255, 59, 48, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 59, 48, 0.3), 0 0 60px rgba(255, 59, 48, 0.1); }
    50% { box-shadow: 0 0 40px rgba(255, 59, 48, 0.4), 0 0 80px rgba(255, 59, 48, 0.2); }
}

.age-title {
    font-size: 22px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 10px;
    line-height: 1.3;
}

.age-description {
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.6;
}

.buttons-wrapper {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    flex: 1;
    max-width: 180px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* === КНОПКА YES С ПУЛЬСАЦИЕЙ === */
.btn-yes {
    background: linear-gradient(135deg, #00c682, #00a86b);
    color: #ffffff;
    box-shadow:
        0 4px 15px rgba(0, 198, 130, 0.4),
        0 1px 3px rgba(0, 0, 0, 0.3);
    
    /* Включаем анимацию пульсации */
    animation: pulse-scale 2s infinite;
}

/* Новая анимация пульсации (увеличение) */
@keyframes pulse-scale {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0, 198, 130, 0.6); }
    100% { transform: scale(1); }
}

/* Останавливаем пульсацию при наведении, чтобы кнопка "подпрыгнула" */
.btn-yes:hover {
    animation: none;
    transform: scale(1.05) translateY(-2px);
    box-shadow:
        0 10px 30px rgba(0, 198, 130, 0.6),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-yes:active {
    transform: translateY(0);
}

.btn-no {
    background: linear-gradient(135deg, #374151, #2d3748);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-no:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #4b5563, #374151);
    color: #e2e8f0;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-no:active {
    transform: translateY(0);
}

/* Стили для подвала (если решите вернуть) */
.age-gate-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.age-gate-footer p {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.disclaimer svg {
    width: 14px;
    height: 14px;
    fill: #94a3b8;
}

.denied-page {
    display: none;
    text-align: center;
}

.denied-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.denied-title {
    font-size: 24px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 12px;
}

.denied-text {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .age-gate-card {
        padding: 40px 25px;
    }

    .age-title {
        font-size: 19px;
    }

    .buttons-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        max-width: 100%;
        width: 100%;
    }

    .brand-name {
        font-size: 24px;
    }
}