/* fullscreen-ad-overlay.css - 带点击跳转提示的全屏广告 */
/* 此样式将完全覆盖整个网页，只显示广告图片 */

/* 创建全屏覆盖层 */
.ad-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/juanpphotoandvideo.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #000000;
    z-index: 999999;
    cursor: pointer;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 1);
}

/* 点击提示 */
.ad-overlay::after {
    content: '点击跳转到主页';
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* 关闭按钮 */
.ad-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 10000000;
    transition: all 0.3s;
}

.ad-close:hover {
    background: rgba(255, 0, 0, 0.8);
    transform: scale(1.1);
}

/* 隐藏原页面内容 */
body > *:not(.ad-overlay):not(.ad-close):not(script):not(style) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 防止滚动 */
html, body {
    overflow: hidden !important;
    height: 100vh !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}