/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background: linear-gradient(145deg, #FFF8F0 0%, #F5E6D3 100%);
    min-height: 100vh;
    color: #2d2d2d;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: rgba(255, 248, 240, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 200, 0.3);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #5a3e36;
}

nav {
    display: flex;
    flex-wrap: nowrap; /* Запрещаем перенос на новую строку */
    gap: 15px;         /* Расстояние между пунктами */
    align-items: center;
    overflow-x: auto;  /* Добавляем горизонтальную прокрутку, если экран узкий */
    white-space: nowrap; /* Текст внутри ссылок не переносится */
    padding: 5px 0;
}

nav a {
    text-decoration: none;
    color: #5a3e36;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 15px;   /* Можно чуть уменьшить шрифт, если нужно */
    padding: 5px 0;
    flex-shrink: 0;    /* Запрещаем ссылкам сжиматься */
}

nav a:hover {
    color: #c0392b;
}

/* Основное содержание */
main {
    flex: 1;
    padding: 30px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    color: #3d2c24;
}

/* Фильтры */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.filters input,
.filters select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
}

.filters button,
.filters .reset-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    background: #5a3e36;
    color: white;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.filters .reset-btn {
    background: #bdc3c7;
    color: #2d2d2d;
}

/* Сетка фильмов */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.movie-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.movie-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.movie-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.poster {
    position: relative;
    aspect-ratio: 2/3;
    background: #f0ebe6;
    overflow: hidden;
}

.poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 14px;
}

.award-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info {
    padding: 12px;
}

.info h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info .meta {
    font-size: 12px;
    color: #888;
}

.info .rating {
    font-size: 13px;
    color: #f39c12;
    margin-top: 4px;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination .btn {
    padding: 8px 16px;
    background: #5a3e36;
    color: white;
    border-radius: 8px;
    text-decoration: none;
}

.pagination .btn.disabled {
    background: #ccc;
    pointer-events: none;
    color: #888;
}

/* Карточка фильма (детальная) */
.movie-detail {
    display: flex;
    gap: 30px;
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.detail-poster {
    flex: 0 0 250px;
}

.detail-poster img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.detail-info {
    flex: 1;
}

.detail-info h1 {
    font-size: 28px;
    margin-bottom: 4px;
}

.eng-title {
    color: #888;
    font-size: 16px;
    margin-bottom: 8px;
}

.detail-info .meta {
    color: #666;
    margin-bottom: 8px;
}

.detail-info .rating {
    color: #f39c12;
    font-size: 16px;
    margin-bottom: 20px;
}

.synopsis {
    margin-bottom: 20px;
}

.synopsis h3 {
    margin-bottom: 6px;
    font-size: 18px;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.link-btn {
    display: inline-block;
    padding: 6px 14px;
    background: #f0ebe6;
    border-radius: 20px;
    text-decoration: none;
    color: #2d2d2d;
    font-size: 13px;
    transition: background 0.2s;
}

.link-btn:hover {
    background: #e0d6cd;
}

.link-btn.recap {
    background: #e8f0fe;
}
.link-btn.review {
    background: #fef3e8;
}

/* Номинации на карточке */
.awards-section {
    margin-top: 30px;
    background: white;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.awards-section ul {
    list-style: none;
    padding: 0;
}

.awards-section li {
    padding: 6px 0;
    border-bottom: 1px solid #f5f0eb;
}

.awards-section .year {
    font-weight: bold;
    margin-right: 15px;
    color: #5a3e36;
}
.awards-section .category {
    margin-right: 15px;
    color: #555;
}
.awards-section .place {
    background: #f1c40f;
    color: #2d2d2d;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}
.awards-section .comment {
    color: #888;
    font-style: italic;
    margin-left: 8px;
}

/* Подвал */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
    color: #888;
    font-size: 14px;
    border-top: 1px solid rgba(255, 215, 200, 0.3);
}

/* ----- НОВЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ ----- */

.welcome-block {
    background: white;
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.welcome-block h1 {
    font-size: 32px;
    color: #3d2c24;
    margin-bottom: 12px;
}

.welcome-block p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 8px auto;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    margin-top: 40px;
}

.section-header h2 {
    font-size: 24px;
    color: #3d2c24;
}

.view-all {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.view-all:hover {
    text-decoration: underline;
}

.empty-msg {
    color: #999;
    font-size: 16px;
    padding: 20px 0;
}

/* Дни рождения */
.birthday-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 4px;
}

.birthday-card {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex: 1 1 220px;
    max-width: 280px;
}

.birthday-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0ebe6;
    flex-shrink: 0;
}

.birthday-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
}

.birthday-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: #2d2d2d;
}

.birthday-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.birthday-date {
    font-size: 12px;
    color: #c0392b;
    font-weight: 500;
}

/* ----- БАННЕР (верхняя картинка) ----- */
.banner {
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #f5e6d3;
}

.banner img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
}

