/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: CSS-ПЕРЕМЕННЫЕ */
/* Для централизованного управления основными цветами */
/* ========================================= */
:root {
  /* Цвета, извлеченные из инлайн-стилей index.html */
  --color-orange-main: #ED8F37;
  --color-blue-secondary: #54AEDE;
  --color-blue-title: #0070C0;
  --color-blue-accent: #2488d9;
  --color-orange-secondary: #FF8800;
  --color-blue-safe: #1589da;
}

/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 1 */
/* ========================================= */
.slide1-h1 {
  /* font-family: Calibri; font-size: 66pt; color: #ED8F37; font-weight: bold; */
  font-family: 'Calibri', Arial, sans-serif; /* Добавлен запасной шрифт */
  font-size: 66pt;
  color: var(--color-orange-main);
  font-weight: bold;
}

.slide1-h2 {
  /* font-family: Calibri; font-size: 33pt; color: #54AEDE; font-weight: bold; */
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 33pt;
  color: var(--color-blue-secondary);
  font-weight: bold;
}

.slide1-footer {
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 0.95rem;
  color: #1f2a44;
  margin-top: 32px;
  text-align: center;
  letter-spacing: 0.08em;
}

/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 2 */
/* ========================================= */
.slide2-h2 {
  /* font-family: Calibri; font-size: 40.5pt; color: #0070C0; font-weight: bold; */
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 40.5pt !important; /* !important, чтобы перебить существующее правило #text-box2 h2 */
  color: var(--color-blue-title);
  font-weight: bold;
}

.slide2-list {
  /* font-size: 20px; */
  font-size: 20px !important; /* Перебиваем общие правила для ul */
}

.no-letter-spacing {
  /* letter-spacing: 0px; */
  letter-spacing: 0px;
}

/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 3 */
/* ========================================= */
.slide3-span-blue {
    /* color: #2488d9 */
    color: var(--color-blue-accent);
}

/* ========================================================================= */
/* ИСПРАВЛЕННЫЕ ПРАВИЛА ДЛЯ СЛАЙДА 7 (СХЕМА: БОЛЬШЕ И ПО ЦЕНТРУ) */
/* ========================================================================= */

/* Контейнер для двух изображений */
.slide7-images-box {
  position: relative; 
  width: 90%; 
  max-width: 1000px; 
  /* Увеличенная высота для размещения большой центральной картинки */
  height: 500px; 
  margin: 20px auto 0; 
  display: block;
}

/* Стили для схемы (левая картинка) - БОЛЬШЕ И ЦЕНТР */
.slide7-schema-img {
  position: absolute;
  /* Значительно увеличенный размер */
  width: 150%; 
  max-width: 700px;
  
  /* ЦЕНТРИРОВАНИЕ: */
  top: 30px; 
  left: 0%; 

  height: auto;
}

/* Стили для людей (правая картинка) - СДВИНУТА ВЫШЕ И ЛЕВЕЕ */
.slide7-people-img {
  position: absolute;
  /* Размер оставлен увеличенным */
  width: 35%; 
  top: -260px; /* Самая высокая точка в контейнере */
  right: 33%; /* Значительный сдвиг влево (от правого края) */
  max-width: 370px; 
  height: auto;
  z-index: 10; 
}
/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 9 */
/* ========================================= */
/* Перенос инлайн-padding в CSS для конкретного ID */
#text-box9 {
    /* padding:60px 0; */
    padding: 60px 0;
}

/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 18 */
/* ========================================= */
#text-box18 {
    /* display:flex;flex-direction:column;align-items:center;justify-content:center; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide18-h2 {
    /* font-family: Calibri, Arial, sans-serif; font-weight: 900; font-size: 3.1em; color: #1589da; text-align:center; margin-bottom: 0.1em; margin-top: 16px; */
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: 900;
    font-size: 3.1em;
    color: var(--color-blue-safe);
    text-align: center;
    margin-bottom: 0.1em;
    margin-top: 16px;
}

.slide18-h2-span {
    /* color:#FF8800 */
    color: var(--color-orange-secondary);
}

.slide18-div {
    /* font-family: Calibri, Arial, sans-serif; font-weight: bold; font-size: 2.1em; color: #1589da; text-align:center; margin-bottom:30px; */
    font-family: 'Calibri', Arial, sans-serif;
    font-weight: bold;
    font-size: 2.1em;
    color: var(--color-blue-safe);
    text-align: center;
    margin-bottom: 30px;
}

.slide18-img {
    /* display:block;margin:0 auto;padding:0;max-width:96vw;width:100%;height:auto;box-shadow:none;border:none;background:none; */
    display: block;
    margin: 0 auto;
    padding: 0;
    max-width: 96vw;
    width: 100%;
    height: auto;
    box-shadow: none;
    border: none;
    background: none;
}

/* ========================================= */
/* ПРОФЕССИОНАЛЬНЫЙ РЕФАКТОРИНГ: СЛАЙД 21 */
/* ========================================= */
.slide21-h2 {
    /* font-family: Calibri; font-size: 40.5pt; color: #0070C0; font-weight: bold; */
    font-family: 'Calibri', Arial, sans-serif;
    font-size: 40.5pt !important; /* !important, чтобы перебить существующее правило #text-box21 h2 */
    color: var(--color-blue-title);
    font-weight: bold;
}

.slide21-list {
    /* font-size: 20px; */
    font-size: 20px !important; /* Перебиваем общие правила для ul */
}

/* ========================================= */
/* НАЧАЛО ВАШЕГО ОРИГИНАЛЬНОГО КОДА STYLES.CSS */
/* ========================================= */
body {
margin: 0;
padding: 0;
font-family: 'Calibri', sans-serif;
overflow-x: hidden;
overflow-y: hidden; /* Отключаем вертикальный scroll полностью */
background-color: #f0f0f0;
color: #000;
}

@keyframes gradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

/* Дыхание для слайдов */
@keyframes breathe {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.014); }
}

/* Дыхание для текстбоксов с сохранением центрирования */
@keyframes textBoxBreathe {
0%, 100% { transform: translate(-50%, -50%) scale(1); }
50% { transform: translate(-50%, -50%) scale(1.014); }
}

/* Пульсация для логотипа */
@keyframes logoPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.035); }
}

/* Плавающие элементы */
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-7px); }
}

/* Мерцание для заголовков */
@keyframes textShimmer {
0% { text-shadow: 0 0 5px rgba(255,255,255,0.5); }
50% { text-shadow: 0 0 20px rgba(255,255,255,0.8), 0 0 30px rgba(255,255,255,0.6); }
100% { text-shadow: 0 0 5px rgba(255,255,255,0.5); }
}

