/* ОБЕРТКА И СКРОЛЛ */
.artist-page-wrapper {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    background-color: #000; /* Черный фон для подложки */
}

/* ФОТО АРТИСТА (СТОИТ НА МЕСТЕ) */
.artist-hero-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 45vh; /* Фото занимает 45% экрана */
    background-size: cover;
    background-position: top center;
    z-index: 1;
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    /* Легкий градиент, чтобы фото плавно уходило в черный низ */
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 60%, rgba(18, 18, 18, 1) 100%);
}

/* КОНТЕНТ (НАЕЗЖАЕТ НА ФОТО) */
.artist-content-scroll {
    position: relative;
    z-index: 2;
    background-color: #121212; /* Цвет карточки контента */
    border-radius: 32px 32px 0 0; /* Круглые края сверху */
    margin-top: -40px; /* Тот самый наезд на фотографию */
    padding: 30px 20px;
    min-height: 70vh; /* Чтобы всегда дотягивалось до низа */
}

/* ИМЯ И КНОПКА ЛАЙКА */
.artist-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.artist-display-name {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.artist-like-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0; /* Чтобы кнопка не сжималась при длинном имени */
}

.artist-like-btn:active {
    transform: scale(0.9);
}

.artist-like-btn.active {
    color: #ec4899; /* Розовый при лайке */
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
}

/* ЗАГОЛОВКИ СЕКЦИЙ */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
}

/* ПОСЛЕДНИЙ РЕЛИЗ */
.latest-release-section {
    margin-bottom: 35px;
}

.latest-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.latest-card:active {
    background: rgba(255, 255, 255, 0.08);
}

.latest-cover {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.latest-info {
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.latest-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.latest-date {
    color: #a0a0a0;
    font-size: 13px;
    font-weight: 500;
}

.latest-play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    padding-left: 3px; /* Центрируем иконку play */
}

/* СПИСОК ТРЕКОВ */
.track-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.track-item:active {
    opacity: 0.6;
}

.track-num {
    color: #888;
    font-size: 14px;
    font-weight: 600;
    width: 25px;
    text-align: left;
}

.track-mini-cover {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.track-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.track-name {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.track-plays {
    color: #888;
    font-size: 13px;
}

.track-more {
    color: #888;
    font-size: 24px;
    padding: 5px;
}

/* НОВАЯ СЕКЦИЯ: ВСЕ ПЕСНИ (СИНГЛЫ И АЛЬБОМЫ) */
.releases-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.release-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 8px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.release-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.release-cover {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.release-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.release-name {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.release-year {
    color: #a0a0a0;
    font-size: 13px;
    font-weight: 500;
}

/* 1. ПОЛНОСТЬЮ СКРЫВАЕМ ПОЛОСУ ПРОКРУТКИ */
.artist-page-wrapper {
    scrollbar-width: none; /* Для Firefox */
    -ms-overflow-style: none; /* Для IE и Edge */
}
.artist-page-wrapper::-webkit-scrollbar {
    display: none; /* Для Chrome, Safari и Opera */
}

/* 2. КНОПКА "НАЗАД" ВЕРХУ ПОВЕРХ ФОТО */
.artist-fixed-back {
    position: absolute;
    top: max(20px, env(safe-area-inset-top)); /* Учитывает челку на iPhone */
    left: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 100;
    cursor: pointer;
    transition: background 0.2s;
}

.artist-fixed-back:active {
    background: rgba(0, 0, 0, 0.7);
}

/* 3. ПОИСК ПО ТРЕКАМ АРТИСТА (С эффектом прилипания) */
.artist-search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 15px;
    margin-bottom: 25px;
    position: sticky; /* Прилипает к верху при скролле! */
    top: 15px; 
    z-index: 50;
    backdrop-filter: blur(15px); /* Красивое размытие, когда под ним проезжают треки */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.artist-search-box i {
    color: #a0a0a0;
    font-size: 20px;
    margin-right: 12px;
}

.artist-search-box input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    width: 100%;
    outline: none;
}

.artist-search-box input::placeholder {
    color: #a0a0a0;
}