html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
}

/* Видео */
video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none; /* Скрыто до проверки капчи */
    transition: opacity 1s ease;
    opacity: 0;
}

/* Оверлей с капчей */
#captchaOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.8s ease forwards;
}

/* Капча-бокс */
#captchaBox {
    background: rgba(255,255,255,0.95);
    padding: 50px 70px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(0);
    animation: scaleIn 0.6s forwards 0.2s;
}

#captchaBox h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

/* Кнопка */
#captchaBox button {
    padding: 12px 30px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    border-radius: 10px;
    background: linear-gradient(45deg, #28a745, #218838);
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

#captchaBox button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Анимации */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes scaleOut {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}
