/* ===============================
   1. БАЗА
================================ */
* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background-color: #D1CDB4;
    font-family: Tahoma, Verdana, Arial, sans-serif;
}

img { display: block; border: 0; max-width: 100%; height: auto; }
a { text-decoration: none; }
a img { border: 0; }

html {
    scroll-behavior: smooth;
}

/* ===============================
   2. КОНТЕЙНЕР
================================ */
.site-wrapper {
    width: 899px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    background-image: url('https://tatyanadivina.com/assets/img/main_bgr.gif');
    background-repeat: repeat-y;
    background-position: top center;
}

/* ===============================
   3. HEADER & HERO
================================ */
header { text-align: center; margin-bottom: 20px; }
header img { margin: 0 auto; }

.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.main-logo { flex: 1; text-align: right; }
.main-logo img { margin-left: auto; }

/* ===============================
   4. МЕНЮ (NAV) - ИСПРАВЛЕННАЯ ЛОГИКА
================================ */
nav {
    flex: 0 0 226px; /* Фиксированная ширина */
    display: flex;
    flex-direction: column;
}

/* Блок языков */
.lang-row {
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    margin-bottom: 5px;
}
.lang-row.bottom {
    margin-top: 5px;
    margin-bottom: 0;
}

/* --- КНОПКА МЕНЮ (ФОН) --- */
.menu-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 226px;
    height: 32px;
    margin-bottom: 0;
    
    /* [ВАЖНО] Отключаем реакцию мыши на сам блок кнопки */
    pointer-events: none; 
    cursor: default;
    
    /* Убираем синюю рамку браузера при клике */
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Фоны кнопок */
.btn-top { background: url('https://tatyanadivina.com/assets/img/menu1st.jpg') no-repeat center; }
.btn-mid { background: url('https://tatyanadivina.com/assets/img/menu.jpg') no-repeat center; }
.btn-bot { background: url('https://tatyanadivina.com/assets/img/menu_last.jpg') no-repeat center; }


/* --- ТЕКСТ МЕНЮ (МАТОВЫЙ ЭФФЕКТ) --- */

/* --- ОСНОВНОЙ СТИЛЬ (Спокойное состояние) --- */
.fantasy-text-menu {
    pointer-events: auto;
    cursor: pointer;

    font-family: "Times New Roman", Times, serif;
    font-weight: 900; 
    font-size: 16px; /* Единый размер для всех */
    letter-spacing: 0.5px;
    
    /* === 1. МАТОВАЯ ЗАЛИВКА (Pastel Blue) === */
    background: linear-gradient(to bottom, #9bbde0 0%, #6b93ba 50%, #4a7296 100%);
    
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* === 2. ТОНКИЙ КОНТУР === */
    -webkit-text-stroke: 0.4px rgba(16, 48, 80, 0.6); 
    
    /* Тень (очень легкая, для объема) */
    filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.15));
    
    padding-bottom: 2px;
    
    /* === 3. ПЛОТНОСТЬ === */
    opacity: 0.95;           
    filter: saturate(0.8); 
    
    transition: all 0.3s ease-in-out;
}

/* --- ЭФФЕКТ ПРИ НАВЕДЕНИИ (Сияние) --- */
.fantasy-text-menu:hover {
    opacity: 1; 
    
    /* При наведении делаем цвета сочными и яркими */
    filter: saturate(1.4) brightness(1.15);
    
    /* Легкое увеличение */
    transform: scale(1.02); 
}


/* ===============================
   КОРРЕКЦИЯ ДЛЯ КРАЙНИХ КНОПОК
================================ */

/* Верхняя кнопка (Home) */
.btn-top .fantasy-text-menu {
    position: relative;
    /* Увеличили сдвиг вниз */
    top: 4px; 
}

/* Нижняя кнопка (Contact) */
.btn-bot .fantasy-text-menu {
    position: relative;
    /* Увеличили сдвиг вверх */
    top: -5px; 
}



