.site-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.site-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.site-popup-container {
    position: relative;
    background: var(--card-bg, #fff);
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.site-popup-overlay.show .site-popup-container {
    transform: scale(1) translateY(0);
}

.site-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary, #333);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s;
    z-index: 10;
}

.site-popup-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.site-popup-content {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

.site-popup-title {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #333);
    text-align: center;
}

.site-popup-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 16px;
}

.site-popup-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary, #666);
    text-align: left;
}

.site-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color, #eee);
    background: var(--bg-secondary, #f9f9f9);
}

.site-popup-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted, #999);
}

.site-popup-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.site-popup-btn {
    padding: 10px 24px;
    background: var(--primary-color, #4a90d9);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.site-popup-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-hover, #3a7bc8);
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.4);
}

@media (max-width: 480px) {
    .site-popup-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    
    .site-popup-content {
        padding: 20px;
    }
    
    .site-popup-title {
        font-size: 18px;
    }
    
    .site-popup-footer {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .site-popup-btn {
        width: 100%;
    }
}
