/* --- 核心变量系统 (深浅色模式) --- */
:root {
    /* 默认深色 (Dark Mode) - 科技、专业 */
    --bg-body: #050507;
    --bg-card: #151518;
    --bg-card-hover: #1f1f22;
    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --text-highlight: #fff;
    --accent-color: #2997ff; /* Apple Blue */
    --accent-gradient: linear-gradient(135deg, #2997ff 0%, #00d4ff 100%);
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0,0,0,0.5);
    --loader-bg: #000;
}

/* 浅色模式 (Light Mode) - 活力、明亮 */
[data-theme="light"] {
    --bg-body: #f5f5f7;
    --bg-card: #ffffff;
    --bg-card-hover: #f0f0f5;
    --text-primary: #1d1d1f;
    --text-secondary: #515154;
    --text-highlight: #000;
    --accent-color: #007aff;
    /* 浅色模式下更具活力的渐变 */
    --accent-gradient: linear-gradient(135deg, #007aff 0%, #5ac8fa 100%); 
    --border-color: rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --loader-bg: #fff;
}

/* --- 自定义滚动条样式 --- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gradient);
    border-radius: 5px;
    border: 2px solid var(--bg-card);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, #5ac8fa 100%);
}

/* Firefox 滚动条样式 */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--bg-card);
}

/* --- 平滑滚动 --- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* --- 基础设定 --- */
body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, .digit-font {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- 炫酷加载动画 (Precision Loader) --- */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--loader-bg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s cubic-bezier(0.7, 0, 0.3, 1);
}

/* 品牌容器 - Logo + 公司名 */
.loader-brand-container {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
    animation: brandFadeIn 1s ease-out;
}

.loader-logo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.loader-logo {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    position: relative;
    z-index: 2;
    animation: logoFloat 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Logo发光效果 - 简洁版 */
.loader-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: var(--accent-color);
    opacity: 0.15;
    filter: blur(25px);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 1;
}

/* 公司名字样式 */
.loader-company-name {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.loader-name-text {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.loader-name-en {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
    text-transform: uppercase;
    opacity: 0.8;
}

/* 品牌淡入动画 */
@keyframes brandFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo浮动动画 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

/* 发光脉冲动画 - 简洁版 */
@keyframes glowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.08;
    }
}

.timer-display {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.timer-ms {
    font-size: 2.2rem;
    color: var(--accent-color);
    opacity: 0.9;
}

.loader-bar {
    width: 350px;
    height: 6px;
    background: rgba(128,128,128,0.2);
    margin-top: 35px;
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    transition: width 0.1s linear;
    position: relative;
    overflow: hidden;
}

.loader-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* 加载文本样式 */
.loader-text {
    margin-top: 25px;
    font-family: 'Orbitron', monospace;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 3px;
}

.loader-status {
    opacity: 0.7;
}

.loader-dots {
    animation: dotsPulse 1.5s ease-in-out infinite;
}

@keyframes dotsPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* 动画结束类 */
.loaded #loader {
    transform: translateY(-100%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .loader-brand-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .loader-logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .loader-logo {
        width: 80px;
        height: 80px;
    }
    
    .loader-logo-glow {
        width: 100px;
        height: 100px;
    }
    
    .loader-name-text {
        font-size: 3rem;
    }
    
    .loader-name-en {
        font-size: 0.65rem;
    }
    
    .timer-display {
        font-size: 3.5rem;
    }
    
    .loader-bar {
        width: 280px;
    }
    
    .loader-text {
        font-size: 0.65rem;
    }
}

/* --- 导航栏 --- */
.navbar {
    background: rgba(var(--bg-body), 0.8); /* 适配深浅背景 */
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
    transition: all 0.5s ease;
}

/* 增加导航栏容器宽度 */
.navbar .container {
    max-width: 1600px !important;  /* 从1400px进一步增加到1600px */
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* 导航栏菜单项容器 */
.navbar-nav {
    gap: 0.5rem;  /* 菜单项之间额外间距 */
}
.navbar-brand {
    color: var(--text-highlight) !important;
    font-weight: 800;
    display: flex;
    align-items: center;
}

/* 公司Logo - 无背景 */
.company-logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.company-logo-container:hover {
    transform: scale(1.05);
}

.company-logo {
    height: 32px;
    width: auto;
}

.company-name-text {
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding-left: 1.5rem !important;  /* 进一步增加左右内边距 */
    padding-right: 1.5rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 60%;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-color) !important;
}

/* 功能按钮组 */
.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
}
.action-btn:hover {
    background: var(--bg-card-hover);
    transform: scale(1.1);
}

