:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --gradient-primary: linear-gradient(135deg, #2c3e50, #3498db);
    --gradient-secondary: linear-gradient(45deg, #ffd700, #ffeb3b);
    --text-primary: #2c3e50;
    --text-secondary: #3498db;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff0f3; /* 非常淡的粉色背景 */
    padding-top: 60px; /* 与顶部栏高度相同 */
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
}

/* 顶部导航样式优化 */
.top-bar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px; /* 增加高度 */
    background: rgba(0, 0, 0, 0.95); /* 降低透明度 */
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

/* 标题区域样式 */
.site-header {
    background: #fff0f3;
    padding: 50px 0 15px 0;
    text-align: center;
    margin-bottom: 15px;
}

/* 标题样式优化 */
.header-title {
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 8px;
    margin: 0;
    display: inline-block;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
    box-shadow: 0 0 25px rgba(64, 169, 255, 0.2);
    color: var(--text-primary);
}

.header-title span {
    position: relative;
    z-index: 2;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 装饰线条 - 与书名相同的样式 */
.header-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    transform: translateX(-50%);
}

/* 星光闪过效果 */
.header-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    animation: starlight 4s infinite;
}

/* 移除之前的after伪元素和多余的动画 */
.header-title span {
    position: relative;
    z-index: 2;
}

@keyframes starlight {
    0% {
        left: -100%;
        opacity: 0;
    }
    15% {
        left: -100%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    85% {
        left: 200%;
        opacity: 0;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

/* 颈部提示文字样式优化 */
.neck-banner {
    padding: 0;
    margin: 0;
    background: #fff;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 4px 10px rgba(0, 0, 0, 0.03);
}

.neck-banner h3 {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin: 0;
    padding: 15px 20px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    font-weight: normal;
}

/* 导航内容容器 */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Logo样式 */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 5px 20px 5px 20px;
}

.logo-circle {
    width: 45px;
    height: 45px;
    background: url('http://www.xli8.com/logo.png') center/cover;
    transition: all 0.3s ease;
}

.logo:hover .logo-circle {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,102,204,0.4);
}

/* 右侧导航区域容器 */
.nav-container {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* 导航菜单按钮样式 */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 20px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 导航链接容器样式 */
.nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 280px;
    max-height: calc(100vh - 60px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px 0;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

/* 导航链接激活状态 */
.nav-links.active {
    right: 0;
}

/* 导航菜单项样式 */
.nav-links .menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* 限制课题标题长度 */
.nav-links .menu-item span:nth-child(2) {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 10px;
}

/* 菜单图标样式 */
.menu-icon {
    margin-right: 10px;
    font-size: 1.1em;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

/* 悬停效果 */
.nav-links .menu-item:hover {
    background: rgba(255,255,255,0.1);
    padding-left: 25px;
}

/* 跑马灯样式 */
.marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 20px;
}

.marquee span {
    display: inline-block;
    color: #fff;
    animation: marquee 20s linear infinite;
}

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

/* 导航容器样式 */
.nav-container {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* 书籍列表容器 */
.book-list {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 50px;    /* 减少与颈部的距离 */
    margin-bottom: 150px;
}

/* 书籍卡片 */
.book-item {
    position: relative;
    width: 100%;
    padding-top: 133.33%; /* 3:4 比例 */
    perspective: 1200px;
}

/* 书籍链接 */
.book-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    border-radius: 4px;
    box-shadow: 
        -6px 6px 12px rgba(0,0,0,0.2),
        -10px 10px 15px rgba(0,0,0,0.15),
        -15px 15px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding: 15px 15px 32px;
    transform-origin: left;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* 书脊效果 */
.book-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg,
        rgba(0,0,0,0.2),
        transparent 80%);
}

/* 书名样式 */
.book-title {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

/* 装饰线条 */
.book-title::before,
.book-title::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    transform: translateX(-50%);
}

.book-title::before {
    top: -10px;
}

.book-title::after {
    bottom: -10px;
}

/* 书籍章节信息样式 */
.chapter-count {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
}

.chapter-count span {
    display: inline-flex;
    align-items: center;
}

.chapter-count span:first-child::after {
    content: '';
    width: 1px;
    height: 12px;
    background: rgba(255,255,255,0.3);
    margin-left: 20px;
}

/* 悬停效果 */
.book-item:hover .book-content {
    transform: rotateY(-10deg);
    box-shadow: 
        20px 10px 30px rgba(0,0,0,0.2),
        30px 15px 35px rgba(0,0,0,0.15);
}

/* 响应式布局 */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .site-header {
        margin-top: 50px; /* 添加顶部外边距 */
        padding: 30px 0 10px 0;
        margin-bottom: 10px;
    }
    
    .book-list {
        margin-top: 40px;
        margin-bottom: 100px;
        gap: 15px;
        padding: 0 15px;
    }
    
    .header-title {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}

@media (min-width: 769px) {
    .book-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (min-width: 1400px) {
    .book-list {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        width: 100%;
    }
}

/* 头部网站说明样式 */
.site-intro h1 {
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: none; /* 移除文字阴影 */
}

.site-intro p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 轮播图容器 */
.slideshow-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* 保持正方形 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.2),
        0 10px 20px rgba(0,0,0,0.1);
    background: #fff;
}

/* 轮播图片 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 加载动画 */
.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-radius: 50%;
    border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96e6a1) 1;
    animation: spin 1s linear infinite;
    background: var(--gradient-primary);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 轮播指示器 */
