/* АТОМ-диктант поверх app.css лендинга Grand Mobile: вместо машины — призы на белой карточке, вместо формы — список призов
   и кнопка. Формы, промокода и магазинов здесь нет, поэтому data-state на body всегда "ready" */

/* Шапка: ДД и РСВ рядом, через тонкую черту; РСВ той же высоты, что логотип ДД (28/36/44 px в app.css) */
.brand-logos { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; }
.brand-logos .logo-rsv { width: auto; height: 34px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, .35); }
@media (min-width: 600px) { .brand-logos { gap: 16px; } .brand-logos .logo-rsv { height: 42px; padding-left: 16px; } }
@media (min-width: 900px) { .brand-logos .logo-rsv { height: 52px; } }

/* Первый экран: кнопка под текстом */
.hero__cta { position: relative; z-index: 5; max-width: 340px; margin-top: 24px; }

/* Призы: белая карточка с наклоном, как наклейка; положение — по сетке машины из app.css.
   Preload в index.html повторяет srcset и sizes картинки — менять вместе */
.car.prizes { aspect-ratio: 1000 / 667; width: 92%; left: 4%; top: 78px; border-radius: 22px; background: #fff;
  transform: rotate(-3deg); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.hero__art { height: 330px; }

/* Карточка с призами */
.prize-card .card__title { text-wrap: balance; }
.prize-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; text-align: left; }
.prize-list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08);
  font: 700 16px/1.2 var(--body); }
.prize-list__n { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--ink);
  font: 800 20px/1 var(--head); }
.prize-list li:nth-child(2) .prize-list__n { background: var(--pink); color: #fff; }
.prize-list li:nth-child(3) .prize-list__n { background: var(--purple); color: #fff; }
.prize-list li:nth-child(4) .prize-list__n { background: #fff; }
.prize-card__cta { margin: 22px auto 0; max-width: 340px; }
.prize-card__note { margin: 14px 0 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .75); }

/* Без кнопки в «Знакомься» текст заканчивается раньше картинки — отступ снизу */
.about__text { padding-bottom: 8px; }

/* Организаторы в подвале */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; align-items: center; justify-items: center;
  max-width: 980px; margin: 4px auto 22px; }
.partners img { width: auto; height: auto; max-width: 100%; max-height: 52px; }
.footer p { font-size: 13px; }

@media (min-width: 600px) {
  .hero__art { height: calc(42vw + 110px); }
  .car.prizes { width: 78%; left: 11%; top: 96px; }
  .partners { grid-template-columns: repeat(4, auto); justify-content: center; gap: 40px; }
  .partners img { max-height: 58px; }
}

@media (min-width: 900px) {
  .hero__art { height: auto; }
  /* «в АТОМ-диктанте» длиннее заголовка Grand Mobile — уже и мельче, чтобы не уходил под картинку */
  .hero__text { max-width: 46%; }
  .hero__title { font-size: clamp(32px, 3.7vw, 54px); }
  .hero__underline { width: min(520px, 36vw); margin-left: 60px; }
  .star--w2 { left: 40%; top: 620px; width: 40px; }
  .car.prizes { width: 76%; left: 20%; top: 200px; border-radius: 28px; }
  .prize-list { grid-template-columns: 1fr 1fr; }
  .prize-list li { font-size: 17px; min-height: 76px; }
  .footer p { font-size: 15px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .hero__text { max-width: 46%; }
  .car.prizes { width: 68%; left: 30%; top: calc(420px - 13.4vw); }
}

/* Появление первого экрана: без скрипта всё видно сразу, анимация — только украшение */
@media (prefers-reduced-motion: no-preference) {
  .car.prizes { animation: atom-in .8s cubic-bezier(.2, .8, .25, 1) both; }
  @keyframes atom-in { from { opacity: 0; translate: 0 40px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
  .tag { animation: atom-drop .55s cubic-bezier(.3, 1.6, .5, 1) both; }
  .tag--1 { animation-delay: .45s; }
  .tag--2 { animation-delay: .6s; }
  .tag--3 { animation-delay: .75s; }
  @keyframes atom-drop { from { opacity: 0; translate: 0 -60px; scale: 1.25; } to { opacity: 1; translate: 0 0; scale: 1; } }
  .hero__underline { animation: atom-draw .7s .3s ease-out both; }
  @keyframes atom-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
}