/* --- Hero 区域 --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 60px;
    overflow: hidden;
}

/* 增加Hero section容器宽度 */
.hero-section .container {
    max-width: 1600px !important;  /* 与导航栏保持一致 */
    padding-left: 50px !important;
    padding-right: 50px !important;
}

/* 增加Hero section按钮之间的间距 */
.hero-section .d-flex {
    gap: 2rem !important;  /* 进一步增加按钮之间的间距 */
    margin-top: 20px;
}

/* Hero section badge 样式优化 */
.hero-section .badge {
    font-size: 0.95rem;
    padding: 10px 20px !important;
    margin-bottom: 30px !important;
}

/* 视频背景 */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.3;
    filter: brightness(0.6);
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 6rem);
    margin-bottom: 35px;
    line-height: 1.3;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, var(--text-highlight) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* 浅色模式下的 Hero 背景活力装饰 - 修正为100% */
[data-theme="light"] .hero-bg-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0,122,255,0.1) 0%, rgba(255,149,0,0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: breathe 6s infinite ease-in-out;
}
[data-theme="dark"] .hero-bg-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    animation: breathe 6s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* --- 模块分隔过渡效果 --- */
section {
    position: relative;
    overflow: hidden;
}

/* 波浪分隔线效果 */
.section-divider {
    position: relative;
    height: 60px;
    width: 100%;
    z-index: 1;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--bg-body) 20%, 
        var(--bg-body) 80%, 
        transparent 100%);
    z-index: 2;
}

.section-divider svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: var(--accent-color);
    opacity: 0.05;
    z-index: 1;
}

/* 模块间渐变过渡 */
.gradient-transition-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg-body) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.gradient-transition-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg-body) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* 特殊背景模块的过渡效果 */
.special-bg-section {
    position: relative;
}

.special-bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(128,128,128,0.05) 0%, 
        rgba(128,128,128,0.02) 50%, 
        transparent 100%);
    z-index: -1;
}

/* --- 专项运动展示 (Sports Matrix) --- */
.sport-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

/* 浅色模式下给卡片增加活力微渐变 */
[data-theme="light"] .sport-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: var(--accent-gradient);
    opacity: 0.7;
}

.sport-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(128,128,128,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
    overflow: hidden; /* 确保圆形裁剪生效 */
}

/* 浅色模式下使用渐变色背景 */
[data-theme="light"] .sport-icon-box {
    background: var(--accent-gradient);
}

/* 悬停时图标变色 */
.sport-card:hover .sport-icon-box {
    background: var(--accent-gradient);
    transform: scale(1.05);
}

/* 浅色模式下悬停时显示红色 */
[data-theme="light"] .sport-card:hover .sport-icon-box {
    background: #ff3b30;
    transform: scale(1.05);
}

.sport-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 自动裁剪为圆形 */
    transition: 0.4s;
}

.sport-card:hover .sport-icon-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.sport-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* --- Bento Grid 服务展示 --- */
.bento-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    border: 1px solid var(--border-color);
    transition: 0.4s;
}
.bento-card:hover {
    background-color: var(--bg-card-hover);
    box-shadow: var(--shadow);
}
.bento-title {
    color: var(--text-primary);
    margin-top: 15px;
}
.bento-icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 系统详情卡片 (重新设计) --- */
.system-detail-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    height: 100%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.system-detail-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(41, 151, 255, 0.15);
}

