/* ================================================================
   TANKNEXUS — gallery-teaser.css
   Стили тизера "Собери аккаунт с нужной техникой" (см. galleryTeaser.js).
   Визуально идентичны прежнему свёрнутому состоянию конфигуратора.
   ================================================================ */

.af-teaser {
  margin: 20px 0;
  overflow: hidden;
}

.af-teaser button {
  -webkit-tap-highlight-color: transparent;
}
.af-teaser button:focus {
  outline: none;
}
.af-teaser button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.af-teaser-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
  padding: 12px 20px 37px;
  background: #11141800;
  border-radius: 40px;
  width: 100%;
  max-width: 790px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.af-teaser-title {
  font-size: 36px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.35;
  background: linear-gradient(60deg, #52b7ff 0%, #9342ff 25%, #ff4675 50%, #c844ff 75%, #52ffef 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: vstats-prem-shimmer 5s ease-in-out infinite;
}

.af-teaser-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  max-width: 100%;
}

.af-teaser-block {
  width: 149px;
  height: 192px;
  background: #1d222961;
  border-radius: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0px 0px 36px #e0b6ff47, inset 0px 0px 30px #a69affeb, inset 0px 0px 8px #ffffff;
  transition: transform 0.5s ease;
}

/* Левая карточка */
.af-teaser-preview .af-teaser-block:first-child {
  rotate: -3deg;
  margin: 0px 0px -12px 0px;
}
.af-teaser-preview .af-teaser-block:first-child .af-teaser-plus-inner {
  rotate: -0.5deg;
}

/* Правая карточка */
.af-teaser-preview .af-teaser-block:last-child {
  rotate: 3deg;
  margin: 0px 0px -12px 0px;
}
.af-teaser-preview .af-teaser-block:last-child .af-teaser-plus-inner {
  rotate: 0.5deg;
}

/* Hover: плавное увеличение карточек (только ПК, класс добавляется через JS) */
.af-teaser-preview.af-teaser-preview--hovered .af-teaser-block {
  transform: scale(1.03);
}

.af-teaser-plus-inner {
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1;
  font-weight: 300;
}

.af-teaser-sep {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1;
}

.af-teaser-btn {
  padding: 18px 64px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 40px;
  color: rgb(255 255 255);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: filter 0.5s, box-shadow 0.5s;
  background: linear-gradient(60deg, #52b7ff 0%, #9342ff 25%, #ff4675 50%, #c844ff 75%, #52ffef 100%);
  background-size: 200% 100%;
  animation: vstats-prem-shimmer 5s ease-in-out infinite;
  box-shadow: 0px 0px 24px #e69aff91, 0px 0px 0px #edb8ffc2, inset 0px 0px 7px #ffffffeb, inset 0px 0px 20px #ffffffa3;
}

.af-teaser-btn:hover {
  filter: brightness(1.2);
  box-shadow: 0px 0px 30px #e69affb5, 0px 0px 10px #e69affbd, inset 0px 0px 7px #ffffffeb, inset 0px 0px 20px #ffffffa3;
}

/* ── Адаптив ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .af-teaser-block {
    width: 106px;
    height: 136px;
    border-radius: 28px;
  }

  .af-teaser-preview {
    gap: 10px;
  }
}

@media (max-width: 380px) {
  .af-teaser-inner {
    padding: 12px 12px 30px;
  }

  .af-teaser-block {
    width: 92px;
    height: 118px;
    border-radius: 24px;
  }

  .af-teaser-preview {
    gap: 6px;
  }

  .af-teaser-sep {
    font-size: 15px;
  }

  .af-teaser-title {
    font-size: 30px;
  }
}
