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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a2e;
    color: #eee;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2.5rem;
    color: #e94560;
    margin-bottom: 0.5rem;
}

header p {
    color: #888;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 8px;
    background: #16213e;
    color: #eee;
}

.search-form input:focus {
    outline: none;
    border-color: #e94560;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: #e94560;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #d63750;
}

.status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: none;
}

.status.info {
    background: #16213e;
    border: 1px solid #333;
}

.status.error {
    background: #3d1f2b;
    border: 1px solid #e94560;
    color: #ff6b8a;
}

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

.track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #16213e;
    border-radius: 8px;
    border: 1px solid #333;
}

.track:hover {
    border-color: #444;
}

.track-cover {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 1rem;
    flex-shrink: 0;
    background: #0f3460;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    color: #888;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-duration {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.download-btn {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: #0f3460;
    color: #eee;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.download-btn:hover:not(:disabled) {
    background: #e94560;
}

.download-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