.dot-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 24px;
    background: #fff;
    border-radius: 4px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .teacher-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .teacher-info {
        padding: 20px;
        text-align: center;
    }
    
    .teacher-title {
        font-size: 2.4rem;
    }
    
    .teacher-subtitle {
        font-size: 1.4rem;
    }
}

/* 右侧文字内容样式 */
.teacher-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px;
}

/* 老师姓名样式 */
.teacher-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* 添加阴影 */
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 老师介绍文字样式 */
.teacher-desc {
    line-height: 1.8;
    color: #333;
}

/* 引用文字基础样式 */
.teacher-desc .quote {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

/* 格言样式 - 第一个quote */
.teacher-desc .quote:first-child {
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* 添加阴影 */
    background: linear-gradient(135deg, #666, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 经历描述样式 - 第二个quote */
.teacher-desc .quote:nth-child(2) {
    font-style: normal; /* 移除斜体 */
    color: #555;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .teacher-name {
        font-size: 2rem;
    }
    
    .teacher-desc .quote {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
}

/* 宣传横幅样式 */
.promo-banner {
    background: rgba(255,255,255,0.8);
    padding: 40px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin: 20px 0;
    font-weight: bold;
}

/* 项老师专区样式 */
.teacher-promo {
    background: #fff;
    padding: 80px 0;
    margin: 0;
}

.teacher-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列等宽 */
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.teacher-image {
    position: relative;
}

.teacher-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.teacher-image::before {
    display: none;
}

.teacher-info h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    line-height: 1.4;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.teacher-info p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.learn-more {
    display: inline-block;
    padding: 15px 35px;
    background: #1a1a2e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more:hover {
    background: #0f0f1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* 版权信息样式 */
.copyright {
    background: #1a1a1a;
    padding: 150px 0;
    color: #fff;
    margin: 0;
}

.copyright-info {
    text-align: center;
}

.copyright-info p {
    margin: 10px 0;
    color: rgba(255,255,255,0.7);
}

/* 备案信息样式 */
.site-footer {
    background: #111;
    padding: 20px 0;
}

.beian-info {
    text-align: center;
}

.beian-info a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: rgba(255,255,255,0.8);
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }

    .site-intro h1 {
        font-size: 2rem;
    }

    .teacher-content {
        grid-template-columns: 1fr;
    }

    .teacher-info {
        padding-right: 0;
    }

    .teacher-info h2 {
        font-size: 1.8rem;
        padding: 0 20px;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }

    .slide img {
        height: 300px;
    }

    .site-footer {
        display: none; /* 在移动端隐藏备案信息 */
    }

    .nav-toggle {
        font-size: 24px; /* 保持和logo一样大 */
    }
}

.nav-brand {
    display: flex;
    align-items: center;
}

/* Logo样式优化 */
.nav-logo:hover {
    transform: scale(1.05);
}

/* 修改轮播图容器样式 */
.teacher-image .slideshow-container {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 20px;
}

/* 调整图片样式 */
.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

/* 调整导航点位置 */
.dot-container {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
}

.dot {
    background-color: rgba(255,255,255,0.5);
}

.active-dot {
    background-color: #fff;
}

/* 修复网格布局 */
.teacher-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* 移除多余的样式 */
.teacher-image::before {
    display: none;
}

/* 优化过渡效果 */
.nav-links {
    transition: transform 0.3s ease;
    transform: translateX(100%);
}

.nav-links.active {
    transform: translateX(0);
}

/* 右侧文字框样式 */
.teacher-text {
    aspect-ratio: 1/1; /* 保持和图片一样的正方形比例 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(26,26,46,0.05), rgba(26,26,46,0.1));
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.05),
        0 10px 20px rgba(0,0,0,0.03);
}

.teacher-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .teacher-text h2 {
        font-size: 2rem;
    }
}

/* 相片区样式 */
.photo-section {
    padding: 80px 0; /* 减少上下内边距 */
    background: #fff;
}

.photo-content {
    display: flex;
    gap: 15px; /* 进一步减少间距 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: flex-start;
}

/* 图片容器 */
.photo-container {
    width: 15%;
    min-width: 140px;
    max-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slideshow-container {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.1),
        0 6px 6px rgba(0,0,0,0.1),
        0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

/* 修复图片定位 */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 老师介绍框 */
.teacher-intro {
    flex: 1;
    padding: 0 0 0 15px; /* 减少左侧内边距 */
}

.teacher-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 20px 0;
}

.teacher-desc {
    line-height: 1.8;
    color: #333;
}

.teacher-desc .quote {
    font-size: 1rem;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.teacher-desc .intro {
    font-size: 1rem;
    color: #444;
    margin-bottom: 15px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .photo-section {
        padding: 50px 0; /* 减少移动端上下内边距 */
    }
    
    .photo-content {
        gap: 10px; /* 移动端更紧凑 */
        padding: 0 15px;
    }
    
    .photo-container {
        width: 20%; /* 移动端稍微放大 */
        min-width: 100px;
    }
    
    .teacher-intro {
        padding: 0 0 0 10px;
    }
    
    .teacher-name {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .teacher-desc .quote {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .teacher-desc .intro {
        font-size: 0.9rem;
    }
}

/* 横幅区样式 */
.banner-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, 
            rgba(255,255,255,0.1) 25%, 
            transparent 25%,
            transparent 50%, 
            rgba(255,255,255,0.1) 50%, 
            rgba(255,255,255,0.1) 75%, 
            transparent 75%);
    background-size: 100px 100px;
    animation: moveStripes 20s linear infinite;
    opacity: 0.1;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.banner-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 15px rgba(255,215,0,0.3);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.banner-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        #ffd700,
        transparent
    );
}

@keyframes moveStripes {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100px 0;
    }
}

/* 横幅响应式调整 */
@media (max-width: 768px) {
    .banner-section {
        padding: 50px 0;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
}

/* 横幅区标题样式 */
.banner-content h4 {
    font-size: 1.6rem; /* 进一步缩小字体 */
    font-weight: 900;
    background: linear-gradient(45deg, #fff6d5, #ffd700); /* 从浅黄到金黄的渐变 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

/* 闪电图标样式 */
.lightning-icon {
    font-size: 1.4rem; /* 相应缩小闪电图标 */
    color: #ffd700;
    margin: 0 5px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 横幅区标题动画效果 */
.banner-content h4::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    animation: starlight 4s infinite;
}

/* 灯箱样式优化 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 改为50%透明度 */
    z-index: 2000;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: default;
}

.lightbox.active img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2001;
}

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

/* 图片悬停效果 */
.slide img {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.slide img:hover {
    transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .banner-content h4 {
        font-size: 1.2rem;
    }
    .lightning-icon {
        font-size: 1.1rem;
    }
}

/* 灯箱导航按钮 */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #fff;
    font-size: 24px;
    z-index: 2001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* 修改灯箱图片样式 */
.lightbox img {
    max-width: 80%; /* 减小最大宽度，为导航按钮留出空间 */
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: default;
}

/* 简化底部提示文字 */
.lightbox-hint {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    z-index: 2001;
}

/* 添加操作按钮区域 */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    padding: 0 20px;
}

.action-button {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.1),
        0 6px 6px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.1);
    background: var(--gradient-primary);
}

/* 成为学员按钮 */
.join-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
}

/* 预约咨询按钮 */
.consult-button {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
}

/* 按钮悬浮效果 */
.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.15),
        0 10px 10px rgba(0,0,0,0.1),
        0 0 0 1px rgba(255,255,255,0.2);
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.action-button:hover::before {
    left: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .action-buttons {
        gap: 15px;
        margin-top: 30px;
    }
    
    .action-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* 在更小的屏幕上进一步优化 */
@media (max-width: 360px) {
    .action-buttons {
        gap: 10px;
        padding: 0 10px;
    }
    
    .action-button {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* 修改导航菜单悬停效果 */
.nav-links .menu-item:hover {
    background: var(--gradient-primary);
}

/* 修改加载动画 */
.loading-spinner {
    background: var(--gradient-primary);
}

/* 修改按钮样式 */
.button {
    background: var(--gradient-primary);
}

/* 修改链接颜色 */
a {
    color: var(--secondary-color);
}

/* 修改标题颜色 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

/* 朋友圈按钮样式 */
.friend-circle-button-container {
    text-align: center;
    margin: 40px auto;
    padding: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.friend-circle-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.2),
        0 2px 10px rgba(0,0,0,0.1);
}

.button-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.button-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    transform: translateY(1px);
}

.button-text {
    background: linear-gradient(135deg, #fff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.button-shine {
    position: absolute;
    top: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100px;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.friend-circle-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.25),
        0 15px 20px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #16213e, #1a4b8c);
}

.friend-circle-button:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.2),
        0 10px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .friend-circle-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    
    .button-icon {
        font-size: 1.3rem;
    }
    
    .friend-circle-button-container {
        margin: 30px auto;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .friend-circle-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .button-icon {
        font-size: 1.1rem;
    }
} 