:root {
  --primary-color: #000000;
  --success-color: #05bd92;
  --bg-color: #fff4b5;
  --text-color: #333;
  --white: #ffffff;
}

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

body {
  font-family: "Mona Sans", sans-serif;
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: var(--text-color);
}

.container {
  text-align: center;
  padding: 20px;
  width: 100%;
  max-width: 400px;
}

.card {
  background: transparent;
  padding: 30px 20px;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

h1 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 28px;
  font-family: "Mona Sans", sans-serif;
  margin-bottom: 10px;
}

.message {
  font-size: 18px;
  color: #444;
  margin-bottom: 8px;
  font-family: "Mona Sans", sans-serif;
  font-weight: 600;
}

.sub-message {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  width: 100%;
  box-shadow: 0 5px 15px rgba(65, 141, 138, 0.3);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 5px rgba(65, 141, 138, 0.3);
}

.btn-primary:hover {
  background-color: #357a77;
}

.footer {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}

.success-checkmark {
  height: 80px;
  width: 80px;
  margin: 0 auto 25px auto;
}

.check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid var(--success-color);
}

.check-icon::before {
  top: 3px;
  left: -2px;
  width: 30px;
  transform-origin: 100% 50%;
  border-radius: 100px 0 0 100px;
}

.check-icon::after {
  top: 0;
  left: 30px;
  width: 60px;
  transform-origin: 0 50%;
  border-radius: 0 100px 100px 0;
  animation: rotate-circle 4.25s ease-in;
}

.icon-line {
  height: 5px;
  background-color: var(--success-color);
  display: block;
  border-radius: 2px;
  position: absolute;
  z-index: 10;
}

.icon-line.line-tip {
  top: 46px;
  left: 14px;
  width: 25px;
  transform: rotate(45deg);
  animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
  top: 38px;
  right: 8px;
  width: 47px;
  transform: rotate(-45deg);
  animation: icon-line-long 0.75s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes icon-line-tip {
  0% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  54% {
    width: 0;
    left: 1px;
    top: 19px;
  }
  70% {
    width: 50px;
    left: -8px;
    top: 37px;
  }
  84% {
    width: 17px;
    left: 21px;
    top: 48px;
  }
  100% {
    width: 25px;
    left: 14px;
    top: 46px;
  }
}

@keyframes icon-line-long {
  0% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  65% {
    width: 0;
    right: 46px;
    top: 54px;
  }
  84% {
    width: 55px;
    right: 0px;
    top: 35px;
  }
  100% {
    width: 47px;
    right: 8px;
    top: 38px;
  }
}
