.card-swap-container {
  position: relative;
  /* Instead of positioning at absolute bottom right, just let it fill the div naturally */
  width: 100%;
  height: 600px;
  perspective: 900px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 12px;
  /* Match Opiam theme for card base */
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: color-mix(in oklab, var(--bg-card) 94%, transparent);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .card-swap-container {
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .card-swap-container {
    transform: scale(0.85);
  }
}
