* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    height: 100vh;
    overflow: hidden;
    color: #fff;
}

/* 背景图片样式 */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: saturate(1.05); /*1.5表示增加50%的饱和度 */
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 调整图片饱和度和对比度 */
    /* filter: saturate(1.1) contrast(1.1) brightness(0.95); */
}

/* 背景遮罩层 - 强制显示在最上层 */
.overlay {
    position: absolute;
    /* 固定在视口中间偏右位置 */
    top: 45%; 
    left: 95%;
    transform: translate(-50%, -50%);
    
    /* 适中的尺寸 */
    width: 80%;
    height: 18%;
    
    /* 添加渐变背景实现边缘模糊效果 */
    background: radial-gradient(
        ellipse at center,
        rgba(107, 103, 103, 0.5) 30%,  /* 中心区域较不透明 */
        rgba(107, 103, 103, 0.4) 50%,  /* 过渡区域 */
        rgba(107, 103, 103, 0.2) 80%,  /* 边缘开始变透明 */
        rgba(107, 103, 103, 0) 100%    /* 完全透明的边缘 */
    );
    
    /* 添加圆角效果 */
    border-radius: 30px;
    
    /* 添加模糊效果 */
    backdrop-filter: blur(5px);
    
    /* 提高z-index确保在最上层 */
    z-index: 9999 !important;
    
    /* 添加明显的内容标识 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

/* 添加一个伪元素标记，确保能看到 */
.overlay::before {
    /* content: "遮罩层位置"; */
    display: block;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    z-index: 100;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

/* 主要内容区域 - 控制整体位置 */
.main-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 3rem;  /* 减小右侧padding，让内容更靠右 */
}

/* 文字容器 - 控制文字块位置 */
.hero-text {
    max-width: 700px;  /* 减小最大宽度 */
    text-align: right;
    margin-top: -100px;
    margin-right: 1rem;  /* 微调右侧间距 */
}

/* 主要文字样式 - 调整字间距 */
.hero-text h1 {
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    position: relative;
    white-space: nowrap;
    /* 调整文字颜色，使用略微灰色的白色 */
    color: white;
    letter-spacing: 0.12em;
    /* 优化文字阴影，减少发光效果 */
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    /* 添加文字描边，增加立体感但不刺眼 */
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.1);
}

/* 创建动态下划线 */
.hero-text h1::after {
    content: '';
    position: absolute;
    right: 180px;  /* 从右侧定位，避开"自由"两字 */
    bottom: -5px;
    width: 250px;  /* 调整长度以适应"像风一样"的宽度 */
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.8) 20%,
        rgba(255, 255, 255, 0.8) 80%,
        transparent
    );
    /* 添加发光效果 */
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
    animation: lineShine 2s ease-in-out infinite;
}

/* 下划线动画 */
@keyframes lineShine {
    0% {
        opacity: 0.5;
        transform: scaleX(0.95);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.5;
        transform: scaleX(0.95);
    }
}

/* 在深色背景上文字的特殊处理 */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .hero-text h1 {
        /* 添加微弱的背景模糊，让文字更柔和 */
        backdrop-filter: blur(0.5px);
        -webkit-backdrop-filter: blur(0.5px);
    }
}

/* "自由"整体样式 */
.hero-text .highlight {
    font-family: "楷体", KaiTi, serif;
    font-weight: 900;
    color: #9333ea; /* 调整为更深的紫色 */
    opacity: 0.95;
    display: inline-flex;
    gap: 0.15em; /* 微调两字间距 */
    padding-left: 15px;
    /* 添加文字描边效果 */
    -webkit-text-stroke: 1px rgba(8, 8, 8, 0.011);
}

/* "自"字样式和动画 */
.hero-text .zi-self {
    font-size: 4.6rem;
    display: inline-block;
    /* 优化文字阴影效果 */
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(147, 51, 234, 0.5),
        0 0 30px rgba(147, 51, 234, 0.3);
    /* 第一个字的动画组合 */
    animation: 
        wavingSelf 3s ease-in-out infinite,
        floatingSelf 4s ease-in-out infinite;
    transform-origin: center;
}

