/* Band profile page & header styles */

/* Cover + identity bar */
.mb-band-header { background: #1a1a2e; }

.mb-band-cover {
    height: 260px;
    background-size: cover;
    background-position: center;
    background-color: #111;
    position: relative;
}

.mb-band-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26,26,46,0.9));
}

.mb-band-identity-bar {
    background: var(--mb-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mb-band-identity {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.mb-band-logo-wrap {
    flex-shrink: 0;
    margin-top: -50px;
}

.mb-band-logo-img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    border: 3px solid var(--mb-dark);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.mb-band-logo-placeholder {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background: var(--mb-primary);
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--mb-dark);
}

.mb-band-identity-info { flex: 1; min-width: 0; }

.mb-band-name {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mb-band-genres { margin-bottom: 8px; }

.mb-social-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-social-icon-link {
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.15s;
}
.mb-social-icon-link:hover { color: #fff; opacity: 1; }

.mb-band-header-actions { flex-shrink: 0; }
.mb-subscribed-badge { font-size: 13px; padding: 6px 14px; }

/* Band page tabs */
.mb-band-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--mb-border);
    margin-bottom: 20px;
    background: #fff;
    border-radius: var(--mb-radius) var(--mb-radius) 0 0;
    overflow: hidden;
}

.mb-band-tab {
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mb-muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.mb-band-tab:hover { color: var(--mb-primary); opacity: 1; }
.mb-band-tab.active { color: var(--mb-primary); border-bottom-color: var(--mb-primary); }

.mb-band-tab-content { display: none; }
.mb-band-tab-content.active { display: block; }

/* Band bio */
.mb-band-bio {
    background: #fff;
    border-radius: var(--mb-radius);
    padding: 24px;
    box-shadow: var(--mb-shadow);
    line-height: 1.75;
}

/* Directory styles */
.mb-band-directory { padding: 32px 0 48px; }

.mb-directory-header {
    margin-bottom: 24px;
}

.mb-directory-header h1 { font-size: 28px; margin-bottom: 16px; }

.mb-directory-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mb-search-input {
    padding: 9px 14px;
    border: 1px solid var(--mb-border);
    border-radius: 8px;
    font-size: 14px;
    width: 240px;
    font-family: var(--mb-font);
}

.mb-genre-filter { display: flex; gap: 6px; flex-wrap: wrap; }

.mb-filter-btn {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--mb-border);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--mb-font);
}

.mb-filter-btn:hover { border-color: var(--mb-primary); color: var(--mb-primary); }
.mb-filter-btn.active { background: var(--mb-primary); color: #fff; border-color: var(--mb-primary); }

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

.mb-band-card {
    background: #fff;
    border-radius: var(--mb-radius);
    box-shadow: var(--mb-shadow);
    overflow: hidden;
    text-decoration: none;
    color: var(--mb-text);
    display: block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mb-band-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); opacity: 1; }

.mb-band-card-cover {
    height: 140px;
    background: #1a1a2e;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 12px;
}

.mb-band-card-logo {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
}

.mb-band-logo-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: var(--mb-primary);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.mb-band-card-info { padding: 14px; }
.mb-band-card-name { display: block; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mb-band-card-genres { margin-bottom: 8px; }
.mb-band-card-bio { font-size: 13px; color: var(--mb-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Feed filter bar */
.mb-feed-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .mb-band-cover { height: 160px; }
    .mb-band-name { font-size: 20px; }
    .mb-band-logo-img,
    .mb-band-logo-placeholder { width: 70px; height: 70px; margin-top: -35px; }
    .mb-directory-controls { flex-direction: column; align-items: flex-start; }
    .mb-search-input { width: 100%; }
}
