/* 基础样式变量和重置 */
:root {
    --card-border-radius: 12px;
    --card-padding: 24px;
    --thumbnail-height: 120px;
    --summary-height: 150px;
    --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
}



/* 文本截断工具类 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}



/* 略缩图样式 */
/* 缩略图容器 - 修复背景变量 */
.thumbnail-container {
    width: 100%;
    height: var(--thumbnail-height);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--bs-gray-100);
    /* 修复：使用标准变量 */
    border: 1px solid var(--bs-gray-300);
    /* 修复：使用标准变量 */
    position: relative;
}

/* 级别徽章 - 修复硬编码颜色 */
.level-badge {
    background: rgba(var(--bs-info-rgb), 0.1);
    /* 修复：使用标准变量 */
    color: var(--bs-info);
    /* 修复：使用标准变量 */
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
}

/* 场景标签 - 修复硬编码颜色 */
.scenario-tag {
    background: rgba(var(--bs-info-rgb), 0.1);
    /* 修复：使用标准变量 */
    color: var(--bs-info);
    /* 修复：使用标准变量 */
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(var(--bs-info-rgb), 0.2);
    /* 修复：使用标准变量 */
    transition: all 0.2s ease;
}

.scenario-tag:hover {
    background: rgba(var(--bs-info-rgb), 0.2);
    /* 修复：使用标准变量 */
    transform: translateY(-2px);
}

/* 摘要区域 - 修复硬编码颜色 */
.summary-section {
    height: var(--summary-height);
    overflow-y: auto;
    flex-grow: 0;
    flex-shrink: 0;
    background: rgba(var(--bs-primary-rgb), 1);
    /* 修复：使用标准变量 */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--bs-gray-300);
    /* 修复：使用标准变量 */
    position: relative;
    z-index: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-gray-400) transparent;
    /* 修复：使用标准变量 */
}

.summary-section::-webkit-scrollbar-thumb {
    background-color: var(--bs-gray-400);
    /* 修复：使用标准变量 */
    border-radius: 6px;
}

/* 摘要标签 - 修复颜色变量 */
.summary-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--bs-info);
    /* 修复：使用标准变量 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* 文章标题链接悬停 - 修复颜色变量 */
.article-title a:hover {
    color: var(--bs-primary);
    /* 修复：使用标准变量 */
}

/* 信息标签 - 修复颜色变量 */
.info-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--bs-gray-600);
    /* 修复：使用标准变量 */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

/* 信息值 - 修复颜色变量 */
.info-value {
    font-size: 14px;
    color: var(--bs-gray-800);
    /* 修复：使用标准变量 */
    font-weight: 500;
    line-height: 1.4;
}

/* 摘要文本 - 修复颜色变量 */
.summary-text {
    font-size: 14px;
    color: var(--bs-gray-700);
    /* 修复：使用标准变量 */
    line-height: 1.6;
    font-weight: 400;
}

/* 日期信息 - 修复颜色变量 */
.date-info {
    font-size: 13px;
    color: var(--bs-gray-600);
    /* 修复：使用标准变量 */
    font-weight: 500;
}

/* 卡片底部边框 - 修复颜色变量 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--bs-gray-300);
    /* 修复：使用标准变量 */
    position: relative;
    z-index: 1;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--animation-timing);
}

.thumbnail-image:hover {
    transform: scale(1.05);
}

/* 控制区域优化 */
.controls {
    padding: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.refresh-btn {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--animation-timing);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.refresh-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

/* 卡片设计 - Glass Card风格 */
.article-card {
    width: 240px;
    height: 360px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* Glass Card顶部装饰线 */
.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
}

/* Glass Card左侧装饰线 */
.article-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.8),
            transparent,
            rgba(255, 255, 255, 0.3));
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(31, 38, 135, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
}

.article-card:hover::before {
    opacity: 1;
    height: 3px;
}

/* 卡片头部优化 - 减少间距 */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

/* 序号徽章 - 更具设计感 */
.sequence-badge {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-info) 100%);
    color: white;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    position: relative;
    z-index: 20;
    overflow: hidden;
}

.sequence-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.article-card:hover .sequence-badge::before {
    left: 100%;
}

/* 标题区域优化 */
.article-title {
    flex: 1;
    position: relative;
    z-index: 2;
}

.article-title h3 {
    color: var(--bs-gray-800);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.article-title a {
    color: var(--bs-gray-800);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    transition: all 0.3s ease;
    max-width: 100%;
}

.article-title a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    transition: width 0.3s ease;
}