/* 卡片头部 - 图标、标题、描述 */
.system-detail-header {
    padding: 40px 30px 30px;
    text-align: center;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.05) 0%, rgba(41, 151, 255, 0.02) 100%);
    border-bottom: 1px solid var(--border-color);
}

.system-detail-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 20px rgba(41, 151, 255, 0.3);
}

.system-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.system-detail-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    min-height: 3.4em; /* 固定2行高度 (1.7 × 2) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 卡片主体 - 功能列表 */
.system-detail-body {
    padding: 30px;
}

.system-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.system-feature-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.system-feature-list li:last-child {
    border-bottom: none;
}

.system-feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.system-feature-list li:hover {
    color: var(--text-primary);
    padding-left: 32px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* --- 项目案例 --- */
.project-tabs {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.project-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px 20px;
    margin-right: 5px;
    border-radius: 10px 10px 0 0;
}

.project-tabs .nav-link.active {
    color: var(--accent-color);
    background: rgba(128,128,128,0.1);
    border-bottom: 2px solid var(--accent-color);
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.project-year {
    display: inline-block;
    background: rgba(128,128,128,0.2);
    color: var(--accent-color);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.project-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 30px; /* 确保即使没有标签也保持高度一致 */
    align-items: flex-start;
}

.project-tag {
    display: inline-block;
    background: rgba(128,128,128,0.1);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap; /* 防止标签文字换行 */
}

/* --- 最新动态栏 --- */
.news-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.news-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5ac8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.news-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.news-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-img {
    transform: scale(1.05);
}

.news-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    color: white;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto; /* 推到底部 */
    min-height: 28px; /* 确保标签区域高度一致 */
}

.news-card-date {
    display: inline-flex;
    align-items: center;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    height: 28px;
}

.news-card-status {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    white-space: nowrap;
    height: 28px;
}

.news-card-status.live {
    background: rgba(255, 59, 48, 0.8);
}

.news-card-status.upcoming {
    background: rgba(52, 199, 89, 0.8);
}

.news-card-status.completed {
    background: rgba(88, 86, 214, 0.8);
}

.news-card-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    flex-shrink: 0;
}

.news-card-location {
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

/* --- 视频展示区域 --- */
.video-section {
    padding: 100px 0;
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    padding-top: 56.25%; /* 16:9 宽高比 */
    background: #000;
}

.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* 保持视频原始比例，不裁剪 */
    background: #000;
}

/* overlay 中的全屏按钮已移除，现在使用控制栏中的全屏按钮 */

/* video-overlay 和 video-play-btn 已移除，现在使用控制栏 */

/* 自定义视频控制栏 */
.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container:hover .video-controls-bar,
.video-controls-bar.show {
    opacity: 1;
    pointer-events: auto;
}

.video-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-progress-container {
    flex: 1;
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.video-progress {
    width: 100%;
    height: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.video-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.video-progress::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(41, 151, 255, 0.6);
}

.video-progress::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.video-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 3px;
    pointer-events: none;
    z-index: 1;
}

.video-time-display {
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    min-width: 80px;
    text-align: center;
}

/* 移动端视频控制栏优化 */
@media (max-width: 768px) {
    .video-controls-bar {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .video-control-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .video-time-display {
        font-size: 0.75rem;
        min-width: 70px;
    }
    
    .video-progress-container {
        height: 5px;
    }
    
    .video-progress::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
}

/* --- 公司介绍部分 (全新设计) --- */
.about-section {
    padding: 100px 0;
    position: relative;
    overflow: visible;
    min-height: 100px;
    will-change: auto;
    contain: none;
}

/* 确保所有section都能正确渲染 */
section {
    position: relative;
    overflow: visible;
    contain: none;
    will-change: auto;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5ac8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* About Cards - 独立名片效果 */
.about-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 45px 35px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(41, 151, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover::after {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(41, 151, 255, 0.3);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(41, 151, 255, 0.08) 100%);
}

.about-card-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(41, 151, 255, 0.3);
    transition: all 0.4s ease;
}

.about-card:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(41, 151, 255, 0.5);
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.about-card-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    flex-grow: 1;
}