/* ----- ЛОГОТИП (круглый) ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #3d2c24;
    font-size: 22px;
    font-weight: bold;
}

.logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f5e6d3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Чтобы текст логотипа не переносился */
.logo span {
    white-space: nowrap;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .logo span {
        font-size: 16px;
    }
    .logo-img {
        width: 40px;
        height: 40px;
    }
    .banner {
        max-height: 120px;
    }
    .banner img {
        max-height: 120px;
    }
}

/* ----- СТРАНИЦА ПРАВИЛ ----- */
.rules-block {
    background: white;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin: 20px 0;
}

.rules-block h1 {
    font-size: 28px;
    color: #3d2c24;
    margin-bottom: 4px;
}

.rules-intro {
    color: #888;
    font-size: 16px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f0ebe6;
    padding-bottom: 12px;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rule-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.5;
    color: #2d2d2d;
}

.rule-number {
    font-weight: bold;
    color: #c0392b;
    white-space: nowrap;
    min-width: 30px;
}

.rule-item p {
    margin: 0;
}

.rule-subsection {
    flex-direction: column;
    gap: 4px;
}

.subrules {
    margin-left: 42px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subrules div {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

/* ----- СТРАНИЦА-ЗАГЛУШКА (для переводов) ----- */
.empty-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.empty-content {
    background: white;
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    max-width: 500px;
}

.empty-content h1 {
    font-size: 28px;
    color: #3d2c24;
    margin-bottom: 10px;
}

.empty-icon {
    font-size: 72px;
    margin: 20px 0 10px 0;
}

.empty-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.empty-content a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.empty-content a:hover {
    text-decoration: underline;
}

/* ----- СТИЛЬ ДЛЯ ПОЧТЫ НА СТРАНИЦЕ "О НАС" ----- */
.contact-email {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f5f0eb;
}

.contact-email h3 {
    color: #c0392b;
}

.email-hint {
    color: #888;
    font-size: 14px;
    margin-top: 4px;
    font-style: italic;
}

.contact-email a {
    color: #c0392b;
    text-decoration: none;
    font-weight: bold;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* ----- СТРАНИЦА ВСЕХ ДНЕЙ РОЖДЕНИЯ ----- */
.birthdays-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.birthday-card {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    flex: 1 1 220px;
    max-width: 280px;
}

.birthday-photo {
    width: 80px;
    height: 100px;
    border-radius: 8px;  /* можно убрать совсем или оставить лёгкое скругление */
    overflow: hidden;
    background: #f0ebe6;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.birthday-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* чтобы фото красиво вписывалось */
}

.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
}

.birthday-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    color: #2d2d2d;
}

.birthday-info p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.birthday-date {
    font-size: 12px;
    color: #c0392b;
    font-weight: 500;
}

/* ----- ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦЫ ----- */
.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 28px;
    color: #3d2c24;
}

.section-subtitle {
    color: #888;
    font-size: 15px;
    margin-top: -6px;
    margin-bottom: 16px;
}

/* ----- ССЫЛКА НА ПОНЯТНИК (на странице словарика) ----- */
.ponyatnik-link-block {
    background: white;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ponyatnik-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* ровно 3 колонки */
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .ponyatnik-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ponyatnik-grid {
        grid-template-columns: 1fr;
    }
}

.ponyatnik-link {
    font-size: 18px;
    font-weight: 700;
    color: #c0392b;
    text-decoration: none;
    transition: color 0.2s;
}

.ponyatnik-link:hover {
    color: #a03226;
    text-decoration: underline;
}

.ponyatnik-hint {
    font-size: 14px;
    color: #888;
}

/* ----- КНОПКА НАЗАД (на странице понятника) ----- */
.back-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 15px;
    color: #c0392b;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* ----- СЛОВАРИК ----- */
.glossary-section h2 {
    font-size: 24px;
    color: #3d2c24;
    border-bottom: 2px solid #f5e6d3;
    padding-bottom: 8px;
    margin-bottom: 6px;
}

