.deposit-shell {
  min-height: 100vh;
  padding: 24px 0 42px;
}

.deposit-hero {
  margin-top: 22px;
  margin-bottom: 22px;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.15), transparent 28%),
    linear-gradient(135deg, #7c3aed, #6d28d9 50%, #4f46e5);
  color: #fff;
  box-shadow: 0 18px 50px rgba(79, 70, 229, 0.18);
  position: relative;
  overflow: hidden;
}

.deposit-hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: -50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  filter: blur(10px);
}

.deposit-hero > * {
  position: relative;
  z-index: 2;
}

.deposit-hero-badge {
  width: fit-content;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.deposit-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.deposit-hero-copy h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1.15;
}

.deposit-hero-copy p {
  max-width: 700px;
  line-height: 2;
  opacity: 0.95;
}

.deposit-hero-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
}

.deposit-hero-mini {
  min-height: 88px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deposit-hero-mini span {
  font-size: 0.82rem;
  opacity: 0.92;
  margin-bottom: 8px;
}

.deposit-hero-mini strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.deposit-message {
  display: none;
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  line-height: 1.8;
  font-size: 0.94rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.deposit-message.show {
  display: block;
}

.deposit-message.error {
  color: #dc2626;
  background: rgba(239,68,68,0.08);
  border-color: rgba(239,68,68,0.16);
}

.deposit-message.success {
  color: #15803d;
  background: rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.16);
}

.deposit-message.info {
  color: var(--primary);
  background: rgba(0,122,255,0.08);
  border-color: rgba(0,122,255,0.16);
}

.deposit-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.deposit-panel {
  padding: 24px;
  border-radius: 30px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.deposit-panel-head {
  margin-bottom: 18px;
}

.deposit-panel-head h2 {
  font-size: 1.24rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.deposit-panel-head p {
  color: var(--text-sec);
  line-height: 1.8;
}

.deposit-form-grid {
  display: grid;
  gap: 14px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  font-size: 0.9rem;
  font-weight: 800;
}

.field-group-full {
  grid-column: 1 / -1;
}

.payment-details-card {
  display: grid;
  gap: 12px;
}

.payment-details-empty {
  min-height: 200px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--text-sec);
  border: 1px dashed var(--line-strong);
  background: rgba(255,255,255,0.5);
  padding: 20px;
}

[data-theme="dark"] .payment-details-empty {
  background: rgba(255,255,255,0.02);
}

.payment-details-empty i {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.payment-method-header {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,122,255,0.08), rgba(91,95,247,0.08));
  border: 1px solid rgba(0,122,255,0.12);
}

.payment-method-title {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.payment-method-subtitle {
  color: var(--text-sec);
  line-height: 1.8;
  font-size: 0.9rem;
}

.payment-fields-grid {
  display: grid;
  gap: 10px;
}

.payment-field-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
}

[data-theme="dark"] .payment-field-card {
  background: rgba(255,255,255,0.03);
}

.payment-field-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.payment-field-label {
  font-size: 0.82rem;
  color: var(--text-sec);
  font-weight: 800;
}

.payment-field-value {
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.9;
  word-break: break-word;
}

.copy-btn {
  min-height: 34px;
  border: none;
  border-radius: 12px;
  padding: 6px 12px;
  background: rgba(0,122,255,0.08);
  color: var(--primary);
  border: 1px solid rgba(0,122,255,0.14);
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  background: rgba(0,122,255,0.12);
}

.proof-preview-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,0.66);
  border: 1px solid var(--line);
}

[data-theme="dark"] .proof-preview-card {
  background: rgba(255,255,255,0.03);
}

.proof-preview-head h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.proof-preview-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card-solid);
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--text-sec);
  text-align: center;
  padding: 12px;
}

.proof-preview-box img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  display: block;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-branding strong {
  font-weight: 900;
}

.footer-branding span {
  color: var(--text-sec);
  font-size: 0.88rem;
}

.footer-credit {
  color: var(--text-sec);
  line-height: 1.8;
}

.footer-credit a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 900px) {
  .deposit-hero-grid,
  .deposit-layout {
    grid-template-columns: 1fr;
  }

  .deposit-hero-card {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .deposit-shell {
    padding-top: 14px;
  }

  .deposit-hero,
  .deposit-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .deposit-hero-card {
    grid-template-columns: 1fr;
  }

  .payment-field-top {
    flex-direction: column;
    align-items: stretch;
  }

  .copy-btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}