/* css/quiz.css */
.main-quiz {
    padding: 80px 20px 60px;
    min-height: calc(100vh - 80px - 70px);
    background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
    color: white;
}

.main-quiz .container {
    max-width: 800px;
}

.main-quiz h2 {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 10px;
}

.main-quiz .subtitle {
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* 闯关状态栏 */
.quiz-status {
    display: flex;
    justify-content: space-around;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: bold;
}

/* 闯关内容容器 */
.quiz-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
}

.level {
    transition: opacity 0.5s ease;
}

.hidden {
    display: none;
}

.level h3 {
    color: #ffeb3b;
    margin-bottom: 20px;
    text-align: center;
}

.level p {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* 音频挑战区 */
.audio-challenge {
    text-align: center;
    margin: 30px 0;
}

.audio-challenge audio {
    width: 80%;
    max-width: 500px;
}

/* 答案输入区 */
.answer-section {
    text-align: center;
    margin-top: 30px;
}

.answer-section input[type="text"] {
    width: 80%;
    max-width: 400px;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.answer-section input[type="text"]:focus {
    outline: none;
    border-color: #185a9d;
}

.answer-section button {
    padding: 12px 30px;
    background: #d32f2f;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.answer-section button:hover {
    background: #b71c1c;
}

/* 闯关完成页面 */
#level-complete {
    text-align: center;
    padding: 40px 20px;
}

#level-complete h3 {
    color: #ffeb3b;
    margin-bottom: 20px;
}

#level-complete p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

#level-complete button {
    margin-top: 20px;
    padding: 12px 40px;
    font-size: 1.1rem;
}
/* 选项样式 */
.answer-section .options {
    margin-bottom: 20px;
    line-height: 2.2;
}

.answer-section .options label {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.answer-section .options label:hover {
    background: rgba(255, 255, 255, 0.2);
}

.answer-section input[type="radio"] {
    margin-right: 10px;
}
/* 音频选项组 */
.audio-options {
    margin: 25px 0;
}

.audio-option {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-option input[type="radio"] {
    margin: 0;
}

.audio-option audio {
    flex: 1;
    min-width: 200px;
}

.audio-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}