/**
 * UFO Interactive Guide Styles
 * Spotlight + Tooltip UI
 */

/* Help Trigger Button */
.guide-help-trigger {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 9000;
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-help-trigger:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.guide-help-trigger:active {
    transform: scale(0.95);
}

/* Overlay Container */
.guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 99990;
    pointer-events: auto;
}

/* Dark Backdrop */
.guide-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99991;
}

/* Spotlight Highlight */
.guide-spotlight {
    position: fixed;
    z-index: 99992;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.75);
    transition: all 0.35s ease-out;
    pointer-events: none;
}

/* Tooltip */
.guide-tooltip {
    position: absolute;
    z-index: 99995;
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    padding: 20px;
    width: 300px;
    max-width: 90vw;
    color: #f8fafc;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.2);
    animation: guideTooltipIn 0.3s ease-out;
}

@keyframes guideTooltipIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-tooltip-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #a5b4fc;
}

.guide-tooltip-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 15px;
}

/* Navigation */
.guide-tooltip-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.guide-nav-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

.guide-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.guide-nav-btn.primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.guide-nav-btn.primary:hover {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
}

.guide-counter {
    font-size: 0.85rem;
    color: #64748b;
}

/* Skip Button */
.guide-skip-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #64748b;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.guide-skip-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #94a3b8;
}