* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #fff;
    min-height: 100vh;
    background-attachment: fixed;
    padding-top: 70px;
    transition: 0.5s;
    /* 为顶部导航栏腾出空间 */
}


.wheel-btn-container {
    position: fixed;
    bottom: 80px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.main-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-btn.active {
    transform: rotate(360deg);
    background: linear-gradient(135deg, #0d47a1, #1976d2);
}

.main-btn span {
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.main-btn.active span {
    opacity: 0;
}

.main-btn::after {
    content: "收起";
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.main-btn.active::after {
    opacity: 1;
}

.sub-buttons {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: transparent;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.main-btn.active~.sub-buttons {
    opacity: 1;
    pointer-events: auto;
}

.sub-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #424242, #212121);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.1);
    transform: scale(0) translate(-50%, -50%);
    transform-origin: center;
    left: 50%;
    top: 50%;
    font-size: 12px;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.main-btn.active~.sub-buttons .sub-btn {
    transform: scale(1) translate(-50%, -50%);
}

.sub-btn-icon {
    font-size: 18px;
    margin-bottom: 3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sub-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ffa000);
    transform: scale(1.1) translate(-50%, -50%);
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(255, 179, 0, 0.2),
        0 10px 25px rgba(255, 160, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

/* 顶部导航栏 */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
    margin-right: 15px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(120deg, #f6d365, #fda085);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
}

.nav-link {
    position: relative;
    padding: 0 25px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-lyrics {
    position: relative;
    padding: 0 25px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 3px;
}

.link-text {
    font-size: 16px;
}

.link-lyrics {
    font-size: 16px;
}

.link-label {
    margin-top: 4px;
    font-size: 12px;
    opacity: 0.8;
}

.nav-link.active .link-label {
    opacity: 1;
    font-weight: 600;
}

/* 页面内容区域 */
.page {
    display: none;
    padding: 30px;
    animation: fadeIn 0.5s ease;
}

.page.active {
    display: block;
}

/* 首页内容 */
.home-content {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section {
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-header {
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.developer-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.developer-intro,
.app-features,
.app-log,
.app-images {
    flex: 1;
    min-width: 400px;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-images {
    display: column;
    padding-bottom: 150px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.app-images-parent {
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: "✦";
    margin-right: 10px;
    color: #3498db;
}

.developer-points {
    line-height: 1.8;
    padding: 0 20px;
}

.developer-points li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.developer-points li::before {
    content: "♫";
    position: absolute;
    left: 0;
    top: 0;
    color: #2ecc71;
}

.qr-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    align-items: center;
}

/* 音乐列表页 */
.music-list-page {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(20, 25, 50, 0.5);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-size: 26px;
    display: flex;
    align-items: center;
}

.page-title::before {
    content: "♬";
    margin-right: 15px;
    font-size: 32px;
    color: #3498db;
}

.search-box {
    display: flex;
    width: 200px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    /* 关键属性 - 文字颜色为白色 */
    font-size: 14px;
    width: 100%;
    padding: 0 5px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    /* 半透明白色占位符 */
}

/* 聚焦时的效果 */
.search-box.focused {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.random-btn {
    border: none;
    height: 40px;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.random-btn:hover {
    transform: translateY(-3px);
}


.random-next1 {
    font-size: 16px;
}

.music-table {
    width: 100%;
    border-radius: 12px;
    table-layout: fixed;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-collapse: collapse;
}

.music-table th {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: left;
}

.music-table td {
    padding: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.music-table td:not(:last-child) {
    overflow: hidden;
}

.music-table tr:hover {
    background-color: var(--hover-bg);
}

.table-header {
    display: grid;
    grid-template-columns: 50px 2fr 1.5fr 1fr 70px 140px;
    background: rgba(0, 10, 30, 0.7);
    padding: 18px 20px;
    font-weight: 600;
    color: #3498db;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-row {
    display: grid;
    grid-template-columns: 50px 2fr 1.5fr 1fr 70px 140px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.table-row:hover {
    background: rgba(0, 50, 80, 0.3);
}

.row-id {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.music-info {
    display: flex;
    align-items: center;
}

.music-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
}

.music-title {
    font-weight: 500;
}

.music-artist,
.music-album {
    color: rgba(255, 255, 255, 0.8);
}

.music-duration {
    color: rgba(255, 255, 255, 0.7);
}

.action-buttons {
    display: flex;
    gap: 10px;
}


.action-btn {
    padding: 4px 8px;
    margin: 0 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    font-size: 0.9em;
}

.play-btn {
    background-color: #3498db;
    color: white;
    width: 50px;
}

.play-btn:hover {
    background-color: #2980b9;
}

.play-btn.playing {
    background-color: #e74c3c;
}

.play-btn.playing .icon::before {
    content: "❚❚";
}

.download-container {
    position: relative;
    display: inline-block;
}

.download-btn {
    background-color: #2ecc71;
    color: white;
    width: 50px;

}

.download-btn:hover {
    background-color: #27ae60;
}

.download-container:hover .download-options {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.download-options {
    position: absolute;
    bottom: 100%;
    left: 50%;
    background-color: #2ecc71;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 3000;
    margin-bottom: 10px;
    min-width: 120px;
}

.option-btn {
    padding: 8px 12px;
    background-color: #2ecc71;
    color: white;
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.option-btn:hover {
    background-color: #27ae60;
}

.dashboard {
    width: 85%;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

.page-btn {
    padding: 8px 20px;
    background: rgba(20, 25, 50, 0.5);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover {
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    padding: 8px 25px;
    background: rgba(20, 25, 50, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    transition: all 0.3s;
}

.duration {
    font-family: 'Courier New', monospace;
    color: #ffffff;
}

.serial-number {
    width: 6%;
    text-align: center;

}

th.serial-number {
    text-align: center;
}

.title-column {
    width: 30%;
    max-width: 500px;

}

.artist-column {
    width: 30%;
    max-width: 500px;
}

.album-column {
    width: 16%;
    max-width: 500px;
}

.duration-column {
    width: 6%;
}

.action-column {
    width: 12%;
    text-align: center;
}


th.action-column {
    cursor: default;
    position: relative;
    text-align: center;
}

th.action-column:hover::before {
    content: "点击下载可以同时下载歌曲和歌词";
    position: absolute;
    bottom: 100%;
    /* 显示在表头上方 */
    left: 50%;
    transform: translateX(-50%);
    /* 水平居中 */
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;

    /* 箭头样式 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.fankui-two-ex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.top-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    max-width: 600px;
    justify-content: center;
    align-items: center;
}

.qr-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.qr-image-container:hover {
    transform: translateY(-5px);
}

.qr-image {
    width: 160px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.links-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-link,
.qr-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


.admin-link::before,
.qr-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    z-index: -1;
    transition: transform 0.5s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.admin-link::before {
    background: linear-gradient(45deg, #db7ebe, #f8c3dc);
}


.admin-link:hover::before,
.qr-title:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}


.admin-link:hover,
.qr-title:hover {
    transform: translateY(-5px);
}

.social-buttons-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    border-radius: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-btn img {
    width: 70%;
    height: auto;
}


.social-btn:hover+.hover-preview {
    opacity: 1;
}

/* 悬浮预览区域 */
.hover-preview {
    position: absolute;
    left: 50%;
    bottom: 100%;
    /* 预览图在按钮上方 */
    transform: translateX(-50%);
    /* 精确垂直居中 */
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.3s;

}

.hover-preview img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
}

.parent {
    margin-top: 20px;
}

.footer {
    text-align: center;
    padding-top: 40px;
    font-size: 16px;
    padding-bottom: 3px;
    color: rgba(52, 152, 219, 0.8);
}

.run-time {
    text-align: center;
    padding-bottom: 3px;
    font-size: 14px;
}

.runtime_span {
    color: rgba(52, 152, 219, 0.8);
}

/* 备案信息 */
.icp-container {
    text-align: center;
    padding: 3px 0;
    font-size: 14px;
    color: rgba(52, 152, 219, 0.8);
    margin-bottom: 80px;
}

.icp-container a {
    color: rgba(52, 152, 219, 0.8);
    text-decoration: none;
}

.icp-container a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media (max-width: 1200px) {
.developer-section {
        flex-direction: column;
    }
}
/* 响应式设计 */
@media (max-width: 1000px) {
    .top-nav {
        padding: 0 15px;
    }

    .nav-link {
        padding: 0 15px;
        font-size: 14px;
    }

    .page {
        padding: 15px;
    }

    .developer-intro,
    .app-features {
        min-width: 100%;
    }

    .table-header,
    .table-row {
        grid-template-columns: 30px 2fr 1fr 1fr auto auto;
        padding: 10px 15px;
        font-size: 14px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .serial-number {
        width: 9%;
        text-align: center;
    }

    .title-column {
        width: 23%;
        max-width: 500px;
    }

    .artist-column {
        width: 23%;
        max-width: 500px;
    }

    .album-column {
        width: 15%;
        max-width: 500px;
    }

    .duration-column {
        width: 10%;
        min-width: 80px;
    }

    .action-column {
        width: 20%;
        text-align: center;
    }

    .search-box {
        width: 200px;
    }

    .lyrics-container {
        width: 50%;
    }
}

#player-status {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 28, 70, 0.9);
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    max-width: 80%;
    animation: fadeIn 0.3s ease;
    display: none;
}

#player-status.show {
    display: block;
}

#player-status.error {
    background: rgba(231, 76, 60, 0.9);
    color: white;
}

.lyrics-container {
    width: 60%;
    height: 60px;
    top: 5px;
    /* 使用固定定位 */
    position: fixed;
    left: 50%;
    /* 水平居中 */
    transform: translateX(-50%);
    /* 配合left实现居中 */
    padding: 15px;
    overflow: hidden;
    justify-content: center;
    scroll-behavior: smooth;
    line-height: 2;
    text-align: center;
    pointer-events: none;
    z-index: 1001;
    /* 确保这个值大于导航栏的z-index */
    transition:
        transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        width 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        top 1s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        border-radius 1s ease,
        padding 1s ease;
}

.lyrics-container.fullscreen {
    position: fixed;
    width: 80%;
    height: 90%;
    top: 80px;
    margin: 0 auto;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2000;
    /* 置于最顶层 */
    font-size: 24px;
    /* 放大字体 */
    line-height: 2;
    /* 增加内边距 */
    display: flex;
}

.lyrics-content {
    white-space: pre-wrap;
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.2;
    font-size: 0.9em;
}

.lyric-line {
    padding: 7px 0;
    transition: all 0.3s;
    opacity: 0.6;
}

.lyric-line.active {
    color: #3498db;
    font-weight: bold;
    transform: scale(1.2);
    opacity: 1;
}

.loading {
    text-align: center;
    color: #666;
}

.easy-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}

.theme-button {
    position: relative;
    margin-left: 15px;
    /* 调整间距 */
    transform: translateY(-50%);
    width: 80px;
}

.timeline {
    position: relative;
    padding: 40px 0;
}

/* 中央竖线 */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    left: 50%;
    margin-left: -1px;
    z-index: 0;
}

/* 时间线项 */
.entry {
    position: relative;
    display: flex;
    align-items: flex-start;
    z-index: 1;
    transition: all 0.4s ease;
    perspective: 1000px;
}

/* 奇数项（左） */
.entry:nth-child(odd) {
    justify-content: flex-start;
}

/* 偶数项（右） */
.entry:nth-child(even) {
    justify-content: flex-end;
}

/* 内容容器 */
.content-wrapper {
    width: 45%;
    position: relative;
    padding: 30px;
}


/* 年份样式 */
.year {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.entry:nth-child(odd) .year {
    text-align: right;
    padding-right: 25px;
}

.entry:nth-child(even) .year {
    padding-left: 25px;
}

/* 内容样式 */
.text {
    backdrop-filter: blur(3px);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.text:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.text p {
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 15px;
}

.text p:last-child {
    margin-bottom: 0;
}

/* 圆圈位置 */
.circle-container {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* 圆圈样式 */
.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.entry:hover .circle {
    transform: scale(1.3);
}

/* 连接线 */
.circle::before {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.entry:nth-child(odd) .circle::before {
    left: -85px;
}

.entry:nth-child(even) .circle::before {
    right: -85px;
}

.container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 500px;
    padding: 20px;
    box-sizing: border-box;
}

/* 卡片容器：用 flex 布局让卡片水平排列，超出部分隐藏 */
.card-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 单个卡片样式：设置宽度、过渡动画，让切换更丝滑 */
.card {
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: var(--card-width);
    height: var(--card-height);
    margin: 0;
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* 卡片层级和样式配置 */
.card.active {
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 5;
    opacity: 1;
}

.card.prev-1 {
    left: 30%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 4;
    opacity: 0.8;
}

.card.next-1 {
    left: 70%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 4;
    opacity: 0.8;
}

.card.prev-2 {
    left: 20%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 3;
    opacity: 0.6;
}

.card.next-2 {
    left: 80%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 3;
    opacity: 0.6;
}

.card.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 卡片图片样式：覆盖整个卡片 */
.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

/* 鼠标悬停效果：仅应用于当前激活的卡片 */
.card.active:hover img {
    transform: scale(1.1);
}

/* 左右箭头样式：固定位置、圆形、半透明背景 */
.arrow-one {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    padding-right: 4px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: background-color 0.2s ease;
}

.arrow-two {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    padding-left: 4px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: background-color 0.2s ease;
}

/* 箭头 hover 效果：加深背景 */
.arrow:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* 左箭头位置 */
.arrow-left {
    left: 20px;
}

/* 右箭头位置 */
.arrow-right {
    right: 20px;
}

/* 底部文字标签样式 */
.text-label {
    position: absolute;
    font-family: 'Microsoft YaHei', sans-serif;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 16px;
    z-index: 10;
}

:root {
    --card-width: 270px;
    /* 卡片宽度 */
    --card-height: 603px;
    /* 卡片高度 */
}


.player-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1000px;
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.player-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.playback-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}



.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    padding-bottom: 6px;
    cursor: pointer;
    border-radius: 50%;
    text-align: center;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.play-control-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1db954, #1ed760);
    border: none;
    color: #fff;
    font-size: 24px;
    padding-bottom: 3px;
    cursor: pointer;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.play-control-btn:hover {
    background: linear-gradient(135deg, #1ed760, #2efd72);
}

.info-progress-container {
    display: flex;
    flex-direction: column;
    width: 70%;
    max-width: 700px;
}

.song-info {
    margin-bottom: 15px;
    text-align: center;
}

#currentSongTitle {
    font-weight: bold;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

#currentSongArtist {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
}

.progress-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-display {
    font-size: 14px;
    min-width: 45px;
    text-align: center;
}

.progress-container {
    position: relative;
    flex-grow: 1;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: transparent;
    position: relative;
    z-index: 2;
    cursor: pointer;
    border-radius: 4px;
}

.collapse-btn {
    position: absolute;
    top: 0px;
    right: 10px;
    background: transparent;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.collapse-btn:hover {
    transform: scale(1.3);
}

.player-controls.collapsed {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.expand-btn {
    position: fixed;
    bottom: -60px;
    /* 初始在屏幕底部外 */
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 40px;
    background: linear-gradient(135deg, #1db954, #1ed760);
    color: white;
    border: none;
    font-size: 3rem;
    padding-bottom: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 -5px 20px rgba(29, 185, 84, 0.5);
    transform-origin: bottom center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    pointer-events: auto;
}

.expand-btn.visible {
    bottom: 0px;
    /* 显示在屏幕底部 */
}



/* 默认亮色主题变量 */
:root,
:root.light-theme {
    --bg-gradient: linear-gradient(135deg, #ffffff, #B4B9CF);
    --nav-bg: linear-gradient(to bottom, #BBBFD3, #DEE0E7);
    --placeholder--color: rgba(40, 40, 40, 0.6);
    --card-bg: rgba(230, 235, 255, 0.5);
    --container-bg: rgba(230, 235, 255, 0.7);
    --text-color: rgba(0, 0, 0, 0.8);
    --title-color: black;
    --link-color: black;
    --search-border: rgba(0, 0, 0, 0.2);
    --search-border2: rgba(0, 0, 0, 0.4);
    --circle-bg: #000;
    --box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.3);
    --box-shadow2: 0 0 0 6px rgba(0, 0, 0, 0.4);
    --download-bg: rgb(250, 250, 255, 0.9);
    --line-color: 1px solid #111;
    --border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* 暗色主题变量 */
:root.dark-theme {
    --bg-gradient: linear-gradient(135deg, #1a2a6c, #2c3e50);
    --nav-bg: linear-gradient(to bottom, #0d1237, #2a3a76);
    --placeholder--color: rgba(255, 255, 255, 0.6);
    --card-bg: rgba(20, 25, 50, 0.5);
    --container-bg: rgba(20, 25, 50, 0.7);
    --text-color: rgba(255, 255, 255, 0.8);
    --title-color: white;
    --link-color: white;
    --search-border: rgba(255, 255, 255, 0.2);
    --search-border2: rgba(255, 255, 255, 0.4);
    --circle-bg: #fff;
    --box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
    --box-shadow2: 0 0 0 6px rgba(255, 255, 255, 0.4);
    --download-bg: rgb(25, 25, 60, 0.9);
    --line-color: 1px solid #eee;
    --border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* 应用变量 */
body {
    background: var(--bg-gradient);
}

.music-table td {
    border-top: var(--line-color);
}

.footer {
    border-top: var(--border-top);
}

.section-title {
    border-bottom: var(--line-color);
}

.text:hover {
    border-color: var(--title-color);
}

.top-nav {
    background: var(--nav-bg);
}

.search-box {
    border-color: var(--search-border);
}

.search-box.focused {
    border-color: var(--search-border2);
}

.circle {
    box-shadow: var(--box-shadow);
}

.entry:hover .circle {
    box-shadow: var(--box-shadow2);
}

.circle,
.circle::before,
.timeline::before {
    background: var(--circle-bg);
}

.welcome-section,
.developer-intro,
.music-table,
.app-features,
.app-log,
.app-images,
.page-header,
.page-btn,
.page-info,
#player-status,
.lyrics-container.fullscreen,
.player-controls {
    background: var(--card-bg);
}

.download-options,
th.action-column:hover::before {
    background: var(--download-bg);
}

.qr-container,
.random-btn,
.text,
.text-label {
    background: var(--container-bg);
}

.easy-text {
    color: var(--text-color);
}

.search-box input::placeholder {
    color: var(--placehoider-color);
}

.section-title,
.developer-points,
.qr-title,
.music-table th,
.search-box,
.search-box input,
.page-title,
.serial-number,
.title,
.artist,
.album,
.duration,
.page-info,
.page-btn,
.lyric-line,
.link-label,
.link-text,
.link-lyrics,
#player-status,
#player-status.error,
.random-btn,
.text p,
.year,
.text-label,
th.action-column:hover::before,
#currentSongTitle,
#currentSongArtist,
.time-display,
.collapse-btn,
.control-btn {
    color: var(--title-color);
}

.admin-link,
.download-link {
    color: var(--link-color);
}