/* 1. 整体布局优化 */
.manzhou-tts-home {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

/* 2. 顶部区域优化 */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #2468f2 0%, #3b82f6 100%);
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
}

/* 大型动态光圈效果 */
.light-circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.light-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: pulseAndMove 20s infinite;
}

/* 创建多个不同大小的光圈 */
.light-circle:nth-child(1) {
    width: 800px;
    height: 800px;
    top: -20%;
    left: -10%;
    animation-delay: 0s;
}

.light-circle:nth-child(2) {
    width: 600px;
    height: 600px;
    top: 40%;
    right: -10%;
    animation-delay: -5s;
}

.light-circle:nth-child(3) {
    width: 500px;
    height: 500px;
    bottom: -20%;
    left: 30%;
    animation-delay: -10s;
}

/* 浮动粒子效果增强 */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 15s infinite;
}

/* 增加更多粒子，并设置不同大小 */
.particle:nth-child(1) { width: 8px; height: 8px; top: 20%; left: 20%; animation-duration: 20s; }
.particle:nth-child(2) { width: 12px; height: 12px; top: 40%; left: 40%; animation-duration: 25s; }
.particle:nth-child(3) { width: 6px; height: 6px; top: 60%; left: 60%; animation-duration: 18s; }
.particle:nth-child(4) { width: 10px; height: 10px; top: 25%; left: 80%; animation-duration: 22s; }
.particle:nth-child(5) { width: 15px; height: 15px; top: 75%; left: 30%; animation-duration: 24s; }
.particle:nth-child(6) { width: 7px; height: 7px; top: 85%; left: 70%; animation-duration: 21s; }
.particle:nth-child(7) { width: 9px; height: 9px; top: 15%; left: 50%; animation-duration: 19s; }
.particle:nth-child(8) { width: 11px; height: 11px; top: 45%; left: 85%; animation-duration: 23s; }

/* 动态网格背景 */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: gridMove 30s linear infinite;
    z-index: 1;
}

/* 动画定义 */
@keyframes pulseAndMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(50px, 30px) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
}

