/* Header styles */
#mainHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-height: 5.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.back-button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
    opacity: 0;
    pointer-events: none;
}

.back-button[style*="display: flex"],
.back-button[style*="display: block"] {
    opacity: 1;
    pointer-events: auto;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.back-button:active {
    transform: scale(0.95);
}

.header-text {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.header-text h1 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.header-text .subtitle {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 40px;
}

#artistCountContainer {
    text-align: center;
    opacity: 0.7;
    font-size: 0.8rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 1.2rem;
}

/* Artist grid (when not in modal) */
#artistGrid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
}

#artistGrid .artist-card:last-child {
    border-bottom: none;
}
