body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    color: #333;
}

header {
    background: #4a90e2;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}

.container:hover {
    transform: translateY(-5px);
}

form {
    display: flex;
    flex-direction: column;
}

input, button {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border 0.3s;
}

input:focus, button:focus {
    border-color: #4a90e2;
}

button {
    background: #4a90e2;
    color: white;
    cursor: pointer;
}

button:hover {
    background: #357abd;
}

.quiz-card {
    background: #f9f9f9;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.home-bg {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.home-content {
    z-index: 1;
    max-width: 800px;
}

.home-content h1 {
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* JS将添加粒子动画 */
    input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    padding: 12px 14px;
}

button {
    font-size: 1.1em;
    padding: 12px;
    margin-top: 10px;
}
}