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

body {
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0,255,255,0.15), transparent 25%),
    radial-gradient(circle at bottom right, rgba(0,150,255,0.15), transparent 25%),
    linear-gradient(135deg, #050816, #0b1120, #111827);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

.container {
  width: 95%;
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 34px;
  background: linear-gradient(to right, #00e5ff, #00ff99);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

input {
  flex: 1;
  padding: 15px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: white;
  backdrop-filter: blur(10px);
  font-size: 16px;
}

button {
  padding: 15px 20px;
  border: none;
  border-radius: 15px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: scale(1.03);
}

.card,
.history,
.coin-list,
.chart-container {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card h2 {
  margin-bottom: 15px;
}

.card p {
  margin-bottom: 10px;
  font-size: 18px;
}

.selector-box {
  margin-bottom: 20px;
}

.coin-list {
  display: none;
  max-height: 400px;
  overflow-y: auto;
}

.coin-item {
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: 0.3s;
}

.coin-item:hover {
  background: rgba(0,255,255,0.15);
  transform: translateX(5px);
}

.history ul {
  list-style: none;
}

.history li {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

iframe {
  border-radius: 15px;
}