/* ============================================
   Slay Station — MCP Feed Widget Styles
   Brand-consistent · Theme-aware
   ============================================ */

/* ─── Base Widget ─────────────────────────── */
.mcp-feed-widget {
    background: var(--gradient-subtle, linear-gradient(135deg, rgba(245,197,24,0.06), rgba(249,115,22,0.06)));
    border: 1px solid var(--border-color, rgba(245,197,24,0.12));
    border-radius: var(--radius-md, 12px);
    padding: 16px;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.35s ease;
    position: relative;
    overflow: hidden;
}
.mcp-feed-widget::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent-yellow, #f5c518), var(--accent-orange, #f97316), var(--accent-yellow, #f5c518));
    background-size: 200% 100%;
    animation: mcpGradientSlide 3s linear infinite;
}
@keyframes mcpGradientSlide {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ─── Feed Header ─────────────────────────── */
.mcp-feed-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 10px;
}
.mcp-feed-badge {
    font-size: 0.72rem; font-weight: 600;
    color: var(--accent-yellow, #f5c518);
    background: rgba(245,197,24,0.1);
    padding: 3px 10px; border-radius: 50px; letter-spacing: 0.3px;
}

/* Live pulse */
.mcp-feed-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent-green, #22c55e);
    position: relative; flex-shrink: 0;
}
.mcp-feed-pulse::after {
    content: '';
    position: absolute; top: -3px; left: -3px;
    width: 14px; height: 14px; border-radius: 50%;
    background: rgba(34,197,94,0.3);
    animation: mcpPulse 2s ease-in-out infinite;
}
@keyframes mcpPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
}

/* ─── Tags ────────────────────────────────── */
.mcp-tag {
    display: inline-block; font-size: 0.65rem; font-weight: 500;
    color: var(--text-muted, #888);
    background: var(--bg-secondary, rgba(0,0,0,0.05));
    padding: 2px 8px; border-radius: 50px; margin-top: 6px;
}

/* ─── Quote Widget ────────────────────────── */
.mcp-quote-text {
    font-size: 0.92rem; font-weight: 500; line-height: 1.6;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 6px; font-style: italic;
}
.mcp-quote-author {
    font-size: 0.78rem; color: var(--accent-orange, #f97316); font-weight: 500;
}

/* ─── Caption Widget ──────────────────────── */
.mcp-caption-text {
    font-size: 0.95rem; font-weight: 500; line-height: 1.5;
    color: var(--text-primary, #1a1a1a); margin-bottom: 6px;
}
.mcp-caption-meta { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── Tip Widget ──────────────────────────── */
.mcp-tip-text {
    font-size: 0.88rem; line-height: 1.6;
    color: var(--text-primary, #1a1a1a); margin-bottom: 6px;
}

/* ─── Color Trends Widget ─────────────────── */
.mcp-color-name {
    font-size: 0.92rem; font-weight: 600;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 10px; display: flex; align-items: center; gap: 8px;
}
.mcp-color-strip {
    display: flex; border-radius: 8px; overflow: hidden; height: 44px;
}
.mcp-color-swatch {
    flex: 1; cursor: pointer;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 4px; transition: flex 0.2s ease; position: relative;
}
.mcp-color-swatch:hover { flex: 1.5; }
.mcp-color-swatch span {
    font-size: 0.58rem; font-weight: 600; color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    opacity: 0; transition: opacity 0.2s;
}
.mcp-color-swatch:hover span { opacity: 1; }

/* ─── Fun Fact / Etiquette / Challenge ────── */
.mcp-fact-text, .mcp-etiquette-text {
    font-size: 0.88rem; line-height: 1.6;
    color: var(--text-primary, #1a1a1a); margin-bottom: 6px;
}
.mcp-challenge-text {
    font-size: 0.92rem; font-weight: 500; line-height: 1.5;
    color: var(--text-primary, #1a1a1a); margin-bottom: 6px;
}

/* ─── Hashtag Widget ──────────────────────── */
.mcp-hashtag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.mcp-hashtag {
    font-size: 0.78rem; font-weight: 600;
    color: var(--accent-yellow, #f5c518);
    background: rgba(245,197,24,0.08);
    padding: 3px 10px; border-radius: 50px;
    cursor: pointer; transition: all 0.2s;
}
.mcp-hashtag:hover { background: rgba(245,197,24,0.18); transform: scale(1.05); }

/* ─── Feed Container Transition ───────────── */
[id$="-feed"] { transition: opacity 0.3s ease; }

/* ─── Responsive ──────────────────────────── */
@media (max-width: 600px) {
    .mcp-feed-widget { padding: 12px; }
    .mcp-quote-text, .mcp-caption-text { font-size: 0.88rem; }
    .mcp-color-strip { height: 36px; }
}
