/* body {
  font-family: 'Roboto', sans-serif;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));

  background-blend-mode: overlay, normal;
} */

/* .logo .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.iv {
    color: #43d17a;
}

.eng {
    color: #0f2742;
} */

.logo {
    display: flex;
    align-items: center;
    gap: 1px;
}

.logo img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin-top: -14px;
    margin-bottom: -14px;
}

.logo .brand {
    font-size: 24px;
    font-weight: 700;
    /* font-style: bold; */
}


.brand {
  font-size: 38px;
  font-weight: 800;
  text-decoration: none;
  font-family: sans-serif;
  align-items: center;   /* выравнивание по вертикали */
  gap: 8px;     
}

.brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand .iv {
  color: #43d17a;
}

.brand .eng {
  color: #0f2742;
}



.link-custom {
  color: #60D491 !important;
  text-decoration-color: #60D491 !important;
}

.link-custom:hover {
  color: #4bb077 !important;
  text-decoration-color: #4bb077 !important;
}


.main-btn {
  /* display: inline-block; */
  cursor: pointer;
  text-decoration: none;
  background: linear-gradient(135deg, #64D594, #44CC80); /* плавный градиент */
  color: #fff;                     /* цвет текста */
  font-weight: 900;                 /* жирный текст */
  font-size: 24px;                  /* размер шрифта */
  padding: 10px 20px;               /* внутренние отступы */
  border-radius: 12px;              /* скруглённые углы */
  /* text-transform: uppercase;      */
  letter-spacing: 1px;              /* немного увеличиваем межбуквенный интервал */
  /* box-shadow: 0 4px 12px#44CC80  мягкая зелёная тень */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-btn:hover {
  transform: translateY(-2px); /* лёгкое поднятие при наведении */
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.6); /* усиливаем тень при hover */

}


/* ===== Карточка-игра вместо телефона ===== */

/* ===== Simple Verb Card (без кнопок и без плавающих элементов) ===== */

.verb-card{
  position: relative;
  width: min(420px, 92vw);
  height: 360px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 39, 29, .18);
  padding: 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  overflow:hidden;
}

.verb-card__title{
  font-size: 52px;
  font-weight: 900;
  color:#0e2a22;
  line-height:1;
}

.verb-card__forms{
  margin-top:10px;
  font-size: 22px;
  font-weight:700;
  color:#2e6b58;
}

/* адаптив */
@media (max-width: 980px){
  .verb-card{ height: 280px; }
}

/* ↓ мобильная версия */
@media (max-width: 576px){
  .verb-card{
    width: min(300px, 88vw);  /* уже */
    height: 260px;           /* ниже */
    padding: 24px;           /* компактнее */
    border-radius: 20px;
  }

  .verb-card__title{
    font-size: 40px;         /* меньше заголовок */
  }

  .verb-card__forms{
    font-size: 18px;         /* меньше формы */
  }
}
/* New one */

