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

body {
    font-family: "Microsoft YaHei";
    color: white;
    font-weight: 300;
}

body ::-webkit-input-placeholder {
    /* WebKit browsers */
    font-family: "Microsoft YaHei";
    color: white;
    font-weight: 300;
}

body :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    font-family: "Microsoft YaHei";
    color: white;
    opacity: 1;
    font-weight: 300;
}

body ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    font-family: "Microsoft YaHei";
    color: white;
    opacity: 1;
    font-weight: 300;
}

body :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    font-family: "Microsoft YaHei";
    color: white;
    font-weight: 300;
}

.wrapper {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wrapper.form-success #h {
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
}

.container {
    max-width: 460px;
    margin: 0 auto;
    margin-top: 8vh;
    padding: 52px 44px 46px;
    text-align: center;
    position: relative;
    z-index: 3;
    background: var(--glass);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 26px;
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: cardIn 1s var(--ease-out) both;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.brand {
    margin-bottom: 10px;
}

.brand-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.45em;
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 14px;
}

.brand-title {
    margin: 0 0 12px;
    font-family: "Songti SC", "STSong", "SimSun", "KaiTi", serif;
    font-size: 46px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow: 0 0 34px rgba(233, 189, 143, 0.4);
}

.brand-sub {
    margin: 0 0 8px;
    font-size: 15px;
    letter-spacing: 0.14em;
    color: var(--muted);
}

.container h1#h {
    font-size: 40px;
    font-weight: 200;
    letter-spacing: 0.06em;
    margin: 4px 0 0;
    -webkit-transition-duration: 1s;
    transition-duration: 1s;
    -webkit-transition-timing-function: var(--ease-out);
    transition-timing-function: var(--ease-out);
}

form {
    padding: 20px 0 0;
    position: relative;
    z-index: 2;
}

form input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    border: 1px solid var(--glass-border);
    background-color: rgba(255, 255, 255, 0.08);
    width: 260px;
    border-radius: 30px;
    padding: 13px 20px;
    margin: 0 auto 12px auto;
    display: block;
    text-align: center;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    color: #fff;
    letter-spacing: 0.1em;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: var(--ease-out);
    transition-timing-function: var(--ease-out);
    font-weight: 300;
}

form input:hover {
    background-color: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

form input:focus {
    background-color: rgba(255, 255, 255, 0.14);
    width: 296px;
    color: #fff;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(233, 189, 143, 0.22);
}

form button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: 0;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-strong) 100%);
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    border: 0;
    padding: 13px 15px;
    color: #3a1a20;
    border-radius: 30px;
    width: 260px;
    cursor: pointer;
    font-size: 18px;
    letter-spacing: 0.3em;
    font-weight: 500;
    box-shadow: 0 10px 28px rgba(214, 154, 99, 0.35);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: var(--ease-out);
    transition-timing-function: var(--ease-out);
}

form button:hover {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(214, 154, 99, 0.5);
    background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 100%);
}

form button:active {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -160px;
    -webkit-animation: square 30s infinite;
    animation: square 30s infinite;
    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 80px;
    height: 80px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 17s;
    animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    -webkit-animation-delay: 4s;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    -webkit-animation-duration: 22s;
    animation-duration: 22s;
    background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left: 80%;
    width: 120px;
    height: 120px;
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 7s;
    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
    left: 25%;
    width: 10px;
    height: 10px;
    -webkit-animation-delay: 2s;
    animation-delay: 2s;
    -webkit-animation-duration: 40s;
    animation-duration: 40s;
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 160px;
    height: 160px;
    -webkit-animation-delay: 11s;
    animation-delay: 11s;
}

@-webkit-keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-900px) rotate(600deg);
        transform: translateY(-900px) rotate(600deg);
    }
}

@keyframes square {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
    100% {
        -webkit-transform: translateY(-900px) rotate(600deg);
        transform: translateY(-900px) rotate(600deg);
    }
}