/* FACEIT Verify — киберспортивная графика и анимации */

/* Пульсирующая точка */
.pulse-dot {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px #b4f0a233;
  }
  50% {
    opacity: 0.6;
    box-shadow: 0 0 18px #ff5b1666;
  }
}

/* Сканирующий фрейм для hero-art */
.scan-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.scan-target {
  position: relative;
  z-index: 2;
}

.scan-frame::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 2px solid #ff5b1644;
  border-radius: 8px;
  animation: scan-border 3s ease-in-out infinite;
}

.scan-lines {
  position: absolute;
  inset: 10%;
  overflow: hidden;
  pointer-events: none;
  border-radius: 8px;
}

.scan-lines::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff5b16, transparent);
  box-shadow: 0 0 12px #ff5b16;
  animation: scan-sweep 2.5s ease-in-out infinite;
  top: 0;
}

@keyframes scan-border {
  0%, 100% {
    border-color: #ff5b1644;
    box-shadow: inset 0 0 0 #ff5b1600;
  }
  50% {
    border-color: #ff5b16;
    box-shadow: inset 0 0 20px #ff5b1622;
  }
}

@keyframes scan-sweep {
  0% {
    top: 0%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Пульсирующий warning tag */
.pulse-tag {
  animation: tag-pulse 2s ease-in-out infinite;
}

@keyframes tag-pulse {
  0%, 100% {
    border-color: #73513d;
    box-shadow: 0 0 0 #ff5b1600;
  }
  50% {
    border-color: #ff5b16;
    box-shadow: 0 4px 20px #ff5b1633;
  }
}

.warning-icon {
  flex-shrink: 0;
}

/* Hover эффект для step-card с сканированием */
.step-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #ff5b1622 0%, transparent 40%, transparent 60%, #ff5b1622 100%);
  border-radius: 13px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.step-card:hover::before {
  opacity: 1;
  animation: scan-gradient 1.5s ease-in-out;
}

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

/* Прогресс-бар для order flow */
.progress-bar {
  position: relative;
  height: 4px;
  background: #2a2b2e;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, #ff5b16, #ff8040);
  border-radius: 999px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px #ff5b1666;
}

/* Identity recheck badge */
.recheck-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #2b211a;
  border: 1px solid #58402f;
  border-radius: 6px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #ff7136;
  font-weight: 700;
}

.recheck-badge svg {
  width: 12px;
  height: 12px;
}

/* Suspicious profile warning */
.suspicious-card {
  border: 1px solid #724222;
  background: linear-gradient(135deg, #30211833, #1a1a1c);
  padding: 16px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.suspicious-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff5b16, #ff8040);
  animation: warning-pulse 2s ease-in-out infinite;
}

@keyframes warning-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 10px #ff5b16;
  }
}

/* Mobile refinements */
@media (max-width: 720px) {
  .scan-lines::before {
    height: 2px;
  }

  .scan-frame::before {
    inset: 5%;
  }
}
