* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#game-container {
    width: 100vw; height: 100vh; max-width: 800px; max-height: 600px;
    background: rgba(255, 255, 255, 0.95); border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.screen {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    justify-content: center; align-items: center; padding: 20px; text-align: center;
}
#start-screen h1 { font-size: 3rem; color: #ff6b6b; margin-bottom: 20px; }
#start-screen p { font-size: 1.5rem; color: #666; margin-bottom: 30px; }
.game-btn {
    padding: 15px 40px; font-size: 1.3rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    color: white; border: none; border-radius: 50px; cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}
.game-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6); }
.game-info {
    display: flex; justify-content: space-between; width: 100%; padding: 15px 20px;
    font-size: 1.2rem; font-weight: bold; color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1); border-radius: 10px; margin-bottom: 20px;
}
.comparison-area {
    display: flex; justify-content: space-around; align-items: center;
    width: 100%; margin-bottom: 30px; gap: 20px;
}
.comparison-item {
    width: 150px; height: 150px; border-radius: 15px;
    display: flex; justify-content: center; align-items: center;
    font-size: 5rem; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.question { font-size: 1.5rem; color: #666; margin-bottom: 20px; }
.options { display: flex; gap: 20px; }
.option-btn {
    padding: 15px 40px; font-size: 1.3rem; font-weight: bold;
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
    color: white; border: none; border-radius: 50px; cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}
.option-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 107, 107, 0.6); }
.option-btn.correct { animation: correctAnim 0.5s ease; }
.option-btn.wrong { animation: wrongAnim 0.5s ease; }
@keyframes correctAnim { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.2); } }
@keyframes wrongAnim { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
.feedback {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3rem; font-weight: bold; pointer-events: none; opacity: 0; z-index: 100;
}
.feedback.show { animation: feedbackAnim 1s ease forwards; }
@keyframes feedbackAnim {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1); }
}
#end-screen h1 { font-size: 3rem; color: #ff6b6b; margin-bottom: 20px; }
#end-screen p { font-size: 1.3rem; color: #666; margin-bottom: 15px; }
.final-score { font-size: 2rem !important; color: #6bcb77 !important; font-weight: bold; }
@media (max-width: 768px) {
    #start-screen h1 { font-size: 2rem; }
    .comparison-item { width: 100px; height: 100px; font-size: 3rem; }
    .options { flex-direction: column; }
}
