* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #18243f, #020617 70%);
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 20px;
}

.container {
  width: 100%;
  max-width: 620px;

  background: rgba(30, 41, 59, 0.92);

  padding: 40px;

  border-radius: 28px;

  border: 1px solid rgba(255,255,255,0.06);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.5);

  backdrop-filter: blur(12px);
}

.copyright {
  text-align: right;
  font-size: 12px;
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.5;
}

h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.05;
}

.developer {
  color: #22d3ee;
  font-size: 22px;
  font-weight: 800;
  margin-top: 18px;
}

.subtitle {
  color: #e2e8f0;
  margin-top: 18px;
  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.5;
}

input,
select {
  width: 100%;

  padding: 18px;

  border-radius: 16px;

  border: 1px solid rgba(34,211,238,0.25);

  background: #030712;

  color: white;

  font-size: 18px;

  outline: none;
}

.currency-row {
  display: grid;

  grid-template-columns: 1fr 60px 1fr;

  gap: 12px;

  margin-top: 16px;
}

.swap-btn {
  border: none;

  border-radius: 16px;

  background: #475569;

  color: white;

  font-size: 24px;

  font-weight: bold;
}

.convert-btn {
  width: 100%;

  margin-top: 22px;

  padding: 20px;

  border: none;

  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #22d3ee,
    #14b8a6
  );

  color: #04111f;

  font-size: 22px;

  font-weight: 900;  margin-bottom: 28px;
  font-size: 20px;
  line-height: 1.6;
}
}

input,
select {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: #070b18;
  color: white;
  font-size: 20px;
  font-weight: 700;
   outline: none;
}

.currency-row {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  gap: 10px;
  margin-top: 14px;
}

.swap-btn {
  border: none;
  border-radius: 14px;
  background: #334155;
  color: white;
  font-size: 22px;
  font-weight: bold;
}

.convert-btn {
  width: 100%;
  margin-top: 18px;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #22d3ee, #14b8a6);
  color: #04111f;
  font-size: 22px;
  font-weight: 900;
}

.result-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2744, #0b1328);
  border: 1px solid rgba(34, 211, 238, 0.45);
  text-align: center;
}

#result {
  #result {
  font-size: 52px;
  font-weight: 900;
}
  margin: 0 0 12px;
}

#rateInfo {
  color: #cbd5e1;
}

@media (max-width: 520px) {
  body {
    padding: 12px;
    align-items: flex-start;
  }

  .container {
    padding: 24px;
    border-radius: 22px;
  }

  .copyright {
    font-size: 11px;
    margin-bottom: 16px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.05;
  }

  .developer {
    font-size: 18px;
    margin-top: 14px;
  }

  .subtitle {
    font-size: 17px;
    line-height: 1.4;
    margin-top: 14px;
    margin-bottom: 20px;
  }

  input,
  select {
    padding: 14px;
    font-size: 17px;
  }

  .currency-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .swap-btn {
    height: 44px;
    font-size: 20px;
  }

  .convert-btn {
    margin-top: 16px;
    padding: 14px;
    font-size: 19px;
  }

  .result-card {
    margin-top: 18px;
    padding: 18px;
  }
}
