body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f4f4;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.question-section {
    display: none;
    margin-top: 20px;
}

.result-section {
    display: none;
}


textarea {
    width: 100%;
    height: 100px;
    font-family: monospace;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 16px;
}

#copyButton {
    margin-top: 10px;
    background-color: #28a745;
}

#copyButton:hover {
    background-color: #218838;
}

/* ... (之前的CSS代码) ... */

.cheating-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cheating-alert h1, .cheating-alert p {
    color: white;
    text-align: center;
}

.cheating-alert button {
    margin-top: 20px;
}