* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animated artistic background */
body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 25%, #24243e 50%, #667eea 75%, #764ba2 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Floating particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(254, 202, 87, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(72, 219, 251, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 25% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
    animation: particleFloat 20s ease-in-out infinite;
}

/* Music note decorations */
body::after {
    content: '♪ ♫ ♬ ♩ ♪';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 400px;
    color: rgba(255, 255, 255, 0.03);
    pointer-events: none;
    z-index: 0;
    letter-spacing: 60px;
    animation: musicNoteFloat 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

@keyframes particleFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(5deg); }
    66% { transform: scale(0.95) rotate(-5deg); }
}

@keyframes musicNoteFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(-3deg) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -52%) rotate(3deg) scale(1.05); opacity: 0.8; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.header::before {
    content: '🎵';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.3;
    animation: musicIconBounce 2s ease-in-out infinite;
}

.header h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #ffd700 25%, #ff6b6b 50%, #48dbfb 75%, #fff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.3);
    letter-spacing: -0.03em;
    animation: textGradientShift 8s ease infinite;
    position: relative;
}

.header h1::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

.header p {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.05em;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes musicIconBounce {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-10deg); }
    50% { transform: translateX(-50%) translateY(-5px) rotate(10deg); }
}

@keyframes textGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 版本切换 */
.version-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.version-tab {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s;
}

.version-tab.active {
    background: white;
    color: #667eea;
}

.version-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.3);
}

/* 版本内容 */
.version-content {
    display: none;
}

