/* Общие контейнеры */
.catalog-container { padding: 20px; color: white; min-height: 70vh; }
.catalog-title { border-bottom: 1px solid var(--gold); padding-bottom: 10px; margin-bottom: 30px; font-size: 2rem; }

/* Сетка песен (когда они есть) */
.songs-grid { 
	display: grid; 
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
	gap: 25px; 
}
.song-card { 
	background: rgba(255,255,255,0.05); 
	border-radius: 8px; 
	overflow: hidden; 
	transition: transform 0.3s, background 0.3s;
}
.song-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
.song-card-link { text-decoration: none; color: inherit; display: block; }
.song-card-cover img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.song-card-info { padding: 12px; }
.song-card-title { display: block; font-weight: bold; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.song-card-author { font-size: 0.85em; color: #aaa; }
.placeholder-icon { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 3em; background: #222; }

/* Стили для ПУСТОЙ страницы (Fallback) */
.empty-style-container { 
	max-width: 600px; 
	margin: 0 auto; 
	text-align: center; 
	padding: 40px 20px;
}
.empty-style-message h2 { color: var(--gold); margin-bottom: 10px; }
.empty-style-message p { color: #aaa; margin-bottom: 30px; }

/* Список популярных песен внутри пустой страницы */
.popular-songs-fallback {
	display: flex;
	flex-direction: column;
	gap: 15px;
	text-align: left;
}
.fallback-song-item {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #eee;
	background: rgba(255,255,255,0.03);
	padding: 10px;
	border-radius: 8px;
	transition: background 0.2s;
}
.fallback-song-item:hover { background: rgba(255,255,255,0.08); }
.fallback-img { width: 50px; height: 50px; margin-right: 15px; flex-shrink: 0; }
.fallback-img img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; }
.fallback-img span { font-size: 1.5rem; display: block; line-height: 50px; text-align: center; }
.fallback-info { display: flex; flex-direction: column; }
.fallback-title { font-weight: 500; font-size: 1rem; color: #fff; }
.fallback-author { font-size: 0.8rem; color: #777; }

/* Контейнер навигации */
.catalog-nav {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая линия снизу */
}

/* Хлебные крошки (верхняя строка) */
.breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.nav-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--gold, #ffd700);
}

.nav-separator {
    margin: 0 10px;
    color: #444;
}

/* Вкладки (Tabs) */
.catalog-tabs {
    display: flex;
    gap: 20px;
}

.tab-item {
    text-decoration: none;
    color: #ccc;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px; /* Закругленные края */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-item i {
    font-size: 0.9rem;
}

/* Эффект при наведении */
.tab-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Активная вкладка (когда мы находимся в этом разделе) */
.tab-item.active {
    color: var(--gold, #ffd700);
    background: rgba(255, 215, 0, 0.1); /* Легкий золотистый фон */
}

/* Заголовок страницы */
.page-header {
    margin-bottom: 30px;
}

.catalog-title {
    font-size: 2rem;
    margin: 0;
    color: #fff;
}
