/* =========================================
   1. ОБЩИЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ========================================= */
   :root {
    --bg-color: #F9F9F9;
    --text-color: #111111;
    --font-main: 'Onest', sans-serif;
    --accent-red: #EE4238;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Универсальный контейнер (для шапки, футера и заголовков) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* =========================================
   2. ШАПКА (NAVBAR)
   ========================================= */
.navbar {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    background-color: var(--bg-color);
    z-index: 1000;
}

.navbar-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 100px;
    padding-right: 100px;
}

.navbar-logo {
    display: flex;
    align-items: center;
}

.navbar-link {
    font-size: 18px;
    font-weight: 800;
}

/* Адаптив шапки */
@media (max-width: 900px) {
    .navbar-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================
   3. ГЛАВНЫЙ КОНТЕНТ (MAIN)
   ========================================= */
.main-content {
    padding-top: 10px; 
}

/* --- ОБЩИЕ КНОПКИ --- */
.btn-small {
    display: inline-block;
    background-color: #111111;
    color: #FFFFFF;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* =========================================
   4. СЕКЦИЯ HERO (ГЛАВНЫЙ ЭКРАН)
   ========================================= */
.hero-section {
    width: 100%;
    padding-top: 0;
    padding-bottom: 20px;
    margin-top: 20px; 
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-wrapper {
    position: relative;
    max-width: 720px; 
    width: 100%;
    margin: 0 auto; 
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.hero-overlay-content {
    position: absolute;
    top: 58%; 
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 25px;
}

.hero-title {
    font-size: 72px; 
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
    opacity: 0.9;
    margin-top: 20px;
    margin-bottom: 50px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Кнопки в Hero */
.static-btn {
    position: relative;
    z-index: 10;
}

.magnetic-btn {
    position: relative;
    z-index: 5;
    transition: transform 0.1s ease-out, background-color 0.2s;
    will-change: transform;
}

/* Адаптив Hero */
@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-image { transform: scale(1.2); }
}

/* =========================================
   5. СЕКЦИЯ РЕЛИЗЫ (AUTO SCROLL)
   ========================================= */
.releases-section {
    padding-top: 60px;
    padding-bottom: 100px;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 64px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--text-color);
    line-height: 1;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 30px; 
    width: 100%;
    /* Анимация управляется JS */
}

/* Карточка релиза */
.slide {
    /* 3 карточки на экран */
    flex: 0 0 calc((100% - 60px) / 3); 
    min-width: calc((100% - 60px) / 3);
    display: flex;
    flex-direction: column;
}

.release-cover-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1; 
    background-color: #D9D9D9;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.release-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-info {
    margin-left: 5px;
    margin-bottom: 15px;
}

.release-artist {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
    display: block;
}

.release-track {
    font-size: 18px;
    font-weight: 400;
    color: #111;
}

.release-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40px;
    background-color: #111111;
    color: #FFFFFF;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.2s;
}
.release-btn:hover {
    background-color: #333333;
}

/* Адаптив Релизов */
@media (max-width: 900px) {
    .slide { flex: 0 0 calc((100% - 30px) / 2); min-width: calc((100% - 30px) / 2); }
}
@media (max-width: 600px) {
    .slide { flex: 0 0 100%; min-width: 100%; }
    .section-title { font-size: 40px; }
}

/* =========================================
   6. СЕКЦИЯ "КАЖДЫЙ ШАГ" (ШАГИ)
   ========================================= */
.steps-section {
    padding-bottom: 120px;
    width: 100%;
    background-color: var(--bg-color);
    overflow: hidden;
}

.steps-section .section-title {
    text-align: center;
    margin-top: 50px;
    line-height: 1;
}

/* Обертка скролла */
.steps-wrapper {
    width: 100%;
    overflow-x: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}
.steps-wrapper::-webkit-scrollbar { display: none; }
.steps-wrapper:active { cursor: grabbing; }

/* Трек контента */
.steps-track {
    position: relative;
    width: max-content;
    display: flex;
    gap: 40px;
    
    /* Центрируем на больших экранах */
    margin: 0 auto; 
    padding-left: 40px;
    padding-right: 40px;
}

/* Линия */
.line-layer {
    position: absolute;
    /* Твоя ручная настройка */
    left: 49.47%;
    transform: translateX(-50%);
    top: 65px; 
    
    width: 1237px;
    height: 34px;
    z-index: 10; 
    pointer-events: none;
}
.line-layer svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Карточка шага */
.step-card {
    width: 327px;
    height: 370px;
    background-color: #111111;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    user-select: none;
}

/* Стикеры */
.step-sticker {
    width: 260px;
    height: 47px;
    background-color: #EE4238;
    color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Onest', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    
    position: absolute;
    top: 60px; 
    left: 50%;
    z-index: 20; 
    box-shadow: none;
}
/* Повороты */
.sticker-1 { transform: translateX(-50%) rotate(-3deg); }
.sticker-2 { transform: translateX(-50%) rotate(2deg); }
.sticker-3 { transform: translateX(-50%) rotate(-2deg); }
.sticker-4 { transform: translateX(-50%) rotate(3deg); }
.sticker-5 { transform: translateX(-50%) rotate(-1deg); }

/* Узор */
.step-visual {
    padding: 15px 15px 0 15px;
    width: 100%;
}
.pattern-box svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Текст шага */
.step-content {
    margin-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    color: #fff;
}
.step-title {
    font-weight: 800;
    font-size: 30px;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.step-desc {
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #cccccc;
}

/* Адаптив Шагов */
@media (max-width: 1850px) {
    .steps-track {
        margin: 0;
        justify-content: flex-start;
    }
}

/* =========================================
   7. СЕКЦИЯ CTA (ПЛАШКИ АРТИСТОВ)
   ========================================= */
.cta-new-section {
    padding-bottom: 100px;
    background-color: var(--bg-color);
    text-align: center;
}

.cta-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #000;
}

.pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto 50px auto;
}

