* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    padding: 20px;
    margin: 10px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #333;
    font-size: clamp(24px, 5vw, 32px);
    margin-bottom: 15px;
}

.region-selector {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.region-btn {
    flex: 1;
    max-width: 200px;
    background: #f5f5f5;
    color: #666;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-btn:hover {
    background: #e8e8e8;
    border-color: #667eea;
}

.region-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.score-board {
    display: flex;
    justify-content: space-around;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
}

.score-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score-item .label {
    font-size: 12px;
    color: #666;
}

.score-item span:last-child {
    font-size: 20px;
    font-weight: bold;
    color: #667eea;
}

main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.staff-container {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#staff {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.question-container {
    text-align: center;
}

.question-text {
    font-size: clamp(18px, 4vw, 24px);
    color: #333;
    font-weight: bold;
}

.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.option-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: clamp(16px, 3.5vw, 20px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.option-btn:active {
    transform: translateY(0);
}

.option-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.option-btn.correct {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    animation: pulse 0.5s ease;
}

.option-btn.wrong {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    animation: shake 0.5s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.feedback {
    text-align: center;
    font-size: clamp(18px, 4vw, 24px);
    font-weight: bold;
    min-height: 30px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feedback.correct {
    color: #11998e;
    background: #e8f5e9;
}

.feedback.wrong {
    color: #eb3349;
    background: #ffebee;
}

.next-btn {
    width: 100%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: clamp(18px, 4vw, 22px);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.next-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.next-btn:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        margin: 5px;
    }

    .options-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .option-btn {
        padding: 12px 15px;
    }

    .staff-container {
        padding: 15px;
        min-height: 180px;
    }
}

@media (min-width: 768px) {
    .option-btn {
        padding: 18px 25px;
    }
}

