.fh-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.fh-popup-overlay.active {
    display: flex;
}

.fh-popup-content {
    background: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    text-align: center;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fh-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.fh-popup-close:hover {
    color: #333;
}

.fh-popup-close-icon {
    display: block;
    line-height: 1;
}

.fh-popup-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: block;
}

.fh-popup-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #222;
}

.fh-popup-description {
    color: #666;
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.5;
}

.fh-popup-code {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    color: #856404;
    font-weight: 700;
    font-family: monospace;
    font-size: 16px;
    letter-spacing: 1px;
}

.fh-popup-terms {
    color: #999;
    margin: 0 0 16px 0;
    font-size: 12px;
}

.fh-popup-btn {
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.fh-popup-btn-primary {
    background: #ff6b35;
    color: white;
}

.fh-popup-btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.fh-popup-btn-secondary {
    background: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.fh-popup-btn-secondary:hover {
    background: #f9f9f9;
    border-color: #999;
}

@media (max-width: 600px) {
    .fh-popup-content {
        padding: 1.5rem;
        max-width: 95%;
    }
    
    .fh-popup-title {
        font-size: 18px;
    }
    
    .fh-popup-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }
}
