/* Wallet Page Design Enhancements */

/* Animated gradient background */
.CardsPage_page__bfwtC {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(5, 0, 255, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(88, 120, 255, 0.08), transparent 45%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(5, 0, 255, 0.06), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 50%, #f0f5ff 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.CardsPage_page__bfwtC::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 400px;
  background: linear-gradient(180deg, rgba(5, 0, 255, 0.03) 0%, transparent 100%);
  pointer-events: none;
}

/* Back to home link */
.CardsPage_backLink {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #5c6f9d;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.CardsPage_backLink:hover {
  color: #0500ff;
  transform: translateX(-2px);
}

/* Topbar improvements */
.CardsPage_topbar__QLNKK {
  padding: 8px 0;
}

.CardsPage_eyebrow__ZYEbN {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #5c6f9d, #0500ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.CardsPage_title__BPjrs {
  background: linear-gradient(135deg, #102048 0%, #1a2d5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Card carousel - glassmorphism */
.CardsPage_carouselCard___Yr72 {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 4px 6px -1px rgba(5, 0, 255, 0.04),
    0 20px 50px -12px rgba(5, 0, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.CardsPage_carouselCard___Yr72:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 16px -4px rgba(5, 0, 255, 0.08),
    0 28px 60px -16px rgba(5, 0, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Dots - improved */
.CardsPage_dot__YBlLr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.CardsPage_dotActive__Y_dTi {
  box-shadow: 0 0 12px rgba(5, 0, 255, 0.4);
}

/* Card preview image */
.CardsPage_previewImage___JHB_ {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.CardsPage_previewWrap__avnp_:hover .CardsPage_previewImage___JHB_ {
  transform: scale(1.02);
}

/* Arrow buttons */
.CardsPage_arrowButton__SWqM1 {
  transition: all 0.25s ease;
}

.CardsPage_arrowButton__SWqM1:hover:not(.CardsPage_arrowDisabled__s7ScA) {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 16px 32px rgba(5, 0, 255, 0.2);
  transform: translateY(-50%) scale(1.05);
}

/* Price highlight */
.CardsPage_price__NWDmS {
  background: linear-gradient(135deg, #0500ff, #2f7bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buy button - premium look */
.CardsPage_buyButton__8XbVn {
  background: linear-gradient(135deg, #0500ff 0%, #2f7bff 50%, #5b9aff 100%);
  background-size: 200% 200%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.CardsPage_buyButton__8XbVn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.CardsPage_buyButton__8XbVn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(5, 0, 255, 0.3);
}

.CardsPage_buyButton__8XbVn:hover::before {
  opacity: 1;
}

.CardsPage_buyButton__8XbVn:active {
  transform: translateY(0);
}

/* Info boxes - subtle refinement */
.CardsPage_notice__mZLiC,
.CardsPage_descriptionBox__9mEHy,
.CardsPage_limitsBox__LMJXV {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.CardsPage_limitsBox__LMJXV:hover {
  border-color: rgba(5, 0, 255, 0.12);
}

/* Wallet badges */
.CardsPage_walletBadge__M_RPT {
  transition: all 0.25s ease;
}

.CardsPage_walletBadge__M_RPT:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 0, 255, 0.12);
  border-color: rgba(5, 0, 255, 0.2);
}

/* Modal - enhanced (Connect Wallet stepper design) */
.getCardModal__backdrop {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Limits toggle */
.CardsPage_limitsToggle__oMOwi {
  transition: background 0.2s ease;
}

.CardsPage_limitsToggle__oMOwi:hover {
  background: rgba(5, 0, 255, 0.03);
}

/* Smooth scroll */
.CardsPage_main__J1NfD {
  scroll-behavior: smooth;
}

/* Card title - smooth transition on slide change */
.CardsPage_cardTitle__XRX2c {
  transition: opacity 0.2s ease;
}

/* Warning box - softer look */
.CardsPage_warningBox__OA8tX {
  border-radius: 20px;
}

/* Info box - refined */
.CardsPage_infoBox__F9qNr {
  border-radius: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .CardsPage_page__bfwtC {
    background: 
      radial-gradient(ellipse 100% 40% at 50% -10%, rgba(5, 0, 255, 0.1), transparent 50%),
      linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
  }
  
  .CardsPage_carouselCard___Yr72:hover {
    transform: none;
  }
  
  .CardsPage_backLink {
    font-size: 13px;
  }
}
