/* Попап пополнения — по макету Figma «Deposit popup» (1:17150, 1179×481) */

.DepositModal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.DepositModal[hidden] { display: none !important; }

.DepositModal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.DepositModal__box {
  position: relative;
  width: 1179px;
  max-width: 100%;
  border-radius: 16px;
  background: #151223;
  border: 1px solid #2a2340;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

/* ── Заголовок с линией ───────────────────────────────────── */
.DepositModal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px 18px;
}
.DepositModal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #a448ff 0%, #873aff 100%);
}
.DepositModal__icon img { width: 14px; height: 14px; }
.DepositModal__title {
  color: #a855ff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.DepositModal__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #7c00ff 0%, rgba(124, 0, 255, 0.08) 100%);
}
.DepositModal__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #717171;
  font-size: 15px;
  cursor: pointer;
  transition: 0.15s;
}
.DepositModal__close:hover { background: #1e1a39; color: #fff; }

/* ── Тело ─────────────────────────────────────────────────── */
.DepositModal__body {
  margin: 0 22px 24px;
  padding: 26px;
  border-radius: 12px;
  background: #100d1c;
  border: 1px solid #221c3c;
}
.DepositCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 22px;
}
.DepositModal__hint { color: #4a4574; font-size: 14px; text-align: center; padding: 30px 0; }
.DepositModal__note {
  margin-top: 20px;
  color: #4a4574;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

/* ── Карточка пакета ──────────────────────────────────────── */
.DepositCard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  height: 330px;
  padding: 0 14px 22px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  overflow: hidden;
  background: linear-gradient(180deg, #2a1f4d 0%, #7d3bff 100%);
  transition: 0.15s;
}
.DepositCard:hover { transform: translateY(-3px); border-color: #fff; }
.DepositCard_1 { background: linear-gradient(180deg, #2a1f4d 0%, #a448ff 100%); }
.DepositCard_2 { background: linear-gradient(180deg, #2a1f4d 0%, #6a2bd8 100%); }
.DepositCard_3 { background: linear-gradient(180deg, #2a1f4d 0%, #c257ff 100%); }

.DepositCard__art {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 62%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 22px);
}
.DepositCard__art img {
  width: 96px;
  height: 96px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}
.DepositCard__name {
  position: relative;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.DepositCard__price {
  position: relative;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.92;
}
.DepositCard__label {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

@media screen and (max-width: 900px) {
  .DepositCard { height: 240px; }
  .DepositCard__name { font-size: 19px; }
}
