:root {
    --primary-color: #4a90e2;
    --secondary-color: #f5f7fa;
    --text-color: #333;
    --accent-color: #ff6b6b;
    --win-color: #4caf50;
    --loss-color: #f44336;
    --draw-color: #ff9800;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 90%;
    max-width: 500px;
}

.mode-selector {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.mode-selector select {
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
}

h1 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.score-board {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.score {
    display: flex;
    flex-direction: column;
}

.score .label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.score span:not(.label) {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.game-area {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.choice-btn {
    background: var(--white);
    border: 2px solid #eee;
    border-radius: 15px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100px;
}

.choice-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

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

.choice-btn .emoji {
    font-size: 2rem;
}

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

.result-container {
    padding: 1.5rem;
    border-radius: 15px;
    background-color: #f9f9f9;
}

#result-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    min-height: 1.8rem;
}

.move-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 2rem;
}

.vs {
    font-size: 1rem;
    color: #aaa;
    font-weight: bold;
}

#reset-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    color: #777;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
}

#reset-btn:hover {
    background-color: #eee;
    color: #333;
}

/* Result Colors */
.win { color: var(--win-color); }
.loss { color: var(--loss-color); }
.draw { color: var(--draw-color); }
