/* ===== CSS 变量 ===== */
:root {
    --primary: #00f5ff;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 35, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glow-primary: 0 0 20px rgba(0, 245, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(255, 0, 255, 0.5);
}

/* ===== 重置与基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
}

/* ===== 自定义鼠标光标 ===== */
.cursor-glow {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary), transparent);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    opacity: 0.8;
    transition: width 0.3s, height 0.3s;
}

.cursor-glow.hover {
    width: 60px;
    height: 60px;
}

/* ===== 背景层 ===== */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}


/* ===== 容器 ===== */
.container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 头部 ===== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    opacity: 0;
    animation: fadeInDown 1s ease forwards;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

/* ===== 首屏区域 ===== */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* 故障效果 */
.glitch {
    position: relative;
    color: var(--text-primary);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--secondary);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--primary);
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.9s forwards;
}

.scroll-indicator span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

/* ===== 导航区域 ===== */
.nav-section {
    padding: 80px 0;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--primary);
    text-shadow: 
        0 0 10px rgba(0, 245, 255, 0.8),
        0 0 20px rgba(0, 245, 255, 0.5),
        0 0 40px rgba(0, 245, 255, 0.3);
    letter-spacing: 8px;
    position: relative;
    padding: 20px 40px;
}

.section-title::before {
    content: '[ ';
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    animation: blink 1.5s infinite;
}

.section-title::after {
    content: ' ]';
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.8);
    animation: blink 1.5s infinite 0.75s;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

.title-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    position: relative;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
    overflow: hidden;
}

.title-line::before {
    content: '';
    position: absolute;
    top: -3px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
    animation: moveDotLeft 2s ease-in-out infinite;
}

.title-line:first-of-type::before {
    left: 0;
    animation-name: moveDotLeft;
}

.title-line:last-of-type::before {
    right: 0;
    left: auto;
    animation-name: moveDotRight;
}

@keyframes moveDotLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(112px); }
}

@keyframes moveDotRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-112px); }
}

/* ===== 卡片容器 ===== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

/* ===== 导航卡片 ===== */
.nav-card {
    position: relative;
    display: block;
    padding: 40px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: none;
}

.nav-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.nav-card:hover::before {
    opacity: 1;
}

.card-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    z-index: -1;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.nav-card:hover .card-glow {
    opacity: 1;
}

.nav-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 245, 255, 0.2);
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.2), rgba(255, 0, 255, 0.2));
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease;
}

.nav-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 245, 255, 0.4), rgba(255, 0, 255, 0.4));
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.nav-card:hover .card-title {
    color: var(--primary);
    text-shadow: var(--glow-primary);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card-arrow {
    position: absolute;
    right: 30px;
    bottom: 40px;
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* 卡片粒子效果 */
.card-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 20px;
    pointer-events: none;
}


/* ===== 分裂卡片效果 ===== */
.split-card {
    cursor: pointer;
}

.split-card .main-content {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.split-cards-container {
    position: absolute;
    inset: 0;
    display: flex;
    gap: 10px;
    padding: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.split-card.expanded .main-content {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.split-card.expanded .split-cards-container {
    opacity: 1;
    pointer-events: auto;
}

.split-sub-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transform: scale(0) rotateY(90deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.split-card.expanded .split-sub-card {
    transform: scale(1) rotateY(0);
    opacity: 1;
}

.split-card.expanded .split-sub-card:first-child {
    transition-delay: 0.1s;
}

.split-card.expanded .split-sub-card:last-child {
    transition-delay: 0.2s;
}

.split-sub-card:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 245, 255, 0.4);
}

.split-sub-card.gitee {
    background: rgba(255, 0, 255, 0.1);
    border-color: rgba(255, 0, 255, 0.3);
    color: var(--secondary);
}

.split-sub-card.gitee:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4);
}

.split-sub-card svg {
    filter: drop-shadow(0 0 8px currentColor);
}


/* ===== 页脚 ===== */
.footer {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.copyright-text {
    color: var(--text-secondary);
}

.copyright-name {
    color: var(--primary);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.slogan-dot {
    color: var(--secondary);
    font-size: 0.5rem;
    margin: 0 6px;
    animation: twinkle 2s ease-in-out infinite;
}

.slogan-text {
    color: var(--text-secondary);
    opacity: 0.8;
    letter-spacing: 1px;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--primary);
    background: rgba(0, 245, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 245, 255, 0.3);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* ===== 动画效果 ===== */
@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 pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(10px) rotate(45deg);
    }
    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

@keyframes glitch-anim-1 {
    0% { clip: rect(30px, 9999px, 10px, 0); }
    10% { clip: rect(70px, 9999px, 30px, 0); }
    20% { clip: rect(20px, 9999px, 90px, 0); }
    30% { clip: rect(50px, 9999px, 60px, 0); }
    40% { clip: rect(10px, 9999px, 40px, 0); }
    50% { clip: rect(80px, 9999px, 20px, 0); }
    60% { clip: rect(40px, 9999px, 70px, 0); }
    70% { clip: rect(60px, 9999px, 50px, 0); }
    80% { clip: rect(25px, 9999px, 85px, 0); }
    90% { clip: rect(55px, 9999px, 35px, 0); }
    100% { clip: rect(15px, 9999px, 75px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 25px, 0); }
    10% { clip: rect(15px, 9999px, 75px, 0); }
    20% { clip: rect(85px, 9999px, 45px, 0); }
    30% { clip: rect(35px, 9999px, 95px, 0); }
    40% { clip: rect(55px, 9999px, 15px, 0); }
    50% { clip: rect(5px, 9999px, 65px, 0); }
    60% { clip: rect(75px, 9999px, 35px, 0); }
    70% { clip: rect(25px, 9999px, 85px, 0); }
    80% { clip: rect(95px, 9999px, 55px, 0); }
    90% { clip: rect(45px, 9999px, 5px, 0); }
    100% { clip: rect(70px, 9999px, 40px, 0); }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
    }

    .nav-card {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.2rem;
        letter-spacing: 4px;
        padding: 15px 20px;
    }

    .title-line {
        width: 60px;
        overflow: hidden;
    }
    
    .title-line::before {
        animation: moveDotLeftMobile 2s ease-in-out infinite;
    }
    
    .title-line:last-of-type::before {
        animation-name: moveDotRightMobile;
    }
    
    @keyframes moveDotLeftMobile {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(52px); }
    }
    
    @keyframes moveDotRightMobile {
        0%, 100% { transform: translateX(0); }
        50% { transform: translateX(-52px); }
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        min-height: 60vh;
    }

    .nav-section {
        padding: 40px 0;
    }
}

