* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  text-align: center;
}

section {
  margin: 0;
  padding: 0;
  line-height: 0;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #243447;
  border: none;
  color: #f00;
  font-weight: bold;
  font-size: 18px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 50%;  /* 圆形按钮 */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.close-btn:hover {
  background: #ff4d4d;
  color: #fff;
}
.container {
  position: relative;
  max-width: 720px;
  left: 50%;
  background: #12566f;
  transform: translateX(-50%);
}

.head {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 1%;
}

.content {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 61%;
}

.content img {
  padding: 20px;
}

.content2 {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 76%;
}

.content2 img {
  padding: 20px;
}

.content3 {
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  position: absolute;
  width: 90%;
  text-align: center;
  top: 48%;
  font-size: 30px;
  background: rgb(123 140 175 / 80%);
  height: 310px;
  line-height: 40px;
  border-radius: 18px;
  padding: 20px 6px 6px 6px;
  border: 3px solid white;
}

.inputcode {
    width: 82%;
    height: 8%;
    border-radius: 1rem;
    border: none;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 30px;
    background: rgba(159, 162, 180, 0.8);
    color: white;
}

.inputcode::placeholder {
  color: white;
}

.error {
  position: fixed;
  inset: 0;
  display: flex;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
}

.error-content {
  padding: 30px;
  line-height: 1.5;
  word-break: break-word;
  overflow: auto;
  font-size: 35px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  max-width: 750px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.anniu {
  animation: pulse2 1s linear infinite;
}

@keyframes pulse2 {
  0% {transform: scale(0.9);}
  50% {transform: scale(1);}
  100% {transform: scale(0.9);}
}

.ai-modal {
  position: fixed;
  display: none;
  inset: 0;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.pro-box {
  background: rgb(9, 76, 137);
  border-radius: 12px;
  padding: 32px 18px;
  max-width: 680px;
  margin: 60px auto;
}

.pro-box .title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pro-box .word {
  font-size: 30px;
  font-weight: bold;
}

.progress-box .item {
  margin-bottom: 16px;
}

.progress-box .i-title {
  font-size: 25px;
}

.layui-progress {
  background: #eee;
  border-radius: 8px;
  height: 16px;
}

.layui-progress-bar {
  width: 0%;
  background: #00dcf4;
  height: 100%;
  border-radius: 8px;
}

.result-box {
  position: relative;
  background: rgb(9, 76, 137);
  border-radius: 12px;
  padding: 32px 18px;
  height: inherit;
  margin: 26px auto;
  max-width: 680px;
}

.result-box .title {
  margin-bottom: 18px;
}

.result-box .word {
  font-size: 30px;
  font-weight: bold;
}

.result-con .con {
  font-size: 25px;
  margin-bottom: 18px;
}

.result-con .btn {
  background: #15a223;
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  font-size: 30px;
}

.footer {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 24px 16px;
  box-sizing: border-box;
  text-align: center;
  font-size: 1.3rem;
  color: #b8c6e0;
  background: #000407;
  max-width: 720px;
}

.footer a {
  color: #3eeaff;
  text-decoration: underline;
  margin: 0 8px;
}

.footer p {
  margin: 10px;
}
