/* Подключаем современный шрифт Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f9; /* Мягкий светлый фон для контраста с белыми блоками */
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Дизайн шапки (Header) в красном цвете */
.header {
    background-color: #d32f2f; /* Профессиональный глубокий красный цвет */
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.header h2 {
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Обертка для контента */
.wrapper {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Дизайн основного блока в виде карточки */
.main .container {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

/* Главный заголовок: аккуратный и уменьшенный размер */
.core-title {
    font-size: 1.4rem; 
    font-weight: 600;
    text-align: center;
    color: #111;
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Секция видео (чтобы она не вылезала за края) */
.section-video {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Дизайн футера */
.footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    font-size: 0.9rem;
}

.footer .links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer .links a {
    color: #d32f2f;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer .links a:hover {
    color: #9a0007; /* Более темный красный при наведении */
}

.footer .copyright {
    color: #888;
}

/* Обновленный дизайн баннера куки */
.cookie-banner {
    background-color: #ffffff;
    border-top: 4px solid #d32f2f;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 15px 20px;
    display: none; /* Flex устанавливается через JS */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #444;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Кнопки в баннере */
.cookie-buttons button {
    background-color: #d32f2f;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cookie-buttons button:hover {
    background-color: #9a0007;
    transform: translateY(-1px);
}

#cookie-decline {
    background-color: #e0e0e0;
    color: #333;
}

#cookie-decline:hover {
    background-color: #c5c5c5;
}

.cookie-link {
    font-size: 0.85rem;
    color: #d32f2f;
    text-decoration: underline;
    font-weight: 600;
}