@keyframes particleFloat {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(200px, -200px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

/* 优化内容区域 */
.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* 4. 功能特点区域优化 */
.features-section {
    margin-top: -60px;  /* 与顶部区域重叠 */
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

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

.feature-card {
    background: white;
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

/* 5. 音色展示区域优化 */
.voices-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.voice-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

/* 6. 应用场景区域优化 */
.scenarios-section {
    padding: 80px 0;
    background: #ffffff;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.scenario-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

/* 7. 通用样式优化 */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a73e8;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #1a73e8;
    border-radius: 3px;
}

/* 8. 响应式优化 */
@media (max-width: 1200px) {
    .features-grid, .voices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-grid, .voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenarios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        margin: 0 20px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid, .voices-grid, .scenarios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 通用容器 */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 标题样式优化 */
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

/* 副标题优化 */
.hero-content .subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

/* 按钮容器样式优化 */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center; /* 默认就居中对齐 */
    margin-top: 40px;
}

.hero-btn {
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 按钮基础样式优化 */
.primary-btn, .secondary-btn {
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary-btn {
    background: white;
    color: #1976D2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* 背景动效优化 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
}

/* 波浪效果优化 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;  /* 调整位置以消除缝隙 */
    left: 0;
    width: 100%;
    height: 80px;  /* 减小波浪高度 */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,160L48,165.3C96,171,192,181,288,181.3C384,181,480,171,576,165.3C672,160,768,160,864,165.3C960,171,1056,181,1152,181.3C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column; /* 在移动端改为垂直排列 */
        align-items: center; /* 确保按钮居中 */
        gap: 15px; /* 调整按钮之间的间距 */
        padding: 0 20px; /* 添加两侧内边距 */
    }

    .hero-btn {
        width: 100%; /* 让按钮占满容器宽度 */
        max-width: 280px; /* 限制最大宽度 */
        padding: 12px 24px; /* 调整内边距 */
        font-size: 1rem; /* 稍微减小字体大小 */
    }
}

/* 超小屏幕适配 */
@media screen and (max-width: 375px) {
    .hero-buttons {
        padding: 0 15px;
    }

    .hero-btn {
        max-width: 240px;
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* 功能特点区域优化 */
.features-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* 功能特点区域布局 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;  /* 强制使用4列 */
    gap: 20px;
    padding: 15px;
    margin: 0 auto;
    max-width: 1200px;  /* 限制最大宽度 */
}

/* 功能卡片样式调整 */
.feature-card {
    background: white;
    padding: 25px 15px;  /* 减小左右内边距 */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 50px;  /* 进一步缩小图标 */
    height: 50px;
    margin: 0 auto 15px;
    padding: 12px;
    background: #f0f7ff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #1a73e8;
}

.feature-card:hover .feature-icon svg {
    fill: white;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1a73e8;
}

.feature-card p {
    font-size: 14px;
    margin: 0;
    color: #666;
}

/* 在线体验区域优化 */
.try-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
}

.tts-demo {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* 使用场景区域优化 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 15px;
}

.scenario-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* 应用场景图片样式优化 */
.scenario-card img {
    width: 100%;
    height: 180px;  /* 调整为更合适的高度 */
    object-fit: cover;
    transition: all 0.4s ease;
}

/* 响应式调整 */
@media (min-width: 768px) {
    .scenario-card img {
        height: 220px;  /* 大屏幕使用原来的高度 */
    }
}

@media (max-width: 576px) {
    .scenario-card img {
        height: 160px;  /* 手机屏幕使用更小的高度 */
    }
}

.scenario-card h3, .scenario-card p {
    padding: 20px;
    margin: 0;
}

/* 动画关键帧 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .scenarios-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* 添加滚动显示动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 音色展示区域 */
.voices-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f0fe 100%);
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 15px;
}

.voice-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.voice-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.voice-card:nth-child(2) { animation-delay: 0.2s; }
.voice-card:nth-child(3) { animation-delay: 0.3s; }
.voice-card:nth-child(4) { animation-delay: 0.4s; }

/* 音色标签 */
.voice-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.voice-tag.ai {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
}

.voice-tag.emotion {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
}

.voice-tag.dialect {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.voice-tag.child {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* 头像样式 */
.voice-card .voice-avatar {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e8f0fe;
    transition: all 0.3s ease;
    /* 添加默认背景图样式 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 添加男声和女声的背景图样式 */
.voice-card[data-gender="male"] .voice-avatar {
    background-image: url('../images/male-avatar.png');
}

.voice-card[data-gender="female"] .voice-avatar {
    background-image: url('../images/female-avatar.png');
}

/* 移除原有的img标签样式 */
.voice-avatar img {
    display: none;
}

/* 音色名称 */
.voice-name {
    font-size: 18px;
    font-weight: 600;
    color: #1a73e8;
    margin: 0 0 8px;
}

/* 音色描述 */
.voice-desc {
    font-size: 14px;
    color: #666;
    margin: 0 0 15px;
}

/* 标签样式 */
.voice-labels {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.voice-labels .label {
    padding: 4px 12px;
    background: #f0f7ff;
    color: #1a73e8;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .voices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .voices-grid {
        grid-template-columns: 1fr;
    }
    
    .voice-card {
        padding: 20px;
    }
    
    .voice-avatar {
        width: 80px;
        height: 80px;
    }
}

/* 修改体验按钮样式 */
.experience-button-container {
    text-align: center;
    margin-top: 30px;
    width: 100%; /* 确保容器占满宽度 */
    padding: 0 20px; /* 添加左右内边距 */
}

.experience-button {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* 确保内容居中 */
    padding: 12px 30px;
    background: #1a73e8;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 160px; /* 设置最小宽度 */
}

.experience-button:hover {
    background: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.2); /* 添加悬停时的阴影效果 */
}

/* 添加箭头样式 */
.experience-button::after {
    content: ">>>";
    margin-left: 8px;
    font-size: 14px;
}

/* 确保音色卡片支持定位 */
.voice-card {
    position: relative;
}

/* 修改播放按钮样式 */
.voice-avatar-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
}

.voice-avatar:hover .voice-avatar-play {
    opacity: 1;
}

.voice-avatar-play:hover {
    background: rgba(0, 0, 0, 0.7);
}

.voice-avatar-play svg {
    width: 40px;
    height: 40px;
    fill: white;
    opacity: 0.9;
}

/* 播放状态图标 */
.voice-avatar-play .play-icon {
    display: block;
}

.voice-avatar-play .pause-icon {
    display: none;
}

.voice-avatar-play.playing .play-icon {
    display: none;
}

.voice-avatar-play.playing .pause-icon {
    display: block;
}

/* 修改大模型音色标签样式 */
.voice-tag.big {
    background: linear-gradient(135deg, #FFD700, #FFA500);  /* 金色渐变 */
    color: white;
    font-size: 14px;  /* 调大字体 */
    font-weight: bold;  /* 加粗 */
    padding: 6px 12px;  /* 增加内边距 */
    border-radius: 15px;  /* 圆角 */
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);  /* 添加金色阴影 */
    text-transform: uppercase;  /* 大写 */
    letter-spacing: 0.5px;  /* 字间距 */
    border: 1px solid rgba(255, 215, 0, 0.5);  /* 添加金色边框 */
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

/* 悬停效果 */
.voice-tag.big:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* 响应式布局调整 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 添加音波动画效果 */
.wave-animation {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 200px;
    height: 200px;
    z-index: 2;
}

.wave {
    position: absolute;
    width: 6px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    animation: wave-animation 1s infinite ease-in-out;
}

/* 创建多个音波条 */
.wave:nth-child(1) { left: 0; animation-delay: 0s; }
.wave:nth-child(2) { left: 12px; animation-delay: 0.1s; height: 25px; }
.wave:nth-child(3) { left: 24px; animation-delay: 0.2s; height: 30px; }
.wave:nth-child(4) { left: 36px; animation-delay: 0.3s; height: 35px; }
.wave:nth-child(5) { left: 48px; animation-delay: 0.4s; height: 30px; }
.wave:nth-child(6) { left: 60px; animation-delay: 0.5s; height: 25px; }
.wave:nth-child(7) { left: 72px; animation-delay: 0.6s; }

/* 音波动画 */
@keyframes wave-animation {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.5;
    }
    50% {
        transform: scaleY(1.5);
        opacity: 0.8;
    }
}

/* 添加模糊发光效果 */
.wave::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    filter: blur(4px);
    opacity: 0.5;
}

/* 圆形声波动画效果 */
.circle-wave {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 2;
}

.circle-wave span {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: circleWave 4s linear infinite;
}

/* 创建多个圆形波浪 */
.circle-wave span:nth-child(1) {
    animation-delay: 0s;
}

.circle-wave span:nth-child(2) {
    animation-delay: -1s;
}

.circle-wave span:nth-child(3) {
    animation-delay: -2s;
}

.circle-wave span:nth-child(4) {
    animation-delay: -3s;
}

/* 圆形波浪动画 */
@keyframes circleWave {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 添加更多动态元素 */
.dynamic-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

/* 雪花效果 */
.snowflake {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.8);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: snowfall 10s linear infinite;
}

/* 星星效果 */
.star {
    position: absolute;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.7);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 8s ease-in-out infinite;
}

/* 圆环效果 */
.ring {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: expandRing 15s linear infinite;
}

/* 更新动态元素位置 */
.snowflake:nth-child(1) { right: 15%; top: 25%; animation-delay: -2s; }
.snowflake:nth-child(2) { right: 35%; top: 45%; animation-delay: -5s; }
.snowflake:nth-child(3) { right: 55%; top: 15%; animation-delay: -8s; }
.snowflake:nth-child(4) { right: 75%; top: 35%; animation-delay: -11s; }

.star:nth-child(5) { left: 25%; top: 15%; animation-delay: -1s; }
.star:nth-child(6) { left: 45%; top: 55%; animation-delay: -4s; }
.star:nth-child(7) { right: 25%; top: 25%; animation-delay: -7s; }
.star:nth-child(8) { right: 45%; top: 65%; animation-delay: -10s; }

.ring:nth-child(9) { left: 20%; top: 40%; animation-delay: -2s; }
.ring:nth-child(10) { left: 60%; top: 20%; animation-delay: -5s; }
.ring:nth-child(11) { right: 30%; top: 50%; animation-delay: -8s; }
.ring:nth-child(12) { right: 70%; top: 30%; animation-delay: -11s; }

/* 动画定义 */
@keyframes snowfall {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.8;
    }
    100% {
        transform: translate(50px, 200px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes twinkle {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0;
    }
    25% {
        transform: scale(1.5) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: scale(1.5) rotate(270deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0;
    }
}

@keyframes expandRing {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    80% {
        opacity: 0.3;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* 左上角声波动画优化 */
.center-wave {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 400px;
    height: 180px;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    transform: scale(0.8);
}

/* 声波条样式优化 */
.wave-bar {
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.5) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    border-radius: 6px;
    transform-origin: center;
    animation: centerWave 1s ease-in-out infinite;
    position: relative;
}

/* 创建更多声波条 */
.wave-bar:nth-child(1) { height: 30%; animation-delay: -0.8s; }
.wave-bar:nth-child(2) { height: 50%; animation-delay: -0.7s; }
.wave-bar:nth-child(3) { height: 70%; animation-delay: -0.6s; }
.wave-bar:nth-child(4) { height: 90%; animation-delay: -0.5s; }
.wave-bar:nth-child(5) { height: 100%; animation-delay: -0.4s; }
.wave-bar:nth-child(6) { height: 85%; animation-delay: -0.3s; }
.wave-bar:nth-child(7) { height: 65%; animation-delay: -0.2s; }
.wave-bar:nth-child(8) { height: 45%; animation-delay: -0.1s; }
.wave-bar:nth-child(9) { height: 25%; animation-delay: 0s; }
.wave-bar:nth-child(10) { height: 35%; animation-delay: -0.9s; }
.wave-bar:nth-child(11) { height: 55%; animation-delay: -0.8s; }
.wave-bar:nth-child(12) { height: 75%; animation-delay: -0.7s; }

/* 发光效果 */
.wave-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(4px);
    opacity: 0.5;
}

/* 背景光晕效果优化 */
.wave-glow {
    position: absolute;
    top: 120px;
    left: 230px;
    width: 500px;
    height: 250px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        transparent 70%
    );
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

/* 声波动画优化 */
@keyframes centerWave {
    0% {
        transform: scaleY(0.2);
        opacity: 0.3;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0.2);
        opacity: 0.3;
    }
}

/* 光晕动画优化 */
@keyframes glowPulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1) translate(-10px, -5px);
        opacity: 0.5;
    }
} 