/* 背景自适应 */
body {
    margin: 0;
    padding: 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    font-family: Arial, sans-serif;
}

/* 竖屏设备 (手机/小平板) */
@media screen and (max-aspect-ratio: 3/4) {
    body {
        background-image: url('https://t.alcy.cc/fj');
    }
}

/* 横屏设备 (PC/大平板) */
@media screen and (min-aspect-ratio: 3/4) {
    body {
        background-image: url('https://t.alcy.cc/fj');
    }
}

/* 注册框 */
.register-container {
    width: min(90%, 350px);
    margin: 60px auto;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 12px rgba(0,0,0,0.2);
}

.register-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0 16px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* 邮件验证码 */
.email-verification {
    display: flex;
    gap: 10px;
    align-items: center;
}

.email-verification button {
    width: 120px;
    padding: 10px;
    height: 42px;
    box-sizing: border-box;
}

/* 按钮 */
button {
    width: 100%;
    padding: 12px;
    background: #2f89fc;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #1b6ed6;
}
