:root {
    --primary-color: #7C3AED;
    --secondary-color: #8B5CF6;
    --accent-color: #6D28D9;
    --background-color: rgba(255, 255, 255, 0.15);
    --text-color: #1E293B;
    --nav-hover-color: #7C3AED;
    --border-color: rgba(124, 58, 237, 0.2);
    --gradient-start: #7C3AED;
    --gradient-mid: #8B5CF6;
    --gradient-end: #A78BFA;
}

[data-theme="dark"] {
    --primary-color: #8B5CF6;
    --secondary-color: #A78BFA;
    --accent-color: #C4B5FD;
    --background-color: rgba(15, 23, 42, 0.15);
    --text-color: #F8FAFC;
    --nav-hover-color: #8B5CF6;
    --border-color: rgba(139, 92, 246, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    background: none;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('sucai/2abef9fa-d8d9-51c1-827f-51557cfe80c5.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: -1;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

main {
    flex: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    border-bottom: none;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--gradient-start),
        var(--gradient-end),
        transparent
    );
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(
        45deg,
        var(--gradient-start),
        var(--gradient-mid),
        var(--gradient-end)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: 2px;
}

header h1::before,
header h1::after {
    display: none;
}

.hero {
    text-align: center;
    padding: 60px 0;
}

.hero h2 {
    font-size: 3rem;
    background: linear-gradient(120deg,
        var(--gradient-start),
        var(--gradient-mid),
        var(--gradient-end)
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientFlow 6s ease infinite;
    margin-bottom: 30px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.1);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero.compact {
    padding: 30px 0;
}

.hero.compact h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero.compact .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 更新搜索框样式 */
.search-container {
    margin-top: 30px;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* 毛玻璃效果 */
.glassmorphism {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-box {
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#search-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    background: transparent;
    color: var(--text-color);
    outline: none;
}

#search-input::placeholder {
    color: var(--text-color);
    opacity: 0.6;
}

#search-button {
    background: transparent;
    color: var(--text-color);
    border: none;
    padding: 15px 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 25px;
}

#search-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(2px);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 15px;
    border-radius: 15px;
    overflow: hidden;
    display: none;
    z-index: 1000;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 移除不需要的样式 */
.hero.compact .subtitle {
    display: none;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 6px 12px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.7;
}

nav a::after {
    display: none;
}

nav a:hover {
    opacity: 1;
    color: var(--primary-color);
}

nav a.active {
    opacity: 1;
    color: var(--primary-color);
    font-weight: 500;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover {
    opacity: 1;
}

.theme-toggle:hover {
    transform: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 更新页脚样式，使其更加紧凑 */
.footer {
    margin-top: auto;
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 30px 0 0 0;  /* 减少顶部内边距 */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;  /* 减少列间距 */
}

.footer-section {
    padding: 0;
}

.footer-section h3 {
    font-size: 1rem;  /* 减小标题字体 */
    margin-bottom: 12px;  /* 减少下边距 */
    color: #ffffff;
    font-weight: 500;
    padding-bottom: 8px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.5;  /* 减少行高 */
    color: #b0b0b0;
}

.footer-section ul li {
    margin-bottom: 10px;  /* 略微增加间距适应更多项目 */
}

.footer-section ul li i {
    width: 20px;  /* 固定图标宽度 */
    text-align: center;
    margin-right: 10px;
}

/* 为不同平台添加特定的悬停颜色 */
.footer-section ul li:hover i.fa-weixin {
    color: #07C160;
}

.footer-section ul li:hover i.fa-github {
    color: #ffffff;
}

.footer-section ul li:hover i.fa-heart {
    color: #ff2442;
}

.footer-section ul li:hover i.fa-shopping-bag {
    color: #ff6b6b;
}

.footer-section ul li:hover i.fa-mobile-alt {
    color: #12B7F5;
}

.footer-section ul li a,
.footer-section ul li {
    font-size: 0.9rem;
    color: #b0b0b0;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #ffffff;
}

.footer-section i {
    color: #b0b0b0;
}

/* 版权信息样式 */
.footer-bottom {
    margin-top: 25px;  /* 减 */
    padding: 12px 0;  /* 减少内边距 */
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #808080;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        padding: 20px 0 0 0;  /* 移动端更紧凑 */
    }
    
    .footer-content {
        gap: 20px;
        padding: 0 20px;
    }
}

/* 聊天页面样式 */
.chat-section {
    padding: 20px 0;  /* 减少顶部内边距 */
    max-width: 1200px;  /* 增加最大宽度 */
    margin: 0 auto;
    position: relative;
}

.chat-header {
    text-align: center;
    margin-bottom: 40px;
}

.chat-header h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.chat-header p {
    color: var(--text-color);
    opacity: 0.8;
}

.chat-container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    min-height: 750px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 装饰元素样式 */
.chat-decoration {
    position: fixed;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    top: 0;
    left: 0;
}

.floating-element {
    position: fixed;
    opacity: 0.2;
    cursor: move;
    pointer-events: auto;
    user-select: none;
    transition: none;
    z-index: 1000;
}

/* 调整素材位置到两侧 */
.element1 {
    width: 120px;
    top: 15%;
    right: 2%;  /* 靠右侧放置 */
}

.element2 {
    width: 100px;
    top: 35%;
    left: 2%;   /* 靠左侧放置 */
}

.element3 {
    width: 90px;
    bottom: 25%;
    right: 3%;  /* 靠右侧放置 */
}

.element4 {
    width: 110px;
    bottom: 35%;
    left: 3%;   /* 靠左侧放置 */
}

/* 确保素材在视口范围内 */
@media (max-width: 1600px) {
    .element1, .element3 {
        right: 1%;
    }
    
    .element2, .element4 {
        left: 1%;
    }
}

/* 拖动时的样式 */
.floating-element.dragging {
    opacity: 0.4;
    z-index: 1001;
}

/* 移除原有的动画 */
.element1, .element2, .element3, .element4 {
    animation: none;  /* 移除浮动动画 */
}

/* 新增的聊天页面样式 */
.feature-tags {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

.tag i {
    color: var(--primary-color);
}

/* 聊天消息样式 */
.chat-message {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.chat-message.bot {
    align-items: flex-start;
}

.chat-message.user {
    align-items: flex-end;
}

.suggestion-list {
    list-style: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.suggestion-list li {
    margin: 12px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.suggestion-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    line-height: 1;
}

/* 工具栏样式 */
.chat-tools {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 10px;
    margin: 10px 0;
}

.tool-button {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
}

.tool-button:hover {
    opacity: 1;
    background: rgba(124, 58, 237, 0.1);
}

.tool-button.active {
    color: var(--primary-color);
    opacity: 1;
    background: rgba(124, 58, 237, 0.1);
}

/* 添加工具提示 */
.tool-button::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tool-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* 优化输入框样式 */
.chat-input {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(124, 58, 237, 0.15);
    margin-top: 20px;
}

.chat-input textarea {
    min-height: 60px;
    font-size: 1.05rem;
    padding: 15px 20px;
    border-radius: 15px;
    resize: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
}

.send-button {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-tags {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .message-content {
        max-width: 90%;
    }
    
    .chat-container {
        min-height: 600px;  /* 移动端稍微降低高度 */
        padding: 20px;
    }
    
    .chat-box {
        min-height: 450px;
    }
    
    .floating-element {
        width: 150px;
    }
}

/* 项目展示页面样式 */
.projects-section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    background: linear-gradient(120deg,
        var(--gradient-start),
        var(--gradient-mid),
        var(--gradient-end)
    );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.3);
}

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

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

.project-info {
    padding: 20px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.1)
    );
}

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.project-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 15px;
}

.preview-btn,
.download-btn {
    padding: 8px 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.download-btn {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
}

.preview-btn:hover,
.download-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 响应式 */
@media (max-width: 1400px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
    }
}

/* 项目详情页样式 */
.project-detail-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.back-navigation {
    margin-bottom: 30px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    transform: translateX(-5px);
}

.project-title {
    text-align: center;
    margin-bottom: 40px;
}

.project-title h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(120deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-description {
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.project-gallery img {
    width: 100%;
    height: 200px;  /* 统一高度 */
    object-fit: contain;  /* 保持图片完整性 */
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

/* 项目分类样式 */
.project-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 40px;
}

.category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 800px;
    width: 400px;
    margin: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    border-color: rgba(124, 58, 237, 0.2);
}

.category-card img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.category-info {
    padding: 35px;
    text-align: left;
}

.category-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.category-info p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 30px;
    font-size: 1.3rem;
    line-height: 1.5;
}

.view-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.view-btn i {
    font-size: 0.7rem;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a {
    padding: 8px 16px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary-color);
    color: white;
}

/* 分类页面标题样式 */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.section-header .back-btn {
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-header .back-btn:hover {
    color: var(--primary-color);
}

/* 轮播组件样式调整 */
.carousel-section {
    margin: 2rem auto;
    padding: 20px;
    max-width: 1400px;
    width: 95%;
    position: relative;
}

.carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* 修改项目链接样式 */
.project-link {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
}

/* 修改图片容器样式 */
.slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* 图片样式 */
.slide-content img {
    width: auto;
    height: auto;
    max-width: 75%;
    max-height: 65%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* 标题和描述样式 */
.slide-caption {
    width: 80%;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    margin: 0 auto;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(120deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
}

.slide-caption p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* 添加多层光效 */
.slide-content::before,
.slide-content::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
}

/* 第一层光效 - 渐变光晕 */
.slide-content::before {
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(124, 58, 237, 0.1),
        rgba(139, 92, 246, 0.2),
        rgba(167, 139, 250, 0.1),
        transparent 60%
    );
    animation: lightMove 8s linear infinite;
}

/* 第二层光效 - 动态光斑 */
.slide-content::after {
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slide-content:hover::after {
    opacity: 1;
}

/* 添加图片光效 */
.slide-content img::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s linear infinite;
}

/* 悬停效果增强 */
.slide-content:hover img {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(124, 58, 237, 0.25),
        0 0 20px rgba(124, 58, 237, 0.1),
        0 0 40px rgba(124, 58, 237, 0.05);
    border-color: rgba(124, 58, 237, 0.4);
}

/* 光效动画 */
@keyframes lightMove {
    0% {
        background-position: -200% -200%;
    }
    100% {
        background-position: 200% 200%;
    }
}

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

/* 添加鼠标跟随效果 */
.carousel {
    position: relative;
}

.carousel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(124, 58, 237, 0.1),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel:hover::before {
    opacity: 1;
}

/* 添加底部渐变条 */
.carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right,
        var(--gradient-start),
        var(--gradient-mid),
        var(--gradient-end),
        var(--gradient-mid),
        var(--gradient-start)
    );
    opacity: 0.7;
}

/* 轮播按钮样式 */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(8px);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

.carousel-button i {
    color: var(--text-color);
    font-size: 24px;
    transition: transform 0.3s ease;
}

.carousel-button:hover i {
    transform: scale(1.1);
}

/* 在移动设备上隐藏按钮 */
@media (max-width: 768px) {
    .carousel-button {
        width: 40px;
        height: 40px;
    }
    
    .carousel-button i {
        font-size: 20px;
    }
}

/* 展开图片样式 */
.expandable-image {
    cursor: pointer;
}

/* 展开图片层样式 */
.expanded-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expanded-gallery.active {
    display: flex;
    opacity: 1;
}

.gallery-container {
    width: 90%;
    height: 90%;
    margin: auto;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

/* 关闭按钮样式 */
.close-gallery {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-gallery i {
    color: white;
    font-size: 20px;
}

.close-gallery:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 滚动条样式 */
.gallery-container::-webkit-scrollbar {
    width: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

/* 图片预览样式 */
.image-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-preview.active {
    opacity: 1;
}

.image-preview.fade-out {
    opacity: 0;
}

.preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.image-preview img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-preview {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-preview i {
    color: white;
    font-size: 20px;
}

.close-preview:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 项目链接样式 */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 5;
}

.project-link:hover {
    transform: scale(1.02);
}

/* 确保图片和标题都可以点击 */
.project-link img,
.project-link .slide-caption {
    pointer-events: auto;
}

/* 轮播标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    background: linear-gradient(120deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* 微信链接样式 */
.wechat-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wechat-link:hover {
    color: #07C160;  /* 微信绿色 */
}

/* 微信二维码弹窗样式 */
.wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-popup.active {
    opacity: 1;
    visibility: visible;
}

.wechat-popup img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.wechat-popup .close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wechat-popup .close-popup i {
    color: white;
    font-size: 20px;
}

.wechat-popup .close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 图片预览控制按钮样式 */
.preview-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.preview-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-controls button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.preview-content img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* 修改预览容器样式 */
.image-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-in;
}

/* QQ链接样式 */
.qq-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qq-link:hover {
    color: #12B7F5;  /* QQ蓝色 */
}

/* QQ二维码弹窗样式 */
.qq-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qq-popup.active {
    opacity: 1;
    visibility: visible;
}

.qq-popup img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

/* 小红书链接样式 */
.xhs-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.xhs-link:hover {
    color: #FE2C55;  /* 小红书品牌色 */
}

/* 邮件链接样式 */
.email-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: #4285F4;  /* Google蓝色 */
}
 