* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.description {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.8;
}

main {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.analysis-section {
    margin-bottom: 3rem;
}

.analysis-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}

.analysis-section > p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.result-card {
    background: #f7fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.result-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2d3748;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.song-item {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.song-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

.song-artist {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.song-meta {
    color: #718096;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.song-value {
    background: #667eea;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.audio-placeholder {
    background: #e2e8f0;
    border: 2px dashed #cbd5e0;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.audio-player {
    margin-top: 0.5rem;
}

.audio-player audio {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background: #f8f9fa;
}

.spotify-embed {
    margin-top: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.spotify-embed iframe {
    border-radius: 12px;
    width: 100%;
    height: 152px;
}

.audio-info {
    text-align: center;
    margin-top: 0.5rem;
    color: #718096;
    font-size: 0.8rem;
}



.nav {
    margin-top: 1rem;
}

.nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.nav-link:hover {
    background: #5a67d8;
    color: white;
    text-decoration: none;
}

footer {
    text-align: center;
    color: white;
    opacity: 0.8;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #fbbf24;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-card {
        padding: 1rem;
    }
}

/* Model-specific colors */
.model-billboard {
    border-left-color: #3182ce;
}

.model-suno {
    border-left-color: #38a169;
}

.model-diffrhythm {
    border-left-color: #d69e2e;
}

.model-yue {
    border-left-color: #e53e3e;
}
