body {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(to bottom, #1a1a1a, #333);
    color: white;
    margin: 0;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    color: #ffd700; /* Dorado Real Madrid */
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

input {
    padding: 10px;
    width: 300px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    text-align: center;
}

.bola {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #000 70%, #222);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
}

.bola:hover {
    transform: scale(1.1);
}

.bola:active {
    transform: scale(1);
}

.cara-8 {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 50%;
    color: black;
    font-size: 48px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.cara-respuesta {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    position: absolute;
    transition: opacity 0.5s ease-in-out;
}

.triangulo {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-bottom: 60px solid blue;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.cara-respuesta p {
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    text-align: center;
}

#reiniciar {
    display: none;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #ffd700;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

#reiniciar:hover {
    background-color: #c7a600;
}