.article-title a:hover {
    color: var(--bs-primary);
    transform: translateX(2px);
}

.article-title a:hover::after {
    width: 100%;
}

/* 卡片主体区域优化 */
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* 摘要区域 - Glassmorphism风格 */
.summary-section {
    height: auto;
    max-height: var(--summary-height);
    overflow: hidden;
    flex-grow: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.2);
}

.summary-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
    border-radius: 12px 12px 0 0;
}

.summary-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.summary-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-info));
    border-radius: 1px;
}

/* 信息网格 - 压缩间距 */
.card-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-info), var(--bs-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.info-item:hover::before {
    opacity: 1;
}

.info-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--bs-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.info-value {
    font-size: 14px;
    color: var(--bs-gray-800);
    font-weight: 600;
    line-height: 1.4;
}

/* 级别徽章优化 */
.level-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 197, 253, 0.15) 100%);
    color: var(--bs-primary);
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

/* 场景标签优化 */
.scenario-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.scenario-tag {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(103, 232, 249, 0.15) 100%);
    color: var(--bs-cyan);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.1);
}

.scenario-tag:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(103, 232, 249, 0.25) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(6, 182, 212, 0.2);
}

/* 卡片底部优化 - 修复遮挡问题 */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 20px 20px;
    /* 修复：调整padding，确保底部有足够空间 */
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.5) 100%);
    margin: 0 -20px 0 -20px;
    /* 修复：移除底部负边距，避免内容被遮挡 */
    border-radius: 0 0 24px 24px;
    margin-top: auto;
    /* 确保footer始终在底部 */
}

