@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

#ennu-age-gate-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    z-index: 99999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    animation: fadeIn 0.5s ease-out;
    opacity: 1;
    padding: 10px;
    box-sizing: border-box;
}
#ennu-age-gate-overlay.closing {
    animation: fadeOut 0.5s ease-in forwards;
}
.ennu-age-gate-wrapper {
    background: #fff; color: #000; padding: 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 5px; text-align: center;
    animation: scaleIn 0.5s ease-out;
    box-sizing: border-box;
}
.ennu-age-gate-wrapper.shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}
.ennu-age-gate-logo { margin-bottom: 20px; max-height: 100px; max-width: 80%; }
.ennu-age-gate-wrapper h1 { font-size: 24px; margin-bottom: 10px; }
.ennu-age-gate-wrapper p { font-size: 16px; margin-bottom: 20px; }
.ennu-age-gate-buttons button { padding: 10px 20px; border: none; background: #333; color: #fff; font-size: 16px; cursor: pointer; margin: 5px; border-radius: 3px; transition: background 0.2s; }
.ennu-age-gate-buttons button:hover { background: #555; }

@media screen and (max-width: 600px) {
    .ennu-age-gate-wrapper {
        padding: 20px;
    }
    .ennu-age-gate-wrapper h1 {
        font-size: 20px;
    }
}
