body * {
    box-sizing: border-box;
}

img {
    width: 100%;
    height: auto;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #fff;
    text-decoration: none;
}

body {
    font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, PingFang SC-Light, Microsoft YaHei;
    width: 100%;
    height: 100vh;
    background-color: #000;
    max-width: 750px;
}

.errorbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    display: none;
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}

.error-content {
    padding: 20px;
    line-height: 18px;
    word-break: break-all;
    overflow: hidden;
    font-size: 18px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
}

#background-video {
    position: absolute;
    display: block;
    width: 100%;
    margin: auto;
    z-index: -1;
    top: 0;
}

.box {
    position: relative;
    max-width: 720px;
    left: 50%;
    transform: translateX(-50%);
}

.header {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 5%;
}

.wenan {
    position: absolute;
    z-index: 10;
    width: 90%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    margin-top: 73%;
    left: 5%;
}

.wenan-inner {
    position: relative;
    width: 100%;
}

.wenan-card {
    display: block;
    width: 100%;
}

.wenan-form {
    position: absolute;
    left: 7.5%;
    right: 7.5%;
    bottom: 4%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

.stock-input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(45, 50, 55, 0.95);
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stock-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.stock-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.stock-input.input-error {
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

.wenan-form .aniu {
    width: 100%;
    margin-top: 0;
    cursor: pointer;
    animation-name: moveButton;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

.end {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 142%;
}

.footer {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: auto;
    text-align: center;
    margin-top: 226%;
    padding: 0;
}

.footer img {
    display: block;
    width: 85%;
    max-width: 620px;
    margin: 0 auto;
}

@media screen and (min-width: 700px) {
    html {
        display: flex;
        justify-content: center;
    }
}

.aniu {
    cursor: pointer;
}

@keyframes moveButton {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}
