/* css/style.css */

/* --- СБРОС И БАЗА --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    background-color: #050505; 
    color: #fff; 
    font-family: 'Montserrat', sans-serif; 
    overflow-x: hidden; 
}

/* --- ОБЩИЕ СТИЛИ --- */
.section-title {
    font-family: 'Russo One', sans-serif;
    font-size: 40px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 2px;
}

.section-padding { padding: 100px 50px; }
.text-red { color: #ff003c; text-shadow: 0 0 15px rgba(255, 0, 60, 0.5); }

/* --- HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background-color: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(10px);
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 50px; z-index: 1000; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-img { height: 40px; width: auto; filter: brightness(0) invert(1); }

nav { display: flex; align-items: center; gap: 30px; }

nav a { 
    text-decoration: none; color: #aaa; font-size: 12px; 
    text-transform: uppercase; font-weight: 600; letter-spacing: 1px; 
    transition: color 0.3s; 
}
nav a:hover { color: #fff; }

.btn-login-header {
    border: 1px solid #fff; padding: 8px 20px; color: #fff;
    border-radius: 0; transition: all 0.3s;
}
.btn-login-header:hover {
    background: #ff003c; border-color: #ff003c;
    color: #fff; box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative; width: 100%; height: 100vh;
    background-size: cover; background-position: center;
    transition: background-image 1s ease-in-out;
    display: flex; justify-content: center; align-items: center;
    flex-direction: column; text-align: center;
}
.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 1;
}
.hero-content {
    position: relative; z-index: 2; display: flex;
    flex-direction: column; align-items: center; gap: 20px;
}
h1.neon-title {
    font-family: 'Russo One', sans-serif; font-size: 80px; line-height: 0.9;
    text-transform: uppercase; color: #ff003c;
    text-shadow: 0 0 10px rgba(255, 0, 60, 0.8), 0 0 30px rgba(255, 0, 60, 0.6);
}
p.subtitle {
    font-size: 12px; color: #ccc; text-transform: uppercase;
    letter-spacing: 3px; line-height: 1.6; font-weight: 600;
}
.btn-neon {
    margin-top: 20px; padding: 12px 30px; background: transparent;
    border: 1px solid #a30027; color: #ff003c; text-transform: uppercase;
    font-size: 11px; letter-spacing: 2px; text-decoration: none; font-weight: 600;
    transition: all 0.3s ease;
}
.btn-neon:hover {
    background: rgba(255, 0, 60, 0.1); border-color: #ff003c;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.4); color: #fff;
}

/* --- MANIFESTO / ADVANTAGES --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}
.adv-card {
    background: #0f0f0f;
    padding: 40px;
    border: 1px solid #222;
    transition: 0.3s;
    height: 100%;
}
.adv-card:hover {
    border-color: #ff003c;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.adv-header {
    border-bottom: 2px solid #ff003c;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.adv-num {
    font-family: 'Russo One'; color: #333; font-size: 40px;
    line-height: 1; margin-bottom: 5px;
}
.adv-title {
    font-family: 'Russo One', sans-serif;
    font-size: 20px; color: #fff; text-transform: uppercase;
}
.adv-list { list-style: none; }
.adv-list li {
    margin-bottom: 20px; font-size: 13px; color: #888;
    line-height: 1.5; position: relative; padding-left: 15px;
}
.adv-list li::before {
    content: "•"; color: #ff003c; 
    position: absolute; left: 0; top: 0px; font-size: 16px;
}
.adv-list strong {
    display: block; color: #ddd; font-size: 14px;
    margin-bottom: 5px; text-transform: uppercase;
}

/* --- ARTISTS --- */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.artist-card {
    position: relative; height: 350px; background: #111;
    overflow: hidden; cursor: pointer;
}
.artist-img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%); transition: 0.5s;
    background-color: #222;
}
.artist-card:hover .artist-img { filter: grayscale(0%); transform: scale(1.05); }
.artist-name {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 20px; background: linear-gradient(to top, #000, transparent);
    font-family: 'Russo One'; font-size: 18px; text-transform: uppercase;
    text-shadow: 0 0 10px #000;
}

/* --- RELEASES --- */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.release-card { aspect-ratio: 1/1; background: #111; position: relative; border: 1px solid #222; }
.release-cover { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: 0.3s; }
.release-card:hover .release-cover { opacity: 1; }
.release-info {
    position: absolute; bottom: 10px; left: 10px;
    font-size: 12px; font-weight: bold; text-transform: uppercase;
    text-shadow: 0 0 5px #000;
}

/* --- CAROUSEL --- */
.platforms-section {
    background: #ff003c; padding: 20px 0; overflow: hidden;
    white-space: nowrap; position: relative;
}
.platforms-track { display: inline-block; animation: marquee 20s linear infinite; }
.platform-item {
    display: inline-block; font-family: 'Russo One', sans-serif;
    font-size: 30px; color: #000; margin: 0 40px; text-transform: uppercase;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- FOOTER --- */
footer { background-color: #000; color: #444; padding: 40px 50px; text-align: center; border-top: 1px solid #222; font-size: 11px; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    header { padding: 0 20px; }
    nav a:not(.btn-login-header) { display: none; }
    .section-padding { padding: 60px 20px; }
    h1.neon-title { font-size: 45px; }
    .advantages-grid { grid-template-columns: 1fr; }
}

/* Обертка для позиционирования кнопок */
.artists-slider-wrapper {
    position: relative;
    max-width: 1400px; /* Ограничиваем ширину контента */
    margin: 0 auto;
    padding: 0 40px; /* Отступы по бокам для кнопок */
}

/* Лента с артистами */
.artists-track {
    display: flex;             /* Выстраиваем в ряд */
    gap: 50px;                 /* Расстояние между карточками */
    overflow-x: auto;          /* Включаем скролл */
    scroll-behavior: smooth;   /* Плавная прокрутка */
    padding: 20px 5px;         /* Отступы чтобы тени не резались */
    
    /* Скрываем полосу прокрутки */
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* IE */
}
.artists-track::-webkit-scrollbar { 
    display: none;             /* Chrome/Safari */
}

/* Карточка артиста */
.artist-card {
    min-width: 220px;      /* !ВАЖНО: Минимальная ширина карточки */
    max-width: 220px;      /* Максимальная ширина */
    flex-shrink: 0;        /* !ВАЖНО: Запрещаем карточкам сжиматься */
    text-decoration: none;
    transition: transform 0.3s ease;
    text-align: center;
}

.artist-card:hover {
    transform: translateY(-7px); /* Подпрыгивание при наведении */
}

/* Обертка картинки (для крутого кропа) */
.img-wrapper {
    width: 100%;
    height: 220px;         /* Квадратная или прямоугольная картинка */
    border-radius: 12px;   /* Закругление углов */
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #333; /* Тонкая рамка */
}

.artist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Картинка заполняет блок не искажаясь */
    transition: transform 0.3s;
}

.artist-card:hover .artist-img {
    transform: scale(1.05); /* Легкий зум картинки */
}

.artist-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

/* Кнопка "Назад" - сдвигаем влево */
.prev-btn {
    left: -60px;  /* Было 0. Чем больше минус, тем дальше от карточек */
}

/* Кнопка "Вперед" - сдвигаем вправо */
.next-btn {
    right: -60px; /* Было 0. Чем больше минус, тем дальше от карточек */
}

/* ОБНОВЛЕННЫЙ БАЗОВЫЙ КЛАСС (твои стили + правка) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: 1px solid #ff3333;
    width: 45px; 
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    
    /* Убираем лишние margin, тут они не нужны */
    margin: 0; 
}

/* На мобилках кнопки скрываем, там свайпают пальцем */
@media (max-width: 768px) {
    .slider-btn { display: none; }
    .artists-slider-wrapper { padding: 0; }
    .artist-card { min-width: 160px; max-width: 160px; } /* Карточки поменьше */
    .img-wrapper { height: 160px; }
}

/* --- СЛАЙДЕР РЕЛИЗОВ --- */

.releases-slider-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 70px; /* Отступы под кнопки (как у артистов) */
    padding: 0 10px;
}

