/* =================================================================
   WAVY ESSAI - MUSIC PAGE
   Spotify Playlist & Music Suggestions
   ================================================================= */

:root {
    --neon-green: #00ff88;
    --neon-blue: #00d4ff;
    --neon-violet: #a855f7;
    --neon-pink: #ff006e;
    --studio-black: #0a0a0f;
    --studio-dark: #121218;
    --gradient-neon: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-violet) 100%);
}

/* ===== GLOBAL STYLES ===== */
.music-page {
    background: var(--studio-black);
    color: #fff;
    min-height: 100vh;
}

.music-page .navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

/* ===== HERO SECTION ===== */
.music-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--studio-black) 0%, var(--studio-dark) 100%);
    position: relative;
    overflow: hidden;
}

.music-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.music-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid var(--neon-green);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-green);
    margin-bottom: 2rem;
    animation: pulse-glow 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--neon-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===== SPOTIFY PLAYER ===== */
.spotify-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spotify-container iframe {
    width: 100%;
    border-radius: 12px;
}

.spotify-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spotify-note i {
    color: #1DB954;
    font-size: 1.2rem;
}

/* ===== SUGGESTIONS SECTION ===== */
.suggestions-section {
    padding: 4rem 2rem;
    background: var(--studio-dark);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--neon-green);
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== SUGGESTION FORM ===== */
.suggestion-form-card {
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group label i {
    color: var(--neon-blue);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-neon);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.5);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
}

.form-message.error {
    display: block;
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--neon-pink);
    color: var(--neon-pink);
}

/* ===== RECENT SUGGESTIONS ===== */
.recent-suggestions {
    max-width: 900px;
    margin: 0 auto;
}

.suggestions-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestions-title i {
    color: var(--neon-violet);
}

.suggestions-count {
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid var(--neon-violet);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.suggestions-grid {
    display: grid;
    gap: 1.5rem;
}

.suggestion-card {
    padding: 1.5rem;
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.suggestion-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
    transform: translateY(-2px);
}

.suggestion-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.song-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.song-info p {
    color: rgba(255, 255, 255, 0.6);
}

.spotify-link {
    padding: 0.5rem 1rem;
    background: rgba(29, 185, 84, 0.2);
    border: 1px solid #1DB954;
    border-radius: 20px;
    color: #1DB954;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spotify-link:hover {
    background: #1DB954;
    color: #000;
}

.suggestion-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.suggested-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggested-by i {
    color: var(--neon-blue);
}

.suggestion-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.5);
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .music-hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .suggestion-form-card {
        padding: 1.5rem;
    }

    .suggestion-header {
        flex-direction: column;
        gap: 1rem;
    }
}