.date-info {
    font-size: 12px;
    color: var(--bs-gray-600);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 亮点按钮 - 更具吸引力 */
.highlight-link {
    background: linear-gradient(135deg, var(--bs-warning) 0%, #f59e0b 100%);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.highlight-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
    color: white;
}

.highlight-link:hover::before {
    left: 100%;
}

.no-highlight {
    color: var(--bs-gray-400);
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
}

/* 加载状态优化 */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 18px;
    background: white;
    border-radius: var(--card-border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    margin-left: 12px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 分页加载指示器 */
#loadingIndicator {
    animation: fadeInUp 0.3s ease-out;
}

#loadingIndicator .loading {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 12px;
    margin: 20px 0;
    color: var(--accent-blue);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

#loadingIndicator .loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 响应式优化 */
.cards-row {
    padding-bottom: 50px;
    align-items: stretch;
    /* 确保所有列等高 */
}

/* 确保Bootstrap网格列等高 */
.cards-row .col {
    display: flex;
    flex-direction: column;
}

.mb30 {
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    :root {
        --card-padding: 20px;
        --thumbnail-height: 100px;
        --summary-height: 130px;
    }

    .header {
        padding: 40px 0 60px;
    }

    .stat-item {
        padding: 14px 20px;
    }

    .refresh-btn {
        padding: 14px 32px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .sequence-badge {
        margin-right: 0;
    }

    .card-info {
        grid-template-columns: 1fr;
    }
}

/* 模态框样式 - 修复文字颜色对比度问题 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-blue) 100%);
    color: white;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.highlight-content {
    padding: 32px;
    white-space: pre-wrap;
    line-height: 1.7;
    font-size: 16px;
    color: var(--bs-gray-800);
    max-height: 60vh;
    overflow: auto;
    background: #f8fafc;
}

/* 滚动条样式优化 */
.highlight-content::-webkit-scrollbar {
    width: 8px;
}

.highlight-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.highlight-content::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.highlight-content::-webkit-scrollbar-thumb:hover {
    background: var(--bs-blue);
}

/* 删除重复的错误样式定义 */
/* .highlight-content {
    padding: 20px;
    line-height: 1.6;
    color: var(--bs-white);  // 这行导致了白色文字问题
} */

/* 头部样式 */
.header {
    /* 使用现有变量创建渐变 */
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-dark));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* 或者使用三色渐变获得更好的视觉效果 */
.header {
    background: linear-gradient(135deg,
            var(--bs-primary) 0%,
            var(--bs-info) 50%,
            var(--bs-dark) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.header-brand h1 {
    color: var(--bs-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.header-brand p {
    color: rgba(255, 255, 255, 0.9);
}

.stat-card {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-icon i {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.breadcrumb-item a:hover {
    color: var(--bs-white) !important;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .header {
        padding: 2rem 0;
    }

    .header-brand h1 {
        font-size: 1.75rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .header-brand h1 {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 1rem !important;
    }

    .stat-icon i {
        font-size: 1.5rem !important;
    }
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}



/* 加载状态优化 */
.stat-number:empty::after,
.stat-time:empty::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 20px;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.1) 25%,
            rgba(0, 0, 0, 0.05) 50%,
            rgba(0, 0, 0, 0.1) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* 辅助类 */
.min-vh-25 {
    min-height: 25vh;
}

/* 英雄区域静态渐变背景 */
.hero-gradient {
    background: linear-gradient(135deg, oklch(54.6% 0.245 262.881), oklch(58.8% 0.158 241.966), oklch(71.5% 0.143 215.221));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.15);
    z-index: 1;
}

/* 页面主要内容区域层级设置 */
#app {
    position: relative;
    z-index: 1;
}

/* 导航栏层级设置 */
nav {
    position: relative;
    z-index: 10;
}

/* 浮动装饰元素增强样式 */
.floating-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* 前景浮动元素样式 */
.floating-element[style*="z-index: 15"],
.floating-element[style*="z-index: 16"],
.floating-element[style*="z-index: 18"] {
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
}

/* 前景浮动元素特殊标识样式 */
.floating-element.front-floating {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.8) 0%, rgba(147, 197, 253, 0.6) 50%, rgba(59, 130, 246, 0.4) 100%) !important;
    box-shadow: 
        0 8px 40px rgba(59, 130, 246, 0.4),
        0 4px 20px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    animation: floatUp 45s infinite linear, frontGlow 2s ease-in-out infinite alternate !important;
}

/* 前景浮动元素特殊样式 */
.floating-element[style*="z-index: 15"],
.floating-element[style*="z-index: 16"],
.floating-element[style*="z-index: 18"] {
    box-shadow: 
        0 6px 30px rgba(59, 130, 246, 0.25),
        0 2px 10px rgba(59, 130, 246, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: floatUp 45s infinite linear, pulseGlow 3s ease-in-out infinite alternate;
}

/* 中心高层级浮动元素样式 */
.floating-element.center-floating {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.8), rgba(245, 101, 101, 0.6));
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.8), 0 0 50px rgba(245, 101, 101, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
    filter: brightness(1.3);
    animation: floatUp 8s ease-in-out infinite, frontGlow 2s ease-in-out infinite alternate, centerPulse 3s ease-in-out infinite;
}

/* 中心元素脉冲动画 */
@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}





/* 前景发光动画 */
@keyframes frontGlow {
    0% {
        box-shadow: 
            0 8px 40px rgba(59, 130, 246, 0.4),
            0 4px 20px rgba(59, 130, 246, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 
            0 12px 60px rgba(59, 130, 246, 0.6),
            0 6px 30px rgba(59, 130, 246, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
        transform: scale(1.05);
    }
}

/* 脉冲发光动画 */
@keyframes pulseGlow {
    0% {
        box-shadow: 
            0 6px 30px rgba(59, 130, 246, 0.25),
            0 2px 10px rgba(59, 130, 246, 0.15);
    }
    100% {
        box-shadow: 
            0 8px 40px rgba(59, 130, 246, 0.35),
            0 4px 15px rgba(59, 130, 246, 0.25);
    }
}

/* 背景浮动元素样式 */
.floating-element[style*="z-index: -"] {
    filter: blur(1px);
    box-shadow: none;
    border: none;
}

.brand-icon-modern {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    color: #ffffff;
}

.brand-icon-modern:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.brand-icon-modern i {
    color: #ffffff;
    font-size: 3rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}



/* 对应角度的炫光光斑 */
.hero-gradient .light-orb-1 {
    position: absolute;
    top: 10%;
    left: 30%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 0.5) 30%,
            rgba(255, 255, 255, 0.2) 60%,
            transparent 100%);
    border-radius: 50%;
    animation: lightFlare1 15s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-gradient .light-orb-2 {
    position: absolute;
    top: 30%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.7) 0%,
            rgba(255, 255, 255, 0.4) 40%,
            rgba(255, 255, 255, 0.15) 70%,
            transparent 100%);
    border-radius: 50%;
    animation: lightFlare2 15s ease-in-out infinite 3.75s;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.hero-gradient .light-orb-3 {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 100%);
    border-radius: 50%;
    animation: lightFlare3 15s ease-in-out infinite 7.5s;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.hero-gradient .light-orb-4 {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
            rgba(255, 255, 255, 0.65) 0%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 100%);
    border-radius: 50%;
    animation: lightFlare4 15s ease-in-out infinite 11.25s;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.18);
}

