:root {
    --text-color: #333;
    --text-color-light: white;
    --bg-card: rgba(255, 255, 255, 0.5);
    --bg-footer: rgba(0, 0, 0, 0.5);
    --bg-button: rgba(0, 0, 0, 0.6);
    --bg-button-hover: rgba(0, 0, 0, 0.8);
    --border-color: rgba(255, 255, 255, 0.3);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-color-hover: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-image: url('https://dailybing.com/api/v1');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px var(--shadow-color);
}

h1 {
    font-family: 'ConsolasCustom', Consolas, monospace;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

p {
    font-size: 1.2rem;
    opacity: 0.8;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

form {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"] {
    width: 80%; /* 调整宽度以更好地居中 */
    max-width: 400px; /* 限制最大宽度 */
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
}

button,
.home-button {
    padding: 0.8rem 1.5rem;
    background-color: #cccccc; /* 浅灰色 */
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem; /* 增加按钮与输入框的间距 */
}

button:hover,
.home-button:hover {
    background-color: #b3b3b3; /* 鼠标悬停时更深的浅灰色 */
}

p a {
    color: white; /* 白色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

p a:hover {
    color: #f0f0f0; /* 鼠标悬停时更浅的白色 */
}