.glossary-container {
    max-width: 900px;
    margin: 0 auto;
}

.glossary-letter-section {
    margin-bottom: 32px;
}

.letter-title {
    font-size: 28px;
    font-weight: 700;
    color: #c0392b;
    border-bottom: 2px solid #f5e6d3;
    padding-bottom: 4px;
    margin-bottom: 12px;
    font-family: 'Georgia', serif;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 4px;
}

.glossary-item {
    background: white;
    border-radius: 10px;
    padding: 12px 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s;
}

.glossary-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.glossary-term {
    font-weight: 700;
    font-size: 16px;
    color: #3d2c24;
    margin-bottom: 2px;
}

.glossary-definition {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    padding-left: 2px;
}

.empty-msg {
    color: #999;
    font-size: 16px;
    padding: 20px 0;
}
/* ----- ЗОЛОТАЯ ЕХИДНА: НОВАЯ СТРУКТУРА ----- */
.award-year {
    background: white;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.award-year h2 {
    font-size: 28px;
    color: #3d2c24;
    border-bottom: 3px solid #f5e6d3;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.award-category {
    margin-bottom: 30px;
}

.award-category h3 {
    font-size: 20px;
    color: #5a3e36;
    margin-bottom: 12px;
    padding-left: 4px;
}

/* ТОП-3: ПЬЕДЕСТАЛ */
.award-top3 {
    display: flex;
    justify-content: center;
    align-items: flex-end;  /* Выравнивание по нижнему краю */
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 10px 0;
}

.award-poster-wrapper {
    text-align: center;
    transition: transform 0.3s ease;
}

.award-poster-wrapper:hover {
    transform: translateY(-6px);
}

.award-poster-wrapper a {
    text-decoration: none;
    color: inherit;
}

.award-poster {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f0ebe6;
    transition: box-shadow 0.3s ease;
}

/* 1 место — 220x308, золотая рамка, тень */
.place-1 .award-poster {
    width: 220px;
    height: 308px;
    border: 4px solid #f1c40f;
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.4);
}

.place-1 .award-poster:hover {
    box-shadow: 0 12px 40px rgba(241, 196, 15, 0.6);
}

/* 2 место — 180x252, серебряная рамка */
.place-2 .award-poster {
    width: 180px;
    height: 252px;
    border: 3px solid #bdc3c7;
    box-shadow: 0 4px 20px rgba(189, 195, 199, 0.3);
}

.place-2 .award-poster:hover {
    box-shadow: 0 8px 30px rgba(189, 195, 199, 0.5);
}

/* 3 место — 160x224, бронзовая рамка */
.place-3 .award-poster {
    width: 160px;
    height: 224px;
    border: 3px solid #cd7f32;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.3);
}

.place-3 .award-poster:hover {
    box-shadow: 0 8px 30px rgba(205, 127, 50, 0.5);
}

/* Сами постеры внутри */
.award-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.award-poster .no-poster {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 14px;
    color: #999;
}

/* Бейджик с местом (1, 2, 3) */
.award-place-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-weight: 700;
    font-size: 16px;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Цвета бейджиков для каждого места */
.place-1 .award-place-badge {
    background: #f1c40f;
    color: #2d2d2d;
}

.place-2 .award-place-badge {
    background: #bdc3c7;
    color: #2d2d2d;
}

.place-3 .award-place-badge {
    background: #cd7f32;
    color: white;
}

/* Название фильма под постером */
.award-movie-title {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #3d2c24;
    max-width: 220px;
    text-align: center;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .place-1 .award-poster {
        width: 160px;
        height: 224px;
    }
    .place-2 .award-poster {
        width: 130px;
        height: 182px;
    }
    .place-3 .award-poster {
        width: 110px;
        height: 154px;
    }
    .award-top3 {
        gap: 12px;
    }
}

/* 4-10 МЕСТА: СПИСОК */
.award-other-places {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f5f0eb;
}

.award-other-places ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.award-other-places li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #faf6f2;
    flex-wrap: wrap;
}

.place-num {
    font-weight: 700;
    color: #c0392b;
    font-size: 14px;
    min-width: 60px;
}

.award-other-places a {
    color: #3d2c24;
    text-decoration: none;
    font-weight: 500;
}

.award-other-places a:hover {
    text-decoration: underline;
    color: #c0392b;
}