.artist-pill {
    height: 40px;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    padding-right: 20px;
    user-select: none;
    transition: transform 0.2s ease;
}
.artist-pill:hover {
    transform: scale(1.05);
    background-color: rgba(0, 0, 0, 0.6);
}

.pill-img, .pill-img-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 4px;
    object-fit: cover;
    display: block;
}
.pill-img-placeholder {
    background-color: #ccc;
}

.pill-name {
    font-family: 'Onest', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #ffffff;
    margin-left: 10px;
    line-height: 1;
}

.cta-description {
    font-size: 16px;
    line-height: 1.4;
    color: #111;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Адаптив CTA */
@media (max-width: 768px) {
    .cta-title { font-size: 40px; }
    .pill-name { font-size: 20px; }
    .artist-pill { height: 34px; }
    .pill-img, .pill-img-placeholder { width: 26px; height: 26px; }
}

/* =========================================
   8. ПОДВАЛ (FOOTER)
   ========================================= */
.footer {
    margin-top: 80px;
    background-color: #EFEFEF;
    height: 370px;
    padding-top: 38px;
    padding-bottom: 40px;
    display: flex;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.footer-main {
    display: flex;
    justify-content: space-between;
}

.footer-description {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
}

.social-icons {
    margin-top: 60px;
    display: flex;
    gap: 6px;
}
.social-icons a { display: block; }

.footer-column-right {
    margin-right: 280px;
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
}

.footer-link {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
}
.footer-link:hover { text-decoration: underline; }

.bot { margin-top: 0px; }
.bot, .mail { font-size: 14px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-legal,
.footer-copy {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
}

.footer-copy .footer-link {
    display: inline;
    margin-top: 0;
}

/* Адаптив Футера */
@media (max-width: 900px) {
    .footer { height: auto; }
    .footer-main { flex-direction: column; gap: 40px; }
    .footer-column-right { margin-right: 0; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}