/* =========================================
   MPSY PONO 360 ENGINE - CORE CSS
   ========================================= */

:root {
    --mpsy-primary: #ffaa00;
    --mpsy-dark: #111111;
    --mpsy-border: #333333;
}

/* --- 1. HOTSPOT BASE DESIGN --- */
.mpsy-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
    backdrop-filter: blur(2px);
}

.mpsy-hotspot::after {
    content: '';
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.mpsy-hotspot:hover {
    border-color: var(--mpsy-primary);
}

.mpsy-hotspot:hover::after {
    background: var(--mpsy-primary);
    transform: scale(1.2);
}

/* --- 2. HOTSPOT ANIMATIONS --- */
.mpsy-anim-pulse {
    animation: mpsy-pulse-anim 2s infinite;
}
@keyframes mpsy-pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(255, 170, 0, 0.7); }
    100% { box-shadow: 0 0 0 15px rgba(255, 170, 0, 0); }
}

.mpsy-anim-bounce {
    animation: mpsy-bounce-anim 1s infinite alternate;
}
@keyframes mpsy-bounce-anim {
    from { margin-top: 0px; }
    to { margin-top: -15px; }
}

.mpsy-anim-spin {
    animation: mpsy-spin-anim 3s infinite linear;
}
@keyframes mpsy-spin-anim {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- 3. RIGHT CLICK CONTEXT MENU --- */
.mpsy-context-menu {
    position: fixed;
    display: none;
    background: var(--mpsy-dark);
    border: 1px solid var(--mpsy-border);
    border-radius: 6px;
    z-index: 9999;
    width: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

.mpsy-ctx-item {
    padding: 12px 15px;
    font-size: 13px;
    color: #ddd;
    cursor: pointer;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.mpsy-ctx-item:last-child {
    border-bottom: none;
}

.mpsy-ctx-item:hover {
    background: var(--mpsy-primary);
    color: #000;
    font-weight: bold;
}