@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-base: #080b11;
  --bg-surface: rgba(18, 23, 34, 0.65);
  --bg-surface-elevated: rgba(26, 33, 49, 0.75);
  --bg-glass: rgba(255, 255, 255, 0.035);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(129, 140, 248, 0.35);
  --border-focus: rgba(99, 102, 241, 0.6);
  
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --primary-glow: 0 10px 28px -4px rgba(99, 102, 241, 0.35);
  --card-glow: 0 16px 40px -12px rgba(0, 0, 0, 0.7);
  
  --accent-indigo: #6366f1;
  --accent-violet: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  
  --radius-full: 9999px;
  --radius-2xl: 24px;
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  padding-bottom: 96px;
  overflow-x: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Ambient dynamic background lighting */
.bg-glow {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.08) 50%, transparent 75%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

/* Header */
.app-header {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 11, 17, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s var(--ease-smooth);
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.user-meta h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.user-meta span {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.header-badge {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
}

/* Container */
.container {
  padding: 16px 20px;
  max-width: 500px;
  margin: 0 auto;
}

/* Hero Balance Card */
.balance-card {
  background: var(--bg-surface);
  backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 20px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-glow);
  margin-bottom: 18px;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s;
}

.balance-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}

.balance-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-secondary);
  font-weight: 700;
}

.balance-amount {
  font-size: 34px;
  font-weight: 800;
  margin: 6px 0 14px;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.balance-amount .currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-indigo);
}

.balance-actions {
  display: flex;
  gap: 10px;
}

.balance-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

/* Sleek Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease-smooth);
  border: none;
  outline: none;
  text-decoration: none;
  font-family: inherit;
  letter-spacing: -0.1px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 16px -2px rgba(99, 102, 241, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:active {
  transform: scale(0.97);
}

.btn-block {
  width: 100%;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 700;
}

/* Sections */
.section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.2px;
}

.section-title span.count {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Quick Amounts Grid */
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.amount-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 4px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.amount-chip.active, .amount-chip:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--accent-indigo);
  color: #fff;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.2);
}

/* Input Fields */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-box {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  transition: all 0.22s var(--ease-smooth);
}

.input-box:focus {
  border-color: var(--border-focus);
  background: rgba(22, 28, 42, 0.85);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

/* Crypto Selection List */
.crypto-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.crypto-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
}

.crypto-item:hover {
  border-color: var(--border-hover);
  background: rgba(99, 102, 241, 0.08);
}

.crypto-item.selected {
  border-color: var(--accent-indigo);
  background: rgba(99, 102, 241, 0.14);
  box-shadow: 0 4px 16px -2px rgba(99, 102, 241, 0.2);
}

