/* ==== 页面整体 ==== */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

/* ==== 居中容器 ==== */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* ==== 卡片区域 ==== */
.card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 60px 80px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
    animation: fadeIn 1.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==== 标题 ==== */
h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 24px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ==== 输入框区域 ==== */
.input-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* ==== 输入框样式 ==== */
input {
    padding: 12px 18px;
    width: 200px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

input:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* ==== 按钮样式 ==== */
button {
    padding: 12px 26px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 182, 193, 0.8);
}

button:active {
    transform: scale(0.98);
}

/* ==== 提示信息 ==== */
.msg {
    margin-top: 25px;
    font-size: 16px;
    color: #fff5e1;
}