.version-content.active {
    display: block;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

.card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(30px);
    border-radius: 32px;
    padding: 36px;
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.2),
        0 12px 40px rgba(102, 126, 234, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.95),
        inset 0 -2px 0 rgba(102, 126, 234, 0.08),
        0 0 60px rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease-out, float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        #ff6b6b 15%,
        #feca57 30%,
        #48dbfb 45%,
        #667eea 60%,
        #764ba2 75%,
        transparent 100%);
    opacity: 0.8;
    animation: borderGlow 3s ease-in-out infinite;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: cardGlow 8s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes cardGlow {
    0%, 100% { transform: rotate(0deg); opacity: 0.5; }
    50% { transform: rotate(180deg); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    25% { transform: translateY(-3px) rotate(-0.5deg); }
    75% { transform: translateY(-7px) rotate(0.5deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card h2 {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #667eea 50%, #764ba2 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 900;
    letter-spacing: -0.03em;
    animation: titleGradient 5s ease infinite;
    position: relative;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #4a4a6a;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(224, 224, 232, 0.8);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.9);
}

/* 表单行 - 并排显示 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group-half {
    margin-bottom: 0;
}

/* 生日输入框组合 */
.birthday-inputs {
    display: flex;
    gap: 8px;
}

.birthday-inputs select {
    flex: 1;
    padding: 10px 10px;
    font-size: 0.9rem;
}

/* 说明区域 - 浅淡样式 */
.notice-box {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.notice-item:last-child {
    margin-bottom: 0;
}

.notice-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
    opacity: 0.7;
}

.notice-item span:last-child {
    font-size: 0.85rem;
    color: rgba(74, 74, 106, 0.8);
    line-height: 1.5;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow:
        0 0 0 4px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

@media (max-width: 480px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .birthday-inputs {
        flex-direction: column;
    }
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.range-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.range-group input[type="range"] {
    flex: 1;
}

.range-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    color: #667eea;
}

.btn {
    width: 100%;
    padding: 16px 28px;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow:
        0 6px 20px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    animation: buttonGradient 4s ease infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s;
}

.btn-primary::after {
    content: '✨';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.btn-primary:hover:not(:disabled)::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled)::after {
    transform: translateY(-50%) scale(1);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 15px 50px rgba(102, 126, 234, 0.6),
        0 0 60px rgba(255, 107, 107, 0.3);
}

@keyframes buttonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(224, 232, 255, 0.9) 0%, rgba(199, 210, 254, 0.9) 100%);
    color: #667eea;
    margin-top: 10px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(199, 210, 254, 1) 0%, rgba(165, 180, 252, 1) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

.jobs-list {
    max-height: 700px;
    overflow-y: auto;
}

.job-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    margin-bottom: 16px;
    border: 1px solid rgba(224, 224, 232, 0.6);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
}

.job-item:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 32px rgba(102, 126, 234, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
}

/* 任务状态栏 */
.job-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8f9ff;
    border-bottom: 1px solid #e0e0e8;
}

.job-id {
    font-family: monospace;
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

.job-date {
    font-size: 0.8rem;
    color: #999;
    margin-left: auto;
}

.status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-queued {
    background: #d1ecf1;
    color: #0c5460;
}

.status-running {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-failed {
    background: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background: #e2e3e5;
    color: #383d41;
}


.btn-small {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view {
    background: #667eea;
    color: white;
}

.btn-delete {
    background: #ff6b6b;
    color: white;
}

.btn-view:hover,
.btn-delete:hover {
    opacity: 0.9;
}

/* 歌曲列表 */
.song-list {
    display: flex;
    flex-direction: column;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-bottom: 1px solid rgba(240, 240, 245, 0.8);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    margin: 2px 4px;
}

.song-item:last-child {
    border-bottom: none;
}

.song-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    transform: translateX(4px);
}

.song-item.song-item-pending {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 2px dashed rgba(102, 126, 234, 0.4);
    animation: shimmerBorder 2s ease-in-out infinite;
}

@keyframes shimmerBorder {
    0%, 100% { border-color: rgba(102, 126, 234, 0.4); }
    50% { border-color: rgba(118, 75, 162, 0.6); }
}

.song-item.song-item-pending:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
    border-color: rgba(102, 126, 234, 0.6);
}

.song-item.playing {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-left: 4px solid #667eea;
    box-shadow:
        0 4px 16px rgba(102, 126, 234, 0.2),
        inset 0 0 0 1px rgba(102, 126, 234, 0.1);
}

/* 生成状态指示器 */
.generating-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

/* 声波动画 */
.sound-waves {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 24px;
}

.sound-wave {
    width: 4px;
    background: linear-gradient(to top, #ff6b6b, #feca57, #48dbfb, #667eea);
    border-radius: 4px;
    animation: wave 0.8s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
}

.sound-wave:nth-child(1) { height: 10px; animation-delay: 0s; }
.sound-wave:nth-child(2) { height: 18px; animation-delay: 0.1s; }
.sound-wave:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.sound-wave:nth-child(4) { height: 20px; animation-delay: 0.3s; }
.sound-wave:nth-child(5) { height: 10px; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); background-position: 0% 50%; }
    25% { transform: scaleY(1.4); }
    50% { transform: scaleY(0.6); background-position: 100% 50%; }
    75% { transform: scaleY(1.2); }
}

.generating-text {
    font-size: 0.95rem;
    background: linear-gradient(90deg, #667eea, #764ba2, #ff6b6b, #667eea);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: textShimmer 2s linear infinite, bounce 1s ease-in-out infinite;
}

@keyframes textShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* 进度条样式 */
.generating-progress {
    margin-top: 12px;
    width: 100%;
}

.progress-track {
    height: 6px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.2) 50%, rgba(102, 126, 234, 0.1) 100%);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: trackShimmer 3s ease-in-out infinite;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #feca57 25%, #48dbfb 50%, #667eea 75%, #ff6b6b 100%);
    background-size: 400% 100%;
    animation: shimmer 1.5s linear infinite, progressPulse 2s ease-in-out infinite;
    border-radius: 6px;
    width: 65%;
    box-shadow: 0 0 12px rgba(102, 126, 234, 0.6);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 70%);
    animation: progressGlow 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -400% 0; }
    100% { background-position: 400% 0; }
}

@keyframes trackShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes progressPulse {
    0%, 100% { width: 55%; }
    50% { width: 70%; }
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.5; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.5); }
}

/* 歌曲封面 */
.song-cover {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow:
        0 6px 20px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.song-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.song-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.song-item:hover .song-cover img {
    transform: scale(1.1);
}

.song-cover .no-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: musicIconPop 2s ease-in-out infinite;
}

