* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at top, #0a0a1a 0%, #050510 100%);
  color: #e3e6f0;
  text-align: center;
  padding: 20px;
}

header h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #4b9fff, #b266ff);
  -webkit-background-clip: text;
  color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 10px #4b9fff; }
  to { text-shadow: 0 0 25px #b266ff; }
}

.subtitle { color: #9fa8c6; margin-bottom: 20px; }

.socials a {
  color: #6ea8ff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
}
.socials a:hover { text-decoration: underline; }

.contract-section span {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  cursor: pointer;
  transition: all .3s;
}
.contract-section span:hover { background: rgba(255,255,255,0.1); }

#analysis-section {
  margin-top: 40px;
}
#analysis-section input {
  width: 80%;
  max-width: 400px;
  padding: 10px;
  border-radius: 6px;
  border: none;
  outline: none;
  background: #1a1a2e;
  color: #fff;
}
#analysis-section button {
  margin-left: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(90deg, #4b9fff, #b266ff);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
#analysis-section button:hover { opacity: 0.8; }

#analysisResult {
  margin-top: 20px;
  font-size: 1rem;
  color: #b8c0ff;
  min-height: 40px;
}

.market-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 50px;
}

#chainSelect {
  background: #1a1a2e;
  color: #fff;
  border: 1px solid #333;
  padding: 6px 12px;
  border-radius: 8px;
}

#marketData {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 25px;
  animation: fadeIn 0.6s ease-in-out;
}

#marketData div {
  background: rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 12px;
  transition: 0.3s;
}
#marketData div:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.price { font-size: 1.2rem; font-weight: bold; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

footer { margin-top: 40px; color: #7f89a5; font-size: 0.9rem; }

@media (max-width: 600px) {
  header h1 { font-size: 2rem; }
  #analysis-section input { width: 100%; }
  .market-header { flex-direction: column; }
}