/* ===== 滚动条样式 ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== 选中文字样式 ===== */
::selection {
    background: var(--primary);
    color: var(--bg-dark);
}

/* ===== 加载动画 ===== */
.loading {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* ===== 音乐播放器 ===== */
.music-player {
    position: fixed;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 1000;
    cursor: none;
}

.player-disc {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.player-disc:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
}

.music-player.playing .player-disc {
    animation: discRotate 3s linear infinite;
}

@keyframes discRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.disc-inner {
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.music-player.playing .disc-inner {
    animation: discRotate 3s linear infinite reverse;
}

.player-panel {
    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-left: none;
    border-radius: 0 12px 12px 0;
    padding: 10px 15px 10px 20px;
    margin-left: -10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
    opacity: 0;
    transform: translateX(-20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.music-player.expanded .player-panel {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.player-info {
    overflow: hidden;
}

.song-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    display: block;
}

.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ctrl-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ctrl-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0, 245, 255, 0.1);
}

.ctrl-btn.play-btn {
    width: 34px;
    height: 34px;
    background: rgba(0, 245, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.ctrl-btn.play-btn:hover {
    background: rgba(0, 245, 255, 0.25);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.ctrl-btn .icon-pause { display: none; }
.music-player.playing .ctrl-btn .icon-play { display: none; }
.music-player.playing .ctrl-btn .icon-pause { display: block; }

.player-progress {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* 播放器额外控制 */
.player-extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
}

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.volume-btn .icon-mute { display: none; }
.volume-btn.muted .icon-volume { display: none; }
.volume-btn.muted .icon-mute { display: block; }

.volume-slider-wrap {
    width: 60px;
    height: 20px;
    display: flex;
    align-items: center;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
    transition: transform 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* 歌单按钮 */
.playlist-btn {
    position: relative;
}

/* 歌单面板 */
.playlist-panel {
    position: absolute;
    bottom: 60px;
    left: 50px;
    width: 220px;
    max-height: 250px;
    background: rgba(10, 10, 20, 0.98);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.playlist-panel.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--primary);
}

.playlist-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.playlist-close:hover {
    color: var(--secondary);
}

.playlist-list {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px 0;
}

.playlist-list::-webkit-scrollbar {
    width: 4px;
}

.playlist-list::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.playlist-item {
    padding: 10px 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-item:hover {
    background: rgba(0, 245, 255, 0.1);
    color: var(--text-primary);
}

.playlist-item.active {
    color: var(--primary);
    background: rgba(0, 245, 255, 0.15);
}

.playlist-item-index {
    width: 18px;
    text-align: center;
    opacity: 0.5;
}

.playlist-item.active .playlist-item-index {
    opacity: 1;
}

@media (max-width: 480px) {
    .music-player {
        bottom: 15px;
        left: 15px;
    }
    
    .player-disc {
        width: 45px;
        height: 45px;
    }
    
    .player-panel {
        min-width: 150px;
        padding: 8px 12px 8px 18px;
    }
}
