/* Главный экран */
.section--hero { padding-top: clamp(140px, 20vh, 210px); }
.hero { position: relative; }
.hero__card {
  /* высота карточки держит размер анимированной модели (она считается от высоты карточки) — модель утверждена, не трогать */
  position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center;
  min-height: 473px; padding: clamp(28px, 4vw, 56px) clamp(24px, 5vw, 110px);
  background:
    radial-gradient(55% 90% at 78% 105%, rgba(170, 80, 255, .26), transparent 70%),
    linear-gradient(160deg, rgba(17,11,27,.12), rgba(8,5,13,.22));
}
/* неоновая трубка вдоль нижнего края карточки */
.hero__line { position: absolute; left: 6%; right: 6%; bottom: -1px; z-index: 5; }
.hero__text { position: relative; z-index: 3; max-width: 420px; }
.hero__lead { max-width: 340px; }
.hero__lead:last-child { margin-bottom: 0; }
.hero__sign {
  position: relative; margin: 0 0 22px; font-family: var(--f-script); font-weight: 400;
  font-size: clamp(88px, 10vw, 140px); line-height: .9; color: var(--neon-core); width: fit-content;
  /* подпись как неоновая вывеска: белая трубка + розово-фиолетовый ореол */
  text-shadow: 0 0 2px #fff, 0 0 8px rgba(255, 200, 255, .9), 0 0 22px rgba(233, 139, 255, .8), 0 0 48px rgba(170, 80, 255, .6), 0 0 90px rgba(138, 61, 255, .35);
  animation: neon-on 1.6s steps(1, end) .3s both;
}
/* «включение» вывески один раз при загрузке */
@keyframes neon-on {
  0% { opacity: .15; text-shadow: none; }
  12% { opacity: 1; }
  18% { opacity: .3; text-shadow: none; }
  30% { opacity: 1; }
  36% { opacity: .55; }
  48%, 100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__sign { animation: none; } }
/* подпись — PNG из макета; неоновое свечение через drop-shadow по контуру букв */
.hero__sign-img { display: block; width: clamp(230px, 26vw, 310px); height: auto; filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px rgba(255, 200, 255, .85)) drop-shadow(0 0 22px rgba(190, 100, 255, .6)); }
.hero__spark { position: absolute; color: #fff; filter: drop-shadow(0 0 8px rgba(210,180,255,.95)); animation: twinkle 3.5s ease-in-out infinite; }
.hero__spark svg { width: 100%; height: 100%; }
.hero__spark--1 { width: 34px; height: 34px; left: -30px; top: 38%; }
.hero__spark--2 { width: 20px; height: 20px; right: -6%; top: 0; animation-delay: 1.2s; }
.hero__spark--3 { width: 46px; height: 46px; right: 6%; top: -6%; animation-delay: .6s; z-index: 4; }
.hero__spark--4 { width: 18px; height: 18px; right: 1%; top: 2%; animation-delay: 1.8s; z-index: 4; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.7) rotate(20deg); opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .hero__spark { animation: none; } }

.hero__roles {
  margin: 0 0 22px; font-family: var(--f-display); font-weight: 500; font-size: clamp(14px, 1.45vw, 17px);
  letter-spacing: .26em; text-transform: uppercase; color: var(--accent); white-space: nowrap;
  text-shadow: 0 0 14px rgba(233,139,255,.45);
}
.hero__lead {
  margin: 0 0 28px; font-family: var(--f-display); font-weight: 300; font-size: clamp(14px, 1.45vw, 17px);
  letter-spacing: .17em; text-transform: uppercase; color: #fff; line-height: 28px;
}
/* персонаж по грудь — анимация (кадр 1240×866), низ кадра стоит на нижнем крае карточки.
   --h — высота относительно карточки */
.hero__art {
  --h: 1.3;
  position: absolute; right: -13%; bottom: 0;
  height: calc(var(--h) * 100%); aspect-ratio: 1240 / 866; z-index: 2; pointer-events: none;
}
/* на узкой карточке поменьше, чтобы машущая рука не заходила на текст */
@media (max-width: 1280px) { .hero__art { --h: 1.14; right: -15%; } .hero__text { max-width: 360px; } }
.hero__img {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom;
  /* у нижнего края чуть растворяем, чтобы срез по карточке читался мягко */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.5) 100%);
  mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.5) 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45));
}
.hero__badge {
  position: absolute; z-index: 4; right: clamp(20px, 6vw, 100px); bottom: clamp(18px, 3vw, 34px);
  display: flex; align-items: flex-end; gap: 22px;
}
.hero__live {
  margin: 0; display: grid; font-family: var(--f-display); font-weight: 400; font-size: clamp(42px, 4.7vw, 56px);
  line-height: 1.08; text-transform: uppercase; color: #fff; text-shadow: 0 6px 30px rgba(0,0,0,.8);
}
.hero__live span:last-child { padding-left: 1.44em; display: inline-flex; align-items: center; gap: .2em; }
.hero__live i { width: .5em; height: .5em; color: #fff; display: inline-block; filter: drop-shadow(0 0 8px #d9c2ff); }
.hero__live i svg { width: 100%; height: 100%; }
/* кнопка из макета: 169×38, Oswald 23 px, разрядка 5 px, чёрный текст */
.hero__cta { min-height: 38px; padding: 0 18px 0 20px; margin-bottom: 12px; gap: 12px; font-size: 23px; line-height: 1; letter-spacing: .22em; color: #000; }
.hero__cta .arrow-long { width: 43px; height: 14px; }

@media (max-width: 900px) {
  .section--hero { padding-top: 40px; }
  .hero__card { grid-template-columns: 1fr; padding-top: 0; min-height: 0; }
  .hero__art { position: relative; right: auto; bottom: auto; height: auto; width: min(460px, 100%); margin: -10px auto 0; order: -1; }
  .hero__img { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .hero__text { max-width: none; padding-top: 6px; }
  .hero__badge { position: relative; right: auto; bottom: auto; margin-top: 18px; justify-content: space-between; flex-wrap: wrap; }
  .hero__sign { font-size: 84px; }
  .hero__roles { letter-spacing: .18em; font-size: 14px; }
  .hero__lead { letter-spacing: .1em; font-size: 14px; }
}