@keyframes musicIconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 生成中封面 - 更艺术的样式 */
.song-item-pending .song-cover {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 25%, #48dbfb 50%, #667eea 75%, #ff6b6b 100%);
    background-size: 400% 400%;
    animation: gradientShift 2s ease infinite, pulse 1.5s ease-in-out infinite, glow 3s ease-in-out infinite;
    box-shadow:
        0 8px 30px rgba(255, 107, 107, 0.5),
        0 0 40px rgba(254, 202, 87, 0.3),
        0 0 60px rgba(72, 219, 251, 0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 8px 30px rgba(255, 107, 107, 0.5), 0 0 40px rgba(254, 202, 87, 0.3), 0 0 60px rgba(72, 219, 251, 0.2); }
    33% { box-shadow: 0 8px 30px rgba(254, 202, 87, 0.5), 0 0 40px rgba(72, 219, 251, 0.3), 0 0 60px rgba(102, 126, 234, 0.2); }
    66% { box-shadow: 0 8px 30px rgba(72, 219, 251, 0.5), 0 0 40px rgba(102, 126, 234, 0.3), 0 0 60px rgba(255, 107, 107, 0.2); }
}

/* 加载中旋转动画 */
.loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-right-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.playing-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #667eea;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* 歌曲信息 */
.song-info {
    flex: 1;
    min-width: 0;
}

.song-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #666;
}

.song-tags {
    opacity: 0.8;
}

.song-duration {
    color: #999;
}

/* 歌曲操作按钮 */
.song-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.song-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}

.song-btn:hover {
    background: #f0f0f5;
}

.song-btn-play {
    color: #667eea;
}

.song-btn-play:hover {
    background: #e8eeff;
}

.song-btn-delete {
    color: #ff6b6b;
}

.song-btn-delete:hover {
    background: #fff0f0;
}

.song-btn-download {
    color: #22c55e;
}

.song-btn-download:hover {
    background: #f0fff4;
}

.song-btn svg {
    width: 18px;
    height: 18px;
}

.job-detail {
    display: none;
    padding: 16px;
    background: #fafafc;
    border-top: 1px solid #e0e0e8;
}

.job-detail.show {
    display: block;
}

.detail-section {
    margin-bottom: 16px;
}

.detail-section h4 {
    font-size: 0.9rem;
    color: #667eea;
    margin-bottom: 12px;
    font-weight: 600;
}