.verb-card{
  position: relative;
  width: min(420px, 92vw);
  height: 360px;
  border-radius: 26px;

  /* фон чуть сложнее */
  background: radial-gradient(circle at top left, #e5fff2 0, #ffffff 45%, #f3faf7 100%);
  border: 1px solid rgba(46, 107, 88, 0.12);

  box-shadow:
    0 18px 50px rgba(7, 39, 29, .18),
    0 0 0 1px rgba(255,255,255,0.8); /* лёгкий «свет» по краю */

  padding: 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  overflow:hidden;

  transform: translateY(0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* декоративное пятно на фоне */
.verb-card::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  border-radius:50%;
  background: radial-gradient(circle, #64D594 0, rgba(100,213,148,0) 60%);
  opacity:0.26;
  top:-80px;
  right:-80px;
  pointer-events:none;
}

/* лёгкий hover для десктопа */
.verb-card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 26px 60px rgba(7, 39, 29, .24),
    0 0 0 1px rgba(255,255,255,0.9);
}

/* текст */
.verb-card__title{
  font-size: 52px;
  font-weight: 900;
  color:#0e2a22;
  line-height:1;
  letter-spacing: 0.04em;
}

.verb-card__forms{
  margin-top:14px;
  font-size: 22px;
  font-weight:700;
  color:#2e6b58;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* адаптив */
@media (max-width: 980px){
  .verb-card{ height: 280px; }
}

/* ↓ мобильная версия */
@media (max-width: 576px){
  .verb-card{
    width: min(300px, 88vw);
    height: 260px;
    padding: 24px;
    border-radius: 20px;
  }

  .verb-card__title{
    font-size: 40px;
  }

  .verb-card__forms{
    font-size: 18px;
  }
}


.verb-card__badge{
  position:absolute;
  top:18px;
  left:24px;
  padding:4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius:20px;
  background: rgba(255,255,255,0.9);
  color:#2e6b58;
  border: 1px solid rgba(46,107,88,0.18);
}


/* End cart */




/* маленькая кнопка, если нет своей */
.btn--small{
  padding: 10px 14px;
  border-radius: 12px;
  background: #e9fff6;
  color: #1e9f6c;
  font-weight: 800;
  border: none;
  cursor: pointer;
}
.btn--small:hover{ background:#dbfff0; }

.progress{ display:flex; gap:6px; }
.dot{
  width:8px; height:8px; border-radius:50%;
  background:#d8eee5;
}
.dot--on{ background:#35c48a; }

/* ===== Плавающие мини-карточки глаголов ===== */

.float{
  position:absolute;
  width: 160px;
  padding: 12px;
  background: rgba(255,255,255,.98);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  border:1px solid #eef6f2;
  backdrop-filter: blur(4px);
  animation: floaty 6.5s ease-in-out infinite;
  pointer-events:none;
}

.float__top{ font-weight:900; font-size:20px; }
.float__sub{
  margin-top:2px;
  font-size:12px;
  color:#2e6b58;
  font-weight:700;
}

.float--1{ left:-22px; top:90px; animation-delay:-1s; }
.float--2{ right:-26px; top:70px; animation-delay:-3s; }
.float--3{ left:-10px; bottom:150px; animation-delay:-2.2s; }
.float--4{ right:-14px; bottom:190px; animation-delay:-4.1s; }

@keyframes floaty{
  0%,100%{ transform: translateY(0) rotate(-1deg); }
  50%{ transform: translateY(-12px) rotate(1deg); }
}

/* если ширина экрана маленькая — можно отключить плавающие карточки */
@media (max-width: 980px){
  .game-card{ height: 480px; }
  .float{ display:none; }
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
    /* background-color: #f1f1f1; */
    background-color: #f1faf4;
}


/* Базовые переменные и сброс */
/* :root {
  --bg-1: #c9f7d4;
  --bg-2: #49d389;
  --ink: #0a1b12;
  --muted: #244236b0;
  --card: #eafff3;
  --card-2: #def8eb;
  --accent: #39c37c;
  --white: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, .12);
} */

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  color: var(--ink);

  background: linear-gradient(to bottom,
      #c9f7d4 0%,
      #86E2AA 50%,
      #4FCE86 100%
    );

  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
} */

.site-footer {
  margin-top: auto; /* Это заставит футер опуститься вниз */
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  padding: clamp(32px, 6vw, 56px) 0;
  min-height: 88vh;
  display: grid;
  place-items: center;
}

.hero {
  display: grid;
  align-items: center;
  gap: clamp(24px, 4vw, 40px);
  grid-template-columns: 1.05fr .95fr;
  /* flex-direction: column; */
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

/* Левая часть */
.hero__title {
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: clamp(28px, 4.8vw, 54px);
  margin: 0 0 18px 0;
  /* color: #ffffff; */
}

.hero__title span {
  display: block;
}

.hero__title .dot {
  margin-left: .2em;
}

.lead {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  margin: 0;
  /* color: #FFFFFF; */
}

/* Телефон */
.phone {
  display: grid;
  place-items: center;
}


.phone__bezel {
  width: clamp(220px, 36vw, 345px);
  /* вернул адаптивную ширину */
  aspect-ratio: 10/20.3;
  max-height: 78vh;
  /* не вылезает за экран */
  background: #0e0e10;
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow);
  position: relative;
}

/* Если экран по вертикали совсем небольшой — еще чуть уменьшаем */
@media (max-height: 740px) {
  .phone__bezel {
    max-height: 70vh;
  }
}

.phone__notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 46%;
  height: 28px;
  background: #0e0e10;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  /* вместо градиента — твоя картинка */
  background: url("/static/i/background.png") no-repeat center center / cover;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 56px 16px 18px;
  position: relative;
}


/* Заголовок внутри экрана */
.screen__header {
  margin-top: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.screen__title {
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  color: #18392b;
}

/* Кнопки внутри экрана */
.screen__btn {
  margin-top: 50px;
  margin-left: 35px;
  margin-right: 35px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 28px;
  background: #B9F6CA;
  border-radius: 14px;
  padding: 13px 26px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  /* font-weight: 900; */
  color: #163628;
  font-weight: bold;
}

.screen__btn+.screen__btn {
  margin-top: 10px;
}

/* .screen__btn--ghost{
    grid-template-columns: 1fr;
    justify-items: center;
    background: var(--white);
    color: #1a3e2e;
  } */

.screen__btn--ghost {
  /* Пример базового оформления кнопки */
  /* display: inline-block; */
  display: inline-flex;
  /* используем flex для центрирования */
  align-items: center;
  /* вертикальное выравнивание */
  justify-content: center;
  padding: 16px 24px;
  background-color: white;
  border: 0px solid #4CAF50;
  border-radius: 14px;
  color: #163628;
  font-size: 16px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.5);
}

/* Добавляем зелёную тень */
.ico {
  width: 32px;
  height: 32px;
  display: block;
  stroke: #44CC80;
  stroke-width: 1.8;
  background-color: #44CC80;
  fill: #B9F6CA;
  border-radius: 4px;
}

/* Подвал — чтобы страница «заканчивалась красиво» */
.site-footer {
  padding: 24px 0 40px;
  color: #df6315a8;
  /* color:  #1d3f31a8 */
  text-align: center;
}

/* Небольшие микро-акценты */
.hero__title .dot {
  color: #FFFFFF;
  /* color: #; */
}


.share-btn {
  position: absolute;
  /* было fixed */
  bottom: 5px;
  /* внутри экрана телефона */
  left: 50%;
  transform: translateX(-50%);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  /* удобная зона тапа на мобилке */
  height: 56px;
  font-size: 40px;
  /* размер глифа bootstrap-icons */
  line-height: 1;
  /* background-color: #4CAF50; */
  color: #fff;
  border-radius: 50%;
  /* box-shadow: 0 4px 10px rgba(0,0,0,.3); */
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 3;
  /* поверх контента внутри экрана */
}

.share-btn:hover {
  transform: translateX(-50%) scale(1.06);
  box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
}


/* Телефоны ≤ 480px */
@media (max-width: 480px) {
  .phone__bezel {
    width: clamp(200px, 72vw, 300px);
    /* чуть уже на узких экранах */
  }

  .screen__title {
    font-size: 18px;
  }

  .screen__btn {
    margin-top: 28px;
    /* было 50px */
    margin-left: 18px;
    margin-right: 18px;
    grid-template-columns: 24px 1fr;
    /* было 28px */
    gap: 16px;
    /* было 28px */
    padding: 10px 16px;
    /* было 13px 26px */
    border-radius: 12px;
    /* чуть меньше радиус */
    font-size: 15px;
    /* уменьшили текст */
  }

  .screen__btn+.screen__btn {
    margin-top: 8px;
  }

  .ico {
    width: 24px;
    /* было 32px */
    height: 24px;
    stroke-width: 1.6;
    border-radius: 3px;
  }

  .screen__btn--ghost {
    padding: 12px 16px;
    /* тоже компактнее */
    font-size: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(76, 175, 80, .35);
  }

  .phone__screen {
    gap: 10px;
    padding: 44px 12px 14px;
    /* чуть меньше внутренние поля */
  }

  .screen__header {
    margin-top: 36px;
  }
}

/* Очень маленькие экраны ≤ 360px */
@media (max-width: 360px) {
  .phone__bezel {
    width: 86vw;
  }

  .screen__title {
    font-size: 16px;
  }

  .screen__btn {
    grid-template-columns: 22px 1fr;
    gap: 12px;
    padding: 8px 12px;
    margin-left: 12px;
    margin-right: 12px;
    font-size: 14px;
  }

  .ico {
    width: 22px;
    height: 22px;
  }

  .share-btn {
    width: 48px;
    height: 48px;
    font-size: 32px;
  }
}



/* Экран шириной до 700px — кнопки меньше */
@media (max-width: 700px) {
  .screen__btn {
    margin-top: 32px;
    margin-left: 18px;
    margin-right: 18px;
    grid-template-columns: 24px 1fr;
    gap: 18px;
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 12px;
  }

  .ico {
    width: 26px;
    height: 26px;
  }

  .screen__title {
    font-size: 18px;
  }

  .phone__bezel {
    width: 320px;
    /* или 85vw — если хочешь, чтобы адаптировалось */
  }

  .screen__btn--ghost {
    padding: 12px 18px;
    font-size: 15px;
  }
}




/* Мобильные устройства — уменьшаем сам телефон */
@media (max-width: 700px) {
  .phone__bezel {
    width: clamp(180px, 60vw, 260px);
    max-height: 70vh;
    border-radius: 28px;
    padding: 8px;
  }

  .phone__screen {
    border-radius: 22px;
    padding: 40px 12px 14px;
    gap: 10px;
  }

  .screen__title {
    font-size: 18px;
  }

  .screen__btn {
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding: 8px 14px;
    margin-left: 14px;
    margin-right: 14px;
    font-size: 14px;
    border-radius: 10px;
  }

  .ico {
    width: 22px;
    height: 22px;
  }
}

/* Очень маленькие мобильные устройства (ширина ≤ 480px) */
@media (max-width: 480px) {
  .phone {
    margin-right: 15px;
    /* отступ от правого края */
  }

  .phone__bezel {
    width: 75vw;
    max-height: 65vh;
  }

  .screen__btn {
    padding: 6px 10px;
    font-size: 13px;
  }

  .screen__title {
    font-size: 16px;
  }
}


/*  */
/* предполагаю, что .hero — flex-контейнер */
.hero{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* мобилка */
@media (max-width: 768px){
  .hero{
    flex-direction: column;  /* становится колонкой */
    align-items: center;
  }

  .phone{
    order: -1;               /* поднимаем телефон вверх */
    width: 100%;
    display: flex;
    justify-content: center; /* чтобы не лип к левому краю */
  }

  .hero__text{
    order: 0;
    width: 100%;
    text-align: center;      /* опционально */
  }
}

/* Кнопка начать */
@media (max-width: 768px) {
  .main-btn {
    width: 100%;
    text-align: center;
  }

  .btn-wrap {
    width: 100%;
    justify-content: center;
  }
}


/* sound icon */
.sound-btn {
  border: none;
  background: transparent;
  padding: 0px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity .15s ease, transform .15s ease;
}

.sound-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.sound-btn i {
  font-size: 32px;   /* увеличиваем */
  margin-bottom: 30px;
}

.hero-right{
  display:flex;
  justify-content:center;
  align-items:center;
  opacity:.95;
}

@media (max-width: 992px){
  .hero-right{ display:none; } /* на мобилке можно скрыть */
}

.audio-btn{
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  color: rgba(14,42,34,.55);
  display: inline-flex;
  align-items: center;
}

.audio-btn i{ font-size: 22px; }

.audio-btn:hover{ color: #44CC80; }


.btn-outline-success {
  color: #198754; /* bootstrap success */
}

.btn-outline-success:hover {
  color: #fff;
}

.hero {
  position: relative;
  right: 12px;
}

.accordion-success .accordion-button:not(.collapsed) {
  background-color: rgba(25, 135, 84, 0.1);
  color: #198754;
}

.accordion-success .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.accordion-success .accordion-button::after {
  filter: hue-rotate(90deg);
}

/* icon button (like accordion chevron) */
.pv-icon-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(25, 135, 84, 0.25);
  background: transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.pv-icon-btn:hover {
  background: rgba(25, 135, 84, 0.08);
  border-color: rgba(25, 135, 84, 0.4);
}

/* chevron itself */
.pv-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid #198754;
  border-bottom: 2px solid #198754;
  transform: rotate(45deg);
  transition: transform 0.12s ease-in-out;
}

/* rotate when collapse opened */
tr[aria-expanded="true"] .pv-chevron {
  transform: rotate(-135deg);
}
