/* ========== 广告解锁墙样式 ========== */
.ad-unlock-wrapper {
    position: relative;
}
.ad-unlock-wall {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 40%, rgba(255,255,255,1) 100%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    border-radius: 12px;
    min-height: 300px;
}
.ad-unlock-wall .unlock-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(102,126,234,0.4);
}
.ad-unlock-wall .unlock-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}
.ad-unlock-wall h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}
.ad-unlock-wall p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}
.ad-unlock-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102,126,234,0.35);
}
.ad-unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,126,234,0.45);
}
.ad-unlock-btn:active {
    transform: translateY(0);
}
/* 广告模拟遮罩 */
.ad-sim-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.ad-sim-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ad-sim-box .ad-timer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ad-sim-box .ad-timer-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}
.ad-sim-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.ad-sim-box p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 20px;
}
.ad-sim-box .ad-progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 15px;
}
.ad-sim-box .ad-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s linear;
    width: 0;
}
.ad-sim-box .ad-skip-hint {
    font-size: 0.75rem;
    color: #aaa;
}
/* 鸟悄提示 */
.ad-unlock-free-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
}
.ad-unlock-free-tip svg {
    width: 16px;
    height: 16px;
}
.ad-content-hidden {
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

/* ========== 视频广告遮罩 ========== */
.ad-video-overlay .ad-video-box {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    max-width: 720px;
    width: 95%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.ad-video-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ad-video-header h5 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 600;
}
.ad-video-timer {
    color: #aaa;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255,255,255,0.1);
    padding: 3px 10px;
    border-radius: 20px;
}
.ad-video-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ad-video-container video,
.ad-video-container iframe {
    width: 100%;
    min-height: 350px;
    border: none;
}
.ad-video-fallback {
    text-align: center;
    padding: 40px;
    color: #fff;
}
.ad-video-fallback .ad-timer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border: 3px solid #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-video-fallback .ad-timer-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
}
.ad-video-footer {
    padding: 12px 20px;
    background: rgba(255,255,255,0.05);
}
.ad-video-footer .ad-progress {
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}
.ad-video-footer .ad-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s linear;
    width: 0;
}
.ad-video-footer .ad-skip-hint {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

/* ========== 二维码广告遮罩 ========== */
.ad-qrcode-overlay .ad-qrcode-box {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    max-width: 420px;
    width: 92%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ad-qrcode-header {
    padding: 16px 24px;
    background: linear-gradient(135deg, #07C160, #06AD56);
    text-align: center;
}
.ad-qrcode-header h5 {
    color: #fff;
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}
.ad-qrcode-body {
    padding: 30px 24px;
    text-align: center;
}
.ad-qrcode-img-wrap {
    margin: 0 auto 16px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ad-qrcode-img {
    width: 200px;
    height: 200px;
    display: block;
    object-fit: contain;
}
.ad-qrcode-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
}
.ad-qrcode-placeholder i {
    font-size: 3rem;
    margin-bottom: 8px;
}
.ad-qrcode-placeholder p {
    font-size: 0.8rem;
    margin: 0;
    color: #bbb;
}
.ad-qrcode-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}
.ad-qrcode-timer-area {
    margin-bottom: 16px;
}
.ad-qrcode-timer-ring {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}
.ad-qrcode-timer-ring svg {
    width: 80px;
    height: 80px;
}
.ad-qrcode-timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 700;
    color: #07C160;
}
.ad-qrcode-btn {
    display: block;
    width: 100%;
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #e0e0e0;
    color: #999;
    text-align: center;
}
.ad-qrcode-btn:not(:disabled) {
    background: linear-gradient(135deg, #07C160, #06AD56);
    color: #fff;
    box-shadow: 0 4px 15px rgba(7,193,96,0.35);
}
.ad-qrcode-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(7,193,96,0.45);
}
.ad-qrcode-btn:disabled {
    cursor: not-allowed;
}