/* Волна для текстбоксов */
@keyframes wave {
0% { transform: translateY(0px) rotate(0deg); }
10% { transform: translateY(-5px) rotate(1deg); }
20% { transform: translateY(0px) rotate(0deg); }
30% { transform: translateY(-3px) rotate(-1deg); }
40% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-2px) rotate(0.5deg); }
60% { transform: translateY(0px) rotate(0deg); }
70% { transform: translateY(-4px) rotate(-0.5deg); }
80% { transform: translateY(0px) rotate(0deg); }
90% { transform: translateY(-1px) rotate(0.2deg); }
100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
0% { transform: translate(-50%, -50%) scale(1); }
50% { transform: translate(-50%, -50%) scale(1.03); }
100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes flyInFromSides {
0% { opacity: 0; transform: translateX(var(--fly-direction)); }
100% { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}

/* Контейнер слайдов */
.slide-container {
scroll-snap-type: y proximity; /* overflow-y: scroll; - убрал, чтобы не было двух скроллов */
scroll-behavior: smooth;
height: 100vh;
-webkit-overflow-scrolling: touch;
scroll-padding-top: 0;
transition: scroll-behavior 0.3s ease-in-out;
}

/* Слайд и фоновый градиент */
.slide {
height: 100vh;
width: 100vw;
display: flex;
justify-content: center;
align-items: center;
position: relative;
overflow: hidden;
background: linear-gradient(45deg, #ff8411, #78bfe6, #037cd3, #c6daff);
background-size: 300% 300%;
animation: gradient 10s ease infinite;
scroll-snap-align: start;
scroll-snap-stop: normal; /* Более плавное проскальзывание между слайдами */
}

.fixed-gradient-bg {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 0;
pointer-events: none;
background: linear-gradient(45deg,#ff8411,#78bfe6,#037cd3,#c6daff);
background-size: 300% 300%;
animation: gradient 10s ease infinite;
}

.slide { /* убираю градиент с .slide, теперь только фон-картинка в before */
background: none;
}

.slide::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('images/главный фон.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
opacity: 0.4;
z-index: 1;
}

.slide * { position: relative; z-index: 2; }

/* Текстовый бокс */
.text-box {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 65%;
height: 80vh; /* Ограничение высоты */
background-image: url('images/фон_текстбокса 2.jpeg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
border-radius: 50px;
padding: 40px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
z-index: 3;
overflow-y: auto;
overflow-x: hidden; /* Убираем горизонтальный скролл */
opacity: 1; /* Начальная видимость */
box-sizing: border-box; /* Учитываем padding в общей ширине */
max-width: 90vw; /* Максимальная ширина относительно viewport */
animation: textBoxBreathe 8s ease-in-out infinite;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE и Edge */
}

.text-box::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
width: 0;
height: 0;
}

.text-box h1,
.text-box h2,
.text-box p,
.text-box ul {
margin: 10px 0;
opacity: 0; /* Начальная невидимость для анимации */
transition: all 0.6s ease;
word-wrap: break-word; /* Перенос длинных слов */
overflow-wrap: break-word; /* Современный способ переноса слов */
max-width: 100%; /* Ограничиваем ширину содержимого */
}

/* Элементы, появляющиеся по скроллу */
.text-img-row,
.slide-flex-bg,
.simple-layout,
.deposit-scheme,
.interest-content {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.slide.animate .text-img-row,
.slide.animate .slide-flex-bg,
.slide.animate .simple-layout,
.slide.animate .deposit-scheme,
.slide.animate .interest-content {
opacity: 1;
transform: translateY(0);
}

/* Круглые изображения */
.avatar-circle,
.circle-img-simple,
.people-circle,
.bank-circle {
opacity: 0;
transform: scale(0.8) rotate(-10deg);
transition: all 0.8s ease;
}

.slide.animate .avatar-circle,
.slide.animate .circle-img-simple,
.slide.animate .people-circle,
.slide.animate .bank-circle {
opacity: 1;
transform: scale(1) rotate(0deg);
}

/* Инфографика */
.info-graphic-row {
opacity: 0;
transform: scale(0.5);
transition: all 0.6s ease;
}

.slide.animate .info-graphic-row {
opacity: 1;
transform: scale(1);
}

.slide.animate .info-graphic-row.info-birthday { transition-delay: 0.2s; }
.slide.animate .info-graphic-row.info-saving { transition-delay: 0.4s; }
.slide.animate .info-graphic-row.info-work { transition-delay: 0.6s; }

/* Схема потоков */
.flow-line {
opacity: 0;
transform: scaleX(0);
transition: all 0.8s ease;
}

.slide.animate .flow-line {
opacity: 1;
transform: scaleX(1);
}

.flow-symbol {
opacity: 0;
transform: scale(0.5);
transition: all 0.6s ease;
}

.slide.animate .flow-symbol {
opacity: 1;
transform: scale(1);
}

.slide.animate .percent-symbol { transition-delay: 0.4s; }
.slide.animate .ruble-symbol { transition-delay: 0.6s; }

/* Заголовки */
.main-title-simple,
.deposit-title {
opacity: 0;
transform: translateY(-50px);
transition: all 0.8s ease;
}

.slide.animate .main-title-simple,
.slide.animate .deposit-title {
opacity: 1;
transform: translateY(0);
}

/* Описания */
.big-desc,
.deposit-description {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.slide.animate .big-desc,
.slide.animate .deposit-description {
opacity: 1;
transform: translateY(0);
transition-delay: 0.2s;
}

/* Центрированные элементы */
.center-simple {
opacity: 0;
transform: scale(0.8);
transition: all 0.8s ease;
}

.slide.animate .center-simple {
opacity: 1;
transform: scale(1);
transition-delay: 0.4s;
}

/* Подписи */
.eco-desc,
.label-simple {
opacity: 0;
transform: translateY(20px);
transition: all 0.6s ease;
}

.slide.animate .eco-desc,
.slide.animate .label-simple {
opacity: 1;
transform: translateY(0);
transition-delay: 0.6s;
}

/* Нижнее описание */
.info-bottom-desc {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s ease;
}

.slide.animate .info-bottom-desc {
opacity: 1;
transform: translateY(0);
transition-delay: 0.8s;
}

/* Поэлементные анимации внутри text-box */
.text-box.animate h1 {
opacity: 1;
transform: translateX(0);
transition-delay: 0.2s;
--fly-direction: -100px; /* h1 вылетает слева */
animation: flyInFromSides 0.6s ease forwards;
}

.text-box.animate h2 {
opacity: 1;
transform: translateX(0);
transition-delay: 0.4s;
--fly-direction: -100px; /* h2 вылетает слева */
animation: flyInFromSides 0.6s ease forwards;
}

.text-box.animate p {
opacity: 1;
transform: translateX(0);
transition-delay: 0.6s;
--fly-direction: 100px; /* p вылетает справа */
animation: flyInFromSides 0.6s ease forwards;
}

.text-box.animate ul {
opacity: 1;
transform: translateX(0);
transition-delay: 0.8s;
--fly-direction: 100px; /* ul вылетает справа */
animation: flyInFromSides 0.6s ease forwards;
}

.text-box ul { list-style: none; padding: 0; }

.text-box ul li {
margin: 30px 0;
opacity: 0;
transition: all 0.4s ease;
}

.text-box.animate ul li {
opacity: 1;
transform: translateX(0);
animation: flyInFromSides 0.4s ease forwards;
}

.text-box.animate ul li:nth-child(odd) { --fly-direction: -50px; }
.text-box.animate ul li:nth-child(even) { --fly-direction: 50px; }
.text-box.animate ul li:nth-child(1) { transition-delay: 1.0s; }
.text-box.animate ul li:nth-child(2) { transition-delay: 1.1s; }
.text-box.animate ul li:nth-child(3) { transition-delay: 1.2s; }
.text-box.animate ul li:nth-child(4) { transition-delay: 1.3s; }
.text-box.animate ul li:nth-child(5) { transition-delay: 1.4s; }
.text-box.animate ul li:nth-child(6) { transition-delay: 1.5s; }

/* Список слайда 2 */
#text-box2 ul li {
opacity: 0;
transform: translateX(-30px);
transition: all 0.6s ease;
}

.slide.animate #text-box2 ul li:nth-child(1) {
opacity: 1;
transform: translateX(0);
transition-delay: 0.2s;
}

.slide.animate #text-box2 ul li:nth-child(2) {
opacity: 1;
transform: translateX(0);
transition-delay: 0.6s;
}

.slide.animate #text-box2 ul li:nth-child(3) {
opacity: 1;
transform: translateX(0);
transition-delay: 1.0s;
}

.slide.animate #text-box2 ul li:nth-child(4) {
opacity: 1;
transform: translateX(0);
transition-delay: 1.4s;
}

#text-box2 ul li .checkmark {
opacity: 0;
transform: scale(0.5) rotate(-15deg);
transition: all 0.5s ease;
}

.slide.animate #text-box2 ul li:nth-child(1) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.3s; }
.slide.animate #text-box2 ul li:nth-child(2) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.7s; }
.slide.animate #text-box2 ul li:nth-child(3) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 1.1s; }
.slide.animate #text-box2 ul li:nth-child(4) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 1.5s; }

#text-box2 ul li .question-text {
opacity: 0;
transform: translateX(20px);
transition: all 0.5s ease;
}

.slide.animate #text-box2 ul li:nth-child(1) .question-text { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
.slide.animate #text-box2 ul li:nth-child(2) .question-text { opacity: 1; transform: translateX(0); transition-delay: 0.8s; }
.slide.animate #text-box2 ul li:nth-child(3) .question-text { opacity: 1; transform: translateX(0); transition-delay: 1.2s; }
.slide.animate #text-box2 ul li:nth-child(4) .question-text { opacity: 1; transform: translateX(0); transition-delay: 1.6s; }

/* Базовые ссылки */
a { text-decoration: none; }

/* Изображения в слайдах */
.slide img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
display: block;
margin: 0 auto;
border-radius: 0; /* теперь по умолчанию прямоугольник */
box-shadow: none; /* по умолчанию без теней */
}

/* Общий контейнер изображений */
.image-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 80%;
height: 80%;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
}

/* Логотип */
.logo {
position: absolute;
top: 30px;
left: 30px;
width: 180px;
height: auto;
z-index: 4;
opacity: 0;
transform: translateX(-150px);
transition: all 0.6s ease;
border: none;
outline: none;
box-shadow: none !important;
background: none;
border-radius: 0 !important;
animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoBreathe {
0%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 2px 10px rgba(50,90,150,0.13)); }
40% { transform: scale(1.09) rotate(-1.5deg); filter: brightness(1.15) drop-shadow(0 0 32px #bee2ff66); }
70% { transform: scale(1.07) rotate(1deg); filter: brightness(1.10) drop-shadow(0 0 18px #C7DDFF99); }
}

.slide.animate .logo {
opacity: 1;
transform: translateX(0);
transition-delay: 0.1s;
animation: flyInFromLeft 0.6s ease forwards, logoBreathe 6s ease-in-out 0.6s infinite;
}

.logo-link {
  position: absolute;
  top: 30px;
  left: 30px;
  display: inline-block;
  z-index: 2;
}

.logo-link .logo {
  position: static;
}

@keyframes flyInFromLeft {
0% { opacity: 0; transform: translateX(-150px); }
100% { opacity: 1; transform: translateX(0); }
}

/* Ряды внутри text-box */
.text-box .text-img-row {
display: flex;
align-items: center;
justify-content: flex-start;
height: 100%;
width: 100%;
}

.text-box img.content-image {
width: 180px;
height: auto;
min-width: 460px;
max-width: 35%;
margin-right: 60px;
border-radius: 0;
box-shadow: none;
background: none;
display: block;
}

#text-box1 h1,
#text-box1 h2 { text-align: left; }

.slide ul { text-align: left !important; }

/* Слайд 2 */
#text-box2 ul { padding-top: 4%; padding-left: 9%; }
#text-box2 ul li { display: flex; align-items: center; gap: 22px; margin: 23px 0; }
#text-box2 ul li .checkmark { width: 62px; height: 62px; min-width: 62px; margin: 0; display: block; }
#text-box2 ul li .question-text { font-size: 2.6em; display: inline-block; text-align: left; }
#text-box2 h2 { font-size: 5em !important; }

/* Слайд 3 */
#text-box3 {
padding-top: 18px;
padding-bottom: 18px;
background: rgba(255,255,255,0.97) url('images/фон_текстбокса 2.jpeg');
background-size: cover;
background-position: center;
}

#text-box3 .centered-title {
font-family: Calibri, Arial, sans-serif;
font-size: 3em;
text-align: center;
font-weight: bold;
margin-bottom: 2px;
margin-top: 0.2em;
}

#text-box3 .big-desc {
color: #444;
font-size: 2em;
text-align: center;
margin-bottom: 120px;
font-weight: 600;
}

#text-box3 .slide-flex-bg {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 5vw;
margin-bottom: 40px;
margin-top: -70px;
}

.left-block-eco {
width: 40%;
text-align: center;
display: flex;
flex-direction: column;
justify-content: flex-end;
height: 100%;
padding-top: 100px;
}