.crypto-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crypto-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.icon-usdt { background: #26a17b; color: #fff; }
.icon-btc  { background: #f7931a; color: #fff; }
.icon-ltc  { background: #345d9d; color: #fff; }
.icon-sol  { background: linear-gradient(135deg, #9945FF, #14F195); color: #fff; }
.icon-eth  { background: #627eea; color: #fff; }

.crypto-name h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.crypto-name span {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.crypto-radio {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.crypto-item.selected .crypto-radio {
  border-color: var(--accent-indigo);
}

.crypto-item.selected .crypto-radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-indigo);
  box-shadow: 0 0 8px var(--accent-indigo);
}

/* Products Grid */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px 18px;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--card-glow);
}

.product-card:hover::before {
  background: var(--primary-gradient);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.product-icon {
  font-size: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.product-price-badge {
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}

.product-price-badge .cur {
  color: var(--accent-indigo);
  font-size: 13px;
  margin-left: 2px;
}

.product-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 4px;
}

.product-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 14px;
}

.product-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.product-controls .btn {
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2px 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.qty-btn:active {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(0.92);
}

.qty-value {
  font-size: 13.5px;
  font-weight: 700;
  min-width: 22px;
  text-align: center;
}

/* Mes Comptes Cards */
.account-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  margin-bottom: 12px;
  transition: all 0.22s var(--ease-smooth);
}

.account-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.account-date {
  font-size: 11.5px;
  color: var(--text-tertiary);
}

.field-group {
  margin-bottom: 8px;
}

.field-label {
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 3px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.field-value-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  word-break: break-all;
}

.copy-icon {
  cursor: pointer;
  color: var(--accent-indigo);
  font-size: 15px;
  padding: 2px 6px;
  transition: transform 0.15s;
}

.copy-icon:active {
  transform: scale(0.85);
}

.badge-number {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 4px 8px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  font-family: monospace;
  margin-right: 6px;
  margin-top: 4px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #111624;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  width: 100%;
  max-width: 390px;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
  transform: translateY(24px) scale(0.96);
  transition: all 0.3s var(--ease-smooth);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-secondary);
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.qr-box {
  background: #fff;
  padding: 12px;
  border-radius: var(--radius-xl);
  width: 180px;
  height: 180px;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.deposit-info-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 16px;
  margin: 16px 0;
}

/* Spinner */
.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  border-top-color: var(--accent-indigo);
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Floating Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 16px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(18, 23, 34, 0.85);
  backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-smooth);
  padding: 6px 14px;
  border-radius: var(--radius-xl);
}

.nav-item.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.nav-icon {
  font-size: 20px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(18, 23, 34, 0.95);
  border: 1px solid var(--accent-indigo);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s var(--ease-smooth);
}

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

/* ════════════════════════════════════════
   SPLASH LOGIN OVERLAY
════════════════════════════════════════ */
.login-splash {
  position: fixed;
  inset: 0;
  background: rgba(8, 11, 17, 0.92);
  backdrop-filter: blur(28px) saturate(180%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s var(--ease-smooth);
}

.login-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: 30px 24px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}

.login-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
  box-shadow: var(--primary-glow);
}

.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.login-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s var(--ease-smooth);
  font-family: inherit;
}

.login-tab.active {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

.login-panel {
  display: none;
}

.login-panel.active {
  display: block;
  animation: fadeIn 0.25s var(--ease-smooth);
}

.app-auth-toggle {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.auth-toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.auth-toggle-btn.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent-indigo);
  font-weight: 700;
}

/* ════════════════════════════════════════
   ANIMATION BLOCKCHAIN VÉRIFICATION EN DIRECT
════════════════════════════════════════ */
.blockchain-center-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blockchain-radar-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.blockchain-radar-ring.ring-outer {
  width: 130px;
  height: 130px;
  border: 2px dashed rgba(99, 102, 241, 0.45);
  animation: radarRotate 6s linear infinite;
}

.blockchain-radar-ring.ring-inner {
  width: 104px;
  height: 104px;
  border: 2px solid transparent;
  border-top-color: var(--accent-emerald);
  border-right-color: var(--accent-indigo);
  animation: radarRotateReverse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.blockchain-crypto-badge {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #26a17b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 35px rgba(38, 161, 123, 0.5), inset 0 0 14px rgba(255, 255, 255, 0.25);
  animation: cryptoPulse 2s ease-in-out infinite;
  transition: all 0.4s var(--ease-smooth);
}

.blockchain-crypto-badge.success {
  background: var(--accent-emerald) !important;
  box-shadow: 0 0 45px rgba(16, 185, 129, 0.7) !important;
  animation: successPop 0.5s var(--ease-smooth) forwards;
}

.blockchain-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: #c7d2fe;
  margin-top: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-indigo);
  box-shadow: 0 0 10px var(--accent-indigo);
  animation: dotPulse 1.2s infinite ease-in-out;
}

.pulse-dot.success {
  background: var(--accent-emerald);
  box-shadow: 0 0 12px var(--accent-emerald);
  animation: none;
}

.blockchain-crypto-details {
  margin-top: 20px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes radarRotateReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes cryptoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 12px rgba(99, 102, 241, 0.4));
  }
  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.7));
  }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes successPop {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
