@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Gloria+Hallelujah&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Josefin Sans", serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    perspective: 1000px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 2.5rem;
    background-color: rgba(30, 30, 46, 0.8);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.hands {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
}

#user-hand,
#computer-hand {
    font-size: 5rem;
    transform: rotate(90deg);
    color: #4a90e2;
    transition: transform 0.3s ease;
}

#computer-hand {
    transform: rotate(-90deg);
}

#resultado {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #4a90e2;
    text-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.logo {
    font-family: "Gloria Hallelujah", serif;
    color: #4a90e2;
    opacity: 0.3;
}

.options {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.option {
    text-align: center;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.option:hover {
    opacity: 1;
    transform: scale(1.1) translateZ(50px);
}

.option i {
    font-size: 3rem;
    color: #4a90e2;
}

.option p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #e0e0e0;
}

@keyframes userShakes {
    0%, 100% { transform: rotate(90deg); }
    25% { transform: rotate(100deg); }
    75% { transform: rotate(80deg); }
}

@keyframes computerShakes {
    0%, 100% { transform: rotate(-90deg); }
    25% { transform: rotate(-100deg); }
    75% { transform: rotate(-80deg); }
}

.hand-shake {
    animation: userShakes 0.5s ease-in-out;
}

.computer-hand-shake {
    animation: computerShakes 0.5s ease-in-out;
}

.options .option {
    margin: 0 1rem;
}

#pontuacao {
    font-size: 1.2rem;
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    color: #4a90e2;
    text-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    #resultado {
        font-size: 1.6rem;
    }

    #user-hand, #computer-hand {
        font-size: 4rem;
    }

    .option i {
        font-size: 2.5rem;
    }

    .option p {
        font-size: 1rem;
    }

    #pontuacao {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    #resultado {
        font-size: 1.4rem;
    }

    #user-hand, #computer-hand {
        font-size: 3rem;
    }

    .hands {
        flex-direction: column;
        align-items: center;
    }

    .options {
        flex-direction: column;
    }

    .option {
        margin: 1rem 0;
    }

    .option i {
        font-size: 2rem;
    }

    .option p {
        font-size: 0.9rem;
    }

    #pontuacao {
        font-size: 0.9rem;
    }
}