.detail-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.detail-label {
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.audio-clips {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.clip-item {
    background: white;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e8;
}

.clip-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

audio {
    width: 100%;
    margin-top: 8px;
}

.clip-image {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
}

.providers-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.provider-chip {
    background: #e0e8ff;
    color: #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.refresh-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.refresh-btn:hover {
    background: #f0f0f0;
}

.refresh-btn svg {
    width: 24px;
    height: 24px;
    color: #667eea;
}

.refresh-btn.spinning svg {
    animation: spin 1s linear infinite;
}

.card-header {
    position: relative;
}

.preview-section {
    display: none;
    background: #f8f9ff;
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
}

.preview-section.show {
    display: block;
}

.preview-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.preview-item {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.preview-label {
    font-weight: 600;
    color: #667eea;
}

.simple-prompt {
    min-height: 100px;
}

.edit-prompt-large {
    min-height: 240px;
    resize: vertical;
}

/* 歌词样式 */
.song-btn-lyrics {
    color: #667eea;
}

.song-btn-lyrics:hover {
    background: rgba(102, 126, 234, 0.1);
}

.lyrics-container {
    width: 100%;
    padding: 16px;
    background: #f8f9ff;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid #e0e8ff;
    margin-top: -8px;
}

.lyrics-content {
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
    white-space: pre-wrap;
    max-height: 200px;
    overflow-y: auto;
}

.lyrics-content::-webkit-scrollbar {
    width: 6px;
}

.lyrics-content::-webkit-scrollbar-thumb {
    background: #c0c4d0;
    border-radius: 3px;
}

.lyrics-content::-webkit-scrollbar-track {
    background: transparent;
}

/* 播放器歌词样式 */
.player-lyrics-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.player-lyrics-content {
    color: #333;
    line-height: 2;
    font-size: 1rem;
    white-space: pre-wrap;
    text-align: center;
    max-height: 300px;
    overflow-y: auto;
}

.player-lyrics-content::-webkit-scrollbar {
    width: 6px;
}

.player-lyrics-content::-webkit-scrollbar-thumb {
    background: #c0c4d0;
    border-radius: 3px;
}

.player-lyrics-content::-webkit-scrollbar-track {
    background: transparent;
}

.model-selector {
    margin-bottom: 16px;
}

.model-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.model-cost {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
}

.detail-row {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.detail-label {
    font-weight: 600;
    color: #667eea;
}

.local-path {
    color: #2e7d32;
    font-family: monospace;
    font-size: 0.85rem;
    word-break: break-all;
}

.params-box {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
    margin: 8px 0;
}

.params-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.85rem;
}



/* Toast 提示 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: toastIn 0.3s ease;
    max-width: 350px;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.toast-icon.toast-success {
    color: #22c55e;
}

.toast-icon.toast-error {
    color: #ef4444;
}

.toast-icon.toast-info {
    color: #667eea;
}

.toast-message {
    font-size: 0.95rem;
    color: #1a1a2e;
    line-height: 1.4;
}

.toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 1.1rem;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #666;
}

/* 音乐播放器 */
.music-player {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 244, 255, 0.98) 100%);
    backdrop-filter: blur(40px);
    box-shadow:
        0 -8px 40px rgba(102, 126, 234, 0.2),
        0 -4px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #667eea, #764ba2, #ff6b6b) 1;
}

.music-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.music-player.show {
    bottom: 0;
    animation: playerSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes playerSlideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.player-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 封面图 - CD 效果 */
.player-cover {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: visible;
    position: relative;
    background:
        repeating-conic-gradient(from 0deg,
            rgba(255, 107, 107, 0.08) 0deg 5deg,
            rgba(254, 202, 87, 0.08) 5deg 10deg,
            rgba(72, 219, 251, 0.08) 10deg 15deg,
            rgba(102, 126, 234, 0.08) 15deg 20deg),
        linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 50%, #2c2c2c 100%);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(102, 126, 234, 0.4),
        0 0 30px rgba(102, 126, 234, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.6);
    padding: 8px;
    animation: playerCoverPulse 3s ease-in-out infinite;
}

@keyframes playerCoverPulse {
    0%, 100% {
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 0 4px rgba(102, 126, 234, 0.4),
            0 0 30px rgba(102, 126, 234, 0.3),
            inset 0 0 40px rgba(0, 0, 0, 0.6);
    }
    50% {
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 0 4px rgba(255, 107, 107, 0.5),
            0 0 40px rgba(254, 202, 87, 0.4),
            inset 0 0 40px rgba(0, 0, 0, 0.6);
    }
}

/* CD 内圈容器 */
.player-cover-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.player-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* CD 中心孔 */
.player-cover-inner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #444 0%, #222 100%);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 0 0 4px #1a1a1a,
                0 0 0 6px rgba(102, 126, 234, 0.3),
                0 0 10px rgba(0, 0, 0, 0.5) inset;
}

/* CD 中心反光点 */
.player-cover-inner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 6;
}

/* CD 反光效果 */
.player-cover::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        transparent 35%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 65%
    );
    pointer-events: none;
    z-index: 10;
}

/* 播放时旋转 */
.player-cover.playing .player-cover-inner {
    animation: cdSpin 2s linear infinite;
}

.player-cover.playing {
    animation: playerCoverPulse 1s ease-in-out infinite, playerCoverGlow 0.5s ease-in-out infinite alternate;
}

@keyframes playerCoverGlow {
    from {
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 0 4px rgba(102, 126, 234, 0.5),
            0 0 40px rgba(255, 107, 107, 0.4),
            inset 0 0 40px rgba(0, 0, 0, 0.6);
    }
    to {
        box-shadow:
            0 8px 30px rgba(0, 0, 0, 0.4),
            0 0 0 4px rgba(255, 107, 107, 0.6),
            0 0 60px rgba(254, 202, 87, 0.5),
            inset 0 0 40px rgba(0, 0, 0, 0.6);
    }
}