/* ===============================
   5. ОСТАЛЬНОЙ КОНТЕНТ
================================ */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
    margin: 30px 0;
}
.feature { display: flex; flex-direction: column; min-height: 340px; }
.f-head {
    height: 22px;
    background: url(https://tatyanadivina.com/assets/img/menu-hor.gif) no-repeat center top;
    display: flex; align-items: center; justify-content: center;
}
.f-head h3, .f-head a {
    font-size: 12px; line-height: 22px; margin: 0;
    color: #660000; text-decoration: none; font-weight: bold; font-family: Verdana, sans-serif;
}
.f-body {
    flex: 1;
    background: url(https://tatyanadivina.com/assets/img/menu_hor_in.gif) repeat-y center top;
    padding: 10px 35px; text-align: center; font-size: 12px; color: #333333;
}
.f-body img { margin: 0 auto 10px; }
.f-foot { height: 22px; background: url(https://tatyanadivina.com/assets/img/menu-hor_f.gif) no-repeat center top; }

.block { margin-bottom: 20px; }
.block-top { height: 22px; background: url(https://tatyanadivina.com/assets/img/menu-hor-big-top.gif) no-repeat center; }
.block-mid { background: url(https://tatyanadivina.com/assets/img/menu-hor-big-mid.gif) repeat-y center; padding: 15px 60px; text-align: justify; font-size: 14px; color: #333333; }
.block-bot { height: 22px; background: url(https://tatyanadivina.com/assets/img/menu-hor-big-fut.gif) no-repeat center; }

h2 { text-align: center; color: #660000; font-family: "Times New Roman", serif; font-size: 18px; margin: 0 0 10px 0; }

.albums { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.albums p { text-align: center; margin-bottom: 10px; }
.albums img { margin: 0 auto; }

footer { text-align: center; padding: 30px 0; font-size: 10px; color: #000; }

@media (max-width: 900px) { .site-wrapper { background: none; width: 100%; } }
@media (max-width: 800px) {
    .hero { flex-direction: column-reverse; align-items: center; }
    nav { margin-top: 10px; }
    .features { grid-template-columns: 1fr 1fr; gap: 15px; }
}
@media (max-width: 500px) {
    .features { grid-template-columns: 1fr; }
    .albums { grid-template-columns: 1fr; }
    .block-mid { padding: 15px; }
}

/* Контейнер, который ставит цитату и фото в ряд */
.bio-container {
    display: flex;             /* Включаем гибкую верстку */
    align-items: center;       /* Выравниваем по вертикали по центру */
    gap: 30px;                 /* Расстояние между текстом и фото */
    justify-content: space-between;
}

/* Стили для блока с текстом (слева) */
.bio-quote {
    flex: 1;                   /* Занимает все свободное место */
    font-family: "Georgia", "Times New Roman", serif; /* Красивый шрифт для цитат */
    font-style: italic;        /* Курсив */
    font-size: 16px;           /* Размер шрифта чуть крупнее */
    line-height: 1.5;
    text-align: right;         /* Выравнивание текста к фотографии */
    color: #444;
}

/* Подпись автора */
.bio-sign {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-style: normal;
    font-size: 14px;
    color: #660000;            /* Твой фирменный бордовый цвет */
}

/* Стили для блока с фото (справа) */
.bio-photo {
    flex: 0 0 auto;            /* Не сжимать и не растягивать блок фото */
}

.bio-photo img {
    width: 250px;              /* Ширина фотографии */
    height: auto;
    border-radius: 20%;        /* Сделать круглым (или убери это для квадратного) */
    border: 3px solid #fff;    /* Белая рамка */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); /* Легкая тень */
}

/* --- АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ --- */
@media (max-width: 600px) {
    .bio-container {
        flex-direction: column-reverse; /* На телефоне фото сверху, текст снизу */
        text-align: center;
    }
    
    .bio-quote {
        text-align: center;    /* Центрируем текст на телефоне */
    }
    
    .bio-photo img {
        width: 120px;          /* Чуть меньше фото на телефоне */
    }
}

/* Контейнер для музыки (похож на bio, но свои настройки) */
.music-container {
    display: flex;
    align-items: center;
    gap: 40px; /* Отступ между текстом и диском */
    justify-content: space-between;
}

.music-info {
    flex: 1; /* Текст занимает всё свободное место */
}

.music-cover {
    flex: 0 0 auto;
}

/* Красивый вид для обложки (поворот и тень) */
.music-cover img {
    width: 180px;
    height: auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); /* Тень */
    transform: rotate(3deg); /* Легкий наклон для динамики */
    border: 1px solid #fff;
    transition: transform 0.3s ease;
}

.music-cover img:hover {
    transform: rotate(0deg) scale(1.05); /* Эффект при наведении */
}

/* --- КНОПКА YOUTUBE MUSIC --- */
.yt-music-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 12px 25px;
    
    background-color: #ff0000; /* Фирменный красный YouTube */
    color: #fff !important;    /* Белый текст */
    
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px;       /* Закругленная кнопка */
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.yt-music-btn:hover {
    background-color: #cc0000; /* Темнеет при наведении */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    transform: translateY(-2px); /* Чуть всплывает */
}

.play-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 650px) {
    .music-container {
        flex-direction: column-reverse; /* На телефоне картинка сверху */
        text-align: center;
    }
    .yt-music-btn {
        width: 100%; /* Кнопка на всю ширину на телефоне */
    }
}


/* Контейнер: Текст слева, Плеер справа */
.player-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Выравнивание по верху */
    gap: 30px;
}

.player-info {
    flex: 1; /* Текст занимает оставшееся место */
    min-width: 250px; /* Чтобы текст не сжимался слишком сильно */
}

/* Обертка для плеера */
.player-wrapper {
    flex: 0 0 320px; /* Фиксированная ширина плеера на ПК */
    height: 180px;   /* Высота плеера (стандартное соотношение 16:9) */
    
    /* Тень и рамка для красоты */
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 4px solid #fff;
    border-radius: 4px;
    background: #000;
}

/* Сам iframe внутри обертки */
.player-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* Маленькая ссылка под текстом */
.yt-link-small {
    display: inline-block;
    margin-top: 15px;
    color: #cc0000;
    font-size: 12px;
    font-weight: bold;
    text-decoration: underline;
}
.yt-link-small:hover { text-decoration: none; }

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 700px) {
    /* Сбрасываем широкие поля */
    .block-mid {
        padding: 15px 20px;
    }

    /* Биография */
    .bio-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .bio-quote { text-align: center; }
    .bio-photo img { width: 120px; }

    /* --- НАСТРОЙКИ ПЛЕЕРА --- */
    .player-container {
        flex-direction: column; /* Плеер сверху, текст снизу */
    }
    
    .player-wrapper {
        width: 100%;
        height: 200px;
        margin-top: 0;      /* Убрали отступ сверху у плеера */
        margin-bottom: 20px; /* ДОБАВИЛИ отступ снизу (до текста) */
    }
    
    .player-info {
        text-align: center; /* Центрируем текст под плеером */
    }
}

/* Контейнер: Кнопки слева, Текст справа */
.streaming-container {
    display: flex;
    align-items: center; /* Выравнивание по центру по вертикали */
    gap: 40px;           /* Расстояние между колонками */
    justify-content: space-between;
}

/* Колонка для кнопок */
.streaming-buttons {
    flex: 0 0 240px;     /* Фиксированная ширина колонки кнопок */
    display: flex;
    flex-direction: column;
    gap: 15px;           /* Расстояние между кнопками */
}

/* Блок с текстом */
.streaming-text {
    flex: 1;
}

/* --- ОБЩИЙ СТИЛЬ КНОПОК --- */
.store-btn {
    display: block;
    text-align: center;
    padding: 12px 10px;
    color: #fff !important; /* Белый текст */
    text-decoration: none;
    
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border-radius: 5px;     /* Скругленные углы */
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Эффект нажатия (при наведении) */
.store-btn:hover {
    transform: translateY(-2px); /* Кнопка чуть всплывает */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* --- ЦВЕТА БРЕНДОВ --- */

/* YouTube: Красный */
.btn-yt {
    background-color: #ff0000; 
}
.btn-yt:hover { background-color: #d90000; }

/* Apple: Черный (классика) или Розово-красный */
.btn-apple {
    background-color: #222222; 
}
.btn-apple:hover { background-color: #000000; }

/* Amazon: Темно-синий/Циан */
.btn-amz {
    background: linear-gradient(to right, #232f3e, #146eb4); /* Градиент для красоты */
}
.btn-amz:hover {
    background: linear-gradient(to right, #1a2533, #0f5c99);
}


/* --- АДАПТИВНОСТЬ ДЛЯ ТЕЛЕФОНОВ --- */
@media (max-width: 700px) {
    .streaming-container {
        flex-direction: column-reverse; /* Текст сверху, Кнопки снизу */
        text-align: center;
    }
    
    .streaming-buttons {
        width: 100%;       /* Кнопки на всю ширину */
        flex: none;
    }
    
    .store-btn {
        width: 100%;       /* Растянуть кнопки */
        padding: 15px;     /* Кнопки чуть крупнее для пальцев */
        font-size: 16px;
    }
}

/* Контейнер Twitch */
.twitch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    
    /* Небольшой фон или рамка, чтобы выделить блок (опционально) */
    background: rgba(145, 70, 255, 0.05); /* Очень бледный фиолетовый фон */
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.twitch-info {
    flex: 1;
}

/* Обертка плеера */
.twitch-player-wrapper {
    flex: 0 0 340px;  /* Ширина плеера */
    height: 192px;    /* Соотношение 16:9 */
    background: #000;
    
    /* Фиолетовая тень/свечение */
    box-shadow: 0 0 15px rgba(145, 70, 255, 0.4);
    border: 2px solid #9146FF; /* Фиолетовая рамка */
}

.twitch-player-wrapper iframe {
    border: 0;
}

/* --- КНОПКА TWITCH --- */
.twitch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 10px 25px;
    
    background-color: #9146FF; /* Фирменный фиолетовый */
    color: #fff !important;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s, transform 0.2s;
    
    box-shadow: 0 4px 0px #6c2bd9; /* Эффект "объемной" кнопки */
}

.twitch-btn:hover {
    background-color: #a063ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #6c2bd9;
}

.twitch-btn:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0px #6c2bd9;
}

.twitch-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 750px) {
    .twitch-container {
        flex-direction: column-reverse; /* Плеер сверху, текст снизу */
        text-align: center;
        padding: 10px;
    }
    
    .twitch-player-wrapper {
        width: 100%;
        height: 200px;
        flex: none;
    }
    
    .twitch-btn {
        width: 100%; /* Кнопка на всю ширину */
    }
}

/* --- ОБЩИЙ КОНТЕЙНЕР --- */
.media-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

/* --- ЧАСТЬ 1: YOUTUBE + КНОПКИ --- */
.media-player-box {
    flex: 0 0 320px;       /* Фиксированная ширина плеера */
    height: 180px;
    background: #000;
    border: 4px solid #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.media-player-box iframe {
    width: 100%; height: 100%; display: block;
}

.media-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Растянуть текст и кнопки */
}

/* Компактные кнопки магазинов */
.store-buttons-grid {
    display: grid;
    grid-template-columns: 1fr; /* Одна под одной (можно 1fr 1fr для сетки) */
    gap: 8px;
    margin-top: 15px;
}

.mini-btn {
    display: block;
    padding: 8px 15px;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.2s;
    font-family: Arial, sans-serif;
}
.mini-btn:hover { opacity: 0.85; }

/* Цвета кнопок (Те же, что и раньше) */
.btn-yt { background: #ff0000; }
.btn-apple { background: #222; }
.btn-amz { background: linear-gradient(to right, #232f3e, #146eb4); }


/* --- РАЗДЕЛИТЕЛЬ --- */
.media-divider {
    height: 1px;
    background: #ccc; /* Цвет линии */
    margin: 25px 0;
    opacity: 0.5;
}


/* --- ЧАСТЬ 2: TWITCH --- */
.twitch-header {
    color: #9146FF;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: "Verdana", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.twitch-header span { font-size: 12px; animation: blink 2s infinite; } /* Мигающая точка */

@keyframes blink { 50% { opacity: 0; } }

.twitch-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
    background: rgba(145, 70, 255, 0.05); /* Легкий фон */
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0d0ff;
}

.twitch-text {
    flex: 1;
}

.twitch-frame {
    flex: 0 0 260px; /* Плеер чуть меньше основного */
    height: 146px;
    background: #000;
    border: 2px solid #9146FF;
}

.twitch-frame iframe { border: 0; }

.twitch-compact-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 15px;
    background: #9146FF;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 700px) {
    /* Верхняя часть в колонку */
    .media-row { flex-direction: column; }
    .media-player-box { width: 100%; height: 200px; flex: none; }
    
    /* Twitch в колонку */
    .twitch-content { flex-direction: column-reverse; text-align: center; }
    .twitch-frame { width: 100%; height: 180px; flex: none; }
    .twitch-compact-btn { width: 100%; display: block; }
}

/* --- ОБЩИЙ КОНТЕЙНЕР СТРОКИ --- */
.media-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    align-items: flex-start;
}

/* --- ЕДИНЫЙ СТИЛЬ ДЛЯ ОБОИХ ПЛЕЕРОВ --- */
.universal-player-box {
    flex: 0 0 320px;       /* Фиксированная ширина (как у YouTube раньше) */
    height: 180px;         /* Фиксированная высота */
    background: #000;
    border: 4px solid #fff;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.universal-player-box iframe {
    width: 100%; height: 100%; display: block; border: 0;
}

/* Спец. стиль рамки для Twitch (фиолетовый акцент) */
.twitch-border {
    border-color: #9146FF; 
}

/* --- БЛОК С ТЕКСТОМ --- */
.media-info-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- КНОПКИ МАГАЗИНОВ --- */
.store-buttons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 15px;
}

.mini-btn {
    display: block;
    padding: 8px 15px;
    text-align: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: opacity 0.2s;
    font-family: Arial, sans-serif;
}
.mini-btn:hover { opacity: 0.85; }

/* Цвета кнопок */
.btn-yt { background: #ff0000; }
.btn-apple { background: #222; }
.btn-amz { background: linear-gradient(to right, #232f3e, #146eb4); }


/* --- ЭЛЕМЕНТЫ TWITCH --- */
.twitch-header-large {
    color: #9146FF;
    margin: 0 0 10px 0;
    font-size: 18px;
    font-family: "Verdana", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}
.twitch-header-large span { font-size: 12px; animation: blink 2s infinite; color: red; }
@keyframes blink { 50% { opacity: 0; } }

.twitch-big-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #9146FF;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 0px #6c2bd9; /* Объемная кнопка */
}
.twitch-big-btn:hover {
    background: #a063ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 0px #6c2bd9;
}

/* --- РАЗДЕЛИТЕЛЬ --- */
.media-divider {
    height: 1px;
    background: #ccc;
    margin: 30px 0;
    opacity: 0.5;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
@media (max-width: 750px) {
    .media-row { flex-direction: column; }
    
    /* Оба плеера на всю ширину */
    .universal-player-box { width: 100%; height: 200px; flex: none; margin-bottom: 15px; }
    
    .twitch-big-btn { width: 100%; display: block; }
}

/* Отступ снизу для верхнего текста */
.media-intro {
    margin-bottom: 30px; 
}

/* Отступ сверху для нижнего текста */
.media-outro {
    margin-top: 30px;
    /* Опционально: можно сделать его курсивом или чуть меньше */
    /* font-style: italic; */
    /* font-size: 13px; */
}

/* --- ТЕКСТ --- */
.album-intro {
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center; /* Или justify, как больше нравится */
}

/* --- КАРТИНКА (ГЕРОЙ) --- */
.album-cover-hero {
    position: relative;
    overflow: hidden; /* Чтобы картинка не вылезала при увеличении */
    border-radius: 8px; /* Скругленные углы */
    box-shadow: 0 15px 30px rgba(0,0,0,0.4); /* Глубокая тень */
    margin-bottom: 30px;
    border: 4px solid #fff;
}

.album-cover-hero img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Плавная анимация */
}

/* Эффект при наведении: Увеличение */
.album-cover-hero:hover img {
    transform: scale(1.05);
}

/* --- APPLE ПЛЕЕР --- */
.apple-embed-box {
    display: flex;
    justify-content: center; /* Центрируем плеер */
    margin-bottom: 25px;
}

/* --- КНОПКИ ВНИЗУ --- */
.album-buttons-row {
    display: flex;
    justify-content: center; /* Кнопки по центру */
    gap: 20px;
    flex-wrap: wrap; /* На телефоне перенесутся на новую строку */
}

/* Делаем кнопки чуть шире для этого блока */
.album-btn-wide {
    min-width: 220px; 
    font-size: 15px; /* Чуть крупнее текст */
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 600px) {
    .album-buttons-row {
        flex-direction: column; /* Кнопки одна под другой на телефоне */
        width: 100%;
    }
    .album-btn-wide {
        width: 100%;
    }
}

/* --- ГЛАВНЫЙ ВИДЖЕТ --- */
.featured-album {
    text-align: center;
    margin-bottom: 30px;
}
.featured-album iframe {
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-radius: 12px;
}

/* --- СЕТКА АЛЬБОМОВ --- */
.disco-grid {
    display: grid;
    /* Автоматическая сетка: минимум 140px, максимум - сколько влезает */
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Карточка альбома */
.disco-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 2px solid #fff;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.disco-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

/* Название поверх картинки (скрыто по умолчанию) */
.disco-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Полупрозрачный черный фон */
    color: #fff;
    font-size: 11px;
    padding: 5px;
    text-align: center;
    transform: translateY(100%); /* Сдвинуто вниз */
    transition: transform 0.3s ease;
}

/* Эффект при наведении */
.disco-item:hover {
    transform: translateY(-5px); /* Всплывает */
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}

.disco-item:hover .disco-title {
    transform: translateY(0); /* Название выезжает снизу */
}

/* --- ТЕКСТЫ --- */
.sheet-intro {
    text-align: center;
    margin-bottom: 25px;
    font-size: 15px;
}

.sheet-outro {
    text-align: center;
    margin-top: 25px;
    font-size: 13px;
    color: #555; /* Чуть менее контрастный цвет для нижнего текста */
}

/* --- ОФОРМЛЕНИЕ КАРТИНКИ --- */
.sheet-cover-box {
    position: relative;
    max-width: 600px;    /* Ограничиваем ширину, чтобы не было гигантским */
    margin: 0 auto 30px; /* Центрируем и отступаем снизу */
    
    border-radius: 4px;
    overflow: hidden;
    
    /* Эффект "парящей книги" */
    box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}

.sheet-cover-box img {
    width: 100%;
    height: auto;
    display: block;
}

/* Легкое увеличение при наведении */
.sheet-cover-box:hover {
    transform: scale(1.02);
}

/* --- КНОПКА --- */
.sheet-action {
    display: flex;
    justify-content: center;
}

.sheet-btn-large {
    min-width: 280px;      /* Широкая заметная кнопка */
    font-size: 16px;       /* Крупный текст */
    padding: 15px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- КОНТЕЙНЕР (Тот же, что и был) --- */
.free-download-container {
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    gap: 30px;
    background: rgba(255,255,255, 0.5); /* Фон */
    padding: 20px;
    border-radius: 8px;
    border: 1px dashed #999;
}

/* --- НОВАЯ ОБЛОЖКА --- */
.free-cover-wrapper {
    flex: 0 0 140px; /* Фиксированная ширина картинки */
}

.free-cover-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Тень для объема */
    border: 2px solid #fff; /* Белая окантовка */
    transition: transform 0.3s;
}

/* Эффект при наведении на картинку */
.free-cover-wrapper:hover img {
    transform: scale(1.05) rotate(-2deg); /* Чуть поворачивается и увеличивается */
}

/* --- ОСТАЛЬНОЕ (Текст и кнопка) --- */
.free-info {
    flex: 1;
}

.free-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.arranger {
    font-style: italic;
    color: #660000;
    margin-top: 0;
    margin-bottom: 12px;
}

.track-list p {
    margin: 3px 0;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

/* КНОПКА (Такая же зеленая) */
.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #27ae60;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    font-size: 14px;
}

.download-btn:hover {
    background-color: #219150;
    transform: translateY(-2px);
}

/* --- АДАПТИВНОСТЬ --- */
@media (max-width: 600px) {
    .free-download-container {
        flex-direction: column;
        text-align: center;
    }
    
    .free-cover-wrapper {
        width: 180px; /* На телефоне картинку можно чуть крупнее */
        margin-bottom: 15px;
    }
    
    .track-list {
        text-align: left; /* Список тем оставляем слева, чтобы удобно читать */
        font-size: 12px;
    }
}


/* --- ТЕКСТЫ --- */
.book-intro {
    text-align: center;
    margin-bottom: 30px;
}
.book-outro {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #666;
}

/* --- СЕТКА КНИГ --- */
.books-grid {
    display: grid;
    /* Адаптивная сетка: книги шириной от 160px */
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
    padding: 10px;
}

/* --- КАРТОЧКА КНИГИ --- */
.book-item {
    position: relative;
    overflow: hidden; /* Чтобы меню выезжало из ниоткуда */
    border-radius: 6px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* Тень книги */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #000; /* Фон на случай если картинка грузится */
}

.book-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
}

/* Эффект при наведении на книгу (легкое всплытие) */
.book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
}

/* --- ВСПЛЫВАЮЩЕЕ МЕНЮ (OVERLAY) --- */
.book-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%; /* На всю высоту или можно 50% */
    background: rgba(0, 0, 0, 0.75); /* Темная подложка */
    
    display: flex;
    align-items: flex-end; /* Контент прижат к низу */
    justify-content: center;
    
    /* Скрыто по умолчанию (сдвинуто вниз) */
    transform: translateY(101%); 
    transition: transform 0.3s ease-in-out;
}

/* Показываем меню при наведении */
.book-item:hover .book-overlay {
    transform: translateY(0);
}

/* Информация внутри меню */
.book-info {
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #fff;
    /* Градиент снизу, чтобы текст читался лучше */
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* Статус (Published / Soon) */
.book-status {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-new {
    color: #4cd137; /* Зеленый цвет для опубликованных */
}

/* Кнопка Amazon для книг */
.book-btn {
    display: inline-block;
    padding: 8px 15px;
    background: #f39c12; /* Оранжевый цвет Amazon */
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: bold;
    transition: background 0.2s;
}

.book-btn:hover {
    background: #e67e22;
}


/* --- СЕТКА --- */
.links-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.links-column {
    flex: 1;
    min-width: 250px; /* Не даем колонкам сжиматься слишком сильно */
    text-align: center;
}

.links-column h3 {
    font-size: 16px; /* Заголовки поменьше */
    margin-bottom: 15px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.media-divider-vertical {
    width: 1px;
    background: #e0e0e0;
    margin: 10px 0;
}

/* --- СОЦСЕТИ (Иконки) --- */
.social-icons-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px; /* Компактный размер */
    height: 45px;
    border-radius: 50%;
    color: #fff;
    transition: transform 0.2s;
}

.icon-link svg { width: 22px; height: 22px; }
.icon-link:hover { transform: translateY(-3px); }

.fb { background: #1877f2; }
.tw { background: #9146ff; }
.yt { background: #ff0000; }

/* --- СТРИМИНГ (Кнопки-таблетки) --- */
.streaming-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px; /* Маленькое расстояние */
}

.stream-link {
    display: inline-block;
    padding: 6px 14px; /* Компактные отступы */
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.stream-link:hover { opacity: 1; }

.spotify { background: #1db954; }
.apple   { background: #222; }
.amazon  { background: #232f3e; }
.deezer  { background: #ef3d5a; }

/* --- СПЕЦПРОЕКТ (Кнопка, а не баннер!) --- */
.special-project-row {
    text-align: center;
    margin-top: 20px;
}
.special-project-row h3 {
    font-size: 16px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

/* Стиль кнопки для проекта */
.special-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px; /* Расстояние между картинкой и текстом */
    
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 20px; /* Аккуратные отступы */
    border-radius: 30px;
    
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 14px;
    
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

/* Картинка внутри кнопки */
.special-btn img {
    width: 30px;  /* Очень маленькая картинка */
    height: 30px;
    border-radius: 50%; /* Делаем её круглой */
    object-fit: cover;
}

.special-btn:hover {
    border-color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Мобильная адаптация */
@media (max-width: 600px) {
    .media-divider-vertical { display: none; }
    .links-wrapper { flex-direction: column; gap: 20px; }
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    display: none; /* появление через JS */
    z-index: 999;
    transition: opacity 0.3s;
}

.scroll-to-top:hover {
    background: rgba(0,0,0,0.8);
}

.main-title-box {
    text-align: center;
    margin-top: -10px; /* Чуть подтянуть к логотипу */
    margin-bottom: 20px;
}

h1 {
    font-family: "Georgia", "Times New Roman", serif; /* Благородный шрифт */
    color: #660000;           /* Ваш фирменный бордовый */
    font-size: 26px;          /* Крупно, но не огромно */
    font-weight: normal;      /* Не жирный, чтобы было изящно */
    letter-spacing: 1px;      /* Немного "воздуха" между буквами */
    text-transform: uppercase; /* Все буквы заглавные для статуса */
    
    /* Тонкая линия снизу для акцента */
    border-bottom: 1px solid #cbbd98; 
    display: inline-block;    /* Чтобы линия была по ширине текста */
    padding-bottom: 10px;
}

/* Адаптивность для телефона */
@media (max-width: 600px) {
    h1 {
        font-size: 18px;      /* Поменьше на мобильном */
        line-height: 1.4;     /* Чтобы строки не слипались */
        border-bottom: none;  /* Убираем линию на телефоне */
    }
}

h2 {
    /* 1. Шрифт и цвет берем от H1 для гармонии */
    font-family: "Georgia", "Times New Roman", serif;
    color: #660000; 
    
    /* 2. Размер чуть меньше (у H1 было 26px, тут делаем 22px) */
    font-size: 22px; 
    
    /* 3. Делаем прописными (заглавными), это выглядит стильно для разделов */
    text-transform: uppercase;
    
    /* 4. Добавляем "воздуха" между буквами */
    letter-spacing: 2px;
    
    /* 5. Выравнивание и отступы */
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px; /* Отступ до контента */
    font-weight: normal; /* Убираем жирность, Georgia и так насыщенная */
    
    /* (Опционально) Легкая тень текста для объема */
    text-shadow: 1px 1px 0px rgba(255,255,255, 0.5);
}











/* Контейнер для картинки (ссылка) */
.feature-thumb {
    display: flex;             /* Используем Flexbox для центрирования */
    align-items: center;       /* Центр по вертикали */
    justify-content: center;   /* Центр по горизонтали */
    
    height: 170px;             /* ФИКСИРОВАННАЯ ВЫСОТА (это выровняет сетку) */
    width: 100%;
    margin-bottom: 10px;       /* Отступ до текста */
    overflow: hidden;          /* На всякий случай скрываем лишнее */
}

/* Сама картинка внутри */
.feature-thumb img {
    max-height: 100%;          /* Не выше контейнера */
    max-width: 100%;           /* Не шире контейнера */
    width: auto;               /* Сохраняем пропорции */
    height: auto;
    
    /* Добавим тень, чтобы белая книжка не сливалась с фоном */
    box-shadow: 0 5px 10px rgba(0,0,0,0.25); 
    border-radius: 2px;
    
    transition: transform 0.3s ease;
}

/* Эффект при наведении - легкое увеличение */
.feature-thumb:hover img {
    transform: scale(1.05);
}