* {
  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: 45px;
    line-height: 1;
    width: 40px;
    height: 40px;
    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%;
  transform: translateX(-50%);
}

.head {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 1%;
}

.content {
  position: absolute;
  width: 720px;
  text-align: center;
  top: 63%;
}

.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: 95%;
    text-align: center;
    top: 51%;
    font-size: 27px;
    background: url(../images/kuang.png);
    height: 364px;
    padding: 36px 30px 23px 20px;
    border: none;
    line-height: 40px;
    background-size: 100% 100%;
}

.inputcode {
    width: 90%;
    height: 8%;
    border-radius: 1rem;
    border: 2px solid #3ba2bc;
    margin-top: 1rem;
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 30px;
    background: rgb(238 238 238);
    color: black;
}

/*.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;
}
