/* ===== ЛАЙВ ЛЕНТА ДРОПОВ ===== */

.drops-live-feed {
  position: relative;
  background: rgba(21, 21, 36, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  height: 110px;
  width: 100%;
  /* Первый блок - никаких z-index, sticky или fixed */
}

.drops-feed-container {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Тонкая линия-разделитель снизу лайв-ленты */
.drops-feed-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Убираем заголовок "Лайв дропы" */

.drops-feed-items {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: visible;
  flex: 1;
  position: relative;
  /* padding: 0 16px; */
}

/* ===== КАРТОЧКА ДРОПА (НОВЫЙ СТИЛЬ) ===== */

.drop-card {
  position: relative;
  width: 154px;
  height: 110px;
  background: linear-gradient(180deg, rgba(73,78,84,0) -7.98%, hsla(216,9%,55%,.237) 83.46%), #21212c;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 2px solid transparent;
}

.drop-card:hover {
  transform: translateY(-2px);
}

/* Редкости с новым стилем фона */
.drop-card.rarity-consumer {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(32.98% 28.7% at 50% 37.04%, #8B4513 0%, #8B451340 100%), radial-gradient(32.98% 28.71% at 49.27% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #8B4513 0%, #8B4513 100%);
  border-bottom-color: #8B4513;
}

.drop-card.rarity-industrial {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #00c2ff 0%, #00c2ff40 100%), radial-gradient(32.98% 28.71% at 49.27% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #00c2ff 0%, #00c2ff 100%);
  border-bottom-color: #4A90E2;
}

.drop-card.rarity-mil-spec {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #0F23DD 0%, #0F23DD40 100%), radial-gradient(32.98% 28.7% at 50% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #0F23DD 0%, #0F23DD 100%);
  border-bottom-color: #0F23DD;
}

.drop-card.rarity-restricted {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #510FDD 0%, #510FDD40 100%), radial-gradient(32.98% 28.71% at 49.27% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #510FDD 0%, #510FDD 100%);
  border-bottom-color: #510FDD;
}

.drop-card.rarity-classified {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #FA00FF 0%, #FA00FF40 100%), radial-gradient(32.98% 28.71% at 49.27% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #FA00FF 0%, #FA00FF 100%);
  border-bottom-color: rgb(193, 66, 222);
}

.drop-card.rarity-covert {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #DD0F1B 0%, #DD0F1B40 100%), radial-gradient(32.98% 28.7% at 50% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #DD0F1B 0%, #DD0F1B 100%);
  border-bottom-color: #DD0F1B;
}

.drop-card.rarity-knife,
.drop-card.rarity-rare {
  background: center top / cover no-repeat url(../assets/img/bg-live-item.png), radial-gradient(65% 110% at 50% -38%, #FFB800 0%, #FFB80040 100%), radial-gradient(32.98% 28.71% at 49.27% 37.04%, #000000 0%, #12121e 100%), linear-gradient(180deg, #FFB800 0%, #FFB800 100%);
  border-bottom-color: #FFB800;
}

/* ===== ОСНОВНОЙ КОНТЕНТ (ПРЕДМЕТ) - ВСЕГДА ВИДИМЫЙ ===== */

.drop-card-main {
  position: relative;
  width: 100%;
  height: 100%;
  transition: all 0.5s ease;
}

.drop-card:hover .drop-card-main {
  transform: translateY(-100%);
  opacity: 0;
}

/* Предмет идеально по центру */
.drop-skin-image {
  position: absolute;
  /* width: 120px; */
  height: 75px;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 2;
}

/* Текст внизу карточки */
.drop-text-container {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  z-index: 3;
}

.drop-weapon-name {
  color: #ffffff;
  font-size: 9px;
  font-weight: 400;
  margin: 0 0 2px 0;
  text-align: left;
  opacity: 0.7;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drop-skin-name {
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  margin: 0;
  text-align: left;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== ДОПОЛНИТЕЛЬНАЯ ИНФОРМАЦИЯ (ПОКАЗЫВАЕТСЯ ПРИ НАВЕДЕНИИ) ===== */

.drop-card-info {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.5s ease;
}

.drop-card:hover .drop-card-info {
  transform: translateY(0);
  opacity: 1;
}

/* Убираем старые стили редкости - теперь используется border-bottom */

/* ===== ЭЛЕМЕНТЫ ПРИ НАВЕДЕНИИ ===== */

.drop-case-image {
  position: absolute;
  width: 140px;
  height: 100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  z-index: 1;
  object-fit: cover;
  border-radius: 4px;
}

.drop-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ff3366;
  overflow: hidden;
  margin-bottom: 8px;
  z-index: 2;
}

.drop-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-user-name {
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
  text-align: center;
  margin-bottom: 4px;
  z-index: 2;
}

.drop-case-name {
  color: #ff3366;
  font-weight: 700;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
}

.drop-case-name:hover {
  color: #ffb84d;
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */

/* ===== КОНТЕЙНЕР ДЛЯ СУЩЕСТВУЮЩИХ КАРТОЧЕК ===== */

.existing-cards-container {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.5s ease-out;
}

.existing-cards-shift {
  transform: translateX(150px);
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ НОВОГО ПРЕДМЕТА ===== */

.drop-card-enter {
  animation: slideInFromLeft 0.5s ease-out;
  z-index: 10;
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== АДАПТИВНОСТЬ ===== */

@media (max-width: 768px) {
  .drops-live-feed {
    height: 95px;
  }
  
  .drop-card {
    width: 130px;
    height: 95px;
  }
  
  .drop-skin-image {
    width: 98px;
    height: 74px;
  }
  
  .drop-text-container {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  
  .drop-weapon-name {
    font-size: 8px;
  }
  
  .drop-skin-name {
    font-size: 9px;
  }
  
  .drop-case-image {
    width: 120px;
    height: 85px;
  }
  
  .drop-user-avatar {
    width: 32px;
    height: 32px;
  }
  
  .drop-user-name {
    font-size: 11px;
  }
  
  .drop-case-name {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .drop-card {
    width: 110px;
    height: 80px;
  }
  
  .drop-skin-image {
    width: 83px;
    height: 63px;
  }
  
  .drop-text-container {
    bottom: 6px;
    left: 6px;
    right: 6px;
  }
  
  .drop-weapon-name {
    font-size: 7px;
  }
  
  .drop-skin-name {
    font-size: 8px;
  }
  
  .drop-case-image {
    width: 100px;
    height: 70px;
  }
  
  .drop-user-avatar {
    width: 28px;
    height: 28px;
  }
  
  .drop-user-name {
    font-size: 10px;
  }
  
  .drop-case-name {
    font-size: 8px;
  }
}