.award-other-places .comment {
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Адаптив */
@media (max-width: 768px) {
    .place-1 .award-poster {
        width: 150px;
        height: 210px;
    }
    .place-2 .award-poster,
    .place-3 .award-poster {
        width: 110px;
        height: 154px;
    }
    .award-top3 {
        gap: 12px;
    }
}

/* ----- СЕТКА ГОДОВ (главная страница премии) ----- */
.years-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  /* 4 колонки */
    gap: 24px;
    margin-top: 20px;
}

.year-card {
    background: linear-gradient(145deg, #fdf4e3, #f7e8d0);  /* Яркий тёплый градиент */
    border-radius: 20px;
    padding: 30px 20px 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(90, 62, 54, 0.08);
    text-decoration: none;
    color: #3d2c24;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid rgba(255, 215, 200, 0.2);
    position: relative;
    overflow: hidden;
}

/* Эффект "золота" при наведении */
.year-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f7dc6f, #f1c40f);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.year-card:hover::before {
    opacity: 0.15;
}

.year-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(192, 57, 43, 0.15);
    border-color: #f1c40f;
}

.year-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.year-number {
    font-size: 42px;
    font-weight: 800;
    color: #5a3e36;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.year-card:hover .year-number {
    color: #c0392b;
}

/* Иконка-разделитель */
.year-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c0392b, transparent);
    margin: 4px 0;
}

