.typewriter {
    font-size: 7.5rem;
    font-weight: 600;
    color: white;
    min-height: 40px;
}

.typewriter::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/*/ --- Size Logo --- /*/
.vlt-navbar .vlt-navbar-logo img {
    display: block;
    height: 2.4375rem !important;
}

/*/ --- Slider --- /*/
.swiper-container-autoheight {
    padding-bottom: 5px !important;
}

.slider-title {
    font-size: 2rem;
    font-weight: 800;
}

.slider-title span {
    background-color: #cf000f
}

.slider-text {
    width: 99%;
}

.u-dot {
    position: absolute;
    top: 30px;
    left: 34px;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #cf000f;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/*/ --- Audio --- /*/

#tracksGrid .track {
    display: flex;
    height: 80px;
    align-items: center;
    /* GPU acceleration для всех треков */
    opacity: 0;
    animation: fade-in-down 0.6s ease-out forwards;
    will-change: transform;
    backface-visibility: hidden;
}

/* 🔥 Автоматический stagger для каждых 8 треков */
#tracksGrid .track:nth-child(8n+1) {
    animation-delay: 0.04s;
}

#tracksGrid .track:nth-child(8n+2) {
    animation-delay: 0.08s;
}

#tracksGrid .track:nth-child(8n+3) {
    animation-delay: 0.16s;
}

#tracksGrid .track:nth-child(8n+4) {
    animation-delay: 0.24s;
}

#tracksGrid .track:nth-child(8n+5) {
    animation-delay: 0.32s;
}

#tracksGrid .track:nth-child(8n+6) {
    animation-delay: 0.4s;
}

#tracksGrid .track:nth-child(8n+7) {
    animation-delay: 0.48s;
}

#tracksGrid .track:nth-child(8n+8) {
    animation-delay: 0.56s;
}

@keyframes fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-18px) translateZ(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
        animation-timing-function: ease-out;
    }
}


#tracksGrid h3 {
    font-size: 1rem;
}

#tracksGrid .text-primary {
    color: #dd3c49 !important;
}

#tracksGrid .bg-primary {
    background-color: hsl(var(--primary)) !important;
}

#tracksGrid .play-btn:hover .play-icon {
    stroke: white !important;
}

#tracksGrid .equalizer {
    margin: 10px 10px 0 0;
}

.track-time {
    min-width: 40px;
}

/* Random Button */
.random-tracks {
    display: inline-flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1.5rem;
    background-color: hsl(var(--card));
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.random-tracks:hover {
    background-color: transparent;
    color: #cf000f;
}

.random-tracks i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.random-tracks:hover i {
    transform: rotate(180deg);
}

/* Анимация при нажатии */
.random-tracks.shuffling i {
    animation: shuffle-spin 0.6s ease-in-out;
}

@keyframes shuffle-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.random-tracks span {
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.title-movie {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.title-movie > h5 {
    font-weight: 600;
    color: white !important;
    text-transform: uppercase;
}

.movie-desc {
    text-transform: uppercase;
    letter-spacing: 0 !important;
}

.team-title {
    margin-bottom: 40px;
    padding: 40px 90px;
    text-indent: 40px;
}

.theme-dark #content {
    background-color: #000 !important;
}

/* --- CONTACT FORM --- */


input[type=text].error {
    border-color: #cf000f !important;
}

/* Красная подсветка поля с ошибкой */
.vlt-form-group.has-error input,
.vlt-form-group.has-error textarea {
    border-bottom: 2px #cf000f !important;
}

/* Альтернатива - если у тебя другая структура */
input.error-field,
textarea.error-field {
    border-bottom: 2px #cf000f !important;
}

/* Опционально: анимация для плавности */
.vlt-form-group input,
.vlt-form-group textarea {
    transition: border-color 0.3s ease;
}

/* Убираем outline при фокусе, чтобы не было двойной подсветки */
.vlt-form-group.has-error input:focus,
.vlt-form-group.has-error textarea:focus {
    border-color: #cf000f;
    outline: none;
}

/*/ --- COOKIE BANNER--- /*/

.cookie-banner {
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: #111;
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: transform 2s cubic-bezier(.22, 1, .36, 1), opacity 0.4s ease;
    z-index: 9999;
    max-width: 700px;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cookie-inner {
    color: #a8a7a7;
    text-align: justify;
    font-size: 16px;
    gap: 20px;
    padding: 20px;
}

.cookie-inner span {
    color: #dadada;
    text-decoration: underline;
}

.cookie-inner span:hover {
    color: #cf000f;
}

.teams {
    row-gap: 30px;
}

.contact-mail p {
    font-size: 1.1rem;
}

/*/ --- 404 --- /*/

    .container-center-404 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .content-center-404 {
        text-align: center;
        margin-bottom: 45px; /* Заменяет vlt-gap-45 */
    }

    .content-center-404 .vlt-gap-30 {
        margin: 30px 0;
    }


    .image-404 img {
        max-width: 50%;
        height: auto;
        max-height: 60vh;
        margin: 0 auto;
    }

    @media (max-width: 768px) {
        .container-center-404 {
            padding: 20px;
        }
        .image-404 img {
            max-height: 40vh;
        }
    }

/*/ --- Policy --- /*/

.main-list {
        counter-reset: main-section;
        list-style: none;
        padding-left: 0;
    }

    .main-list > li {
        counter-increment: main-section;
        margin-bottom: 20px;
        font-weight: bold;
    }

    .main-list > li:before {
        content: counter(main-section) ". ";
        font-size: 1.4em;
        font-weight: bold;
        /*color: #2c3e50;*/
        /*background: #e8f4f8;*/
        padding: 3px 10px;
        border-radius: 5px;
        margin-right: 10px;
    }

    .section-title {
        font-size: 1.5em; /* Увеличиваем текст раздела */
    }

    .sub-list {
        counter-reset: sub-section;
        list-style: none;
        margin-top: 10px;
        margin-left: 30px;
        padding-left: 0;
    }

    .sub-list li {
        counter-increment: sub-section;
        margin-bottom: 8px;
        font-weight: normal;
    }

    .sub-list li:before {
        content: counter(main-section) "." counter(sub-section) " ";
        font-weight: normal;
        color: #d51515;
        margin-right: 10px;
    }

    .sub-section {
        font-weight: normal;
        margin-top: 10px;
        margin-left: 30px;
    }

    .marker-list {
        list-style: revert;
        font-weight: normal;
        margin-left: 80px;
    }

   .marker-list-item {
       list-style: disc;
       margin: 10px 0 10px 40px;
       font-weight: normal;
   }

   .video-mute::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* 0.5 = 50% затемнения */
    pointer-events: none; /* Чтобы затемнение не мешало кликам по видео */
    z-index: 1;
}

   .vlt-section__ken-burn-background video {
       width: 100%;
       height: 100%;
       /*object-fit: cover;*/
   }


/*/ --- Mobile --- /*/

@media only screen and (max-width: 575px) {
    .typewriter {
        font-size: 3.5rem;
    }
}

@media only screen and (max-width: 391px) {
    .equalizer {
        display: none !important
    }
}

@media only screen and (max-width: 960px) {
    .typewriter {
        font-size: 2.7rem;
    }

    .grid {
        display: flex !important;
        flex-direction: column !important;
    }

    #tracksGrid h3 {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 1024px) {
    .grid {
        display: flex;
        flex-direction: column;
    }

    .cookie-inner {
        font-size: 10px;
    }
}

@media only screen and (max-width: 1199px) {
    .typewriter {
        font-size: 2.7rem;
    }
}
