/* ===================================================================
   BANDA LIST STYLES - SONAR DIRECTORY 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;
}

/* 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;
}

.banda-card-demo {
    min-width: 0;
    margin-top: 18px;
}

.banda-card-demo-title {
    margin: 0 0 7px;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banda-card-demo .sonar-audio-player {
    --sonar-wave-height: 52px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    padding: 9px;
}

.banda-card-demo .sonar-audio-player__toggle {
    width: 44px;
    height: 44px;
}

/* 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;
}

/* 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; }

@media (max-width: 480px) {
    .bandas-header h2 {
        font-size: 2rem;
    }

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