/* 本地字体 - 使用系统字体作为后备 */
* {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}


.gradient-bg {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 50%, #feca57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.music-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 30px;
}

.music-wave span {
    width: 4px;
    background: linear-gradient(to top, #e94560, #feca57);
    border-radius: 2px;
    animation: wave 1s ease-in-out infinite;
}

.music-wave span:nth-child(1) { animation-delay: 0s; height: 20%; }
.music-wave span:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.music-wave span:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.music-wave span:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.music-wave span:nth-child(5) { animation-delay: 0.4s; height: 100%; }
.music-wave span:nth-child(6) { animation-delay: 0.5s; height: 80%; }
.music-wave span:nth-child(7) { animation-delay: 0.6s; height: 60%; }
.music-wave span:nth-child(8) { animation-delay: 0.7s; height: 40%; }
.music-wave span:nth-child(9) { animation-delay: 0.8s; height: 20%; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.floating-note {
    position: absolute;
    font-size: 24px;
    color: rgba(233, 69, 96, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

.mode-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.mode-card:hover {
    transform: translateY(-5px);
    border-color: #e94560;
}

.mode-card.active {
    border-color: #e94560;
    background: rgba(233, 69, 96, 0.1);
}

.tag {
    transition: all 0.2s ease;
}

.tag:hover {
    background: #e94560;
    color: white;
}

.user-menu {
    position: relative;
}

.user-menu:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 8px;
    min-width: 160px;
    background: rgba(30, 30, 50, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #e5e7eb;
    text-decoration: none;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(233, 69, 96, 0.2);
    color: #fff;
}

.dropdown-menu i {
    width: 20px;
    margin-right: 8px;
}
