* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0B101A;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: auto; 
  position: relative;
}

/* ── Fullscreen background ──────── */
.page-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Modal overlay ─────────────────────────────── */
.modal-overlay {
  position: relative; 
  width: 100%;
  min-height: 100vh;
  z-index: 1;
  display: flex;
  align-items: center; 
  justify-content: center;
}

/* ── Fullscreen Card ────────────────────────────────── */
.modal {
  display: flex;
  width: 100%; 
  min-height: 100vh;
  height: auto; 
  border-radius: 0; 
  overflow: hidden;
  border: none; 
  position: relative;
  animation: modalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.98); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Left panel ────────────────────────────────── */
.modal-left {
  flex: 0 0 50%; 
  position: relative;
  min-height: 100vh; 
}

.modal-left .numbers-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatSpin 8s ease-in-out infinite;
}

.modal-left .numbers-wrap img {
  width: 86%;
  max-width: 500px; 
  filter: drop-shadow(0 0 32px rgba(0, 0, 0, 0.45));
  animation: subtlePulse 4s ease-in-out infinite;
}

@keyframes floatSpin {
  0%   { transform: translateY(0px) rotate(0deg); }
  25%  { transform: translateY(-10px) rotate(1.5deg); }
  50%  { transform: translateY(-4px) rotate(0deg); }
  75%  { transform: translateY(-12px) rotate(-1.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes subtlePulse {
  0%, 100% { filter: drop-shadow(0 0 28px rgba(0, 0, 0, 0.3)); }
  50%      { filter: drop-shadow(0 0 48px rgba(0, 0, 0, 0.6)); }
}

/* ── Right panel ───────────────────────────────── */
.modal-right {
  flex: 1;
  background: rgba(13, 17, 27, 0.85); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: flex-start; 
  padding-left: 80px; 
  padding-right: 40px;
  
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.05); 
}

.content-wrapper {
  width: 100%;
  max-width: 480px; 
  padding: 0;
}

/* heading */
.content-wrapper h1 {
  font-size: 42px; 
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.content-wrapper .subtitle {
  font-size: 18px; 
  color: #A5B0C0;
  margin-bottom: 48px;
}

/* deposit grid */
.deposits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; 
  margin-bottom: 48px;
}

.deposit-card {
  background: rgba(255, 255, 255, 0.03); 
  border: 1px solid rgba(255, 255, 255, 0.06); 
  border-radius: 12px;
  padding: 24px 28px; 
  cursor: default;
  transition: border-color 0.25s, transform 0.2s, background 0.2s;
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.deposit-card:nth-child(1) { animation-delay: 0.08s; }
.deposit-card:nth-child(2) { animation-delay: 0.14s; }
.deposit-card:nth-child(3) { animation-delay: 0.20s; }
.deposit-card:nth-child(4) { animation-delay: 0.26s; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.deposit-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.deposit-card .label {
  font-size: 14px;
  color: #A5B0C0;
  margin-bottom: 8px;
  font-weight: 400;
}

.deposit-card .value {
  font-size: 22px; 
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
}

/* CTA */
.btn-cta {
  width: 100%;
  padding: 22px; 
  border-radius: 12px;
  border: none;
  background: #FFC800; 
  color: #1A0F00;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 24px rgba(255, 200, 0, 0.28);
  animation: btnGlow 2.5s ease-in-out infinite;
}

.btn-cta:hover {
  background: #FFD633;
  transform: translateY(-1px);
  box-shadow: 0 6px 32px rgba(255, 200, 0, 0.5);
}

.btn-cta:active {
  transform: scale(0.98);
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 200, 0, 0.28); }
  50%      { box-shadow: 0 4px 32px rgba(255, 200, 0, 0.55); }
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .modal-overlay { align-items: flex-start; }
  .modal { flex-direction: column; }
  .modal-left { 
    flex: none; 
    min-height: auto; 
    height: auto;
    padding: 60px 20px 20px; 
  }
  .modal-left .numbers-wrap { position: relative; }
  .modal-left .numbers-wrap img {
    width: 100%;
    max-width: 340px; 
    margin: 0 auto;
    display: block;
  }
  .modal-right { 
    padding: 10px 30px 60px; 
    background: transparent !important; 
    backdrop-filter: none !important; 
    -webkit-backdrop-filter: none !important; 
    border-left: none; 
  }
  .content-wrapper h1 { font-size: 32px; }
}

@media (max-width: 620px) {
  .modal-left { padding: 60px 20px 10px; }
  .modal-right { padding: 10px 20px 60px; }
  .content-wrapper h1 { font-size: 28px; }
  .content-wrapper .subtitle { font-size: 16px; margin-bottom: 32px; }
  .deposits { 
    gap: 12px; 
    display: grid; 
    grid-template-columns: 1fr; 
    margin-bottom: 36px; 
  } 
  .deposit-card { padding: 16px 20px; }
  .deposit-card .value { font-size: 18px; }
  .btn-cta { padding: 18px; font-size: 18px; }
}