/* Insights相关样式文件 */

/* Insights区域样式 */
.insights-section {
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
    transform: translateX(2.5%);
    position: relative;
}

.insights-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
}

.insights-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.insights-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 16px;
    background: rgba(78, 205, 196, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.insights-link:hover {
    transform: translateY(-2px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.15);
    color: var(--secondary-color);
    background: rgba(78, 205, 196, 0.15);
}

/* Insights轮播样式 */
.insights-carousel {
    background: var(--card-bg);
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 8px 32px var(--shadow-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    min-height: 150px;
}

.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card-bg);
    z-index: 10;
    border-radius: 24px;
}

.spinner-border {
    color: var(--secondary-color);
    width: 3rem;
    height: 3rem;
}

/* Insight卡片样式 */
.insight-card {
    display: none;
    animation: fadeInOut 1s ease-in-out;
}

.insight-card.active {
    display: block;
}

.insight-type {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    background: var(--type-trend-bg);
    border: 1px solid var(--type-trend-border);
    color: var(--secondary-color);
}

.insight-type img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.insight-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.insight-description {
    color: rgba(228, 228, 228, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.insight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(228, 228, 228, 0.7);
    font-size: 0.85rem;
}

.insight-ecosystem {
    display: flex;
    align-items: center;
    gap: 6px;
}

.insight-ecosystem img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* Insights动画 */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
} 