.modal-overlay-age {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}
.blurred-age {
    filter: blur(20px);
    user-select: none;
}
.modal-age {
    position: relative;
    width: 90%;            
    max-width: 500px;      
    min-width: 300px;      
    background-color: #ffffff;
    border-radius: 8px;
    overflow-y: auto;
    color: #333333;
    z-index: 1051;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-age-header {
    margin-bottom: 15px;
}

.modal-age-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

.modal-age-footer {
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agegate-modal.btn {
    background-color: #b70700;
    color: #ffffff;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.agegate-modal.btn:hover {
    background-color: #e65c00;
}

.ad-free-container {
    display: flex;
    align-items: center;
    font-size: 0.9em;
    color: #333333;
    margin-top: 15px;
}

.js-ad-free-link.ad input {
    margin-right: 8px;
}

.modal-age-overlay::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	filter: blur(15px);
    z-index: 1049;
}

@media (max-width: 600px) {
    .modal {
        width: 95%;      
        max-width: 350px;  
        padding: 15px;
    }

    .modal-title {
        font-size: 1.2em;
    }

    .modal-footer {
        font-size: 0.9em;
    }

    .agegate-modal.btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .ad-free-container {
        font-size: 0.8em;
    }
}
