/* Лента «Лучший дроп» в hero вместо плашек */

/* Лента под текстом hero на всю ширину блока: трек выходит за padding hero */
.hero { --hero-pad: clamp(28px, 5vw, 64px); flex-direction: column; align-items: stretch; justify-content: center; }
.hero-copy { width: 100%; }
.hero--reverse .hero-copy { margin-left: auto; }

.drop-feed {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.hero--reverse .drop-feed { text-align: right; }

/* Hero, в котором осталась только лента */
.hero.hero--feed { min-height: 0; padding-top: 26px; padding-bottom: 26px; }
.hero--feed .drop-feed { margin-top: 0; text-align: left; }

.drop-feed-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 30px;
  background: rgba(255,255,255,.07);
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
}

.drop-feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(40,199,123,.7);
  animation: drop-dot 1.6s ease-out infinite;
}

@keyframes drop-dot {
  70% { box-shadow: 0 0 0 8px rgba(40,199,123,0); }
  100% { box-shadow: 0 0 0 0 rgba(40,199,123,0); }
}

.drop-feed-track {
  margin: 0 calc(-1 * var(--hero-pad));
  overflow: hidden;
  text-align: left;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.drop-feed-row {
  display: flex;
  width: max-content;
  animation: drop-scroll 48s linear infinite;
}

.drop-feed-copy { display: flex; }
.drop-feed-track:hover .drop-feed-row { animation-play-state: paused; }

@keyframes drop-scroll {
  to { transform: translateX(-50%); }
}

.drop-card {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: flex-end;
  width: 180px;
  height: 142px;
  margin-right: 12px;
  padding: 0 8px 8px;
  overflow: hidden;
  border-bottom: 4px solid var(--rarity);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 38%, color-mix(in srgb, var(--rarity) 32%, transparent), transparent 68%),
    linear-gradient(140deg, rgba(48,65,66,.94), rgba(26,38,41,.93));
  box-shadow: 0 12px 26px rgba(0,0,0,.25);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.drop-card:hover, .drop-card:focus-visible {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0,0,0,.35), 0 0 0 2px var(--rarity);
}

.drop-card:focus-visible { outline: none; }
.drop-card:hover img { transform: scale(1.06); }
.drop-card img { transition: transform .2s ease; }
.drop-feed-track { padding: 6px 0; }

.drop-card img {
  position: absolute;
  top: 8px;
  left: 4%;
  width: 92%;
  height: 96px;
  object-fit: cover;
  filter: drop-shadow(0 6px 6px rgba(0,0,0,.45));
  pointer-events: none;
}

.drop-card-price {
  position: absolute;
  z-index: 1;
  top: 6px;
  right: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0,0,0,.8);
}

.drop-coin { display: inline-block; width: 12px; height: 12px; margin-left: 3px; vertical-align: -1px; fill: currentColor; }
.drop-coin .drop-coin-cut { fill: rgba(0,0,0,.55); }

.drop-card-name, .drop-card-skin {
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.85);
}

.drop-card-name { color: #c9c5be; font-size: 11px; font-weight: 700; }
.drop-card-skin { font-size: 13px; font-weight: 800; }

@media (prefers-reduced-motion: reduce) {
  .drop-feed-row, .drop-feed-dot { animation: none; }
  .drop-feed-track { overflow-x: auto; }
}

@media (max-width: 980px) {
  .hero--reverse .hero-copy { margin-left: 0; }
  .hero--reverse .drop-feed { text-align: left; }
}

@media (max-width: 560px) {
  .hero { --hero-pad: 20px; }
  .drop-feed { margin-top: 26px; }
  .drop-card { width: 150px; height: 124px; }
  .drop-card img { height: 80px; }
}
