* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366F1;
  --primary-dark: #4F46E5;
  --primary-light: #818CF8;
  --accent: #06B6D4;
  --accent-dark: #0891B2;
  --secondary: #F59E0B;
  --danger: #EF4444;
  --success: #10B981;
  --bg-dark: #0F172A;
  --bg-darker: #020617;
  --bg-card: #1E293B;
  --bg-card-hover: #334155;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --border: #334155;
  --border-light: #475569;
  --glow-primary: rgba(99, 102, 241, 0.4);
  --glow-accent: rgba(6, 182, 212, 0.4);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  font-size: 16px;
  position: relative;


  background-image: url('./assets/fintech-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(2, 6, 23, 0.92) 0%,
    rgba(15, 23, 42, 0.88) 50%,
    rgba(30, 41, 59, 0.90) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.background-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.15) 0px, transparent 50%);
}

.header {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 10;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vyara-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 0 30px var(--glow-primary);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.vyara-logo::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

h1 {
  font-size: 4.00rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtext {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-top: 0.25rem;
}

.wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.left {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.right {
  display: flex;
  align-items: center;
}

.gas-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--border-light);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
  box-shadow: 0 0 10px var(--success);
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

.gas-text {
  display: flex;
  flex-direction: column;
}

.gas-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.gas-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.wallet-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.wallet-info > div {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 0;
  backdrop-filter: blur(10px);
}

.wallet-info > div:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--glow-primary);
  transform: translateY(-2px);
}

.wallet-info b {
  color: var(--text-secondary);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wallet-info span {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.15rem;
  word-break: break-all;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
}

.card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px var(--glow-primary);
  transform: translateY(-4px);
}

.card-head {
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.muted {
  color: var(--text-secondary);
  font-size: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(6, 182, 212, 0.08));
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 0;
  backdrop-filter: blur(10px);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat:hover {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(6, 182, 212, 0.12));
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--glow-primary);
}

.label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.value {
  color: var(--text-primary);
  font-size: 1.8rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.5rem;
}

.chart-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.7), rgba(30, 41, 59, 0.5));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  min-width: 0;
}

.chart-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.05rem;
}

.badge {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--accent);
  border: 1px solid var(--accent);
  white-space: nowrap;
}

.badge.neon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border: none;
  box-shadow: 0 0 15px var(--glow-primary);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

input, select {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  font-family: inherit;
  width: 100%;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 0 3px var(--glow-primary);
}

input::placeholder {
  color: var(--text-secondary);
}

.estimate {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.estimate div {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}

.estimate span {
  color: var(--accent);
  font-weight: 600;
  text-align: right;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--glow-primary);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: white;
  box-shadow: 0 4px 15px var(--glow-primary);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 8px 30px var(--glow-primary);
}

.btn.danger {
  background: linear-gradient(135deg, var(--danger), #DC2626);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn.danger:hover {
  background: linear-gradient(135deg, #DC2626, var(--danger));
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.6);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.result {
  margin-top: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.08));
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1rem;
  word-break: break-word;
  backdrop-filter: blur(10px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
  
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .header {
    padding: 1.67 rem;
  }

  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding: 1rem;
  }

  .wallet-info {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .charts-grid {
    grid-template-columns: 1fr;
  }

  .wallet-row {
    flex-direction: column;
    align-items: stretch;
  }

  .left {
    flex-direction: column;
  }
  
  .right {
    justify-content: center;
  }
  
  .actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.35rem;
  }
  
  .value {
    font-size: 1.5rem;
  }
  
  .subtext {
    font-size: 0.95rem;
  }
}
h1{
 text-align: center;
}

.logo-section {
  display: flex;
  align-items: flex-start; 
  gap: 14px;
}


.vyara-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-top: 4px;   
  flex-shrink: 0;
}

.logo-section h1 {
  line-height: 1.05;
  margin-bottom: 2px;
}


.subtext {
  margin-top: 2px;
}

