* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.game-container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 15px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.game-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.status-message {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a6fa5;
    margin-bottom: 30px;
    padding: 15px;
    background: #e6f3ff;
    border-radius: 10px;
    border-left: 5px solid #4a6fa5;
}

.game-board {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.character-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.player-card {
    border: 3px solid #4a90e2;
}

.computer-card {
    border: 3px solid #e94e77;
}

.character-card h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.player-card h2 {
    color: #4a90e2;
}

.computer-card h2 {
    color: #e94e77;
}

.character-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #999;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.character-info {
    text-align: center;
}

.character-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.character-hp, .character-attack {
    margin: 8px 0;
    color: #666;
}

.hp-value, .attack-value {
    font-weight: bold;
    color: #e74c3c;
}

.attack-value {
    color: #27ae60;
}

.battle-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
}

.round-result {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #fff3cd;
    border-radius: 8px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choices {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.player-choice, .computer-choice {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #666;
    border: 2px solid #ddd;
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.btn:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.choices-container {
    display: flex;
    gap: 15px;
}

.choice-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-btn:hover:not(:disabled) {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 204, 113, 0.3);
}

.choice-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .game-board {
        justify-content: center;
    }
    
    .battle-info {
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 700px) {
    .game-container {
        padding: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .character-card {
        width: 280px;
    }
    
    .choices-container {
        flex-direction: column;
        width: 100%;
    }
    
    .choice-btn {
        width: 100%;
    }
}