/* Обнуление и общие настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'YDKJ', Arial, sans-serif; /* Запасной шрифт на случай ошибки */
}

@font-face {
    font-family: 'YDKJ'; /* Название, которое будете использовать */
    src: url('YDKJ_The_Ride2_0.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Оптимизация загрузки */
}

@font-face {
    font-family: 'RoadKill'; /* Новое название */
    src: url('roadkill_alternates.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('bg.png');
    background-repeat: repeat;
    background-attachment: fixed;
    background-size: 1000px 900px;
    background-color: #111111;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    padding: 20px;
}


.container {
    max-width: 1200px;
    width: 100%;
    background-color: #000000; /* Основной черный фон контейнера */
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.562); /* Легкое красное свечение */
}

/* ШАПКА И ЛОГОТИП */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 80%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(185, 24, 28, 0.3));
}

/* Секция трейлера */
/* ===== СЕКЦИЯ ТРЕЙЛЕРА С АНИМИРОВАННОЙ РАМКОЙ ===== */
.trailer-section {
    margin-bottom: 60px;
}

.trailer-frame {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    
    /* Анимированный фон вместо обычной рамки */
    background-image: url('smallframe1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
    /* Убираем старую рамку */
    border: none;
    border-radius: 12px;
    overflow: hidden;
    
    /* Чтобы видео было поверх фона */
    position: relative;
    z-index: 1;
    
    /* Внутренние отступы, чтобы видео не налезало на рамку */
    padding: 30px; /* Для толстой рамки */
}

/* Анимация для IDLE состояния */
@keyframes frameIdle {
    0% { background-image: url('frameconfirm1.png'); }
    33% { background-image: url('frameconfirm2.png'); }
    66% { background-image: url('frameconfirm3.png'); }
    100% { background-image: url('frameconfirm1.png'); }
}

.trailer-frame.idle {
    animation: frameIdle 0.8s steps(1) infinite;
}

/* Анимация для HOVER (если хотите, чтобы рамка менялась при наведении) */
@keyframes frameHover {
    0% { background-image: url('frameconfirm1.png'); }
    33% { background-image: url('frameconfirm2.png'); }
    66% { background-image: url('frameconfirm3.png'); }
    100% { background-image: url('frameconfirm1.png'); }
}

.trailer-frame:hover {
    animation: frameHover 0.8s steps(1) infinite;
}

/* GIF-подложка (убираем, так как фон теперь в рамке) */
.gif-background {
    display: none; /* Скрываем старый GIF-фон */
}

/* Видео поверх анимированной рамки */
.video-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 56%; /* Соотношение сторон 16:9 */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Общие блоки контента */
.content-block {
    margin-bottom: 10px;
    padding: 10px 0;
}

.title-placeholder {
    text-align: center;
    margin-bottom: 25px;
}

.title-placeholder img {
    max-width: 100%;
    height: auto;
}

.text-content {
    max-width: 950px;
    margin: 0 auto 25px;
    text-align: center;
    font-size: 1.1rem;
    color: #dddddd;
}

.text-content p {
    margin-bottom: 15px;
}

.image-placeholder {
    text-align: center;
    margin-top: 20px;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Сетка персонажей */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px; /* Чтобы карточки не были слишком широкими */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.character-wrapper {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    align-items: bottom;
    overflow: hidden;
    border-radius: 10px;
    background-color: #1a1a1ac4;
}

/* Контейнер для картинок */
.character-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.character-portrait {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.4s ease; /* Плавная смена */
}

/* Обычная картинка (видна по умолчанию) */
.character-portrait-default {
    opacity: 1;
}

/* Hover-картинка (скрыта по умолчанию) */
.character-portrait-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* При наведении показываем hover-версию */
.character-wrapper:hover .character-portrait-default {
    opacity: 0;
}

.character-wrapper:hover .character-portrait-hover {
    opacity: 1;
}

.character-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    
    background-image: url('smallframe1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
    border: none;
    padding: 10px 10px 10px 10px;
    
    transition: transform 0.2s ease;
    z-index: 1;
}

@keyframes cardIdle {
    0% { background-image: url('smallframe1.png'); }
    33% { background-image: url('smallframe2.png'); }
    66% { background-image: url('smallframe3.png'); }
    100% { background-image: url('smallframe1.png'); }
}

.character-card.idle {
    animation: cardIdle 0.8s steps(1) infinite;
}

@keyframes cardHover {
    0% { background-image: url('smallframe1.png'); }
    33% { background-image: url('smallframe2.png'); }
    66% { background-image: url('smallframe3.png'); }
    100% { background-image: url('smallframe1.png'); }
}

.character-wrapper:hover .character-card {
    transform: translateY(-5px) scale(1.02);
    animation: cardHover 0.8s steps(1) infinite;
}

.character-info {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.7);
}

.character-info h3 {
    color: #b9181c;
    margin-bottom: 5px;
    font-size: 1.9rem;
    font-weight: normal;
    font-family: 'RoadKill';
    letter-spacing: 1px;
    text-align: center;
}

.character-info p {
    color: #dddddd;
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

@media (max-width: 768px) {
    .characters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .characters-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Блок скачивания */
.download-block {
    text-align: center;
}

.download-btn {
    display: inline-block;
    background-color: #b9181c;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 18px 60px;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 15px;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(185, 24, 28, 0.4);
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #a01418;
    box-shadow: 0 0 35px rgba(185, 24, 28, 0.7);
    transform: scale(1.02);
}

.download-btn:active {
    transform: scale(0.98);
}

/* Блок обратной связи */
.feedback-block {
    text-align: center;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #333;
    transition: all 0.2s;
    min-width: 120px;
}

.social-link:hover {
    background-color: #b9181c;
    border-color: #b9181c;
    color: #fff;
    box-shadow: 0 0 20px rgba(185, 24, 28, 0.5);
}

/* ПОДВАЛ */
.footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 5px 10px;
}

.footer-links a:hover {
    color: #b9181c;
}

.footer-copy p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Адаптивность для планшетов и телефонов */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .characters-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .download-btn {
        font-size: 1.2rem;
        padding: 15px 40px;
    }
    .social-link {
        padding: 10px 25px;
        min-width: 100px;
    }
    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    .characters-grid {
        grid-template-columns: 1fr;
    }
    .download-btn {
        font-size: 1rem;
        padding: 12px 25px;
    }
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    .social-link {
        width: 80%;
    }
}

.animated-flex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Без фиксированных размеров! */
    min-width: 120px;
    min-height: 60px;
    padding: 15px 35px;
    
    /* Фон */
    background-image: url('choicebutton_idle1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    
    border: none;
    cursor: pointer;
    
    /* ИЗМЕНЕНИЕ ТУТ — цвет текста по умолчанию СЕРЫЙ */
    color: #888888; /* Серый цвет */
    font-size: 20px;
    font-weight: regular;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-decoration: none;
    
    /* background-color: #b9181c;*/
    border-radius: 8px;
    transition: transform 0.2s ease; /* Добавили transition для цвета */
}

/* ПРИ HOVER — текст становится БЕЛЫМ */
.animated-flex-btn:hover {
    transform: scale(1.05);
    color: #ffffff; /* Белый цвет */
}

/* Анимация смены фона */
@keyframes btnIdle {
    0% { background-image: url('choicebutton_idle1.png'); }
    33% { background-image: url('choicebutton_idle2.png'); }
    66% { background-image: url('choicebutton_idle3.png'); }
    100% { background-image: url('choicebutton_idle1.png'); }
}

@keyframes btnHover {
    0% { background-image: url('choicebutton_hover1.png'); }
    33% { background-image: url('choicebutton_hover2.png'); }
    66% { background-image: url('choicebutton_hover3.png'); }
    100% { background-image: url('choicebutton_hover1.png'); }
}

.animated-flex-btn.idle {
    animation: btnIdle 0.6s steps(1) infinite;
}

.animated-flex-btn:hover {
    animation: btnHover 0.6s steps(1) infinite;
}

/* ===== РАЗДЕЛИТЕЛЬ ===== */
.divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #b9181c, transparent);
    margin: 40px 0;
    border: none;
    box-shadow: 0 0 10px rgba(185, 24, 28, 0.3);
}



