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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
}

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

header {
    text-align: center;
    padding: 40px 0;
}

header h1 {
    font-size: 3rem;
    background: linear-gradient(90deg, #e94560, #f5af19);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

header p {
    color: #aaa;
    font-size: 1.1rem;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.search-box input {
    padding: 15px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

.search-box input::placeholder {
    color: #aaa;
}

.search-box input:focus {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
}

.search-box button {
    padding: 15px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    background: linear-gradient(90deg, #e94560, #f5af19);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.7);
}

.results h2 {
    margin-bottom: 20px;
    color: #f5af19;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.song-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.song-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
}

.song-card h3 {
    color: #e94560;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.song-card p {
    color: #aaa;
    font-size: 0.9rem;
}

.song-card .genre {
    display: inline-block;
    background: linear-gradient(90deg, #e94560, #f5af19);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-top: 10px;
    color: #fff;
}

.lyrics-container {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: rgba(233, 69, 96, 0.5);
    border-color: #e94560;
}

.lyrics-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.song-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(233, 69, 96, 0.3);
}

.song-info h2 {
    color: #e94560;
    font-size: 2rem;
    margin-bottom: 10px;
}

.song-info p {
    color: #f5af19;
    font-size: 1.2rem;
}

.lyrics-content {
    font-size: 1.1rem;
    line-height: 2;
    white-space: pre-wrap;
    text-align: center;
    color: #ddd;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    max-height: 500px;
    overflow-y: auto;
}

.lyrics-content::-webkit-scrollbar {
    width: 8px;
}

.lyrics-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.lyrics-content::-webkit-scrollbar-thumb {
    background: #e94560;
    border-radius: 10px;
}

.audio-player {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(233, 69, 96, 0.3);
}

.audio-player audio {
    width: 100%;
    border-radius: 10px;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #aaa;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .lyrics-card {
        padding: 20px;
    }
    
    .lyrics-content {
        font-size: 1rem;
    }
}