.releases-track {
    display: flex;
    gap: 25px; /* Чуть больше расстояние между альбомами */
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.releases-track::-webkit-scrollbar { display: none; }

/* Карточка релиза */
.release-card {
    min-width: 200px;      /* Размер обложки */
    max-width: 200px;
    flex-shrink: 0;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.release-card:hover {
    transform: translateY(-5px);
}

/* Обертка обложки (КВАДРАТНАЯ) */
.cover-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;   /* !ВАЖНО: Делает блок идеальным квадратом */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    border: 1px solid #222;
}

.release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

/* Эффект при наведении */
.release-card:hover .release-cover {
    transform: scale(1.1);       /* Приближение картинки */
    filter: brightness(0.4);     /* Затемнение */
}

/* Иконка Play */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0); /* Скрыта */
    font-size: 40px;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}

.release-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1); /* Появляется */
}

/* Текст */
.release-info {
    margin-top: 12px;
}

.release-title {
    color: #ff003c; /* Твой фирменный красный */
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap; /* Чтобы текст не переносился */
    overflow: hidden;
    text-overflow: ellipsis; /* Троеточие, если длинное название */
}

.release-artist {
    color: #888;
    font-size: 0.9rem;
    margin-top: 4px;
}

/* Контейнер FAQ */
.faq-container {
    max-width: 800px; /* Делаем уже, чтобы текст было удобно читать */
    margin: 0 auto;
    padding: 0 20px;
}

.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Расстояние между вопросами */
}

/* Сама плашка вопроса */
.faq-item {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: #ff003c; /* Красная рамка при наведении */
}

/* Кнопка (Заголовок вопроса) */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px;
    text-align: left;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

/* Иконка плюсика */
.faq-icon {
    font-size: 1.5rem;
    color: #ff003c;
    transition: transform 0.3s;
}

/* Ответ (скрыт по умолчанию) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #0f0f0f;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: #aaa;
    line-height: 1.6;
    margin: 0;
}

/* КЛАСС ACTIVE (когда вопрос открыт) */
.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Плюсик превращается в крестик */
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Высота раскрытия (должно хватать для текста) */
}

.faq-item.active {
    border-color: #ff003c;
}