/* ===== ЗАГОЛОВКИ РАЗДЕЛОВ ===== */
.section-header {
    display: flex;
    justify-content: center;
    margin: 40px 0 30px 0;
}

.header-frame {
    background-image: url('smallframe1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border: none;
    padding: 10px 70px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Анимация для заголовков (новое имя) */
@keyframes headerFrameIdle {
    0% { background-image: url('smallframe1.png'); }
    33% { background-image: url('smallframe2.png'); }
    66% { background-image: url('smallframe3.png'); }
    100% { background-image: url('smallframe1.png'); }
}

.header-frame.idle {
    animation: headerFrameIdle 0.8s steps(1) infinite;
}

/*
.header-frame:hover {
    transform: scale(1.02);
} */

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 10px;
}

/* ===== ИКОНКИ ЧЕРЕЗ BACKGROUND ===== */
.header-icon {
    width: 60px;
    height: 60px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

/* Анимация для иконки "gameplay" (brain) */
@keyframes iconGameplay {
    0% { background-image: url('brain1.png'); }
    16% { background-image: url('brain2.png'); }
    33% { background-image: url('brain3.png'); }
    50% { background-image: url('brain3.png'); }
    66% { background-image: url('brain2.png'); }
    83% { background-image: url('brain1.png'); }
    100% { background-image: url('brain1.png'); }
}

.header-icon[data-icon="gameplay"] {
    animation: iconGameplay 0.6s steps(1) infinite;
}

/* Анимация для иконки "characters" */
@keyframes iconCharacters {
    0% { background-image: url('eye1.png'); }
    16% { background-image: url('eye2.png'); }
    33% { background-image: url('eye3.png'); }
    50% { background-image: url('eye3.png'); }
    66% { background-image: url('eye2.png'); }
    83% { background-image: url('eye1.png'); }
    100% { background-image: url('eye1.png'); }
}

.header-icon[data-icon="characters"] {
    animation: iconCharacters 0.6s steps(1) infinite;
}

/* Анимация для иконки "download" */
@keyframes iconDownload {
    0% { background-image: url('heart1.png'); }
    16% { background-image: url('heart2.png'); }
    33% { background-image: url('heart3.png'); }
    50% { background-image: url('heart3.png'); }
    66% { background-image: url('heart2.png'); }
    83% { background-image: url('heart1.png'); }
    100% { background-image: url('heart1.png'); }
}

.header-icon[data-icon="download"] {
    animation: iconDownload 0.6s steps(1) infinite;
}

/* Анимация для иконки "feedback" */
@keyframes iconFeedback {
    0% { background-image: url('mess1.png'); }
    16% { background-image: url('mess2.png'); }
    33% { background-image: url('mess3.png'); }
    50% { background-image: url('mess3.png'); }
    66% { background-image: url('mess2.png'); }
    83% { background-image: url('mess1.png'); }
    100% { background-image: url('mess1.png'); }
}

.header-icon[data-icon="feedback"] {
    animation: iconFeedback 0.6s steps(1) infinite;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .header-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .header-icon {
        width: 25px;
        height: 25px;
    }
}

.header-title {
    color: #ffffff;
    font-size: 46px;
    font-weight: normal;
    font-family: 'RoadKill';
    margin: 0;
    white-space: nowrap;
    letter-spacing: 4px;
    transition: color 0.3s ease;
}

/* .header-frame:hover .header-title {
    color: #ffffff;
} */

@media (max-width: 768px) {
    .header-frame {
        padding: 12px 20px;
    }
    .header-content {
        gap: 15px;
    }
    .header-icon {
        width: 30px;
        height: 30px;
    }
    .header-title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .header-frame {
        padding: 10px 15px;
    }
    .header-content {
        gap: 10px;
    }
    .header-icon {
        width: 25px;
        height: 25px;
    }
    .header-title {
        font-size: 18px;
        letter-spacing: 1px;
    }
}




/* ===== ГАЛЕРЕЯ СКРИНШОТОВ ===== */
.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.screenshot-item {
    position: relative;
    cursor: pointer;
    border-radius: 0px;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: transform 0.3s ease, border-color 0.3s ease;
    aspect-ratio: 16 / 9; /* Соотношение сторон 16:9 */
    background-color: #111111;
}

.screenshot-item:hover {
    transform: scale(1.03);
    border-color: #b9181c;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

/* Оверлей с лупой */
.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 40px;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .zoom-icon {
    transform: scale(1);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-content {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 0px;
    border: 0px solid #b9181c;
    box-shadow: 0 0 50px rgba(185, 24, 28, 0.3);
    object-fit: contain;
}

/* Кнопка закрытия */
.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.modal-close:hover {
    color: #b9181c;
    transform: rotate(90deg);
}

/* Навигация */
.modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 1001;
}

.modal-nav-btn {
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #b9181c;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 0%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav-btn:hover {
    background: #b9181c;
    transform: scale(1.1);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .screenshots-gallery {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 70vh;
    }
    
    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .screenshots-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .modal-content {
        max-width: 98%;
        max-height: 60vh;
    }
    
    .modal-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}





/* ===== ОКНО ОБНОВЛЕНИЙ ===== */
.updates-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px 0;
}

/* Активное состояние кнопки (когда окно открыто) */
.animated-flex-btn.active {
    color: #ffffff;
}


/* Окно обновлений (скрыто по умолчанию) */
.updates-window {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
    opacity: 0;
    margin-top: 0;
    width: 100%;
    max-width: 900px;
}

.updates-window.hidden {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

/* Когда окно открыто */
.updates-window.open {
    max-height: 600px;
    opacity: 1;
    margin-top: 25px;
}

/* Анимированная рамка frameconfirm */
.updates-frame {
    background-image: url('frameconfirm1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 30px 35px;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

@keyframes frameConfirmIdle {
    0% { background-image: url('frameconfirm1.png'); }
    33% { background-image: url('frameconfirm2.png'); }
    66% { background-image: url('frameconfirm3.png'); }
    100% { background-image: url('frameconfirm1.png'); }
}

.updates-frame.idle {
    animation: frameConfirmIdle 0.8s steps(1) infinite;
}

/* Контент с прокруткой */
.updates-content {
    max-height: 450px;      /* Фиксированная высота */
    overflow-y: auto;       /* Вертикальная прокрутка */
    overflow-x: hidden;
    padding-right: 15px;    /* Отступ под скроллбар */
    color: #dddddd;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

/* Стилизация скроллбара (для Chromium-браузеров) */
.updates-content::-webkit-scrollbar {
    width: 8px;
}

.updates-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.updates-content::-webkit-scrollbar-thumb {
    background-color: #b9181c;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.updates-content::-webkit-scrollbar-thumb:hover {
    background-color: #d42025;
}

/* Стилизация скроллбара (Firefox) */
.updates-content {
    scrollbar-width: thin;
    scrollbar-color: #b9181c rgba(0, 0, 0, 0.3);
}

/* Текстовые элементы внутри */
.updates-content h3 {
    color: #b9181c;
    font-size: 20px;
    margin: 20px 0 8px 0;
    font-family: 'RoadKill', sans-serif;
    letter-spacing: 2px;
    border-left: 3px solid #b9181c;
    padding-left: 10px;
}

.updates-content h3:first-child {
    margin-top: 0;
}

.updates-content p {
    margin: 0 0 12px 0;
}

.updates-content .updates-date {
    color: #888888;
    font-size: 13px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.updates-content .updates-loading {
    color: #888888;
    text-align: center;
    font-style: italic;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    .updates-toggle-btn {
        font-size: 18px;
        padding: 10px 30px;
    }

    .updates-frame {
        padding: 20px 20px;
    }

    .updates-content {
        max-height: 350px;
        font-size: 15px;
    }

    .updates-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .updates-toggle-btn {
        font-size: 16px;
        padding: 8px 25px;
        letter-spacing: 2px;
    }

    .updates-frame {
        padding: 15px 15px;
    }

    .updates-content {
        max-height: 300px;
        font-size: 14px;
        padding-right: 10px;
    }

    .updates-content h3 {
        font-size: 16px;
    }
}