/**
 * ST Behavioral Styles (BEM)
 * Premium Mutations and Transitions.
 */

:root {
    --st-mutation-color: #ff3b30;
    --st-ghost-bg: rgba(0, 0, 0, 0.85);
}

/* 1. Pulsing CTA Mutation */
.st-mutation--pulsing {
    animation: st-pulse 2s infinite;
    position: relative;
    border-color: var(--st-mutation-color) !important;
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4);
}

@keyframes st-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

/* 2. Ghost Action (Social Proof) */
.st-ghost-action {
    position: absolute;
    top: -30px;
    right: 0;
    background: var(--st-ghost-bg);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 5px;
}

.st-ghost-action i {
    color: #ff9500;
    font-size: 10px;
}

.st-ghost--visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Predictive Highlight */
.st-item-card--predictive {
    border: 2px solid var(--st-mutation-color);
    background: linear-gradient(145deg, #ffffff, #fff5f5);
}

/* 4. Fatigue Throttling Visuals (Subtle Overlay for DEBUG) */
[data-st-debug="true"] .st-behavior-indicator {
    position: fixed;
    bottom: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    background: #4cd964;
    border-radius: 50%;
    z-index: 9999;
}