/* 动画关键帧 */
@keyframes rotateCounterClockwise {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

@keyframes lightFlare1 {

    0%,
    85%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    15%,
    35% {
        opacity: 0.8;
        transform: scale(1.2);
    }

    25% {
        opacity: 1;
        transform: scale(1.4);
    }
}

@keyframes lightFlare2 {

    0%,
    20%,
    40%,
    85%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    25%,
    35% {
        opacity: 0.6;
        transform: scale(1.1);
    }

    30% {
        opacity: 0.8;
        transform: scale(1.3);
    }
}

@keyframes lightFlare3 {

    0%,
    45%,
    65%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50%,
    60% {
        opacity: 0.7;
        transform: scale(1.2);
    }

    55% {
        opacity: 0.9;
        transform: scale(1.4);
    }
}

@keyframes lightFlare4 {

    0%,
    70%,
    90%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    75%,
    85% {
        opacity: 0.5;
        transform: scale(1.1);
    }

    80% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

/* 优化后的标题样式 */
.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
    line-height: 1.4;
}

/* 统计卡片样式 */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4, #10b981);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 统计数据卡片边框高光动画 - 拟物设计 */
.stats-card-glow {
    position: relative;
    overflow: hidden;
}

.stats-card-glow::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 10px;
    height: 6px;
    background: radial-gradient(ellipse 75% 60% at 30% 50%,
            rgba(255, 255, 255, 0.9) 0%,
            rgba(255, 255, 255, 0.6) 40%,
            rgba(255, 255, 255, 0.2) 70%,
            transparent 100%);
    border-radius: 60% 40% 40% 60% / 70% 30% 70% 30%;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.5),
        0 0 8px rgba(255, 255, 255, 0.3);
    animation: borderHighlightSmooth 4s linear infinite, pauseAnimation 34s linear infinite;
    z-index: 10;
    transform-origin: 30% 50%;
}

.stats-card-glow::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 6px;
    height: 4px;
    background: radial-gradient(ellipse 70% 50% at 25% 50%,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            transparent 100%);
    border-radius: 60% 40% 40% 60% / 70% 30% 70% 30%;
    animation: borderHighlightCore 4s linear infinite, pauseAnimation 34s linear infinite;
    z-index: 11;
    transform-origin: 25% 50%;
}

@keyframes borderHighlightSmooth {
    0% {
        top: -2px;
        left: -2px;
        transform: rotate(0deg);
    }

    25% {
        top: -2px;
        left: calc(100% - 8px);
        transform: rotate(90deg);
    }

    50% {
        top: calc(100% - 4px);
        left: calc(100% - 8px);
        transform: rotate(180deg);
    }

    75% {
        top: calc(100% - 4px);
        left: -2px;
        transform: rotate(270deg);
    }

    100% {
        top: -2px;
        left: -2px;
        transform: rotate(360deg);
    }
}

@keyframes borderHighlightCore {
    0% {
        top: -1px;
        left: -1px;
        transform: rotate(0deg);
    }

    25% {
        top: -1px;
        left: calc(100% - 5px);
        transform: rotate(90deg);
    }

    50% {
        top: calc(100% - 3px);
        left: calc(100% - 5px);
        transform: rotate(180deg);
    }

    75% {
        top: calc(100% - 3px);
        left: -1px;
        transform: rotate(270deg);
    }

    100% {
        top: -1px;
        left: -1px;
        transform: rotate(360deg);
    }
}

@keyframes pauseAnimation {

    0%,
    11.76% {
        opacity: 1;
    }

    11.77%,
    100% {
        opacity: 0;
    }
}

/* 智能助手小湘弹窗动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.2);
    }
}

@keyframes shimmerEffect {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* 小湘弹窗样式增强 */
#voiceAssistantModal .group:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 语音按钮特殊效果 */
#voice-voice-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(59, 130, 246, 0.3), 
        rgba(6, 182, 212, 0.3), 
        rgba(59, 130, 246, 0.3));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#voice-voice-btn:hover::before {
    opacity: 1;
    animation: pulseGlow 1.5s ease-in-out infinite;
}