@keyframes cdSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* 播放按钮 */
.player-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.player-play-btn:hover {
    transform: scale(1.1);
}

.player-play-btn svg {
    width: 20px;
    height: 20px;
    color: #667eea;
}

/* 歌曲信息 */
.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-artist {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 进度条 */
.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.player-progress-bar {
    flex: 1;
    height: 6px;
    background: #e0e0e8;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.player-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.player-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    left: 0%;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.2s;
}

.player-progress-bar:hover .player-progress-handle {
    opacity: 1;
}

.player-progress-handle:active {
    cursor: grabbing;
}

.player-time {
    font-size: 0.75rem;
    color: #666;
    min-width: 40px;
    text-align: center;
}

/* 控制按钮 */
.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-control-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s;
}

.player-control-btn:hover {
    background: #f0f0f0;
    color: #667eea;
}

.player-control-play-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    background-size: 200% 200%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 15px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2);
    animation: playButtonGradient 4s ease infinite;
    position: relative;
}

.player-control-play-btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #ff6b6b, #feca57, #48dbfb, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    animation: borderRotate 3s linear infinite;
    background-size: 400% 400%;
}

.player-control-play-btn:hover {
    transform: scale(1.15);
    box-shadow:
        0 8px 25px rgba(102, 126, 234, 0.6),
        0 0 40px rgba(255, 107, 107, 0.3);
}

.player-control-play-btn:hover::before {
    opacity: 1;
}

@keyframes playButtonGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 400% 50%; }
}

.player-control-play-btn svg {
    width: 20px;
    height: 20px;
}

.player-control-btn svg {
    width: 20px;
    height: 20px;
}

/* 音量控制 */
.player-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-volume-slider {
    width: 0;
    overflow: hidden;
    transition: width 0.3s;
}

.player-volume:hover .player-volume-slider {
    width: 80px;
}

.player-volume-slider input {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    background: #e0e0e8;
    border-radius: 2px;
    cursor: pointer;
}

.player-volume-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    cursor: pointer;
}

/* 点击播放的卡片样式 */
.compact-clip {
    cursor: pointer;
}

.compact-clip.playing {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.3);
}

/* 响应式 */
@media (max-width: 768px) {
    .player-container {
        padding: 10px 12px;
        gap: 12px;
    }

    .player-cover {
        width: 56px;
        height: 56px;
    }

    .player-info {
        flex: 1;
    }

    .player-controls {
        gap: 4px;
    }

    .player-control-btn {
        width: 32px;
        height: 32px;
    }

    .player-volume {
        display: none;
    }

    .player-progress {
        gap: 8px;
    }
}

/* ============ 页脚样式 ============ */
.footer {
    margin-top: 60px;
    padding: 50px 20px 30px;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6b6b, #feca57, #48dbfb, #667eea, #764ba2, transparent);
    opacity: 0.8;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.footer-section h3::before {
    content: '✨';
    animation: sparkle 1.5s ease-in-out infinite;
}

/* 二维码区域 */
.qr-section {
    text-align: center;
}

.qr-container {
    background: rgba(255,255,255,0.95);
    border-radius: 24px;
    padding: 30px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.2),
        0 0 40px rgba(102,126,234,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255,255,255,0.3);
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}

.qr-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: qrShine 4s ease-in-out infinite;
}