.about-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
}

.about-card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-card-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 竖线时间线样式 */
.timeline-container-vertical {
    position: relative;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px 20px;
    overflow: visible;
    min-height: 100vh;
}

.timeline-vertical-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 400px;
    overflow: visible;
}

/* 竖线 */
.timeline-vertical-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color) 0%, rgba(41, 151, 255, 0.3) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* 年份节点容器 */
.timeline-years-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    z-index: 2;
    overflow: visible;
}

/* 年份节点 */
.timeline-year-node {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    cursor: pointer;
    overflow: visible;
    contain: none;
    will-change: auto;
}

.timeline-year-node.left {
    flex-direction: row;
    padding-right: calc(50% + 12px);
    justify-content: flex-end;
}

.timeline-year-node.right {
    flex-direction: row-reverse;
    padding-left: calc(50% + 12px);
    justify-content: flex-end;
}

.timeline-year-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 5px solid var(--bg-body);
    box-shadow: 0 0 0 4px rgba(41, 151, 255, 0.2), 0 4px 15px rgba(41, 151, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.timeline-year-node:hover .timeline-year-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(41, 151, 255, 0.3), 0 6px 25px rgba(41, 151, 255, 0.6);
}

.timeline-year-node:hover .timeline-year-dot {
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(41, 151, 255, 0.4), 0 8px 30px rgba(41, 151, 255, 0.7);
}

