body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
header {
  background-color: #fff;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
header img {
  width: 140px;
  height: auto;
  display: block;
}
main {
  flex: 1;
  padding: 24px 16px;
  max-width: 800px;
  margin: 0 auto;
}
main p {
  font-size: 16px;
  line-height: 1.5;
  margin: 16px 0;
}
.cta-button {
  display: none;
  margin: 24px auto 0;
  padding: 12px 24px;
  background-color: #0071e3;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}
.cta-button:hover {
  background-color: #005bb5;
}
footer {
  background-color: #fff;
  padding: 16px;
  text-align: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}
footer p {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
}
footer a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  margin: 0 8px;
}
footer a:hover {
  text-decoration: underline;
}
.progress-bar-container {
  width: 100%;
  max-width: 600px;
  height: 20px;
  background-color: #bfcac4;
  border-radius: 10px;
  overflow: hidden;
  margin: 16px auto;
}
.progress-bar {
  height: 100%;
  display: flex;
  animation: fillProgress 2s linear forwards;
}
.segment1 {
  width: 62%;
  background-color: #f7bb03;
}
.segment2 {
  width: 20%;
  background-color: #4286f1;
}
.segment3 {
  width: 12%;
  background-color: #b443c9;
}
.segment4 {
  width: 6%;
  background-color: #eb4036;
}
@keyframes fillProgress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.status-container {
  background-color: transparent;
  padding: 16px;
  border-radius: 8px;
  transition: background-color 0.5s;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.status-container.completed {
  background-color: #fedadc;
}
.loading-container {
  display: flex;
  align-items: center;
  gap: 12px;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0071e3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-title {
  font-size: 18px;
  font-weight: 500;
}
.completed-title {
  font-size: 18px;
  font-weight: bold;
  color: #a63936;
  text-align: center;
}
.legend-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 8px auto;
  max-width: 600px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.point-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}
.point-icon {
  width: 24px;
  height: 24px;
}
.point-text {
  font-size: 16px;
  line-height: 1.5;
}
.offer-container {
  border: 2px solid #525892;
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  margin: 16px 0;
  min-height: 180px;
}
.offer-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  text-align: center;
}
.offer-text {
  font-size: 16px;
  line-height: 1.5;
  margin: 8px 0;
}
.timer-text {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 16px 0;
}
.timer-value {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}
.logo2 {
  display: block;
  width: 26px;
  height: 26px;
  margin: 16px auto;
}
.modal-overlay {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background-color: #fff;
  border-radius: 12px;
  width: calc(100% - 32px);
  max-width: 500px;
  margin: 0 16px;
  text-align: center;
  overflow: hidden;
}
.modal-title {
  font-size: 24px;
  font-weight: bold;
  margin: 24px 16px 16px;
}
.modal-text {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 16px 24px;
  color: #333;
}
.modal-divider {
  height: 1px;
  background-color: #cac9c7;
  width: 100%;
}
.modal-button {
  display: block;
  padding: 16px;
  font-size: 16px;
  font-weight: bold;
  color: #0071e3;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
}
.modal-button:hover {
  background-color: #f5f5f5;
}
@media (max-width: 600px) {
  header img {
    width: 120px;
  }
  main p {
    font-size: 14px;
  }
  .cta-button {
    font-size: 14px;
    padding: 10px 20px;
  }
  footer a,
  footer p {
    font-size: 12px;
  }
  .progress-bar-container {
    height: 16px;
  }
  .status-container {
    height: 48px;
  }
  .spinner {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }
  .loading-title,
  .completed-title {
    font-size: 16px;
  }
  .legend-item {
    font-size: 12px;
  }
  .legend-dot {
    width: 10px;
    height: 10px;
  }
  .point-icon {
    width: 20px;
    height: 20px;
  }
  .point-text {
    font-size: 14px;
  }
  .offer-title {
    font-size: 20px;
  }
  .offer-text,
  .timer-text {
    font-size: 14px;
  }
  .logo2 {
    width: 20px;
    height: 20px;
  }
  .modal-title {
    font-size: 20px;
    margin: 16px 12px 12px;
  }
  .modal-text {
    font-size: 14px;
    margin: 0 12px 16px;
  }
  .modal-button {
    font-size: 14px;
    padding: 12px;
  }
  .modal-overlay {
    align-items: flex-start;
    padding-top: 20vh;
  }
  .modal {
    margin-top: 35px;
  }
}
