#sps-age-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;                /* Use flexbox */
    align-items: center;          /* Vertical center */
    justify-content: center;      /* Horizontal center */
    font-family: inherit;
}


#sps-age-popup .sps-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

#sps-age-popup .sps-popup-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 90%;
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.sps-age-header h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
}

.sps-age-branding {
    margin-bottom: 16px;
}

.sps-age-branding .sps-site-name {
    margin: 0;
    font-size: 20px;
}

.sps-age-disclaimer h4 {
    margin: 0 0 8px;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.sps-age-disclaimer p {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
}

.sps-popup-footer {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.sps-btn {
    padding: 10px 18px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.sps-btn-yes {
    background-color: #2e7d32;
    color: #ffffff;
}

.sps-btn-no {
    background-color: #b71c1c;
    color: #ffffff;
}

/* Optional: lock scroll when popup active */
body.sps-popup-active {
    overflow: hidden;
}