.card-animated {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeInUp 0.6s ease;
  position: relative;
  overflow: hidden;
}

.card-animated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-animated:hover::before {
  transform: scaleX(1);
}

.card-animated:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.card-animated:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
}

.icon-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.icon-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.icon-green {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.card-title-animated {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.alert-gradient {
  background: linear-gradient(135deg, #fef3c7 0%, #fde047 100%);
  border: none;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: #78350f;
  font-size: 0.9rem;
  animation: fadeInUp 0.8s ease;
}

.token-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #334155;
  word-break: break-all;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.token-box:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-gradient:active {
  transform: translateY(0);
}

.btn-outline-gradient {
  background: white;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  color: #667eea;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.btn-outline-gradient:hover {
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-2px);
}

.text-muted-custom {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stats-card-content {
  text-align: center;
  padding: 1rem 0;
}

.stats-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 1rem 0 0.5rem 0;
}

.stats-label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Dark Mode */
[data-bs-theme="dark"] .card-animated {
  background: #1e293b;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .card-animated:hover {
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

[data-bs-theme="dark"] .card-title-animated {
  color: #f1f5f9;
}

[data-bs-theme="dark"] .alert-gradient {
  background: linear-gradient(135deg, #422006 0%, #78350f 100%);
  color: #fde68a;
}

[data-bs-theme="dark"] .token-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #475569;
  color: #cbd5e1;
}

[data-bs-theme="dark"] .token-box:hover {
  border-color: #818cf8;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

[data-bs-theme="dark"] .btn-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 4px 15px rgba(129, 140, 248, 0.3);
}

[data-bs-theme="dark"] .btn-gradient:hover {
  box-shadow: 0 8px 25px rgba(129, 140, 248, 0.4);
}

[data-bs-theme="dark"] .btn-outline-gradient {
  background: #1e293b;
  color: #a5b4fc;
}

[data-bs-theme="dark"] .btn-outline-gradient::before {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
}

[data-bs-theme="dark"] .btn-outline-gradient:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  color: white;
}

[data-bs-theme="dark"] .text-muted-custom {
  color: #94a3b8;
}

[data-bs-theme="dark"] .stats-label {
  color: #94a3b8;
}