.qr-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(0,0,0,0.3),
        0 0 60px rgba(255,107,107,0.3),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.qr-code {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.qr-container:hover .qr-code {
    transform: scale(1.05);
}

.qr-label {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #667eea, #764ba2, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes qrShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

/* 公司信息区域 */
.info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow:
        0 8px 24px rgba(0,0,0,0.1),
        inset 0 1px 0 rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow:
        0 12px 32px rgba(102,126,234,0.2),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(102,126,234,0.4);
}

.info-icon {
    font-size: 1.6rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

.info-text {
    color: #1a1a2e;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 版权信息 */
.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.footer-copyright p {
    color: rgba(255,255,255,0.8);
    margin: 8px 0;
    font-size: 0.95rem;
}

.copyright-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.copyright-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.copyright-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb);
    transition: width 0.3s ease;
}

.copyright-links a:hover {
    color: white;
}

.copyright-links a:hover::after {
    width: 100%;
}

.separator {
    color: rgba(255,255,255,0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 16px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .qr-section {
        order: -1;
    }

    .qr-container {
        padding: 25px;
    }

    .qr-code {
        width: 150px;
        height: 150px;
    }

    .info-item {
        padding: 16px 20px;
    }

    .info-text {
        font-size: 0.95rem;
    }

    .footer-copyright {
        padding-top: 25px;
    }

    .footer-copyright p {
        font-size: 0.85rem;
    }

    .copyright-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============ 导航栏样式 ============ */
.navbar {
    max-width: 1400px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    position: relative;
    z-index: 1;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    margin: 0;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-link {
    padding: 8px 18px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.nav-link.active {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-auth {
    display: flex;
    gap: 10px;
}

.nav-user {
    display: none;
    align-items: center;
    gap: 15px;
}

.user-name {
    color: white;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ============ 页面系统 ============ */
.pages-container {
    position: relative;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* ============ 每日限制样式 ============ */
.daily-limit {
    max-width: 1400px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.limit-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.limit-icon {
    font-size: 1.5rem;
}

.limit-text {
    color: #666;
    font-weight: 500;
}

.limit-count {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.limit-count.low {
    background: linear-gradient(135deg, #feca57 0%, #ff9f43 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.limit-count.empty {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.limit-unit {
    color: #666;
    font-weight: 500;
}

.limit-tip {
    color: #999;
    font-size: 0.85rem;
}

.limit-bar {
    width: 200px;
    height: 8px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.limit-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.limit-bar-fill.low {
    background: linear-gradient(90deg, #feca57 0%, #ff9f43 100%);
}

.limit-bar-fill.empty {
    background: linear-gradient(90deg, #ff6b6b 0%, #ee5a24 100%);
}

/* ============ 页面头部样式 ============ */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #ffd700 50%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    margin: 0 0 12px;
}

.page-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin: 0;
}

/* ============ 网格容器样式 ============ */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============ 歌曲卡片样式 ============ */
.song-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.song-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-card:hover::before {
    opacity: 1;
}

.song-card-cover {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.song-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.song-card-cover:hover img {
    transform: scale(1.1);
}

.song-card-cover .no-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.song-card-cover:hover .play-overlay {
    opacity: 1;
}

.play-overlay svg {
    width: 60px;
    height: 60px;
    fill: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.song-card-cover:hover .play-overlay svg {
    transform: scale(1);
}

.song-card-info {
    padding: 20px;
}

.song-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 8px;
}

.song-card-tags {
    color: #667eea;
    font-size: 0.9rem;
    margin: 0;
}

.song-card-actions {
    padding: 0 20px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.song-card-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.song-card-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: scale(1.1);
}

.song-card-btn svg {
    width: 20px;
    height: 20px;
}

.song-card-btn-active {
    background: rgba(102, 126, 234, 0.3);
    color: #667eea;
}

.song-card-btn-delete {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.song-card-btn-delete:hover {
    background: rgba(255, 107, 107, 0.2);
}

/* ============ 可见性切换开关 ============ */
.visibility-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.visibility-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    width: 50px;
    height: 26px;
    background: #e0e0e8;
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.visibility-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.visibility-toggle input[type="checkbox"]:checked + .toggle-slider::after {
    left: 26px;
}

.toggle-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* ============ 模态框样式 ============ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 32px;
    max-width: 450px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content {
    display: none;
}

.modal-content.active {
    display: block;
}

.modal-footer {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.modal-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.modal-footer a:hover {
    text-decoration: underline;
}

.full-width {
    width: 100%;
}

/* ============ 响应式导航 ============ */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 16px;
        padding: 16px 10px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .daily-limit {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .limit-bar {
        width: 100%;
    }

    .page-title {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }
}