:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #f0f0ed;
  background: #080908;
  color-scheme: dark;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.layout {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.card {
  width: 448px;
  max-width: 100%;
  min-height: min(660px, calc(100svh - 48px));
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 16% 0%, #35333d70, transparent 60%),
    linear-gradient(150deg, #25242b, #1d1c22 38%, #17161b);
  box-shadow: 0 24px 80px #00000038;
  overflow: hidden;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px 0 0;
  min-height: 82px;
}
header img {
  object-fit: contain;
}
.close-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  background: #ffffff05;
  color: #bdbbc4;
  cursor: pointer;
  font: 400 26px/1 Arial;
  padding: 0;
  flex-shrink: 0;
}
.close-button:hover {
  background: #ffffff12;
  color: #fff;
}
#app {
  padding: 0 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.purchase-summary {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 240px;
  padding: 38px 0 44px;
}
.purchase-title {
  margin: 0;
  text-align: center;
  font-weight: 400;
  max-width: 100%;
}
.buy-label {
  display: block;
  font-size: 22px;
  line-height: 1.5;
  color: #c4c1c9;
  margin-bottom: 14px;
}
.quantity {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}
.amount {
  font-size: 76px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -4px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.asset {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.4px;
  color: #c3b58b;
}
.payment-dock {
  margin-top: auto;
  padding-top: 20px;
}
.methods-heading {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #aaa7b0;
  text-align: center;
  margin: 0 0 16px;
}
.methods {
  display: grid;
  gap: 12px;
}
.method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 76px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 22px 24px;
  cursor: pointer;
  transition:
    background 0.15s,
    box-shadow 0.15s;
  box-shadow: 0 5px 16px #00000015;
}
.method-moonpay {
  background: #d8c8ff;
  color: #111;
}
.method-moonpay:hover {
  background: #e3d8ff;
  box-shadow: 0 6px 24px #ab82ff24;
}
.provider-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}
.provider-brand img {
  display: block;
  width: 136px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
}
.method-arrow {
  font: 24px/1 Arial;
  color: #25212d;
}
.method-transak {
  background: #edf4ff;
  border-color: #bfd5f5;
  color: #f0f0ed;
}
.method-transak img {
  width: 134px;
  height: 35px;
}
.method:disabled {
  cursor: default;
}
.method-status {
  font: 12px/1.4 Arial;
  color: #4d6487;
  margin-left: 12px;
  text-align: right;
}
.note,
.close-hint {
  font-size: 14px;
  line-height: 1.5;
  color: #aaa7b0;
}
.close-hint {
  text-align: center;
  margin: 14px 0 0;
}
h1 {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 400;
  overflow-wrap: anywhere;
}
button:focus-visible {
  outline: 2px solid #c3b58b;
  outline-offset: 4px;
}
::selection {
  background: #c3b58b;
  color: #080908;
}
@media (min-width: 768px) {
  .methods-heading,
  .method-status,
  .note,
  .close-hint {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .layout {
    padding: 16px 12px;
  }
  .card {
    min-height: min(660px, calc(100svh - 32px));
  }
  #app {
    padding: 0 20px 20px;
  }
  .purchase-summary {
    min-height: 210px;
  }
  .amount {
    font-size: 62px;
  }
  .asset {
    font-size: 22px;
  }
  .method {
    padding: 20px;
    min-height: 72px;
  }
  .provider-brand img {
    width: 118px;
  }
  .method-transak img {
    width: 118px;
  }
  .method-status {
    margin-left: 8px;
  }
  header {
    padding-right: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .method {
    transition: none;
  }
}
