/* Premium Crypto Modal */
:root {
  --crypto-neon-blue: #00f3ff;
  --crypto-bg-dark: #050510;
  --crypto-text-primary: #ffffff;
  --crypto-text-secondary: #a0a0b0;
}

.crypto-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(200, 200, 200, 0.15);
  /* Light gray tint */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999990;
  font-family: 'Inter', 'Montserrat', sans-serif;
}

.crypto-modal-card {
  position: relative;
  width: 90%;
  max-width: 360px;
  background: linear-gradient(180deg, rgba(26, 29, 46, 0.95) 0%, rgba(18, 20, 31, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  animation: cryptoSlideUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Header Bar */
.crypto-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(13, 15, 23, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.crypto-header-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.crypto-modal-content {
  background: rgba(21, 24, 36, 0.95);
  padding: 24px 20px 32px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.crypto-close-btn {
  position: relative;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.crypto-close-btn svg {
  stroke: #ffffff !important;
  width: 16px;
  height: 16px;
}

.crypto-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.7);
  transform: rotate(90deg);
}

.crypto-brand-logo {
  display: block;
  margin: 0 auto 16px;
  max-width: 140px;
  height: auto;
}

.crypto-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 243, 255, 0.1);
  color: var(--crypto-neon-blue);
  border: 1px solid rgba(0, 243, 255, 0.3);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.crypto-badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--crypto-neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--crypto-neon-blue);
}

.crypto-hero-grid {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.crypto-amount {
  font-size: 60px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to right, #fff, #b0fceb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
}

.crypto-unit {
  font-size: 32px;
  font-weight: 800;
  color: #26a17b;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  top: -8px;
}

.crypto-timer {
  font-size: 13px;
  font-weight: 600;
  color: #fbbf24;
  margin: 0 auto 20px;
  background: rgba(251, 191, 36, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(251, 191, 36, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crypto-network-badge {
  display: inline-block;
  font-size: 10px;
  color: #a0a0b0;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-headline {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px;
}

.crypto-desc {
  color: var(--crypto-text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
  padding: 0 10px;
}

.crypto-btn-cta {
  position: relative;
  width: auto;
  padding: 12px 24px;
  background: linear-gradient(90deg, #0066ff, #00c3ff);
  border: none;
  border-radius: 14px;
  color: white;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 8px 20px -6px rgba(0, 102, 255, 0.6);
  text-decoration: none;
  margin: 0 auto;
}

.crypto-btn-cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(0, 102, 255, 0.6);
}

button.crypto-btn-cta.open-connect-modal {
  background: linear-gradient(135deg, #00c6ff, #0072ff) !important;
  color: white !important;
  border: none !important;
  display: flex !important;
  width: auto !important;
  padding: 14px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.5) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 auto !important;
}

button.crypto-btn-cta.open-connect-modal:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 10px 30px rgba(0, 114, 255, 0.6) !important;
}

.crypto-btn-cta svg {
  width: 20px;
  height: 20px;
}

.crypto-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.crypto-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
}

.trust-item {
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item svg {
  width: 12px;
  height: 12px;
  color: #26a17b;
}

.crypto-skip {
  background: none;
  border: none;
  color: #4b5563;
  font-size: 12px;
  cursor: pointer;
  transition: color 0.2s;
}

.crypto-skip:hover {
  color: #9ca3af;
}

@keyframes cryptoSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