/* Маленькая звёздочка или иконка */
.year-icon {
    font-size: 24px;
    margin-top: 4px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.year-card:hover .year-icon {
    opacity: 1;
}

/* Адаптив */
@media (max-width: 992px) {
    .years-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .years-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .year-number {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .years-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .year-card {
        padding: 20px 12px;
    }
    .year-number {
        font-size: 26px;
    }
}

/* ----- КНОПКА НАЗАД ----- */
.back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 16px;
    color: #c0392b;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* ----- ПРИГЛАШЕНИЕ В ВК (на странице годов) ----- */
.vk-invite-block {
    background: linear-gradient(145deg, #fdf4e3, #f7e8d0);
    border-radius: 20px;
    padding: 30px 35px;
    margin-top: 40px;
    border: 1px solid rgba(255, 215, 200, 0.3);
    box-shadow: 0 4px 20px rgba(90, 62, 54, 0.06);
}

.vk-invite-content {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.vk-invite-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.vk-invite-text {
    flex: 1;
}

.vk-invite-text h3 {
    font-size: 20px;
    color: #3d2c24;
    margin-bottom: 6px;
}

.vk-invite-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.vk-invite-btn {
    display: inline-block;
    background: #4a76a8;
    color: white;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

.vk-invite-btn:hover {
    background: #3a5f8a;
    transform: translateY(-2px);
    color: white;
}

/* Адаптив */
@media (max-width: 600px) {
    .vk-invite-content {
        flex-direction: column;
        text-align: center;
    }
    .vk-invite-btn {
        width: 100%;
        text-align: center;
    }
}
/* ----- ОПИСАНИЕ КАТЕГОРИИ (пояснение к номинации) ----- */
.category-header {
    margin-bottom: 14px;
}

.category-header h2 {
    font-size: 24px;
    color: #3d2c24;
    margin-bottom: 2px;
}

.category-description {
    font-size: 15px;
    color: #777;
    font-style: italic;
    margin-top: -4px;
    padding-left: 4px;
    border-left: 3px solid #f1c40f;
    padding-left: 12px;
}
/* ----- ПОДВАЛ (FOOTER) ----- */
footer {
    background: linear-gradient(145deg, #f8f0ea, #f0e6de);
    border-top: 2px solid rgba(255, 215, 200, 0.3);
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-column h4 {
    font-size: 16px;
    color: #3d2c24;
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 6px;
}

.footer-column ul li a {
    color: #5a3e36;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.footer-logo {
    font-size: 22px;
    font-weight: 700;
    color: #3d2c24;
    margin-bottom: 8px;
}

.footer-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-socials a {
    font-size: 14px;
    color: #5a3e36;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-socials a:hover {
    color: #c0392b;
}

.footer-about p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 13px;
    color: #999;
    margin-top: 8px;
}

/* Адаптив */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .footer-column h4 {
        margin-top: 10px;
    }
}
/* ----- СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ----- */
.privacy-page {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.privacy-page h1 {
    font-size: 28px;
    color: #3d2c24;
    margin-bottom: 4px;
}

.privacy-page h2 {
    font-size: 20px;
    color: #3d2c24;
    margin-top: 24px;
    margin-bottom: 10px;
}

.privacy-page p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.privacy-page ul {
    padding-left: 24px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.privacy-page a {
    color: #c0392b;
    text-decoration: none;
}

.privacy-page a:hover {
    text-decoration: underline;
}
/* ----- ССЫЛКА ПОД ДНЯМИ РОЖДЕНИЯ ----- */
.birthday-footer {
    margin-top: 16px;
}

.birthday-vk-link {
    display: inline-block;
    font-size: 15px;
    color: #4a76a8;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.birthday-vk-link:hover {
    color: #3a5f8a;
    border-bottom-color: #4a76a8;
}

/* ----- НОВЫЕ СТИЛИ ДЛЯ КАРТОЧКИ ФИЛЬМА ----- */

/* Оригинальное название */
.original-title {
    font-size: 15px;
    color: #888;
    margin-top: -2px;
    margin-bottom: 6px;
}

/* Рейтинги */
.ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0 14px;
}

.rating-badge {
    background: #f5f0eb;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #3d2c24;
}

/* Сетка деталей */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    background: #faf6f2;
    padding: 12px 16px;
    border-radius: 12px;
    margin: 10px 0 16px;
}

.detail-item {
    display: flex;
    gap: 6px;
    font-size: 15px;
}

.detail-label {
    font-weight: 600;
    color: #5a3e36;
    min-width: 90px;
}

.detail-value {
    color: #2d2d2d;
}

/* Адаптив */
@media (max-width: 600px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .detail-label {
        min-width: 80px;
    }
}
/* ----- АКТЁРСКИЕ НОМИНАЦИИ (ОППЫ / ОННИ) ----- */
.actor-category .actor-poster {
    width: 180px;
    height: 240px;  /* прямоугольные, как постеры */
    border-radius: 12px;
    overflow: hidden;
    background: #f0ebe6;
}

.actor-category .place-1 .actor-poster {
    width: 200px;
    height: 266px;
    border: 4px solid #f1c40f;
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.3);
}

.actor-category .place-2 .actor-poster {
    width: 170px;
    height: 226px;
    border: 3px solid #bdc3c7;
    box-shadow: 0 4px 20px rgba(189, 195, 199, 0.3);
}

.actor-category .place-3 .actor-poster {
    width: 150px;
    height: 200px;
    border: 3px solid #cd7f32;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.3);
}

.actor-category .actor-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-movies {
    margin-top: 4px;
    display: flex;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}

.actor-movie-link {
    font-size: 12px;
    background: #f0ebe6;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #3d2c24;
    transition: background 0.2s, color 0.2s;
}

.actor-movie-link:hover {
    background: #c0392b;
    color: white;
}

.actor-name {
    font-weight: 500;
    color: #3d2c24;
}

.actor-movie-links a {
    color: #c0392b;
    text-decoration: none;
    font-weight: 500;
}

.actor-movie-links a:hover {
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 768px) {
    .actor-category .actor-poster {
        width: 130px;
        height: 173px;
    }
    .actor-category .place-1 .actor-poster {
        width: 150px;
        height: 200px;
    }
    .actor-category .place-2 .actor-poster {
        width: 120px;
        height: 160px;
    }
    .actor-category .place-3 .actor-poster {
        width: 100px;
        height: 133px;
    }
}
/* ----- АКТЁРСКИЕ НОМИНАЦИИ: 4-10 МЕСТА (МАЛЕНЬКИЕ ФОТО) ----- */
.actor-other-places {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 2px solid #f5f0eb;
}

.actor-other-places h4 {
    font-size: 16px;
    color: #5a3e36;
    margin-bottom: 12px;
    font-weight: 600;
}

.actor-small-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.actor-small-card {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.actor-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.actor-small-photo {
    width: 100%;
    aspect-ratio: 2/3;
    border-radius: 8px;
    overflow: hidden;
    background: #f0ebe6;
    margin-bottom: 6px;
}

.actor-small-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actor-small-photo .no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
    color: #ccc;
}

.actor-small-name {
    font-weight: 600;
    font-size: 13px;
    color: #3d2c24;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.actor-small-place {
    font-size: 11px;
    color: #c0392b;
    font-weight: 500;
    margin-bottom: 4px;
}

.actor-small-movies {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
}

.actor-small-movie-link {
    font-size: 10px;
    background: #f0ebe6;
    padding: 2px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #3d2c24;
    transition: background 0.2s, color 0.2s;
}

.actor-small-movie-link:hover {
    background: #c0392b;
    color: white;
}

/* Адаптив */
@media (max-width: 768px) {
    .actor-small-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .actor-small-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}
/* ----- БЕЙДЖ ПЕРЕВОДА НА КАРТОЧКЕ ----- */
.translation-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(192, 57, 43, 0.9);
    color: white;
    font-size: 16px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===== ТОЛЬКО ПЕРЕВОДЫ ===== */
.translations-grid {
    display: grid !important;
    grid-template-columns: repeat(8, 1fr) !important;
    gap: 10px !important;
    margin-top: 10px !important;
}

.translations-grid .movie-card {
    max-width: 140px !important;
    margin: 0 auto !important;
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.translations-grid .poster {
    aspect-ratio: 2/3 !important;
    background: #f0ebe6 !important;
    overflow: hidden !important;
    position: relative !important;
}

.translations-grid .poster img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.translations-grid .info {
    padding: 4px 6px 8px !important;
    text-align: center !important;
}

.translations-grid .info h3 {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #3d2c24 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.translations-grid .info .meta {
    font-size: 10px !important;
    color: #999 !important;
}

.translations-grid .translation-badge {
    position: absolute !important;
    top: 4px !important;
    right: 4px !important;
    background: rgba(192, 57, 43, 0.85) !important;
    color: white !important;
    font-size: 10px !important;
    padding: 2px 8px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

/* Адаптив */
@media (max-width: 992px) {
    .translations-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .translations-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .translations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ----- СТРАНИЦА ПРОСМОТРА (WATCH) ----- */
.watch-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 10px;
}

.watch-header {
    margin-bottom: 20px;
}

.watch-header h1 {
    font-size: 26px;
    color: #3d2c24;
    margin-bottom: 2px;
}

.watch-meta {
    font-size: 15px;
    color: #888;
}

.player-container {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
}

.player-container iframe {
    width: 100% !important;
    min-height: 500px !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    border: none;
    display: block;
}

.watch-episodes {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.watch-episodes h3 {
    font-size: 16px;
    color: #3d2c24;
    margin-bottom: 10px;
}

.episode-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.episode-link {
    background: #f0ebe6;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #3d2c24;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.episode-link:hover {
    background: #e0d6cd;
}

.episode-link.active {
    background: #c0392b;
    color: white;
}

.no-video {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    color: #888;
}

.no-video p {
    margin: 4px 0;
}

.no-video .hint {
    font-size: 14px;
    color: #bbb;
}

/* ----- АДМИНКА ----- */
.admin-page {
    max-width: 1000px;
    margin: 0 auto;
}

.admin-form {
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.admin-form h2 {
    font-size: 20px;
    color: #3d2c24;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #3d2c24;
    margin-bottom: 4px;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: #c0392b;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: #a03226;
}

.admin-list {
    background: white;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow-x: auto;
}

.admin-list h2 {
    font-size: 20px;
    color: #3d2c24;
    margin-bottom: 16px;
}

.admin-list table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-list th,
.admin-list td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #f5f0eb;
}

.admin-list th {
    background: #faf6f2;
    font-weight: 600;
    color: #3d2c24;
}

.iframe-preview {
    font-size: 12px;
    color: #888;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-delete {
    color: #c0392b;
    text-decoration: none;
    font-size: 18px;
}

.btn-delete:hover {
    color: #a03226;
}

/* ----- КНОПКА "НАШ ПЕРЕВОД" (как в золотой ехидне, но синяя и меньше) ----- */
.watch-now-btn {
    display: inline-block;
    background: #0ea5e9;  /* спокойный синий */
    color: white !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;  /* как у карточек годов */
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 14px rgba(44, 111, 187, 0.3);
    white-space: nowrap;
    width: auto;
    min-width: 140px;
    text-align: center;
}

.watch-now-btn:hover {
    background: #1e4f8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 111, 187, 0.4);
    color: white !important;
}

/* Если хотите чуть меньше */
.watch-now-btn.small {
    font-size: 13px;
    padding: 8px 16px;
    min-width: 120px;
}

/* Адаптив */
@media (max-width: 600px) {
    .watch-now-btn {
        font-size: 14px;
        padding: 8px 16px;
        min-width: 120px;
        width: 100%;
    }
}
.link-btn.douban {
    background: #2c6fbb;
    color: white;
}

.link-btn.baidu {
    background: #2932e1;
    color: white;
}
/* ----- АДМИНКА (дополнительные стили) ----- */
.admin-filter {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.admin-filter .filter-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-filter .form-group {
    margin-bottom: 0;
}

.admin-filter .btn-reset {
    display: inline-block;
    padding: 8px 16px;
    background: #e0d6cd;
    border-radius: 8px;
    text-decoration: none;
    color: #3d2c24;
    font-size: 14px;
}

.btn-reset-form {
    padding: 8px 20px;
    background: #e0d6cd;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.btn-reset-form:hover {
    background: #d0c6bd;
}
/* ----- ФИЛЬТРЫ (в одну строку) ----- */
.filters-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px 20px;
    padding: 12px 0;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-group label {
    font-size: 13px;
    font-weight: 600;
    color: #3d2c24;
}

.filter-group select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    min-width: 120px;
}

.btn-filter,
.btn-reset {
    padding: 6px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    height: 38px;
    line-height: 26px;
}

.btn-filter {
    background: #5a3e36;
    color: white;
}

.btn-filter:hover {
    background: #4a2e26;
}

.btn-reset {
    background: #e0d6cd;
    color: #3d2c24;
}

.btn-reset:hover {
    background: #d0c6bd;
}

/* Адаптив для телефонов */
@media (max-width: 600px) {
    .filters-form {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .filter-group select {
        width: 100%;
    }
    .btn-filter,
    .btn-reset {
        width: 100%;
        text-align: center;
    }
}
/* ----- ПЕРЕКЛЮЧАТЕЛЬ СЕЗОНОВ ----- */
.season-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    padding: 6px 12px;
    background: #faf6f2;
    border-radius: 10px;
    max-width: 300px;
}

.season-selector label {
    font-weight: 600;
    color: #3d2c24;
    font-size: 14px;
}

.season-selector select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    flex: 1;
}
/* ===== ПРЕДУПРЕЖДЕНИЯ В КАРТОЧКЕ ===== */
.warnings-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 16px;
}

.warning {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 22px;  /* ← было 14px, стало 18px */
    line-height: 1.6;
}

.warning-icon {
    font-size: 48px;  /* ← было 22px, стало 32px */
    flex-shrink: 0;
}

.warning-text {
    color: #2d2d2d;
    font-size: 22px;  /* ← добавили явно */
}

.warning-text strong {
    font-weight: 700;
    font-size: 22px;  /* ← добавили явно */
}

/* 18+ — красное */
.age-warning {
    background: #fff0f0;
    border-left: 4px solid #c0392b;
}

/* ЛГБТ — тёмное с красной рамкой */
.lgbt-warning {
    background: #1a1a1a;
    border-left: 4px solid #cc0000;
    color: #f0f0f0;
}

.lgbt-warning .warning-text {
    color: #f0f0f0;
}

.lgbt-warning .warning-text strong {
    color: #ff6666;
}
/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 40px 45px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 12px;
}

.modal-content h2 {
    font-size: 28px;
    color: #c0392b;
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 16px;
    color: #2d2d2d;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-law {
    background: #f5f0eb;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
}

.modal-agree {
    font-size: 14px;
    color: #888;
    margin-top: 16px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

.modal-btn {
    padding: 12px 32px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.modal-btn.confirm {
    background: #c0392b;
    color: white;
}

.modal-btn.confirm:hover {
    background: #a03226;
    transform: scale(1.02);
}

.modal-btn.leave {
    background: #e0d6cd;
    color: #3d2c24;
}

.modal-btn.leave:hover {
    background: #d0c6bd;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.review-btn {
    background: #2c6fbb;
    color: white !important;
}

.recap-btn {
    background: #6c3b2c;
    color: white !important;
}

.review-meta {
    margin-bottom: 20px;   /* отступ от мета-данных до текста */
    font-size: 14px;
    color: #888;
}

.review-content {
    white-space: pre-line;   /* сохраняет переносы строк */
}
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.coming-soon-icon {
    font-size: 72px;
    margin-bottom: 16px;
}

.coming-soon h2 {
    font-size: 28px;
    color: #3d2c24;
    margin-bottom: 12px;
}

.coming-soon p {
    font-size: 18px;
    color: #666;
    max-width: 500px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: #c0392b;
    color: white;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #a03226;
}

.recap-content {
    white-space: pre-line;
}