/* 一分钟挑战游戏样式 */

.game-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.game-title {
    font-size: 2.5em;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
}

.game-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.game-status {
    font-size: 1.5em;
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.game-buttons {
    margin: 30px 0;
}

.game-button {
    padding: 15px 30px;
    font-size: 1.3em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.start-button {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.start-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.stop-button {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
}

.stop-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 67, 54, 0.4);
}

.reset-button {
    background: linear-gradient(135deg, #2196F3, #0b7dda);
    color: white;
}

.reset-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

.game-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.result-display {
    margin: 30px 0;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    border-left: 5px solid #007bff;
}

.time-display {
    font-size: 2em;
    font-weight: bold;
    color: #007bff;
    margin: 10px 0;
}

.accuracy-display {
    font-size: 1.2em;
    margin: 10px 0;
}

.excellent { 
    color: #28a745; 
}

.good { 
    color: #17a2b8; 
}

.average { 
    color: #ffc107; 
}

.poor { 
    color: #dc3545; 
}

.tips {
    margin: 30px 0;
    padding: 20px;
    background: #e7f3ff;
    border-radius: 10px;
    border-left: 5px solid #007bff;
}

.tips h4 {
    color: #007bff;
    margin-bottom: 15px;
}

.tips ul {
    text-align: left;
    margin: 0;
    padding-left: 20px;
}

.tips li {
    margin: 8px 0;
    color: #666;
}

#historyDisplay.historyList {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

#historyDisplay.historyList h4 {
    color: #333;
    margin-bottom: 15px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.history-item:last-child {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-container {
        padding: 10px;
    }
    
    .game-title {
        font-size: 2em;
    }
    
    .game-button {
        padding: 12px 20px;
        font-size: 1.1em;
        margin: 5px;
    }
    
    .time-display {
        font-size: 1.5em;
    }
}