/* 年份节点颜色分类 */
.timeline-year-node.year-2025 .timeline-year-dot { background: #ff6b6b; box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2), 0 4px 15px rgba(255, 107, 107, 0.4); }
.timeline-year-node.year-2024 .timeline-year-dot { background: #4ecdc4; box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.2), 0 4px 15px rgba(78, 205, 196, 0.4); }
.timeline-year-node.year-2023 .timeline-year-dot { background: #45b7d1; box-shadow: 0 0 0 4px rgba(69, 183, 209, 0.2), 0 4px 15px rgba(69, 183, 209, 0.4); }
.timeline-year-node.year-2022 .timeline-year-dot { background: #f9ca24; box-shadow: 0 0 0 4px rgba(249, 202, 36, 0.2), 0 4px 15px rgba(249, 202, 36, 0.4); }
.timeline-year-node.year-2021 .timeline-year-dot { background: #6c5ce7; box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2), 0 4px 15px rgba(108, 92, 231, 0.4); }
.timeline-year-node.year-2020 .timeline-year-dot { background: #a29bfe; box-shadow: 0 0 0 4px rgba(162, 155, 254, 0.2), 0 4px 15px rgba(162, 155, 254, 0.4); }
.timeline-year-node.year-2019 .timeline-year-dot { background: #fd79a8; box-shadow: 0 0 0 4px rgba(253, 121, 168, 0.2), 0 4px 15px rgba(253, 121, 168, 0.4); }
.timeline-year-node.year-2018 .timeline-year-dot { background: #fdcb6e; box-shadow: 0 0 0 4px rgba(253, 203, 110, 0.2), 0 4px 15px rgba(253, 203, 110, 0.4); }
.timeline-year-node.year-2017 .timeline-year-dot { background: #e17055; box-shadow: 0 0 0 4px rgba(225, 112, 85, 0.2), 0 4px 15px rgba(225, 112, 85, 0.4); }
.timeline-year-node.year-2016 .timeline-year-dot { background: #00b894; box-shadow: 0 0 0 4px rgba(0, 184, 148, 0.2), 0 4px 15px rgba(0, 184, 148, 0.4); }
.timeline-year-node.year-2015 .timeline-year-dot { background: #00cec9; box-shadow: 0 0 0 4px rgba(0, 206, 201, 0.2), 0 4px 15px rgba(0, 206, 201, 0.4); }
.timeline-year-node.year-2014 .timeline-year-dot { background: #74b9ff; box-shadow: 0 0 0 4px rgba(116, 185, 255, 0.2), 0 4px 15px rgba(116, 185, 255, 0.4); }

/* 年份信息卡片 */
.timeline-year-card {
    flex: 0 1 auto;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 18px 22px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: calc(48% - 12px);
    min-width: 600px;
    box-sizing: border-box;
}

.timeline-year-node.left .timeline-year-card {
    margin-right: 12px;
    margin-left: 0;
}

.timeline-year-node.right .timeline-year-card {
    margin-left: 12px;
    margin-right: 0;
}

.timeline-year-node:hover .timeline-year-card {
    border-color: var(--accent-color);
    box-shadow: 0 5px 25px rgba(41, 151, 255, 0.15);
    transform: translateY(-2px);
}

.timeline-year-card {
    cursor: pointer;
}

.timeline-year-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(41, 151, 255, 0.25);
    border-color: var(--accent-color);
}

.timeline-year-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.timeline-year-badge {
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 年份标签颜色（与节点颜色一致） */
.timeline-year-node.year-2025 .timeline-year-badge { background: #ff6b6b; }
.timeline-year-node.year-2024 .timeline-year-badge { background: #4ecdc4; }
.timeline-year-node.year-2023 .timeline-year-badge { background: #45b7d1; }
.timeline-year-node.year-2022 .timeline-year-badge { background: #f9ca24; }
.timeline-year-node.year-2021 .timeline-year-badge { background: #6c5ce7; }
.timeline-year-node.year-2020 .timeline-year-badge { background: #a29bfe; }
.timeline-year-node.year-2019 .timeline-year-badge { background: #fd79a8; }
.timeline-year-node.year-2018 .timeline-year-badge { background: #fdcb6e; }
.timeline-year-node.year-2017 .timeline-year-badge { background: #e17055; }
.timeline-year-node.year-2016 .timeline-year-badge { background: #00b894; }
.timeline-year-node.year-2015 .timeline-year-badge { background: #00cec9; }
.timeline-year-node.year-2014 .timeline-year-badge { background: #74b9ff; }

.timeline-year-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.timeline-year-count i {
    color: var(--accent-color);
}

/* 项目列表 */
/* 项目列表已移至模态框，不再需要展开/折叠样式 */

.timeline-project-item {
    background: var(--bg-body);
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-left: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 50px;
}

.timeline-project-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 15px rgba(41, 151, 255, 0.1);
}

.timeline-project-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
}

.timeline-project-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 150px;
    flex-shrink: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.timeline-project-location i {
    color: var(--accent-color);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* 缩略信息（未展开时） */
.timeline-year-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
    max-height: 60px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}

.timeline-year-summary-item {
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.2);
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

/* 移除active状态，时间线卡片始终显示摘要 */

/* 起始点特效已移除 */

/* 响应式设计 */
@media (max-width: 1200px) {
    .timeline-year-card {
        min-width: 400px;
        max-width: 48%;
    }
}

/* 768px 以下的时间线样式已移至统一的响应式区域 */

/* --- 联系我们部分 - 左对齐 --- */
.contact-section {
    padding: 100px 0;
}

.contact-info-left {
    text-align: left;
    margin-top: 30px;
}

.contact-item-left {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item-left:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.contact-icon-left {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details-left {
    display: flex;
    flex-direction: column;
}

.contact-label-left {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-value-left {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 20px;
    font-style: italic;
}

/* --- 响应式 --- */
@media (max-width: 768px) {
    .navbar .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .nav-link {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .hero-section .container {
        max-width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    .timer-display { font-size: 3rem; }
    
    .hero-title { 
        font-size: 2.5rem !important;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
        margin-bottom: 35px;
    }
    
    .hero-section .badge {
        font-size: 0.85rem !important;
        padding: 8px 16px !important;
    }
    
    .hero-section .d-flex {
        gap: 1.2rem !important;
    }
    
    /* 移动端优化section间距，更紧凑协调 */
    .hero-section { 
        padding: 60px 0;
        min-height: 100vh; /* 保持全屏高度，作为门面展示 */
    }
    .about-section { padding: 40px 0; }
    .sports-section { padding: 40px 0; }
    .services-section { padding: 40px 0; }
    .projects-section { padding: 40px 0; }
    .news-section { padding: 40px 0; }
    .video-section { padding: 40px 0; }
    .contact-section { padding: 40px 0; }
    
    /* 移动端section标题间距优化 */
    .section-title {
        margin-bottom: 15px !important;
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        margin-bottom: 30px !important;
        font-size: 0.95rem !important;
    }
    
    /* 减少标题容器的底部间距 */
    .text-center.mb-5 {
        margin-bottom: 30px !important;
    }
    .about-grid { grid-template-columns: 1fr; }
    .stats-container { 
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .stat-item {
        padding: 20px 15px;
        min-width: 0; /* 允许内容收缩 */
    }
    .stat-number {
        font-size: 2.2rem; /* 移动端缩小字体以适应四位数字 */
    }
    .stat-label {
        font-size: 0.9rem;
    }
    .video-player { height: 300px; }
    .news-card { height: 300px; }
    
    /* 移动端视频控制栏已优化 */
    
    /* 移动端时间线：统一左对齐 */
    .timeline-container-vertical {
        padding: 20px 10px;
        margin: 40px auto 0;
        overflow: visible !important;
    }
    
    .timeline-vertical-wrapper {
        overflow: visible !important;
    }
    
    .timeline-years-container {
        overflow: visible !important;
    }
    
    .timeline-year-node {
        margin-bottom: 30px;
        overflow: visible !important;
    }
    
    /* 移动端：强制所有节点统一为左对齐布局 */
    .timeline-year-node.left,
    .timeline-year-node.right {
        flex-direction: row !important;
        padding: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    /* 移动端：所有卡片统一在垂直线右侧，增加间距 */
    .timeline-year-node.left .timeline-year-card,
    .timeline-year-node.right .timeline-year-card {
        max-width: calc(100% - 80px) !important;
        min-width: auto !important;
        margin: 0 0 0 30px !important;
        margin-right: 0 !important;
        width: auto !important;
    }
    
    .timeline-vertical-line {
        left: 20px;
        width: 2px;
    }
    
    .timeline-year-dot {
        left: 20px !important;
        width: 18px;
        height: 18px;
    }
    
    .timeline-year-node:hover .timeline-year-dot {
        transform: translateX(-50%) scale(1.2);
    }
    
    .timeline-year-node:hover .timeline-year-dot {
        transform: translateX(-50%) scale(1.3);
    }
    
    .timeline-project-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 12px;
    }
    
    .timeline-year-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .timeline-year-badge {
        font-size: 1.2rem;
        padding: 4px 12px;
    }
    
    .timeline-year-count {
        font-size: 0.85rem;
    }
    
    .timeline-project-title {
        font-size: 0.9rem;
    }
    
    .timeline-project-location {
        font-size: 0.8rem;
    }
    
    .timeline-year-summary-item {
        font-size: 0.85rem;
        padding: 4px 0;
    }
    
}

@media (max-width: 480px) {
    .stats-container { 
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .stat-item {
        padding: 18px 12px;
    }
    .stat-number {
        font-size: 2rem; /* 小屏幕进一步缩小 */
    }
    
    /* 小屏幕时间线进一步优化 */
    .timeline-container-vertical {
        padding: 15px 5px;
        overflow: visible !important;
    }
    
    .timeline-vertical-line {
        left: 15px !important;
    }
    
    .timeline-year-dot {
        left: 15px !important;
        width: 16px;
        height: 16px;
    }
    
    /* 小屏幕：卡片统一在垂直线右侧，增加间距 */
    .timeline-year-node.left .timeline-year-card,
    .timeline-year-node.right .timeline-year-card {
        max-width: calc(100% - 65px) !important;
        margin: 0 0 0 25px !important;
        margin-right: 0 !important;
        padding: 14px 16px;
    }
    
    .timeline-year-badge {
        font-size: 1.1rem;
        padding: 3px 10px;
    }
    
    .timeline-year-count {
        font-size: 0.8rem;
    }
    
    .timeline-project-title {
        font-size: 0.85rem;
    }
    
    .timeline-project-location {
        font-size: 0.75rem;
    }
    
    .company-logo { height: 28px; }
    .contact-item-left {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-icon-left {
        margin-bottom: 10px;
        margin-right: 0;
    }
}

/* 回到顶部按钮 */
/* 回到顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--accent-color);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    visibility: hidden;
    backdrop-filter: blur(10px);
}

.back-to-top-btn.show {
    opacity: 0.5;
    visibility: visible;
}

.back-to-top-btn:hover {
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background: var(--bg-card-hover);
}

.back-to-top-btn:active {
    transform: translateY(-2px);
}

/* 右侧联系方式浮动面板 */
.contact-float-panel {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 998;
    min-width: 200px;
    width: auto;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: visible;
    display: flex;
    align-items: stretch;
}

.contact-float-panel:hover {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* 折叠状态 */
.contact-float-panel.collapsed {
    min-width: 40px;
    width: 40px;
    max-width: 40px;
    min-height: 40px;
    height: 40px;
    padding: 0;
    right: 20px;
}

.contact-float-panel.collapsed .contact-float-content-wrapper {
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    opacity: 0;
    padding: 0 !important;
    overflow: hidden;
    margin: 0;
    flex: 0;
}

.contact-float-panel.collapsed .contact-float-toggle {
    display: none;
}

.contact-float-panel.collapsed .contact-float-icon {
    display: flex;
    width: 40px;
    height: 40px;
}

/* 展开状态 */
.contact-float-panel:not(.collapsed) {
    min-width: 200px;
    width: auto;
}

.contact-float-panel:not(.collapsed) .contact-float-content-wrapper {
    width: auto;
    min-width: 200px;
    opacity: 1;
    padding: 15px;
    flex: 1;
}

.contact-float-panel:not(.collapsed) .contact-float-toggle {
    display: flex;
}

.contact-float-panel:not(.collapsed) .contact-float-icon {
    display: none;
}

/* 切换按钮（向右箭头） */
.contact-float-toggle {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.contact-float-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--accent-color);
}

.contact-float-toggle i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

/* 折叠后的联系图标 */
.contact-float-icon {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--accent-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-float-icon:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 内容包装器 */
.contact-float-content-wrapper {
    width: auto;
    min-width: 200px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    flex: 1;
}

.contact-float-header {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.contact-float-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-float-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.contact-float-item span {
    word-break: break-all;
    overflow-wrap: break-word;
    color: var(--text-primary) !important;
}

.contact-float-item:hover {
    background: var(--bg-body);
}

.contact-float-item i {
    flex-shrink: 0;
    width: 18px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    /* 移动端隐藏联系方式面板 */
    .contact-float-panel {
        display: none !important;
    }
    
    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* --- 动画效果 --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-element {
    animation: float 3s ease-in-out infinite;
}

/* --- 右键特效样式 --- */
.heart-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    animation: heartFloat 2s ease-out forwards;
    font-size: 20px;
}

@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-80px) scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-150px) scale(0.5) rotate(360deg);
        opacity: 0;
    }
}

/* 星星特效 */
.star-particle {
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    animation: starFloat 1.5s ease-out forwards;
    font-size: 16px;
}

@keyframes starFloat {
    0% {
        transform: translate(0, 0) scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(1) rotate(720deg);
        opacity: 0;
    }
}

/* Swiper 自定义样式 */
.swiper {
    padding: 20px 10px 50px !important;
}

.swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent-color) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent-gradient);
    color: white !important;
}

/* 辅助类 */
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #5ac8fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-energy {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-energy-primary {
    background: var(--accent-gradient);
    color: #fff;
}

.btn-energy-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 151, 255, 0.4);
    color: #fff;
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 30px;
    font-weight: 400;
}
