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

video {
  display: block;
  border: none;
  outline: none;
  background: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  top: 0;
  left: 0;
  padding: 0;
  background: #f6f6f6;
  width: 100%;
  color: #1a1a1a;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  height: 100%;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: #fff;
  height: 5px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #666;
  width: 10px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px #1a1a1a;
  border-radius: 10px;
  background-color: #fff;
}

.main {
  width: 100%;
}
.main_rect {
  width: 400px;
  height: auto;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(247.95deg, #ededed 5.87%, #f6f6f6 96.55%);
  border-radius: 24px;
  box-shadow: 0px 0px 80px rgb(0 0 0/10%);
}
.main_content {
  padding: 32px 20px;
}
.main_logo {
  display: flex;
  grid-area: logo;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.59px;
  line-height: 36px;
  font-family: "Inter", sans-serif;
}
.main_logo svg {
  min-height: 20px;
  min-width: 20px;
}
.main_logo span {
  color: #0a0a0a;
}
.main_logo svg path {
  fill: #0a0a0a;
}
.main_alert {
  display: block;
  margin: 0 auto;
  margin-top: 40px;
  vertical-align: middle;
}
.main_title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0px 0px 12px;
  text-align: center;
  margin-top: 20px;
}
.main_subtitle {
  font-size: 14px;
  color: #666;
  margin: 0px 0px 8px;
  max-width: 360px;
  line-height: 1.6;
  text-align: center;
  font-weight: 400;
}
.main_notfound {
  margin-top: 16px;
  padding: 12px 16px;
  background-color: #f5f5f5;
  border-radius: 8px;
  border: 1px solid #f39c12 20;
  max-width: 360px;
  width: 100%;
  font-size: 13px;
  color: #f39c12;
  text-align: center;
  font-family: monospace;
}
.main_try {
  margin: 0 auto;
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
  outline: none;
  border: none;

  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #000;
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.2s;
}
.main_help {
  margin-top: 40px;
  padding: 16px;
  background-color: #fafafa;
  border-radius: 8px;
  max-width: 360px;
  width: 100%;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  text-align: center;
}

.main_help span {
  color: #1a1a1a;
  font-weight: 600;
}

@media (min-width: 320px) and (max-width: 499px) {
  .main_rect {
    width: calc(100% - 40px);
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .main_logo span {
    font-size: 20px;
  }
}

body.check-page main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-main {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 16px;
  display: flex;
  flex-direction: column;
}

.check-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.check-cta {
  padding: 10px 22px;
  border-radius: 100px;
  background-color: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    opacity 0.2s ease;
  outline: none;
  border: none;
}

.check-cta:hover {
  opacity: 0.9;
}

.check-card {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 32px 40px 28px;
  color: #1a1a1a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.check-card-header {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #999999;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.check-amount {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.check-amount-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.check-amount-text-main {
  font-size: 26px;
  font-weight: 600;
}

.check-amount-text-sub {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #888888;
}

.check-divider {
  height: 1px;
  width: 100%;
  background-color: #eeeeee;
  margin: 16px 0 4px;
}

.check-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
}

.check-row-label {
  color: #888888;
}

.check-row-value {
  color: #000000;
  font-weight: 500;
}

.check-receive-btn {
  width: 100%;
  padding: 14px 24px;
  margin-top: 24px;
  border-radius: 12px;
  background-color: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  outline: none;
  border: none;
}

.check-receive-btn:hover {
  background-color: #222;
}

.check-receive-btn:active {
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .check-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .check-card {
    padding: 24px 20px 22px;
    border-radius: 20px;
  }

  .check-amount-text-main {
    font-size: 22px;
  }
}
