* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    max-width: 1000px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.score-board {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 1.5rem;
}

.score-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.score-item .score {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Main Game Area */
main {
    padding: 2rem;
}

.game-area {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.player-section,
.computer-section {
    text-align: center;
}

.player-section h3,
.computer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #555;
}

.choice-display {
    width: 120px;
    height: 120px;
    border: 3px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: white;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.choice-display.active {
    border-color: #4facfe;
    box-shadow: 0 8px 24px rgba(79, 172, 254, 0.3);
    transform: scale(1.05);
}

.choice-display img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.choice-text {
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

.vs-section {
    text-align: center;
    padding: 0 1rem;
}

.vs-text {
    font-size: 2rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-display {
    padding: 1rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-display.win {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    transform: scale(1.05);
}

.result-display.lose {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    transform: scale(1.05);
}

.result-display.tie {
    background: linear-gradient(135deg, #feca57 0%, #ff9ff3 100%);
    color: white;
    transform: scale(1.05);
}

/* Controls */
.controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.choice-btn {
    background: white;
    border: 3px solid #ddd;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.choice-btn:hover {
    transform: translateY(-5px);
    border-color: #4facfe;
    box-shadow: 0 12px 24px rgba(79, 172, 254, 0.2);
}

.choice-btn:active {
    transform: translateY(-2px);
}

.choice-btn.selected {
    border-color: #4facfe;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
}

.choice-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.choice-btn:hover .choice-img {
    transform: scale(1.1);
}

.choice-btn span {
    font-weight: 600;
    font-size: 0.9rem;
}

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

.reset-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(255, 107, 107, 0.3);
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 107, 0.4);
}

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

/* Footer */
footer {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.bounce {
    animation: bounce 0.6s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        margin: 1rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .score-board {
        gap: 2rem;
    }
    
    .game-area {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .vs-section {
        order: -1;
    }
    
    .controls {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .choice-btn {
        min-width: 200px;
        flex-direction: row;
        padding: 1rem 2rem;
    }
    
    .choice-display {
        width: 100px;
        height: 100px;
    }
    
    .choice-display img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.5rem;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .score-board {
        flex-direction: column;
        gap: 1rem;
    }
    
    main {
        padding: 1.5rem;
    }
    
    .choice-btn {
        min-width: 180px;
    }
}