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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #00bcd4, #ff4081);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* Main game container */
.game-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
}

/* Heading styling */
h1 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

/* Instructions text */
p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Buttons styling */
.options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.game-button {
    background-color: transparent;
    border: none;
    padding: 20px;
    width: 90px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s;
}

.game-button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
}

.game-button img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.game-button span {
    display: block;
    font-size: 16px;
}

/* Result section styling */
.result {
    margin-top: 20px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 3px solid #ffeb3b;
}

.result p {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

#outcome {
    font-size: 28px;
    font-weight: 600;
    color: #ffeb3b;
    padding: 15px;
    border-radius: 8px;
}

/* Specific outcome colors */
#outcome.win {
    background-color: rgba(72, 180, 75, 0.6);
    color: #48b44b;
    animation: explosion 0.8s ease-out;
}

#outcome.lose {
    background-color: rgba(244, 67, 54, 0.6);
    color: #f44336;
}

#outcome.tie {
    background-color: rgba(33, 150, 243, 0.6);
    color: #2196f3;
}

/* Explosion effect animation */
@keyframes explosion {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Confetti effect animation */
@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: translateY(-200px) rotate(360deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

.confetti .piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #ffeb3b;
    animation: confetti 2s infinite;
}

.confetti .piece:nth-child(even) {
    background-color: #2196f3;
    animation-delay: 1s;
}