/* 装饰光效增强 */
.stats-card-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.stats-card-glow:hover::before {
    left: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    /* 移动端hero区域padding优化 */
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
        height: auto !important;
        min-height: 70vh;
    }

    .hero-section .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    /* 移动端光效优化 */
    .hero-gradient .sunlight-sweep {
        animation-duration: 18s;
    }

    .hero-gradient .light-orb-1 {
        width: 70px;
        height: 70px;
        top: 12%;
        left: 25%;
    }

    .hero-gradient .light-orb-2 {
        width: 60px;
        height: 60px;
        top: 35%;
        left: 45%;
    }

    .hero-gradient .light-orb-3 {
        width: 50px;
        height: 50px;
        top: 55%;
        left: 25%;
    }

    .hero-gradient .light-orb-4 {
        width: 45px;
        height: 45px;
        top: 35%;
        left: 8%;
    }

    /* 移动端小湘弹窗优化 */
    #voiceAssistantModal .max-w-4xl {
        max-width: 95vw;
    }
    
    #voice-voice-btn {
        width: 64px;
        height: 64px;
    }
}

.brand-title-modern {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    transition: all 0.3s ease;
}

.brand-title-modern:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-icon-modern::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
            #f59e0b,
            #06b6d4,
            #10b981,
            #3b82f6);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-icon-modern:hover::before {
    opacity: 1;
}

.brand-icon-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.brand-icon-modern i {
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 漂浮装饰元素样式 */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.floating-square,
.floating-circle {
    position: absolute;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 197, 253, 0.2));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    transition: all 0.1s ease-out;
}

.floating-square {
    border-radius: 8px;
}

.floating-circle {
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129,0.2), rgba(110, 231, 183, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.4);
}

/* 各个元素的位置和大小 - 减少到10个元素 */
.floating-square:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: -40px;
    z-index: 15;
}

.floating-square:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: -30px;
    z-index: 20;
}

.floating-circle:nth-child(3) {
    width: 50px;
    height: 50px;
    top: 30%;
    right: -25px;
    z-index: 15;
}

.floating-square:nth-child(4) {
    width: 70px;
    height: 70px;
    bottom: 20%;
    right: -35px;
    z-index: 20;
}

.floating-circle:nth-child(5) {
    width: 40px;
    height: 40px;
    top: 80%;
    left: -20px;
    z-index: 15;
}

.floating-square:nth-child(6) {
    width: 55px;
    height: 55px;
    top: 5%;
    right: -27px;
    z-index: 20;
}

.floating-circle:nth-child(7) {
    width: 65px;
    height: 65px;
    bottom: 10%;
    left: -32px;
    z-index: 15;
}

.floating-circle:nth-child(8) {
    width: 45px;
    height: 45px;
    top: 45%;
    left: -22px;
    z-index: 20;
}

.floating-square:nth-child(9) {
    width: 75px;
    height: 75px;
    top: 25%;
    right: -37px;
    z-index: 15;
}

.floating-circle:nth-child(10) {
    width: 55px;
    height: 55px;
    bottom: 35%;
    right: -27px;
    z-index: 1;
}

/* 响应式设计 - 漂浮元素 */
@media (max-width: 768px) {
    .floating-square,
    .floating-circle {
        display: none;
    }
}

@media (max-width: 1024px) {
    .floating-square:nth-child(1) {
        width: 60px;
        height: 60px;
        left: -30px;
    }
    
    .floating-square:nth-child(2) {
        width: 45px;
        height: 45px;
        left: -22px;
    }
    
    .floating-circle:nth-child(3) {
        width: 40px;
        height: 40px;
        right: -20px;
    }
    
    .floating-square:nth-child(4) {
        width: 55px;
        height: 55px;
        right: -27px;
    }
    
    .floating-circle:nth-child(5) {
        width: 35px;
        height: 35px;
        left: -17px;
    }
    
    .floating-square:nth-child(6) {
        width: 45px;
        height: 45px;
        right: -22px;
    }
    
    .floating-circle:nth-child(7) {
        width: 50px;
        height: 50px;
        left: -25px;
    }
    
    .floating-circle:nth-child(8) {
        width: 40px;
        height: 40px;
        left: -20px;
    }
    
    .floating-square:nth-child(9) {
        width: 60px;
        height: 60px;
        right: -30px;
    }
    
    .floating-circle:nth-child(10) {
        width: 45px;
        height: 45px;
        right: -22px;
    }
}