/* VoxaGate – Age Gate Overlay */
:root {
    --vg-primary: #1a3a5c;
    --vg-accent:  #2c7a5c;
}

.voxagate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 35, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.voxagate-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    padding: 0;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    animation: voxagate-in 0.25s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.voxagate-modal__scroll {
    overflow-y: auto;
    padding: 36px 36px 20px;
    flex: 1;
}

@keyframes voxagate-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.voxagate-modal__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--vg-primary);
    margin: 0 0 16px;
}

.voxagate-modal__message {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 28px;
    text-align: left;
}

.voxagate-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 36px 28px;
    border-top: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}

.voxagate-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

.voxagate-btn:hover { transform: translateY(-1px); }
.voxagate-btn:active { transform: translateY(0); }

.voxagate-btn--agree {
    background: #2c7a5c; /* fallback if CSS var fails */
    background: var(--vg-accent, #2c7a5c);
    color: #fff !important;
    font-size: 16px;
    padding: 16px 20px;
}
.voxagate-btn--agree:hover { filter: brightness(0.9); }

.voxagate-btn--leave {
    background: transparent;
    color: #888;
    font-size: 13px;
    padding: 6px;
    font-weight: 500;
    text-decoration: underline;
}
.voxagate-btn--leave:hover {
    color: #555;
    transform: none;
}

/* Lock scroll while gate is open */
body.voxagate-locked {
    overflow: hidden !important;
}

@media (max-width: 480px) {
    .voxagate-modal__scroll { padding: 24px 20px 16px; }
    .voxagate-modal__title { font-size: 20px; }
    .voxagate-modal__actions { padding: 14px 20px 22px; }
}
