/* static/pages/css/sound-check.css */

/* Общие стили */
body {
    position: relative;
    background: linear-gradient(#1f1e2f, #1C1B2B);
}
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -30px;
    background-image: url(../images/sound-check/scheck-back.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: -1;
}

.container {
    position: relative;
    padding: 0;
}

.cta-button {
    background: transparent;
    color: white;
    font-size: 18px;
    padding: 10px 50px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #00f, #f0f);
    z-index: -1;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #00f, #f0f);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::after {
    left: 0;
}

.cta-button:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Первая секция */
.page-section {
    position: relative;
    padding: 0px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-section .container-lg {
    position: relative;
    background: linear-gradient(216deg, rgb(255 170 131 / 40%), rgb(161 44 244 / 40%), rgba(30, 6, 56, 0.4));
    border-radius: 50px;
    padding: 35px;
    max-width: 1200px;
    margin: auto;
    box-shadow: 10px 10px 10px rgb(34 3 42 / 40%);
}

.page-section .container-lg::before {
    background-image: url(../images/sound-check/curves-back.svg);
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-radius: inherit;
    background-size: 100%;
    background-position: 0px 150px;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: -1;
}


/* Заголовки */

.page-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #fff;
    font-size: 36px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 9.8);
    margin-bottom: 50px;
}

.page-title-1 {
    position: relative;
    margin-left: 100px;
    padding: 3px 20px;
}

.page-title-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 3px solid #ff0493;
    z-index: -2;
}

.page-title-2 {
    text-align: center;
}

.back-line2 {
    position: absolute;
    width: 360px;
    margin-top: -28px;
    left: -100px;
    transform: rotate(7deg) translate(-25%, 0%);
    stroke: #BB9EFF;
    stroke-width: 6px;
    fill: none;
    stroke-linecap: butt;
    stroke-linejoin: miter;
    z-index: -1;
}

.page-content {
    display: flex;
    gap: 50px;
}

.page-content .left {
    position: relative;
    display: flex;
    width: 65%;
    align-items: flex-end;
    flex-direction: column;
    justify-content: center;
}

.image-placeholder {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 25px;
    padding: 5px;
    overflow: hidden;
    cursor: pointer;
}

.image-placeholder::after {
    border-radius: 27px;
    background: linear-gradient(to left, #3f00ff, #9e389e);
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: -1;
    transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1); /* Плавная анимация */
}

.image-placeholder a {
    position: relative;
    width: 100%;
    display: block;
    text-decoration: none;
    border-radius: inherit;
}

.image-placeholder img {
    border-radius: inherit;
    max-width: 600px;
    width: 100%;
    display: block;
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: auto;
    right: 15%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.image-placeholder:hover .play-icon-overlay {
    animation: playShake 0.55s ease-in-out 1 both;
}

@keyframes playShake {
    0% { transform: translateY(-50%) translateX(0) rotate(0deg); }
    20% { transform: translateY(-50%) translateX(-2px) rotate(-2deg); }
    40% { transform: translateY(-50%) translateX(2px) rotate(2deg); }
    60% { transform: translateY(-50%) translateX(-1px) rotate(-1deg); }
    80% { transform: translateY(-50%) translateX(1px) rotate(1deg); }
    100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
}

.play-icon-overlay i {
    font-size: 80px;
    color: #ff4fd8;
    margin-left: 5px; /* визуальное центрирование треугольника */
}

.image-placeholder a:hover {
    text-decoration: none;
}

.page-content .left .buttons {
    position: relative;
    margin-top: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.page-content .left .buttons .no-inst  {
    color: #BB99FF;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.page-content .left .buttons .no-inst i {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    font-size: 30px;
    width: 40px;
}

.page-content .right {
    position: relative;
    background: linear-gradient(#19006538, #06002869);
    width: 35%;
    border-radius: 50px;
    padding: 40px;
}

/* Вертикальный список описаний видео sound-check */
.sound-check-descriptions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sound-check-descriptions li {
    position: relative;
    padding-left: 35px;
    min-height: 24px;
}

.sound-check-descriptions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #999;
}

.sound-check-descriptions li.watched::before {
    background-color: #ff0493;
}

.sound-check-descriptions li.unwatched::before {
    background-color: #999;
}

.sound-check-descriptions li a {
    color: #fff;
    line-height: 1.4;
    display: block;
    font-size: 18px;
    border-radius: 25px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s;
}

.sound-check-descriptions li a:hover {
    color: #dec0ff;
}

.sound-check-descriptions li:not([class*="watched"]):not([class*="unwatched"]) {
    padding-left: 0;
}

.sound-check-descriptions li:not([class*="watched"]):not([class*="unwatched"])::before {
    display: none;
}

@media (max-width: 1200px) {
    .page-section { padding: 0;}
    .page-section .plyr { height: fit-content; }
    .page-title { font-size: 30px;}
    .page-title-1 { margin-left: 50px; }
    .back-line2 { width: 240px; transform: translate(0%, 10%); }
    .sound-check-descriptions li a { font-size: 16px; }
    .cta-button { font-size: 16px;}
}

@media (max-width: 999px) {
    .page-section .video-content { flex-direction: column-reverse; align-items: center; }
    .video-content .info { position: relative; margin: 5px; text-align: center; }
    .video-content .info span { border-radius: 25px 25px 0px 0px; }
    .page-section .video-row .left h1 { margin: 0; }
    .page-section .video-row .right { bottom: -30px; }
    .page-title { flex-direction: column; gap: 10px; }
    .page-title-1 { margin-left: 0px; }
    .page-content { flex-direction: column; align-items: center; }
    .page-content .left { width: 100%; align-items: center; }
    .image-placeholder { max-width: 400px; }
    .page-content .right { width: 80%; }
} 

@media (max-width: 768px) {
    .page-title-2 { font-size: 28px; }
    .cta-button { font-size: 14px; }
    .page-content .left .buttons .no-inst { font-size: 14px; }
    .sound-check-descriptions li a { font-size: 16px; }
}

@media (max-width: 532px) {
    .page-title { font-size: 28px;}
    .page-title-2 { font-size: 18px; }
    .page-content .left .buttons { flex-direction: column; }
    .page-content .right { width: 100%; }
    .sound-check-descriptions li a { font-size: 14px; }
    .sound-check-descriptions li::before { top: 0; }
    .play-icon-overlay i { font-size: 60px; }
}