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

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(120deg, #020617, #0f172a, #1e3a8a, #020617);
  background-size: 300% 300%;
animation: bgFlow 12s ease infinite;

}
@keyframes bgFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.converter {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  display: grid;
  row-gap: 16px;
  width: min(360px, 90vw);
  text-align: center;
}

.converter h2 {
  font-size: 22px;
  margin-bottom: 4px;
}

#amount {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
}

#amount:focus {
  border-color: #4facfe;
  box-shadow: 0 0 0 2px rgba(79,172,254,0.2);
}

.row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 10px;
}

.select-box {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f9f9f9;
  column-gap: 6px;
}

.select-box img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 4px;
}

.select-box select {
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  width: 100%;
}

button {
  width: 100%;
  padding: 10px 12px;
  margin-top: 4px;
  border: none;
  border-radius: 8px;
  background: #4facfe;
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

button:hover {
  background: #00c6ff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

button:active {
  transform: translateY(1px);
  box-shadow: none;
}

#result {
  min-height: 24px;
  font-weight: bold;
  color: #333;
}

@media (max-width: 480px) {
  .converter {
    width: 92vw;
  }

  .row {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo img {
  width: 120px;      /* adjust size as needed */
  height: auto;
  object-fit: contain;
}

#heading{
  margin: 20px;
  border: #333 2px solid;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(60deg,#150b6f,#243b55,#000000,#15074f);
  color: white;
}

#symbol{
font-size: 50px;
}