/* Styles pour Pierre, Papier, Ciseaux */

body {
    background: linear-gradient(135deg, #1b1a1f 0%, #2d2a34 100%);
    color: #ffffff;
    min-height: 100vh;
}

.game-container-ppc {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.game-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    color: white;
    border: 1px solid rgba(255, 182, 65, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.game-header h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0 1.5rem 0;
}

.score-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.score-card {
    background: rgba(255, 182, 65, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 65, 0.3);
}

.score-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.vs {
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.game-board {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.choices-section {
    margin-bottom: 2rem;
}

.choices-section h3 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.choices {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.choice-btn {
    background: rgba(255, 182, 65, 0.1);
    border: 2px solid rgba(255, 182, 65, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.choice-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    background: rgba(255, 182, 65, 0.2);
    border-color: rgba(255, 182, 65, 0.5);
    box-shadow: 0 8px 25px rgba(255, 182, 65, 0.3);
}

.choice-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.choice-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.choice-icon {
    display: block;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.choice-name {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

.battle-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.battle-choices {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.battle-choice {
    padding: 1.5rem;
    border-radius: 10px;
    min-width: 150px;
}

.player-choice {
    background: rgba(72, 187, 120, 0.1);
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.computer-choice {
    background: rgba(245, 101, 101, 0.1);
    border: 1px solid rgba(245, 101, 101, 0.3);
}

.choice-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #b1b1b1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.choice-display .choice-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.choice-display .choice-name {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
}

.battle-vs {
    font-size: 2rem;
    color: #ffb641;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.result-section {
    margin-top: 2rem;
}

.result-message {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255, 182, 65, 0.1);
    border: 1px solid rgba(255, 182, 65, 0.3);
    color: #ffb641;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.play-again-btn, .reset-btn {
    background: linear-gradient(135deg, #ffb641, #ff9500);
    color: #1b1a1f;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 182, 65, 0.3);
    margin: 0.5rem;
}

.play-again-btn:hover, .reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 65, 0.5);
}

.rules-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.rules-section h3 {
    color: #ffb641;
    margin-bottom: 1rem;
}

.rules-section ul {
    list-style: none;
    padding: 0;
}

.rules-section li {
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #ffffff;
}

.game-controls {
    text-align: center;
    margin-top: 2rem;
}

.game-stats {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
}

.game-stats h3 {
    text-align: center;
    color: #ffb641;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 4px solid #ffb641;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-weight: 500;
    color: #b1b1b1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffb641;
}

/* Responsive */
@media (max-width: 768px) {
    .game-container-ppc {
        margin: 1rem auto;
        padding: 0 0.5rem;
    }
    
    .game-header {
        padding: 1.5rem;
    }
    
    .game-header h1 {
        font-size: 2rem;
    }
    
    .score-section {
        gap: 1rem;
        flex-direction: column;
    }
    
    .score-section .vs {
        order: 2;
    }
    
    .choices {
        gap: 1rem;
    }
    
    .choice-btn {
        min-width: 120px;
        padding: 1rem;
    }
    
    .choice-icon {
        font-size: 2.5rem;
    }
    
    .battle-choices {
        flex-direction: column;
        gap: 1rem;
    }
    
    .battle-vs {
        order: 2;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .choice-btn {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .choice-icon {
        font-size: 2rem;
    }
    
    .choice-name {
        font-size: 1rem;
    }
}
