/* ===== 18+ Возрастная заглушка ===== */
#agegate {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(11, 2, 24, .97), rgba(43, 11, 82, .96) 40%, rgba(15, 52, 96, .97));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity .35s ease;
}
#agegate.granted {
    opacity: 0;
    pointer-events: none;
}
#agegate .agegate-card {
    max-width: 440px;
    width: 100%;
    text-align: center;
    padding: 38px 30px;
    border-radius: 20px;
    color: #ffffff;
    background-image:
        linear-gradient(rgba(16, 6, 30, .96), rgba(16, 6, 30, .96)),
        linear-gradient(135deg, #ff5e78, #ffd93d, #6bcb77, #4d96ff, #a855f7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    border: 2px solid transparent;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .55), 0 0 44px rgba(255, 94, 120, .3);
}
#agegate .agegate-badge {
    font-size: 64px;
    line-height: 1;
    filter: drop-shadow(0 0 18px rgba(255, 94, 120, .6));
}
#agegate h1 {
    font-size: 1.7rem;
    font-weight: 800;
    margin: 16px 0 10px;
    background: linear-gradient(90deg, #ff5e78, #ffd93d, #4d96ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
#agegate p {
    color: #dccdee;
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 24px;
}
#agegate .agegate-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#agegate .agegate-btn {
    cursor: pointer;
    font-family: inherit;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 18px;
    border-radius: 14px;
    border: none;
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
#agegate .agegate-btn.yes {
    background: linear-gradient(135deg, #ff5e78, #a855f7);
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 94, 120, .45);
}
#agegate .agegate-btn.yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 94, 120, .65);
    filter: brightness(1.08);
}
#agegate .agegate-btn.no {
    background: rgba(255, 255, 255, .08);
    color: #dccdee;
    border: 1px solid rgba(255, 255, 255, .25);
}
#agegate .agegate-btn.no:hover {
    background: rgba(255, 255, 255, .14);
    color: #ffd93d;
}
#agegate .agegate-note {
    min-height: 1.3em;
    margin: 18px 0 0;
    font-weight: 700;
    color: #ffd93d;
}
#agegate.blocked .agegate-card {
    animation: ageShake .45s ease;
}
#agegate.blocked .agegate-btn.yes {
    background: linear-gradient(135deg, #ff5e78, #ff3b4d);
    box-shadow: 0 8px 26px rgba(255, 40, 60, .6);
}
@keyframes ageShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-9px); }
    40% { transform: translateX(9px); }
    60% { transform: translateX(-6px); }
    80% { transform: translateX(6px); }
}
@media (max-width: 480px) {
    #agegate h1 { font-size: 1.4rem; }
    #agegate .agegate-card { padding: 30px 22px; }
}