:root {
    --primary-color: rgba(113, 54, 211, 1);
    --secondary-color: #f5a623;
    --success-color: #2ecc71;
    --danger-color: #e74c3c;
    --bg-color: transparent;
    --text-color: #fff;
    --card-bg: rgba(35, 36, 52, 0.6);
    --shadow: 0 10px 40px rgba(0,0,0,0.4);
    --radius: 12px;
}

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.game-wrapper {
    padding-top: 100px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    width: min(90%, 500px);
}

h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scoreboard {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.score-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.score {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(113, 54, 211, 0.4);
}

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

.choice-display {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.choice-display.animate {
    animation: reveal 0.5s ease-out;
}

@keyframes reveal {
    0% { transform: scale(0.5) rotate(-15deg); opacity: 0; }
    70% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0); opacity: 1; }
}

.vs {
    font-weight: bold;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.3);
}

.result-message {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    height: 2rem;
    color: #fff;
}

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

.choice-btn {
    padding: 1rem;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: white;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    flex: 1;
}

.choice-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

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

.reset-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    color: rgba(255,255,255,0.6);
    border-radius: var(--radius);
    transition: all 0.2s;
}

.reset-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger-color);
    border-color: var(--danger-color);
}