/* "由"字样式和动画 */
.hero-text .zi-free {
    font-size: 4.6rem;
    display: inline-block;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(147, 51, 234, 0.5),
        0 0 30px rgba(147, 51, 234, 0.3);
    /* 第二个字的动画组合，延迟启动造成追随效果 */
    animation: 
        wavingFree 3s ease-in-out infinite,
        floatingFree 4s ease-in-out infinite 0.5s; /* 延迟0.5s */
    transform-origin: center;
}

/* "自"字的波浪动画 */
@keyframes wavingSelf {
    0% {
        transform: rotate(-5deg) translateY(0) skew(0deg, 0deg);
    }
    25% {
        transform: rotate(-3deg) translateY(-5px) skew(2deg, 0deg);
    }
    50% {
        transform: rotate(-1deg) translateY(0) skew(0deg, 2deg);
    }
    75% {
        transform: rotate(-3deg) translateY(5px) skew(-2deg, 0deg);
    }
    100% {
        transform: rotate(-5deg) translateY(0) skew(0deg, 0deg);
    }
}

/* "由"字的波浪动画 - 稍微不同的运动轨迹 */
@keyframes wavingFree {
    0% {
        transform: rotate(-3deg) translateY(5px) skew(-2deg, 0deg);
    }
    25% {
        transform: rotate(-1deg) translateY(0) skew(0deg, 2deg);
    }
    50% {
        transform: rotate(1deg) translateY(-5px) skew(2deg, 0deg);
    }
    75% {
        transform: rotate(-1deg) translateY(0) skew(0deg, -2deg);
    }
    100% {
        transform: rotate(-3deg) translateY(5px) skew(-2deg, 0deg);
    }
}

/* "自"字的上下浮动 */
@keyframes floatingSelf {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* "由"字的上下浮动 - 幅度稍大 */
@keyframes floatingFree {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    color: #fff;
    background: linear-gradient(135deg, #9333ea, #4f46e5);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    letter-spacing: 0.3em;  /* 增加字体间距 */
}

.cta-button:hover {
    background: rgba(147, 51, 234, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.2);
}

.cta-button i {
    margin-left: 0.3em;  /* 调整图标的位置，以匹配新的字间距 */
}

/* 响应式设计 - 移动端适配 */
@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }

    .main-content {
        padding: 0 2rem;
    }

    .hero-text {
        margin-right: 0.5rem;  /* 移动端减小右侧间距 */
    }

    .hero-text h1 {
        font-size: 2.8rem;
        letter-spacing: 0.1em;
        /* 移动端稍微调整阴影效果 */
        text-shadow: 
            1px 1px 2px rgba(0, 0, 0, 0.3),
            0 0 10px rgba(255, 255, 255, 0.15);
    }
    
    .hero-text .zi-self,
    .hero-text .zi-free {
        font-size: 3.2rem;
    }

    .hero-text h1::after {
        right: 120px;  /* 调整移动端下的位置 */
        width: 120px;  /* 调整移动端的线条长度 */
        bottom: -8px;
        height: 1.5px;
    }

    /* 在移动设备上使用更小的图片和更简单的动画 */
    .background-image {
        object-fit: cover;
        filter: saturate(1) contrast(1); /* 减少滤镜处理 */
    }
    
    /* 减少移动设备上的动画效果 */
    .service-card {
        transition: none;
    }
}

/* 模态框基础样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

/* 模态框背景遮罩 */
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