.left-block-eco .avatar-circle {
width: 300px;
height: 300px;
border-radius: 50%;
overflow: hidden;
margin: 60px auto 26px auto;
box-shadow: 0 6px 26px rgba(0,0,0,0.10);
border: 6px solid #fff;
background: #f5f7fa;
}

.left-block-eco .avatar-circle img {
width: 100%;
height: 100%;
object-fit: cover;
}

.eco-desc {
font-size: 2em;
color: #3c3c3c;
font-weight: 500;
display: inline-block;
margin-top: 27px;
}

.right-info-block {
background: #fff;
border-radius: 32px;
box-shadow: 0 20px 48px rgba(0,0,0,0.12);
padding: 64px 36px 36px 36px;
width: 54%;
min-width: 560px;
min-height: 420px;
display: flex;
flex-direction: column;
align-items: center;
}

.money-circle-img {
width: 350px;
height: 350px;
border-radius: 50%;
margin: 18px auto 12px auto;
box-shadow: 0 2px 16px rgba(0,0,0,0.09);
border: 6px solid #f0f8fa;
background: #f8fcff;
display: flex;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
}

.money-circle-img img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
z-index: 1;
border-radius: 50%;
overflow: hidden;
}

/* Инфографика вокруг круга - точные позиции */
.info-graphic-row {
position: absolute;
display: flex;
align-items: center;
z-index: 10;
font-family: Calibri, Arial, sans-serif;
gap: 12px;
}

/* Верх-слева: иконка и плашка в одной строке */
.info-graphic-row.info-birthday {
left: -95px;
top: 50px;
}

/* Правая середина: в одной строке */
.info-graphic-row.info-saving {
top: 45%;
right: -120px;
left: auto;
transform: translateY(-50%);
}

/* Низ-центр: в одной строке по центру круга */
.info-graphic-row.info-work {
bottom: 35px;
left: -80px;
transform: translateX(-50%);
}

.info-graphic-row .info-icon { font-size: 2.6em; margin-right: 0; }

.info-title {
background: #198be3;
color: #fff;
font-size: 1.10em;
font-weight: bold;
border-radius: 16px;
padding: 10px 26px;
box-shadow: 0 2px 14px 0 rgba(0,0,0,0.05);
white-space: nowrap;
letter-spacing: 0.02em;
}

.info-bottom-desc {
font-size: 1.53em;
color: #333;
margin-top: 18px;
text-align: center;
font-weight: 600;
padding-bottom: 7px;
}

@media (max-width: 900px) {
#text-box3 .slide-flex-bg { flex-direction: column; align-items: center; gap: 32px; }
.left-block-eco, .right-info-block { width: 90% !important; min-width: 0; }
}

/* Слайд 5 */
#text-box5 {
padding: 50px 40px;
text-align: center;
background: rgba(255,255,255,0.95) url('images/фон_текстбокса 2.jpeg');
background-size: cover;
background-position: center;
}

.main-title-simple {
  font-family: Calibri, Arial, sans-serif;
  font-size: 4.5em;
  font-weight: bold;
  margin-bottom: 100px;
  margin-top: 0;
}

