/* Website Entry Popup */
.site-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.site-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.site-popup {
    background: #fff;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.site-popup-overlay.active .site-popup {
    transform: translateY(0);
}

.site-popup-body {
    position: relative;
    overflow-y: auto;
}

.site-popup-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.site-popup-content {
    padding: 36px 24px;
}

.site-popup-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1a1a1a;
}

.site-popup-text {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
    white-space: pre-line;
}

.site-popup-btn {
    display: inline-block;
    background: #6c5ce7;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease;
}

.site-popup-btn:hover {
    background: #5849c2;
}

.site-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.site-popup-dismiss {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    user-select: none;
}

.site-popup-footer-close {
    background: none;
    border: none;
    font-size: 13px;
    color: #888;
    cursor: pointer;
    padding: 0;
}

.site-popup-footer-close:hover,
.site-popup-dismiss:hover {
    color: #555;
}

@media (max-width: 480px) {
    .site-popup-overlay {
        padding: 48px 20px;
    }
    .site-popup {
        max-width: 100%;
        max-height: 80vh;
    }
    .site-popup-content {
        padding: 32px 20px;
    }
}
