* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    background: url("/google/img/luo.webp") no-repeat center/cover;
    height: 100vh;
    overflow: hidden;
}

/* 黑色遮罩 */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

/* 页面容器 */
.lock-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 卡片 */
.box {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    width: 320px;
    padding: 25px;
    border-radius: 16px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* 图标 */
.icon {
    font-size: 50px;
    background: linear-gradient(135deg, #ff2d55, #ff6b6b);
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 20px rgba(255,45,85,0.4);
}

h2 {
    margin-top: 15px;
}

p {
    font-size: 14px;
    opacity: 0.8;
}

/* 验证码 */
.code-box {
    margin: 20px 0;
    font-size: 30px;
    letter-spacing: 8px;
    background: rgba(255,255,255,0.12);
    padding: 12px;
    border-radius: 10px;
}

/* 输入框 */
.inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    border-radius: 10px;
    border: 2px solid transparent;
    outline: none;
    transition: 0.2s;
}

/* 聚焦效果 */
.input:focus {
    border-color: #ff2d55;
    box-shadow: 0 0 10px rgba(255,45,85,0.5);
}

/* 按钮 */
button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(135deg, #ff2d55, #ff6b6b);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

/* hover效果 */
button:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(255,45,85,0.4);
}

.error {
    color: #ff4d4d;
    margin-top: 10px;
    min-height: 18px;
}

a {
    display: block;
    margin-top: 10px;
    color: #fff;
    opacity: 0.7;
    font-size: 12px;
    text-decoration: none;
}

a:hover {
    opacity: 1;
}

.modal {
    z-index: 999999;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 250px;
    animation: pop 0.2s ease;
}

.modal-box p {
    color: #333;
    margin-bottom: 15px;
}

.modal-box button {
    padding: 8px 15px;
    border: none;
    background: #ff2d55;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.hidden {
    display: none;
}

@keyframes pop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}