/* GAM overlays + continue-after lock — scope toàn bộ bằng prefix aio-gam- */

.aio-gam-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.aio-gam-adbox {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    min-width: 320px;
    max-width: 90vw;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.aio-gam-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: #eee;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: #000;
    line-height: 1;
}

/* Vùng content bị khóa: hé 1 phần + fade trắng, mở khóa bằng class aio-gam-unlocked */
.aio-gam-locked {
    max-height: 120px;
    overflow: hidden;
    position: relative;
}

.aio-gam-locked::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, #fff);
}

.aio-gam-locked.aio-gam-unlocked {
    max-height: none;
}

.aio-gam-locked.aio-gam-unlocked::after {
    display: none;
}

.aio-gam-cta {
    text-align: center;
    margin: 20px 0;
}

.aio-gam-btn {
    padding: 14px 24px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}