.main-title-simple { color: #1976d2; }
.main-title-simple::after { content: " – ЭТО ПРОСТО!"; color: #ff6b35; }

/* Центрируем «14 лет» и держим по одной картинке по бокам */
.simple-layout {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
justify-items: center;
gap: 60px;
max-width: 1100px;
margin: 100px auto;
}

.left-simple,
.right-simple {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.center-simple { display: flex; align-items: center; gap: 12px; font-family: Calibri, Arial, sans-serif; text-align: center; }
.bracket-left, .bracket-right { font-size: 4em; font-weight: bold; color: #ff6b35; }
.years-text { font-size: 3.2em; font-weight: bold; color: #1976d2; }

.circle-img-simple { width: 280px; height: 280px; border-radius: 50%; overflow: hidden; margin-bottom: 30px; box-shadow: 0 12px 40px rgba(0,0,0,0.2); border: 6px solid #fff; }
.circle-img-simple img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
.simple-layout { grid-template-columns: 1fr; gap: 30px; }
.center-simple { order: -1; margin-bottom: 20px; }
.main-title-simple { font-size: 3em; }
}

/* Слайд 7 */
#text-box7 { padding: 50px 40px; text-align: center; background: rgba(255,255,255,0.95) url('images/фон_текстбокс.jpg'); background-size: cover; background-position: center; }
.deposit-title { font-family: Calibri, Arial, sans-serif; font-size: 4em; font-weight: bold; color: #1976d2; margin-bottom: 20px; margin-top: 0; }
.deposit-description { font-family: Calibri, Arial, sans-serif; font-size: 2.2em; color: #2c3e50; margin-bottom: 50px; line-height: 1.4; max-width: 800px; margin-left: auto; margin-right: auto; }
.deposit-scheme { display: flex; justify-content: space-between; align-items: center; gap: 40px; max-width: 1000px; margin: 0 auto; position: relative; }
.people-circle, .bank-circle { width: 200px; height: 200px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 8px 32px rgba(0,0,0,0.15); border: 4px solid #fff; display: flex; align-items: center; justify-content: center; }
.people-circle img, .bank-circle img { width: 100%; height: 100%; object-fit: contain; }
.flow-diagram { position: relative; width: 300px; height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
.top-flow, .bottom-flow { position: relative; height: 50%; display: flex; align-items: center; }
.flow-line { position: absolute; height: 4px; width: 100%; border-radius: 2px; }
.orange-line { background: linear-gradient(90deg, #ff6b35, #ff8a65); top: 50%; transform: translateY(-50%); }
.blue-line { background: linear-gradient(90deg, #1976d2, #42a5f5); top: 50%; transform: translateY(-50%); }
.flow-symbol { position: absolute; width: 50px; height: 50px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.8em; font-weight: bold; box-shadow: 0 4px 16px rgba(0,0,0,0.2); border: 3px solid #fff; z-index: 2; }
.percent-symbol { color: #ff6b35; left: 50%; transform: translateX(-50%); }
ruble-symbol { color: #1976d2; left: 50%; transform: translateX(-50%); }
.top-flow::before { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 15px solid #ff6b35; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.bottom-flow::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-right: 15px solid #1976d2; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }

@media (max-width: 768px) {
.deposit-scheme { flex-direction: column; gap: 30px; }
.flow-diagram { order: 2; width: 250px; height: 150px; }
.people-circle, .bank-circle { width: 150px; height: 150px; }
}

/* Слайд 8 */
#text-box8 { padding: 180px 100px; text-align: center; background: rgba(255,255,255,0.95) url('images/фон_текстбокс.jpg'); background-size: cover; background-position: center; }
.interest-content { max-width: 800px; margin: 0 auto; text-align: left; }
.interest-definition { margin-bottom: 40px; }
.interest-types { margin-top: 30px; }
.interest-text { font-family: Calibri, Arial, sans-serif; font-size: 2.8em; color: #2c3e50; margin: 15px 0; line-height: 1.3; }
.highlight-blue { color: #1976d2; font-weight: bold; }

@media (max-width: 768px) {
.interest-text { font-size: 2.2em; }
#text-box8 { padding: 40px 30px; }
}

/* Отключаем стандартные скроллбары */
body,
.slide-container {
scrollbar-width: none !important;
-ms-overflow-style: none !important;
overscroll-behavior-y: none;
}

body::-webkit-scrollbar,
.slide-container::-webkit-scrollbar {
display: none !important;
width: 0 !important;
height: 0 !important;
background: transparent !important;
}

/* Навигационные кружки справа */
.progress-dots-container {
position: fixed;
top: 50%;
right: 26px;
z-index: 110;
transform: translateY(-50%);
height: 314px; /* 5*46+4*21 = 314px */
display: flex;
flex-direction: column;
justify-content: center;
pointer-events: none;
}

.progress-dots-list {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
gap: 21px;
transition: transform 0.42s cubic-bezier(0.6,0,0.3,1);
will-change: transform;
pointer-events: none;
height: 314px;
justify-content: flex-start;
}

.progress-dot {
flex-shrink: 0;
flex-grow: 0;
width: 46px;
height: 46px;
min-width: 46px;
min-height: 46px;
max-width: 46px;
max-height: 46px;
aspect-ratio: 1 / 1;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
padding: 0;
margin: 0;
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: none;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.5);
font-family: 'Calibri', 'Arial', sans-serif;
font-size: 19px;
color: rgba(255, 255, 255, 0.9);
font-weight: 600;
transition: transform 0.34s cubic-bezier(0.61,0,0.2,1), opacity 0.22s, box-shadow 0.25s, background 0.2s, border-color 0.2s;
opacity: 0;
position: relative;
}

.progress-dot.visible { opacity: 1; }

.progress-dot.mid {
opacity: 1;
background: rgba(255, 255, 255, 0.35);
border: none;
color: #ffffff;
box-shadow: 0 0 28px rgba(84, 174, 222, 0.65), inset 0 1px 2px rgba(255, 255, 255, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.1);
transform: scale(1.25);
z-index: 2;
}

.progress-dot.near {
opacity: 0.6;
background: rgba(255, 255, 255, 0.2);
border: none;
transform: scale(1.05);
z-index: 1;
}

.progress-dot.far {
opacity: 0.4;
background: rgba(255, 255, 255, 0.12);
border: none;
transform: scale(0.97);
z-index: 0;
}

.progress-dot.active { opacity: 1 !important; }

.progress-dot.invisible-spacer {
opacity: 0;
visibility: hidden;
pointer-events: none;
}

/* Указатель на 3-м слайде */
.pointer-curve {
position: absolute;
left: 44%;
top: 55%;
transform: translate(-50%, -50%) rotate(10deg) scale(0.92);
width: 14vw; /* было 38vw */
max-width: 280px; /* было 560px */
height: auto;
opacity: 0;
filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12));
pointer-events: none;
z-index: 2;
}

/* Анимация запускается каждый раз при появлении слайда */
#slide3.animate .pointer-curve,
.slide.animate #text-box3 .pointer-curve {
animation: pointerFadeIn 0.8s ease 0.9s forwards;
}

@keyframes pointerFadeIn {
0% { opacity: 0; transform: translate(-50%, -46%) rotate(10deg) scale(0.86); }
60% { opacity: 1; transform: translate(-50%, -50%) rotate(10deg) scale(1.02); }
100% { opacity: 1; transform: translate(-50%, -50%) rotate(10deg) scale(1); }
}

.label-simple {
font-family: Calibri, Arial, sans-serif;
font-size: 2.2em;
font-weight: bold;
color: #2c3e50;
text-align: center;
line-height: 1.3;
}

#text-box9 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  /* padding: 60px 0; - Этот стиль уже перенесен выше через #text-box9 */
}

.simple-vs-compound-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  min-width: 730px;
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 38px;
}
.simple-vs-compound-grid .col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 28px 52px 28px;
  position: relative;
}
.sv-header {
  font-family: Calibri, Arial, sans-serif;
  font-weight: bold;
  font-size: 3.2em;
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.sv-header + .sv-desc {
  margin-top: 40px;
}
.sv-simple { color: #ff8844; }
.sv-compound { color: #ff8844; }
.sv-divider {
  width: 82%;
  height: 4px;
  background: #1976d2;
  margin-bottom: 36px;
}
.sv-divider-abs {
  position: absolute;
  left: 0;
  right: 0;
  top: 115px;
  height: 4px;
  background: #1976d2;
  z-index: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s ease;
}
.sv-desc {
  font-size: 2em;
  color: #222;
  text-align: center;
  font-family: Calibri, Arial, sans-serif;
  line-height: 1.29;
  font-weight: 400;
  max-width: 400px;
}

.simple-vs-compound-grid .col:first-child {
  border-right: 4px solid #1976d2;
}

.simple-vs-compound-grid::before {
  content: "";
  position: absolute;
  top: -10px;
  bottom: 2vw;
  left: 50%;
  width: 4px;
  background: #1976d2;
  z-index: 2;
  transform: translateX(-50%) scaleY(0);
  transform-origin: center top;
  transition: transform 0.8s ease 0.2s;
}

@media (max-width:900px) {
  .simple-vs-compound-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    max-width: 98vw;
    margin: 0 2vw;
  }
  .simple-vs-compound-grid .col:first-child {
    border-right: none;
    border-bottom: 4px solid #1976d2;
  }
}

.vklad12-wrap { max-width: 1200px; margin: 0 auto; padding: 10px 20px 30px 20px; position: relative; }
.vklad12-header { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 26px; }
.vklad12-title { font-family: Calibri, Arial, sans-serif; font-weight: 800; font-size: 4em; color: #1976d2; text-align: center; }
.vklad12-top-img { position: absolute; right: 0; top: -8px; width: 300px !important; height: auto !important; max-width: none !important; object-fit: contain; z-index: 10; }

.vklad12-grid { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: start; gap: 0; }
.vklad12-hline { position: absolute; left: 0; right: 0; top: 150px; height: 3px; background: #1976d2; z-index: 1; transform: scaleX(0); transform-origin: left center; transition: transform 0.8s ease; }
.vklad12-vline { position: absolute; top: 20px; bottom: -60px; left: 50%; width: 3px; background: #1976d2; transform: translateX(-50%) scaleY(0); transform-origin: center top; z-index: 1; transition: transform 0.8s ease 0.2s; }

.vklad12-col-title { font-family: Calibri, Arial, sans-serif; font-weight: 800; font-size: 3.6em; color: #ff7a2f; margin-bottom: 22px; line-height: 1.1; }
.vklad12-left .vklad12-col-title { text-align: center; }
.vklad12-right .vklad12-col-title { text-align: left; }
.vklad12-col { display: flex; flex-direction: column; padding-top: 90px; }
.vklad12-list { list-style: none; padding: 0; margin: 36px 0 0 0; }
.vklad12-list li { font-family: Calibri, Arial, sans-serif; font-size: 2.2em; color: #212121; margin: 36px 0; }

.vklad12-left { grid-column: 1 / 2; padding-right: 40px; }
.vklad12-right { grid-column: 3 / 4; padding-left: 40px; }

.vklad12-center-icons { grid-column: 2 / 3; display: flex; flex-direction: column; align-items: center; gap: 56px; padding-top: 210px; }
.vklad12-plus, .vklad12-minus { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 4px solid #1976d2; display: flex; align-items: center; justify-content: center; font-size: 2.2em; font-weight: 900; color: #1976d2; box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.vklad12-minus { color: #ff7a2f; border-color: #ff7a2f; }

@media (max-width: 900px) {
  .vklad12-header { flex-direction: column; gap: 12px; }
  .vklad12-title { font-size: 3em; }
  .vklad12-top-img { width: 120px; }
  .vklad12-grid { grid-template-columns: 1fr; }
  .vklad12-hline { display: none; }
  .vklad12-vline { display: none; }
  .vklad12-center-icons { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding-top: 0; }
  .vklad12-left, .vklad12-right { grid-column: 1 / -1; padding: 0; }
}

.vklad12-grid-2x2 { grid-template-columns: 1fr 100px 1fr; grid-template-rows: auto auto; align-items: start; margin-left: 60px; gap: 20px 0; }

.vklad12-hleft { grid-column: 1 / 2; grid-row: 1 / 2; text-align: left; font-family: Calibri, Arial, sans-serif; font-weight: 800; font-size: 3.6em; color: #ff7a2f; line-height: 1.1; padding: 20px 0; justify-self: start; align-self: end; }
.vklad12-hright { grid-column: 3 / 4; grid-row: 1 / 2; text-align: left; font-family: Calibri, Arial, sans-serif; font-weight: 800; font-size: 3.6em; color: #ff7a2f; line-height: 1.1; padding: 20px 0; justify-self: start; align-self: end; }

.vklad12-lleft { grid-column: 1 / 2; grid-row: 2 / 3; list-style: none; padding: 0 0 0 40px; margin: 0 40px 0 0; justify-self: center; }
.vklad12-lright { grid-column: 3 / 4; grid-row: 2 / 3; list-style: none; padding: 0 0 0 40px; margin: 0 0 0 40px; justify-self: center; }
.vklad12-list li { font-family: Calibri, Arial, sans-serif; font-size: 2.2em; color: #212121; margin: 36px 0; }

.vklad12-center-icons { grid-column: 2 / 3; grid-row: 1 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }

@media (max-width: 900px) {
  .vklad12-grid-2x2 { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .vklad12-hline, .vklad12-vline { display: none; }
  .vklad12-hleft, .vklad12-hright { grid-column: 1 / -1; text-align: center; }
  .vklad12-lleft, .vklad12-lright { grid-column: 1 / -1; margin: 16px 0 0 0; }
  .vklad12-center-icons { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 24px; }
}

/* Дизайн "условия вклада" со слайда с девушкой */
.deposit-conditions-grid {
  display: grid;
  grid-template-columns: 1fr 420px 1fr;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  min-height: 670px;
  width: 100%;
  height: 100%;
}
.deposit-conditions-col {
  display: flex;
  flex-direction: column;
  gap: 34px;
  justify-content: center;
  align-items: stretch;
}
.deposit-conditions-col-left {
  align-items: flex-end;
}
.deposit-conditions-col-right {
  align-items: flex-start;
}
.deposit-condition-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 45px;
  box-shadow: 0 10px 28px 0 rgba(58, 88, 146, 0.13);
  padding: 18px 34px 18px 20px;
  min-width: 344px;
  max-width: 400px;
  min-height: 93px;
  gap: 24px;
}
.deposit-cond-number {
  color: #ff8200;
  font-size: 3.4em;
  font-family: 'Calibri', sans-serif;
  font-weight: bold;
  margin-right: 20px;
  min-width: 55px;
  text-align: center;
  line-height: 1;
}
.deposit-cond-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 21px;
}
.deposit-cond-title {
  font-size: 1.20em;
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: 700;
  color: #222;
  text-align: left;
  line-height: 1.2;
  max-width: 195px;
}
.deposit-cond-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-left: 5px;
}
.deposit-girl-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  min-width: 370px;
  min-height: 610px;
  height: 600px;
  z-index: 2;
}
.deposit-cond-header {
  font-size: 2.9em;
  color: #1589da;
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  margin-top: 0;
  margin-bottom: 22px;
  letter-spacing: 0.02em;
  line-height: 1.11;
}
.deposit-cond-girl {
  width: 370px;
  height: auto;
  top: 6px;
}
.deposit-condition-card {
  min-width: 270px;
  max-width: 305px;
  min-height: 120px;
  padding: 18px 24px 18px 14px;
  gap: 22px;
}

@media (max-width: 1290px) {
  .deposit-conditions-grid {
    grid-template-columns: 1fr 340px 1fr;
    min-height: 550px;
  }
  .deposit-girl-wrap { min-width: 240px; height: 480px; }
  .deposit-cond-girl { width: 230px; }
  .deposit-condition-card { min-width: 200px; padding: 15px 16px 15px 12px; }
  .deposit-cond-title { max-width: 90px; font-size: 1em; }
}
@media (max-width: 875px) {
  .deposit-conditions-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .deposit-conditions-col,
  .deposit-conditions-col-left,
  .deposit-conditions-col-right {
    flex-direction: row;
    justify-content: center;
    gap: 25px;
    align-items: flex-end;
  }
  .deposit-girl-wrap { min-width: 0; height: 340px; }
  .deposit-cond-girl { width: 120px; }
  .deposit-condition-card { min-width: 146px; padding: 10px 7px; max-width: 190px; }
  .deposit-cond-title { font-size: 0.88em; }
  .deposit-cond-number { font-size: 2.2em; min-width: 36px; }
}

.deposit-conditions-col-left, .deposit-conditions-col-right {
  margin-top: 140px;
}

.deposit-conditions-col-right .deposit-condition-card {
  flex-direction: row;
}
.deposit-conditions-col-right .deposit-cond-content {
  flex-direction: row;
}
.deposit-conditions-col-right .deposit-cond-number {
  margin-left: 18px;
  margin-right: 0;
}
.deposit-conditions-col-right .deposit-cond-emoji {
  margin-right: 14px;
  margin-left: 0;
}

.deposit-cond-emoji {
  font-size: 2.5em;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px 0 0;
}

.deposit-choice-title {
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  color: #1589da;
  font-size: 3.7em;
  text-align: center;
  margin: 0 0 44px 0;
  letter-spacing: 0.01em;
}
.deposit-choice-cards {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 45px;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}
.deposit-choice-card {
  background: #fff;
  border-radius: 56px;
  box-shadow: 0 10px 32px 0 rgba(58, 88, 146, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 342px;
  max-width: 443px;
  min-height: 534px;
  padding: 40px 40px 30px 40px;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}
.deposit-choice-icon {
  font-size: 4.2em;
  color: #fa860d;
  margin-bottom: 20px;
  display: block;
}
.deposit-choice-card-title {
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  font-size: 2.2em;
  color: #1589da;
  text-align: center;
  letter-spacing: 0.01em;
  margin-bottom: 1.4em;
  margin-top: 0;
  line-height: 1.09;
  z-index: 1;
}
.deposit-choice-list {
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 1.43em;
  color: #222;
  margin: 0 0 16px 0;
  padding: 0 0 0 1.1em;
  list-style-type: disc;
  z-index: 1;
  width: 100%;
}
.deposit-choice-list li {
  margin-bottom: 18px;
  margin-left: 0;
  text-align: left;
}
.nowrap { white-space: nowrap; }
.deposit-choice-desc {
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 1.32em;
  color: #222;
  margin-top: -4px;
  margin-bottom: 8px;
  text-align: left;
  z-index: 1;
}
.deposit-choice-bgnum {
  position: absolute;
  left: 30px;
  bottom: 16px;
  font-size: 11em;
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  color: #e2ebf8;
  opacity: 0.43;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
@media (max-width: 1390px) {
  .deposit-choice-cards { gap: 15px; }
  .deposit-choice-card { padding: 27px 23px 16px 25px; min-width: 230px; min-height: 370px; }
  .deposit-choice-card-title { font-size: 1.19em; }
  .deposit-choice-icon { font-size: 3em; }
  .deposit-choice-bgnum { font-size: 6.5em; }
}
@media (max-width: 1100px) {
  .deposit-choice-cards { flex-direction: column; align-items: center; gap: 40px; }
  .deposit-choice-card { min-width: 270px; max-width: 99vw; min-height: 260px; }
}

/* Стили для слайда "Итоги" */
.summary-title {
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  color: #1589da;
  font-size: 3.2em;
  text-align: center;
  margin: 0 0 50px 0;
  letter-spacing: 0.01em;
}
.summary-cards {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 60px auto;
}
.summary-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(58, 88, 146, 0.12);
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-width: 380px;
  max-width: 480px;
  min-height: 420px;
  padding: 40px 40px 40px 40px;
  justify-content: flex-start;
  position: relative;
  box-sizing: border-box;
  overflow: visible;
}
.summary-icon {
  font-size: 4.5em;
  margin-right: 20px;
  display: inline-block;
  vertical-align: top;
}
.summary-card-content {
  flex: 1;
  margin-top: 0;
}
.summary-card-title {
  font-family: 'Calibri', Arial, sans-serif;
  font-weight: bold;
  font-size: 2.1em;
  text-align: left;
  letter-spacing: 0.01em;
  margin-bottom: 30px;
  margin-top: 0;
  line-height: 1.1;
}
.summary-blue {
  color: #1589da;
}
.summary-orange {
  color: #ff8800;
}
.summary-list {
  font-family: 'Calibri', Arial, sans-serif;
  font-size: 1.4em;
  color: #222;
  margin: 0;
  padding: 0 0 0 1.2em;
  list-style: none;
}
.summary-list li {
  margin-bottom: 20px;
  margin-left: 0;
  text-align: left;
  position: relative;
}
.summary-list li::before {
  content: "●";
  color: #ff8800;
  font-size: 1.2em;
  position: absolute;
  left: -1.2em;
  top: 0;
}
@media (max-width: 1000px) {
  .summary-cards { flex-direction: column; align-items: center; gap: 30px; }
  .summary-card { min-width: 300px; max-width: 90vw; min-height: 300px; }
  .summary-icon { font-size: 3.5em; width: 60px; height: 60px; }
}

/* Слайд 21 - стили как у слайда 2 */
#text-box21 ul { padding-top: 4%; padding-left: 9%; }
#text-box21 ul li { display: flex; align-items: center; gap: 22px; margin: 23px 0; }
#text-box21 ul li .checkmark { width: 62px; height: 62px; min-width: 62px; margin: 0; display: block; }
#text-box21 ul li .question-text { font-size: 2.6em; display: inline-block; text-align: left; }
#text-box21 h2 { font-size: 5em !important; }

/* ========== УНИВЕРСАЛЬНЫЕ АНИМАЦИИ ДЛЯ ВСЕХ СЛАЙДОВ ========== */

/* Заголовки h1, h2 */
.slide h1, .slide h2 {
  opacity: 0;
  transform: translateY(-40px);
  transition: all 0.8s ease;
}

.slide.animate h1, .slide.animate h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* Параграфы p */
.slide p {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.animate p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* Изображения внутри text-box */
.text-box img:not(.logo):not(.checkmark):not(.content-image):not(.circle-img-simple img):not(.avatar-circle img):not(.money-circle-img img):not(.pointer-curve) {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.slide.animate .text-box img:not(.logo):not(.checkmark):not(.content-image):not(.circle-img-simple img):not(.avatar-circle img):not(.money-circle-img img):not(.pointer-curve) {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

/* Общие контейнеры */
.slide7-images-box,
.vklad12-wrap,
.deposit-choice-cards,
.summary-cards,
.deposit-conditions-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.slide.animate .slide7-images-box,
.slide.animate .vklad12-wrap,
.slide.animate .deposit-choice-cards,
.slide.animate .summary-cards,
.slide.animate .deposit-conditions-grid {
  opacity: 1;
  transform: translateY(0);
}

/* Карточки слайда 15 */
.deposit-choice-card {
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 0.8s ease;
}

.slide.animate .deposit-choice-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.3s;
}

.slide.animate .deposit-choice-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.5s;
}

.slide.animate .deposit-choice-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.7s;
}

/* Карточки слайда 13 */
.deposit-condition-card {
  opacity: 0;
  transform: translateX(-40px) scale(0.9);
  transition: all 0.8s ease;
}

.slide.animate .deposit-conditions-col-left .deposit-condition-card:nth-child(1) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.2s;
}

.slide.animate .deposit-conditions-col-left .deposit-condition-card:nth-child(2) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.4s;
}

.slide.animate .deposit-conditions-col-left .deposit-condition-card:nth-child(3) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.6s;
}

.deposit-condition-card.deposit-conditions-col-right {
  opacity: 0;
  transform: translateX(40px) scale(0.9);
  transition: all 0.8s ease;
}

.slide.animate .deposit-conditions-col-right .deposit-condition-card:nth-child(1) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

.slide.animate .deposit-conditions-col-right .deposit-condition-card:nth-child(2) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.5s;
}

.slide.animate .deposit-conditions-col-right .deposit-condition-card:nth-child(3) {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.7s;
}

/* Девушка в центре слайда 13 */
.deposit-girl-wrap {
  opacity: 0;
  transform: scale(0.7);
  transition: all 1s ease;
}

.slide.animate .deposit-girl-wrap {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.4s;
}

/* Заголовок девушки */
.deposit-cond-header {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.slide.animate .deposit-cond-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Карточки итогов слайда 19 */
.summary-card {
  opacity: 0;
  transform: translateX(-50px) scale(0.9);
  transition: all 0.8s ease;
}

.slide.animate .summary-card-left {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

.slide.animate .summary-card-right {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.5s;
}

/* Иконки и элементы карточек */
.deposit-choice-icon,
.summary-icon {
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  transition: all 0.8s ease;
}

.slide.animate .deposit-choice-icon,
.slide.animate .summary-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.4s;
}

/* Заголовки карточек */
.deposit-choice-card-title,
.summary-card-title {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.slide.animate .deposit-choice-card-title,
.slide.animate .summary-card-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Списки */
.deposit-choice-list,
.summary-list {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.slide.animate .deposit-choice-list,
.slide.animate .summary-list {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* Элементы списков по очереди */
.deposit-choice-list li,
.summary-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.slide.animate .deposit-choice-list li:nth-child(1),
.slide.animate .summary-list li:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.0s;
}

.slide.animate .deposit-choice-list li:nth-child(2),
.slide.animate .summary-list li:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.2s;
}

.slide.animate .deposit-choice-list li:nth-child(3),
.slide.animate .summary-list li:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.4s;
}

/* Фоновые номера */
.deposit-choice-bgnum {
  opacity: 0;
  transition: all 0.8s ease;
}

.slide.animate .deposit-choice-bgnum {
  opacity: 0.3;
  transition-delay: 1.2s;
}

/* Слайд 9 - колонки */
.simple-vs-compound-grid .col {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.slide.animate .simple-vs-compound-grid .col:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.slide.animate .simple-vs-compound-grid .col:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Заголовки и описания в колонках */
.sv-header,
.sv-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.slide.animate .sv-header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.slide.animate .sv-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.slide.animate .sv-divider-abs {
  transform: scaleX(1);
}

.slide.animate .simple-vs-compound-grid::before {
  transform: translateX(-50%) scaleY(1);
}

/* Слайд 12 - элементы */
.vklad12-title {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.slide.animate .vklad12-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.slide.animate .vklad12-hline {
  transform: scaleX(1);
}

.slide.animate .vklad12-vline {
  transform: translateX(-50%) scaleY(1);
}

.vklad12-top-img {
  opacity: 0;
  transform: scale(0.5) rotate(-20deg);
  transition: all 0.8s ease;
}

.slide.animate .vklad12-top-img {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.4s;
}

.vklad12-col-title {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.slide.animate .vklad12-col-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.vklad12-list {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.animate .vklad12-list {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.vklad12-list li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.slide.animate .vklad12-list li:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.9s;
}

.slide.animate .vklad12-list li:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.0s;
}

.slide.animate .vklad12-list li:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.1s;
}

.vklad12-plus,
.vklad12-minus {
  opacity: 0;
  transform: scale(0) rotate(180deg);
  transition: all 0.8s ease;
}

.slide.animate .vklad12-plus,
.slide.animate .vklad12-minus {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.8s;
}

/* Слайд 1 */
.content-image {
  opacity: 0;
  transform: translateX(-100px) scale(0.8);
  transition: all 1s ease;
}

.slide.animate .content-image {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

.text-content {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.slide.animate .text-content {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.text-content h1 {
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.8s ease;
}

.slide.animate .text-content h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.text-content h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.animate .text-content h2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

/* Слайд 5 - элементы */
.left-simple,
.right-simple {
  opacity: 0;
  transform: translateX(-60px) scale(0.8);
  transition: all 0.8s ease;
}

.slide.animate .left-simple {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.3s;
}

.right-simple {
  opacity: 0;
  transform: translateX(60px) scale(0.8);
  transition: all 0.8s ease;
}

.slide.animate .right-simple {
  opacity: 1;
  transform: translateX(0) scale(1);
  transition-delay: 0.5s;
}

/* Слайд 18 */
#text-box18 h2 {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.8s ease;
}

.slide.animate #text-box18 h2 {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s;
}

#text-box18 div {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.animate #text-box18 div {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

#text-box18 img {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1s ease;
}

.slide.animate #text-box18 img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.6s;
}

/* Слайд 21 - анимации как у слайда 2 */
#text-box21 ul li {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.slide.animate #text-box21 ul li:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.slide.animate #text-box21 ul li:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.slide.animate #text-box21 ul li:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.0s;
}

.slide.animate #text-box21 ul li:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 1.4s;
}

#text-box21 ul li .checkmark {
  opacity: 0;
  transform: scale(0.5) rotate(-15deg);
  transition: all 0.5s ease;
}

.slide.animate #text-box21 ul li:nth-child(1) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.3s; }
.slide.animate #text-box21 ul li:nth-child(2) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 0.7s; }
.slide.animate #text-box21 ul li:nth-child(3) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 1.1s; }
.slide.animate #text-box21 ul li:nth-child(4) .checkmark { opacity: 1; transform: scale(1) rotate(0deg); transition-delay: 1.5s; }

#text-box21 ul li .question-text {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.5s ease;
}

.slide.animate #text-box21 ul li:nth-child(1) .question-text { opacity: 1; transform: translateX(0); transition-delay: 0.4s; }
.slide.animate #text-box21 ul li:nth-child(2) .question-text { opacity: 1; transform: translateX(0); transition-delay: 0.8s; }
.slide.animate #text-box21 ul li:nth-child(3) .question-text { opacity: 1; transform: translateX(0); transition-delay: 1.2s; }
.slide.animate #text-box21 ul li:nth-child(4) .question-text { opacity: 1; transform: translateX(0); transition-delay: 1.6s; }

/* Слайд 8 - элементы процентов */
.interest-definition,
.interest-types {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.slide.animate .interest-definition {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

.slide.animate .interest-types {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.interest-text {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.slide.animate .interest-definition .interest-text:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.slide.animate .interest-definition .interest-text:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}

.slide.animate .interest-definition .interest-text:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.slide.animate .interest-types .interest-text:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.7s;
}

.slide.animate .interest-types .interest-text:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.8s;
}

.highlight-blue {
  opacity: 0;
  transition: all 0.6s ease;
}

.slide.animate .highlight-blue {
  opacity: 1;
  transition-delay: 0.4s;
}

/* ========================================================================= */
/* НОВЫЕ СТИЛИ ДЛЯ СЛАЙДА 15: ОРАНЖЕВЫЕ МАРКЕРЫ И ЦЕНТРИРОВАНИЕ */
/* ========================================================================= */

/* Центрирование списка внутри карточки */
.deposit-choice-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  
  /* ЦЕНТРИРОВАНИЕ БЛОКА: */
  width: fit-content; /* Сжимаем UL до ширины самого длинного элемента */
  margin: 10px auto 0; /* Центрируем UL внутри родительской карточки */
}

.deposit-choice-list li {
  position: relative;
  padding-left: 25px; /* Место для маркера */
  margin-bottom: 7px;
  font-size: 1em; 
  line-height: 1.3;
  /* Текст внутри LI остается прижат влево относительно UL */
  text-align: left; 
}

/* Создаем оранжевый кружок (маркер) для li */
.deposit-choice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; 
  height: 10px;
  background-color: var(--color-orange); /* Используем переменную */
  border-radius: 50%;
}

/* ========================================================================= */
/* ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ СЛАЙДА 15: ОРАНЖЕВЫЕ МАРКЕРЫ И ЦЕНТРИРОВАНИЕ */
/* ========================================================================= */

/* Центрирование списка внутри карточки */
.deposit-choice-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  
  /* ЦЕНТРИРОВАНИЕ БЛОКА: */
  width: fit-content; /* Сжимаем UL до ширины самого длинного элемента */
  margin: 10px auto 0; /* Центрируем UL внутри родительской карточки */
}

.deposit-choice-list li {
  position: relative;
  padding-left: 25px; /* Место для маркера */
  margin-bottom: 7px;
  font-size: 1em; 
  line-height: 1.3;
  /* Текст внутри LI остается прижат влево относительно UL */
  text-align: left; 
}

/* Создаем оранжевый кружок (маркер) для li */
.deposit-choice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; 
  height: 10px;
  /* ИСПРАВЛЕНО: Явный HEX-код оранжевого цвета */
  background-color: #ED8F37; 
  border-radius: 50%;
}

/* ========================================================================= */
/* СТИЛИ ДЛЯ БЛОКА ОПИСАНИЯ (.deposit-choice-desc) - ДОБАВЛЕН МАРКЕР */
/* ========================================================================= */
.deposit-choice-desc {
  position: relative;
  padding-left: 25px; /* Место для маркера */
  margin: 30px 0 0; 
  text-align: left; /* Левое выравнивание текста */
}

.deposit-choice-desc::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px; /* Немного ниже центра для лучшего выравнивания по первой строке текста */
  transform: translateY(0);
  width: 10px;
  height: 10px;
  /* ИСПРАВЛЕНО: Явный HEX-код оранжевого цвета */
  background-color: #ED8F37; 
  border-radius: 50%;
}

/* === МИНИ-ИГРЫ (НОВАЯ ВЕРСИЯ С КАРТОЧКАМИ) === */
.mini-games-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1500px;
  background: transparent;
  padding: 20px 10px;
  z-index: 3;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.congrats-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.96);
  border: 4px solid #54AEDE;
  border-radius: 30px;
  padding: 60px 50px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  color: #1f2a44;
}

.congrats-title {
  font-size: 3em;
  font-weight: 800;
  color: #0070C0;
  margin-bottom: 25px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.08);
}

.congrats-text {
  font-size: 1.4em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 35px;
  color: #344865;
}

.congrats-badges {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.badge {
  background: linear-gradient(135deg, #ffecb3 0%, #ffe082 100%);
  border: 2px solid #ffb74d;
  color: #795548;
  padding: 14px 22px;
  border-radius: 18px;
  font-size: 1.1em;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 183, 77, 0.35);
}

@media (max-width: 900px) {
  .congrats-container {
    padding: 45px 30px;
  }

  .congrats-title {
    font-size: 2.4em;
  }

  .congrats-text {
    font-size: 1.25em;
  }
}

@media (max-width: 600px) {
  .congrats-container {
    padding: 35px 24px;
  }

  .congrats-title {
    font-size: 2em;
  }

  .congrats-text {
    font-size: 1.15em;
  }

  .badge {
    font-size: 1em;
    padding: 12px 18px;
  }
}

.mini-games-container::-webkit-scrollbar {
  display: none;
}

.mini-games-title {
  font-size: 2.8em;
  color: #0070C0;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Контейнер карточек (общий) */
#cards-game {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  max-width: 1150px;
}

/* Каждый ряд - отдельный grid */
.cards-row {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 25px;
  width: 100%;
}

/* Верхний ряд - 3 карточки */
.cards-row-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}

/* Нижний ряд - 2 карточки по центру */
.cards-row-bottom {
  display: flex;
  justify-content: center;
  gap: 25px;
}

/* Карточка */
.game-card {
  position: relative;
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #54AEDE;
  border-radius: 20px;
  padding: 25px 15px 15px;
  min-height: 160px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 260px;
}

/* Ограничиваем ширину карточек в нижнем ряду */
.cards-row-bottom .game-card {
  max-width: 260px;
  flex-shrink: 0;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.game-card.correct {
  border-color: #28a745;
  background: #f0fff4;
}

.game-card.incorrect {
  border-color: #dc3545;
  background: #fff5f5;
}

/* Пин сверху карточки */
.card-pin {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ED8F37, #ff8800);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(237, 143, 55, 0.4);
  border: 3px solid #fff;
}

/* Вопрос */
.card-question {
  font-size: 0.95em;
  color: #333;
  line-height: 1.3;
  text-align: left;
  font-weight: 500;
  flex-grow: 1;
}

/* Поле ввода */
.card-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 1.1em;
  border: 2px solid #54AEDE;
  border-radius: 12px;
  text-align: center;
  font-weight: bold;
  color: #0070C0;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.card-input:focus {
  outline: none;
  border-color: #ED8F37;
  box-shadow: 0 0 0 3px rgba(237, 143, 55, 0.2);
}

.card-input::placeholder {
  color: #aaa;
  font-weight: normal;
  font-size: 0.9em;
}

/* Ссылка на калькулятор в карточке */
.card-calculator-link {
  display: block;
  color: #0070C0;
  text-decoration: underline;
  font-size: 0.9em;
  margin: 10px 0;
  text-align: left;
  transition: color 0.3s ease;
}

.card-calculator-link:hover {
  color: #ED8F37;
  text-decoration: underline;
}

/* Кнопка проверки решения */
.check-solution-btn {
  background: linear-gradient(135deg, #ED8F37, #ff8800);
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  margin: 15px auto 10px;
  box-shadow: 0 6px 18px rgba(237, 143, 55, 0.4);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.check-solution-btn:hover {
  background: linear-gradient(135deg, #ff8800, #ED8F37);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(237, 143, 55, 0.6);
}

.check-solution-btn:active {
  transform: translateY(-1px);
}

.check-icon {
  font-size: 1.1em;
  font-weight: bold;
}

/* Обратная связь */
.game-feedback {
  margin: 15px auto 10px;
  font-size: 1.6em;
  font-weight: bold;
  min-height: 30px;
  padding: 15px 20px;
  border-radius: 20px;
  transition: all 0.4s ease;
  width: 65%;
  max-width: 90vw;
  box-sizing: border-box;
}

.game-feedback.show-result {
  animation: feedbackPulse 0.6s ease;
}

.game-feedback.success {
  color: #28a745;
  background: #f0fff4;
  border: 2px solid #28a745;
}

.game-feedback.partial {
  color: #ff8800;
  background: #fff8f0;
  border: 2px solid #ff8800;
}

.game-feedback.error {
  color: #dc3545;
  background: #fff5f5;
  border: 2px solid #dc3545;
}

@keyframes feedbackPulse {
  0% { transform: scale(0.95); opacity: 0; }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); opacity: 1; }
}

/* Кнопка "Далее" */
.next-slide-btn {
  background: linear-gradient(135deg, #0070C0, #1589da);
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 6px 18px rgba(0, 112, 192, 0.4);
  transition: all 0.3s ease;
}

.next-slide-btn:hover {
  background: linear-gradient(135deg, #1589da, #0070C0);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 112, 192, 0.6);
}

.restart-btn {
  margin-top: 40px;
}

.hidden { 
  display: none !important; 
}

/* Адаптивность */
@media (max-width: 1200px) {
  #cards-game {
    max-width: 1000px;
    gap: 20px;
  }
  
  .cards-row {
    gap: 20px;
  }
  
  .cards-row-top {
    gap: 20px;
  }
  
  .cards-row-bottom {
    gap: 20px;
  }
  
  .card-question {
    font-size: 0.9em;
  }
}

@media (max-width: 900px) {
  #cards-game {
    max-width: 600px;
    gap: 18px;
  }

.mini-games-container .task-helper {
  margin-top: 16px;
}
  
  .cards-row-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .cards-row-bottom {
    flex-wrap: wrap;
    gap: 18px;
  }
  
  .mini-games-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  
  .check-solution-btn {
    font-size: 1.3em;
    padding: 10px 30px;
  }
  
  .card-question {
    font-size: 0.85em;
  }
  
  .card-input {
    font-size: 1em;
    padding: 6px 8px;
  }
  
  .game-feedback {
    width: 85%;
    font-size: 1.4em;
  }
}

@media (max-width: 600px) {
  #cards-game {
    max-width: 350px;
    gap: 15px;
  }
  
  .cards-row-top {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .cards-row-bottom {
    flex-direction: column;
    gap: 15px;
  }
  
  .game-card {
    max-width: 100%;
  }
  
  .game-feedback {
    width: 90%;
    font-size: 1.3em;
  }
}

/* ========================================= */
/* WORD SEARCH (ПОИСК СЛОВ) */
/* ========================================= */
.word-search-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1400px;
  background: transparent;
  padding: 20px 10px;
  z-index: 3;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.word-search-container::-webkit-scrollbar {
  display: none;
}

.word-search-title {
  font-size: 2.8em;
  color: #0070C0;
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.word-search-layout {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto;
}

/* Сетка букв */
.word-grid {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #54AEDE;
  border-radius: 21px;
  padding: 20px;
  box-shadow: 0 7px 17px rgba(0,0,0,0.15);
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 2.5px;
  user-select: none;
}

.word-cell {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
  font-weight: 700;
  color: #333;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.word-cell:hover {
  background: #e3f2fd;
  transform: scale(1.1);
}

.word-cell.selected {
  background: #54AEDE;
  color: white;
  transform: scale(1.05);
}

.word-cell.found {
  background: #28a745;
  color: white;
  border-color: #1e7e34;
}

/* Панель списка слов */
.words-list-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #ED8F37;
  border-radius: 20px;
  padding: 20px;
  min-width: 260px;
  max-width: 310px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-self: stretch;
  box-sizing: border-box;
  gap: 16px;
  max-height: 100%;
}

.words-list-title {
  font-size: 1.8em;
  color: #ED8F37;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.words-list {
  list-style-position: inside;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
}

.words-list li {
  font-size: 1.28em;
  color: #333;
  padding: 8px 6px;
  border-bottom: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

.words-list li:last-child {
  border-bottom: none;
}

.words-list li.found {
  color: #28a745;
  text-decoration: line-through;
  opacity: 0.6;
}

.word-search-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.word-search-progress {
  margin: 0;
  font-size: 1.45em;
  font-weight: bold;
  color: #0070C0;
  padding: 12px;
  border-top: 1px solid rgba(84, 174, 222, 0.2);
  background: #e3f2fd;
  border-radius: 12px;
}

.word-search-footer .next-slide-btn {
  width: 100%;
  margin: 0;
}

#foundCount {
  color: #28a745;
  font-size: 1.2em;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .word-grid {
    grid-template-columns: repeat(20, 1fr);
    gap: 2px;
    padding: 16px;
  }
  
  .word-cell {
    width: 27px;
    height: 27px;
    font-size: 0.98em;
  }

  .words-list-panel {
    max-width: 300px;
    padding: 18px;
  }
}

@media (max-width: 900px) {
  .word-search-layout {
    flex-direction: column;
    align-items: center;
  }
  
  .word-grid {
    grid-template-columns: repeat(15, 1fr);
    padding: 16px;
  }
  
  .word-cell {
    width: 25px;
    height: 25px;
    font-size: 0.9em;
  }
  
  .words-list-panel {
    max-width: 100%;
    width: 90%;
    align-self: stretch;
  }

  .word-search-footer {
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .word-grid {
    grid-template-columns: repeat(12, 1fr);
    padding: 10px;
  }
  
  .word-cell {
    width: 23px;
    height: 23px;
    font-size: 0.85em;
  }
  
  .word-search-title {
    font-size: 2em;
  }
  
  .words-list li {
    font-size: 1.15em;
  }

  .word-search-footer .next-slide-btn {
    font-size: 1.1em;
    padding: 12px;
  }
}

/* ========================================= */
/* QUIZ (ВИКТОРИНА ВЕРНО/НЕВЕРНО) */
/* ========================================= */
.quiz-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 1000px;
  background: transparent;
  padding: 20px 10px;
  z-index: 3;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.quiz-container::-webkit-scrollbar {
  display: none;
}

.quiz-title {
  font-size: 2.8em;
  color: #0070C0;
  font-weight: bold;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.quiz-progress {
  font-size: 1.6em;
  font-weight: bold;
  color: #0070C0;
  margin-bottom: 40px;
  padding: 15px;
  background: rgba(227, 242, 253, 0.8);
  border-radius: 15px;
  display: inline-block;
  min-width: 250px;
}

#quizCounter {
  color: #ED8F37;
  font-size: 1.2em;
}

.quiz-question-container {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #54AEDE;
  border-radius: 25px;
  padding: 40px 30px;
  margin: 0 auto 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quiz-question {
  font-size: 2em;
  color: #333;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 40px;
  text-align: center;
  padding: 0 20px;
}

.quiz-answers {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.quiz-btn {
  min-width: 200px;
  padding: 20px 40px;
  font-size: 1.8em;
  font-weight: bold;
  border: 4px solid;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quiz-btn-yes {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-color: #1e7e34;
}

.quiz-btn-yes:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.quiz-btn-yes:active {
  transform: translateY(-1px);
}

.quiz-btn-no {
  background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
  color: white;
  border-color: #c82333;
}

.quiz-btn-no:hover {
  background: linear-gradient(135deg, #fd7e14 0%, #dc3545 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.quiz-btn-no:active {
  transform: translateY(-1px);
}

.quiz-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.quiz-feedback {
  font-size: 1.5em;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 15px;
  margin: 20px auto;
  max-width: 600px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.quiz-feedback.show {
  opacity: 1;
  transform: translateY(0);
}

.quiz-feedback.correct {
  background: #d4edda;
  color: #155724;
  border: 2px solid #28a745;
}

.quiz-feedback.incorrect {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #dc3545;
}

/* Адаптивность для викторины */
@media (max-width: 900px) {
  .quiz-question {
    font-size: 1.6em;
  }
  
  .quiz-btn {
    min-width: 160px;
    padding: 16px 32px;
    font-size: 1.5em;
  }
  
  .quiz-answers {
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .quiz-title {
    font-size: 2em;
  }
  
  .quiz-progress {
    font-size: 1.3em;
    padding: 12px;
  }
  
  .quiz-question {
    font-size: 1.4em;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  
  .quiz-btn {
    min-width: 140px;
    padding: 14px 28px;
    font-size: 1.3em;
  }
  
  .quiz-question-container {
    padding: 30px 20px;
  }
}

/* ========================================= */
/* FILL BLANKS (ЗАПОЛНЕНИЕ ПРОПУСКОВ) */
/* ========================================= */
.fill-blanks-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 97%;
  max-width: 1300px;
  background: transparent;
  padding: 15px 10px;
  z-index: 3;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fill-blanks-container::-webkit-scrollbar {
  display: none;
}

.fill-blanks-title {
  font-size: 2em;
  color: #0070C0;
  font-weight: bold;
  margin-bottom: 14px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.fill-blanks-layout {
  display: grid;
  grid-template-columns: 2.4fr 0.8fr;
  gap: 16px;
  align-items: start;
}

.definitions-text {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #54AEDE;
  border-radius: 20px;
  padding: 18px 22px;
  margin: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-align: left;
  line-height: 1.6;
  font-size: 1.15em;
  color: #333;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

.def-paragraph {
  margin: 8px 0 10px;
}

.definitions-text::-webkit-scrollbar {
  width: 8px;
}

.definitions-text::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.definitions-text::-webkit-scrollbar-thumb {
  background: #54AEDE;
  border-radius: 10px;
}

.blank-input-wrapper {
  display: inline-block;
  position: relative;
  margin: 0 3px;
  vertical-align: middle;
}

.blank-input {
  display: inline-block;
  min-width: 60px;
  max-width: 120px;
  width: auto;
  padding: 4px 24px 4px 6px;
  font-size: 0.9em;
  border: 2px solid #54AEDE;
  border-radius: 15px;
  background: #fff;
  color: #333;
  text-align: center;
  transition: all 0.3s ease;
  font-family: inherit;
}

.blank-input:focus {
  outline: none;
  border-color: #ED8F37;
  box-shadow: 0 0 0 3px rgba(237, 143, 55, 0.2);
}

.blank-input.correct {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.blank-input.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

.blank-hint {
  position: absolute;
  top: 50%;
  right: -8px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #ED8F37;
  color: white;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.blank-hint:hover {
  background: #ff9800;
  transform: translateY(-50%) scale(1.1);
}

.fill-blanks-container .check-solution-btn {
  margin: 15px auto;
  padding: 12px 35px;
  font-size: 1.3em;
}

.task-helper {
  margin: 18px auto 12px;
  font-size: 1em;
  color: #3d4b63;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.task-helper-link {
  color: #0070C0;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 12px;
  border: 2px solid #54AEDE;
  background: rgba(84, 174, 222, 0.12);
  transition: all 0.25s ease;
}

.task-helper-link:hover {
  background: rgba(84, 174, 222, 0.2);
  color: #005a9c;
  transform: translateY(-1px);
}

.fill-blanks-container .game-feedback {
  margin: 20px auto;
  width: 70%;
  max-width: 900px;
}

/* Word bank (drag & drop) */
.word-bank {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #ED8F37;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  max-height: 64vh;
  overflow: auto;
}

.word-bank-title {
  font-size: 1.4em;
  color: #ED8F37;
  font-weight: 700;
  margin-bottom: 12px;
}

.word-bank-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.word-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 16px;
  background: #54AEDE;
  color: #fff;
  font-weight: 600;
  cursor: grab;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  line-height: 1;
}

.word-chip:active {
  cursor: grabbing;
}

.drop-zone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: baseline;
  min-width: 70px;
  height: 1em;
  line-height: 1em;
  padding: 0 6px;
  margin: 0 3px;
  border-bottom: 2px dashed #54AEDE;
  border-radius: 6px;
  background: rgba(84, 174, 222, 0.05);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.drop-zone.over {
  background: rgba(84, 174, 222, 0.15);
  border-color: #0070C0;
}

.drop-zone.filled {
  border-bottom-style: solid;
  background: rgba(84, 174, 222, 0.12);
}

/* Упрощаем чип внутри зоны, чтобы не растягивалась высота строки */
.drop-zone .word-chip {
  background: transparent;
  color: #333;
  box-shadow: none;
  padding: 0;
  line-height: 1em;
  font-size: inherit;
  display: inline;
}

.drop-zone.correct { background: #d4edda; border-color: #28a745; }
.drop-zone.incorrect { background: #f8d7da; border-color: #dc3545; }

/* Адаптивность */
@media (max-width: 900px) {
  .fill-blanks-layout {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .definitions-text {
    font-size: 1.08em;
    padding: 16px 18px;
    line-height: 1.55;
    max-height: 52vh;
  }

  .word-bank {
    max-height: 42vh;
    padding: 12px;
  }
  
  .blank-input {
    min-width: 55px;
    max-width: 110px;
    font-size: 0.85em;
    padding: 3px 22px 3px 5px;
    border-radius: 12px;
  }
  
  .task-helper {
    flex-direction: column;
    gap: 10px;
  }

  .blank-hint {
    width: 18px;
    height: 18px;
    font-size: 0.8em;
    right: -7px;
  }
  
  .fill-blanks-title {
    font-size: 2em;
  }
}

@media (max-width: 600px) {
  .fill-blanks-title {
    font-size: 1.7em;
    margin-bottom: 15px;
  }
  
  .definitions-text {
    font-size: 0.95em;
    line-height: 1.5;
    padding: 14px 16px;
    max-height: 56vh;
  }
  
  .blank-input {
    min-width: 50px;
    max-width: 100px;
    font-size: 0.8em;
    padding: 3px 20px 3px 5px;
    border-radius: 12px;
  }
  
  .blank-hint {
    width: 16px;
    height: 16px;
    font-size: 0.75em;
    right: -6px;
  }
  
  .task-helper {
    gap: 8px;
  }

  .task-helper-link {
    width: 100%;
    text-align: center;
  }

  .fill-blanks-container .check-solution-btn {
    padding: 10px 25px;
    font-size: 1.1em;
  }
}

/* ========================================= */
/* DEPOSIT CALCULATION (ВЫБОР ВКЛАДА) */
/* ========================================= */
.deposit-calc-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 900px;
  background: transparent;
  padding: 10px 5px;
  z-index: 3;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.deposit-calc-container::-webkit-scrollbar {
  display: none;
}

.deposit-calc-title {
  font-size: 2em;
  color: #0070C0;
  font-weight: bold;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.deposit-task {
  background: rgba(255, 255, 255, 0.98);
  border: 3px solid #54AEDE;
  border-radius: 20px;
  padding: 20px;
  margin: 0 auto 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.task-description {
  text-align: left;
  font-size: 1.05em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

.task-description p {
  margin: 8px 0;
}

.task-description strong {
  color: #0070C0;
  font-weight: 600;
}

.deposit-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.deposit-option {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.deposit-option:hover {
  background: #e3f2fd;
  border-color: #54AEDE;
  transform: translateX(3px);
}

.deposit-option.selected {
  background: #e3f2fd;
  border-color: #0070C0;
  box-shadow: 0 3px 8px rgba(0, 112, 192, 0.25);
}

.deposit-option.correct {
  background: #d4edda;
  border-color: #28a745;
}

.deposit-option.incorrect {
  background: #f8d7da;
  border-color: #dc3545;
}

.option-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ED8F37 0%, #ff9800 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(237, 143, 55, 0.3);
}

.deposit-option.selected .option-number {
  background: linear-gradient(135deg, #0070C0 0%, #54AEDE 100%);
  box-shadow: 0 2px 8px rgba(0, 112, 192, 0.3);
}

.option-text {
  font-size: 1.1em;
  font-weight: 500;
  color: #333;
  flex: 1;
}

.deposit-option.selected .option-text {
  color: #0070C0;
  font-weight: 600;
}

.deposit-calc-container .check-solution-btn {
  margin: 12px auto;
  padding: 10px 30px;
  font-size: 1.2em;
}

.deposit-calc-container .game-feedback {
  margin: 10px auto;
  width: 95%;
  max-width: 700px;
  font-size: 1em;
  padding: 10px 15px;
  min-height: 35px;
  line-height: 1.4;
}

/* Адаптивность */
@media (max-width: 900px) {
  .deposit-calc-container {
    max-width: 95%;
    padding: 8px 5px;
  }
  
  .deposit-calc-title {
    font-size: 1.7em;
    margin-bottom: 12px;
  }
  
  .task-description {
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  
  .deposit-task {
    padding: 15px;
    margin-bottom: 12px;
  }
  
  .deposit-options {
    gap: 10px;
    margin-top: 12px;
  }
  
  .option-text {
    font-size: 1em;
  }
  
  .option-number {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
  }
  
  .deposit-option {
    padding: 10px 15px;
    gap: 12px;
  }
  
  .deposit-calc-container .check-solution-btn {
    margin: 10px auto;
    padding: 8px 25px;
    font-size: 1.1em;
  }
  
  .deposit-calc-container .game-feedback {
    font-size: 0.95em;
    padding: 8px 12px;
    margin: 8px auto;
  }
}

@media (max-width: 600px) {
  .deposit-calc-title {
    font-size: 1.5em;
    margin-bottom: 10px;
  }
  
  .task-description {
    font-size: 0.9em;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  
  .task-description p {
    margin: 5px 0;
  }
  
  .deposit-task {
    padding: 12px;
    margin-bottom: 10px;
  }
  
  .deposit-options {
    gap: 8px;
    margin-top: 10px;
  }
  
  .deposit-option {
    padding: 8px 12px;
    gap: 10px;
  }
  
  .option-text {
    font-size: 0.95em;
  }
  
  .option-number {
    width: 32px;
    height: 32px;
    font-size: 1.1em;
  }
  
  .deposit-calc-container .check-solution-btn {
    padding: 8px 20px;
    font-size: 1em;
    margin: 8px auto;
  }
  
  .deposit-calc-container .game-feedback {
    font-size: 0.9em;
    padding: 8px 10px;
    margin: 8px auto;
    width: 98%;
  }
}