/* ===================================================================
   BANDA LIST STYLES - SoundCloud Style Cards
   =================================================================== */

:root {
    --primary-color: #ff6b35;
    --secondary-color: #004e89;
    --accent-color: #f7b801;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-radius: 12px;
    --transition: 0.3s ease;
}

/* Container */
.bandas-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bandas-header {
    text-align: center;
    margin-bottom: 50px;
    animation: slideDown 0.6s ease-out;
}

.bandas-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-family: 'Outfit', sans-serif;
}

.bandas-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
}

/* Grid Layout */
.bandas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .bandas-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .bandas-grid {
        grid-template-columns: 1fr;
    }
}

/* Banda Card */
.banda-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
    animation: fadeInUp 0.5s ease-out;
}

.banda-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Image Wrapper */
.banda-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: var(--light-bg);
    overflow: hidden;
}

.banda-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.banda-card:hover .banda-card-image {
    transform: scale(1.08);
}

/* Image Placeholder */
.banda-card-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
}

/* Overlay */
.banda-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.banda-card:hover .banda-card-overlay {
    opacity: 1;
}

/* Play Button */
.play-button {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
    cursor: pointer;
}

.play-button:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.5);
}

.play-button svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Card Content */
.banda-card-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.banda-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    font-family: 'Outfit', sans-serif;
}

.banda-card-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.banda-card-title a:hover {
    color: var(--primary-color);
}

/* Genres */
.banda-card-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.genre-tag {
    display: inline-block;
    background: #f0f0f0;
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition);
}

.genre-tag:hover {
    background: var(--primary-color);
    color: white;
}

/* Biography */
.banda-card-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 auto 0;
    font-family: 'Inter', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Link */
.banda-card-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}

.banda-card-link:hover {
    color: var(--accent-color);
    transform: translateX(6px);
}

/* No Bandas */
.no-bandas {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: var(--dark-bg);
    border-radius: var(--border-radius);
    padding: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#audio-element {
    width: 100%;
    height: 40px;
    border-radius: 6px;
}

#audio-element::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.1);
}

#audio-element::-webkit-media-controls-time-remaining-display {
    color: white;
}

#audio-element::-webkit-media-controls-current-time-display {
    color: white;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Stagger animation for cards */
.banda-card:nth-child(1) { animation-delay: 0.05s; }
.banda-card:nth-child(2) { animation-delay: 0.1s; }
.banda-card:nth-child(3) { animation-delay: 0.15s; }
.banda-card:nth-child(4) { animation-delay: 0.2s; }
.banda-card:nth-child(5) { animation-delay: 0.25s; }
.banda-card:nth-child(6) { animation-delay: 0.3s; }

/* Responsive Audio Player */
@media (max-width: 480px) {
    .audio-player {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .bandas-header h2 {
        font-size: 2rem;
    }

    .bandas-container {
        padding: 20px 15px;
    }
}
