/* Базовые настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #2b1331; /* Твой фиолетовый фон */
    color: white;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

/* Кнопки в колонку */
.project-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    max-width: 500px;
}

.card {
    background-color: #6b2b7a; /* Фиолетовые кнопки */
    border: 1px solid #4a1d55;
    border-radius: 20px;
    padding: 30px;
    text-decoration: none;
    color: white;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.card:hover {
    background-color: #ffffff;
    color: #2b1331;
    transform: scale(1.05);
}

/* Стили для страницы проекта */
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.back-btn {
    color: #d684eb;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 30px;
}

.video-box {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.video-box iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.text-section h1 { font-size: 2.5rem; margin-bottom: 10px; }
.subtitle { color: #d684eb; margin-bottom: 25px; }

.text-section p { line-height: 1.7; margin-bottom: 20px; color: #eee; }

.personal-box {
    background-color: #3d1b45;
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    border-left: 5px solid #d684eb;
}

.photo-column {
    display: flex;
    flex-direction: column; /* Выстраиваем в столбик */
    align-items: center;    /* Центрируем всё строго по середине */
    gap: 60px;             /* Расстояние между фотографиями 1.5 см */
    margin-top: 50px;
    margin-bottom: 80px;
}

.photo-column img {
    max-width: 45%;        
    height: auto;          /* Чтобы не сплющило */
    
    /* ОФОРМЛЕНИЕ */
    border-radius: 10px;   /* Легкое закругление */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3); /* Небольшая тень, чтобы фото "оторвалось" от фона */

}

.audio-wrapper {
    text-align: center;
    margin: 40px 0;
}

.audio-control {
    width: 65px;
    height: 65px;
    background-color: transparent;
    border: 2px solid #d684eb;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

/* Сама иконка треугольник */
.audio-control .icon {
    width: 20px;
    height: 20px;
    background-color: #d684eb;
    /* Рисуем треугольник через координаты */
    clip-path: polygon(10% 0%, 10% 100%, 100% 50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: 4px; /* Небольшой сдвиг, чтобы треугольник был визуально в центре круга */
}

/* Состояние, когда музыка ИГРАЕТ (превращаем в квадрат) */
.audio-control.playing .icon {
    clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
    width: 18px;
    height: 18px;
    margin-left: 0; /* Убираем сдвиг для ровного квадрата */
}

.audio-control:hover {
    transform: scale(1.1);
    background-color: rgba(214, 132, 235, 0.1);
    box-shadow: 0 0 20px rgba(214, 132, 235, 0.2);
}

.text12 {
    color: #a46bb4;
}

.text13 {
    color: #d684eb;
}


footer { padding: 40px; text-align: center; }
footer a { color: #8a5a96; text-decoration: none; margin: 0 15px; font-size: 0.8rem; }