/* 模态框容器 */
.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    margin: 10vh auto;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal.active .modal-container {
    transform: translateY(0);
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* 服务滑块容器 */
.services-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.services-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

/* 服务卡片样式 */
.service-card {
    flex: 0 0 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

/* 修改图片容器样式 */
.service-image {
    width: 70%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 保持图片比例并填充容器 */
}

/* 优化内容布局 */
.service-content {
    color: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.service-content h3 {
    font-size: 1.8rem;  /* 稍微减小标题大小 */
    margin-bottom: 0;
    line-height: 1.3;
}

.service-details {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.service-details li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

/* 滑动按钮 */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* 滑动指示器 */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
}

/* 联系页面样式 */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-content {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 2rem;
}

/* 左侧内容样式 */
.contact-left {
    flex: 4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 诗歌部分样式 */
.poetry-section {
    flex: 1.5;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.poetry-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #9333ea;
}

/* 诗歌容器样式 */
.poem-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

/* 诗歌图片样式 */
.poem-image {
    flex: 0 0 230px;  /* 固定宽度，不伸缩 */
    height: 230px;    /* 保持正方形 */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.poem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.poem-image:hover img {
    transform: scale(1.05);
}

/* 诗歌文字样式调整 */
.poem {
    flex: 1;
    font-size: 1rem;  /* 调整为和启发语录一样的大小 */
    line-height: 1.8;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    white-space: pre-line;
    color: rgba(255, 255, 255, 0.9);
}

/* 互动部分样式 */
.interaction-section {
    flex: 1;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.question-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #9333ea;
}

.question {
    font-size: 1rem;  /* 调整为和启发语录一样的大小 */
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

/* 选择按钮样式增强 */
.choice-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 2rem;
    perspective: 1000px;  /* 添加3D视角 */
}

.choice-button {
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    color: #fff;
    font-size: 1rem;  /* 调整为和启发语录一样的大小 */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* 按钮悬停效果 */
.choice-button:hover {
    background: rgba(147, 51, 234, 0.3);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 10px 20px rgba(147, 51, 234, 0.2),
        0 0 15px rgba(147, 51, 234, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 按钮点击效果 */
.choice-button:active {
    transform: translateY(2px) scale(0.95);
    background: rgba(147, 51, 234, 0.4);
}

/* 按钮点击后的样式 */
.choice-button.clicked {
    animation: 
        buttonClick 0.5s ease-out forwards,
        fadeOut 0.5s ease-out 0.3s forwards;
    pointer-events: none;
}

/* 添加涟漪效果 */
.choice-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.choice-button.clicked::after {
    animation: ripple 0.6s ease-out;
}

/* 其他按钮在一个按钮被点击后的效果 */
.choice-button.others-clicked {
    animation: fadeOut 0.5s ease-out forwards;
    pointer-events: none;
}

/* 新增动画关键帧 */
@keyframes buttonClick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1) translateY(-10px);
    }
    100% {
        transform: scale(0) translateY(20px);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0) translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: scale(40) translate(-50%, -50%);
        opacity: 0;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* 飞机动画 */
.response-animation {
    text-align: center;
    margin-top: 2rem;
}

.plane-animation {
    font-size: 2rem;
    color: #9333ea;
    opacity: 0;
}

.plane-animation.active {
    animation: flyAway 2s ease-in-out forwards;
}

.response-text {
    margin-top: 1rem;
    font-size: 1rem;  /* 调整为和启发语录一样的大小 */
    opacity: 0;
    transform: translateY(20px);
}

.response-text.active {
    animation: fadeInUp 0.8s ease forwards;
}

/* 下一个按钮 */
.next-button {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.next-button:hover {
    background: rgba(147, 51, 234, 0.3);
    transform: translateY(-2px);
}

.next-button i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.next-button:hover i {
    transform: translateX(5px);
}

/* 右侧内容样式 */
.contact-right {
    flex: 1.5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;  /* 减小内边距 */
    backdrop-filter: blur(10px);
    margin-right: 2rem;  /* 添加右侧边距，避免遮挡关闭按钮 */
    height: 90%;  /* 控制高度 */
    align-self: center;  /* 垂直居中 */
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 180px;     /* 稍微减小二维码尺寸 */
    height: 180px;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.inspiring-quote {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 280px;  /* 减小最大宽度 */
    margin: 0 auto 1.5rem;
    white-space: pre-line;
}

.contact-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;  /* 稍微减小字体 */
    line-height: 1.6;
}

.contact-info .author {
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes flyAway {
    0% {
        opacity: 1;
        transform: translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: translate(100px, -100px);
    }
}

/* 音乐播放器的主容器 */
.music-player {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    /* 调整播放器尺寸 */
    width: 350px;  /* 原来是300px，调大了一些 */
    height: 500px;
    /* 背景样式 */
    background: rgba(255, 255, 255, 0.05);  /* 原来是0.1，降低透明度使虚化不那么明显 */
    backdrop-filter: blur(5px);  /* 原来是10px，减小模糊程度 */
    /* 边框和圆角 */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);  /* 添加细边框增加层次感 */
    /* 内边距 */
    padding: 2rem;  /* 原来是1.5rem，增加内边距 */
    color: #fff;
    z-index: 100;
    /* 添加阴影效果 */
    box-shadow: 0 8px 32px rgba(194, 191, 191, 0.1);
}

/* 播放器内部容器 */
.player-inner {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;  /* 原来是1.5rem，增加间距 */
}

/* 歌曲信息区域 */
.song-info {
    text-align: center;
    margin-bottom: 1.2rem;
}

/* 歌曲标题 */
.song-title {
    font-size: 1.4rem;  /* 原来是1.2rem，调大字号 */
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* 歌手名称 */
.song-artist {
    font-size: 1rem;  /* 原来是0.9rem */
    opacity: 0.8;
}

/* 播放控制按钮区域 */
.player-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;  /* 原来是1rem，增加按钮间距 */
    margin-bottom: 1.2rem;
}

/* 控制按钮样式 */
.control-btn {
    background: rgba(190, 181, 181, 0.15);  /* 原来是0.2，稍微调低透明度 */
    border: none;
    width: 45px;  /* 原来是40px，调大按钮 */
    height: 45px;  /* 原来是40px，调大按钮 */
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 控制按钮悬停效果 */
.control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* 按钮图标 */
.control-btn i {
    font-size: 1.4rem;  /* 原来是1.2rem，调大图标 */
}

/* 进度条区域 */
.progress-area {
    padding: 0 1rem;
}

/* 进度条背景 */
.progress-bar {
    height: 5px;  /* 原来是4px，调大进度条 */
    width: 100%;
    background: rgba(255, 255, 255, 0.15);  /* 原来是0.2，降低透明度 */
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 0.8rem;
}

/* 进度条前景 */
.progress {
    height: 100%;
    width: 0%;
    background: #9333ea;
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* 时间显示 */
.time {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;  /* 原来是0.8rem */
    opacity: 0.8;
}

/* 歌词容器 */
.lyrics-container {
    height: 180px;
    overflow-y: auto;
    padding: 0.8rem;
    text-align: center;
    scroll-behavior: smooth;
    /* 添加滚动条样式 */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* 歌词内容容器 */
.lyrics-content {
    /* 添加足够的内边距使第一行和最后一行歌词也能居中 */
    padding-top: 90px;    /* 容器高度的一半 */
    padding-bottom: 90px; /* 容器高度的一半 */
    font-size: 1rem;
    line-height: 1.8;
}

/* 歌词行 */
.lyrics-line {
    padding: 0.4rem 0;
    opacity: 0.6;
    transition: all 0.3s ease;
    /* 确保文本不会被压缩 */
    white-space: nowrap;
    /* 防止文本溢出 */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 当前播放歌词高亮 */
.lyrics-line.active {
    color: #9333ea;
    opacity: 1;
    transform: scale(1.1);
    font-weight: 600;
}

/* 自定义滚动条样式（Webkit浏览器） */
.lyrics-container::-webkit-scrollbar {
    width: 4px;
}

.lyrics-container::-webkit-scrollbar-track {
    background: transparent;
}

.lyrics-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* 添加脉冲动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.control-btn.pulse-animation {
    animation: pulse 1.5s infinite;
} 