/* Общие настройки */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #050505; /* Глубокий черный */
    color: #ffffff;
    overflow: hidden; /* Чтобы не скроллилось на этапе 18+ */
    height: 100vh;
}

/* --- СТИЛИ AGE GATE (18+) --- */
.age-gate {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
    padding: 20px;
}

.circle-border {
    width: 150px;
    height: 150px;
    border: 4px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

.age-text {
    font-size: 3rem;
    font-weight: 700;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.buttons { margin-top: 40px; display: flex; gap: 20px; flex-wrap: wrap; justify-content: center;}

button {
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
}

.btn-yes { background: #fff; color: #000; }
.btn-yes:hover { background: #ccc; }

.btn-no { background: transparent; border: 1px solid #555; color: #888; }
.btn-no:hover { border-color: #fff; color: #fff; }

/* --- СТИЛИ ОСНОВНОГО ЭКРАНА (SPLIT) --- */
.main-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

.split-section {
    flex: 1; /* Занимает 50% высоты */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Затемнение фона для читаемости текста */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); 
    transition: 0.3s;
}

.split-section:hover .overlay { background: rgba(0,0,0,0.3); }

.content-box {
    position: relative;
    z-index: 2;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 40px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.split-section:hover .content-box {
    transform: scale(1.05);
    border-color: #fff;
    background: rgba(0,0,0,0.8);
}

/* Разделительная линия */
.divider-line {
    height: 2px;
    background: #fff;
    width: 100%;
    z-index: 10;
    box-shadow: 0 0 10px #fff;
}

/* Фоновые изображения (Замените URL на свои) */
.top-section {
    /* Пример: темный бар */
    background-image: url('https://images.unsplash.com/photo-1514362545857-3bc16549766b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
}

.bottom-section {
    /* Пример: светлая крыша или другое место */
    background-image: url('https://images.unsplash.com/photo-1559339352-11d035aa65de?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
}

/* Скрытые классы */
.hidden { display: none !important; }

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .circle-border { width: 100px; height: 100px; }
    .age-text { font-size: 2rem; }
    
    /* На мобильном разделитель может быть тоньше */
    .divider-line { height: 1px; }
    
    .content-box { padding: 20px; width: 90%; }
}

/* Страница отказа */
.denied-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #111;
    text-align: center;
}
.btn-leave {
    margin-top: 20px;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}
