/* --- ESTILOS GENERALES --- */
body {
    background-color: #1a1a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* --- LA MÁQUINA --- */
.maquina {
    background: linear-gradient(145deg, #d35400, #e67e22);
    padding: 30px;
    border-radius: 20px;
    border: 8px solid #f1c40f;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    text-align: center;
    color: white;
    width: 380px; /* Ancho ideal para las 3 columnas de abajo */
}

/* --- CARTERA DE DINERO --- */
.cartera {
    background: #27ae60;
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 100px; /* <--- AÑADE ESTO: Ajusta el número si necesitas que baje más */
    margin-bottom: 20px;
    border: 3px solid #2ecc71;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- CONTENEDOR DE RODILLOS --- */
.slot-container {
    display: flex;
    gap: 12px;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 4px inset #111;
    justify-content: center;
}

/* --- RODILLOS (EL "HUECO") --- */
.reel {
    width: 95px;
    height: 120px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden; /* Clave para el efecto "dentro" */
    position: relative;
    box-shadow: inset 0px 10px 15px rgba(0,0,0,0.3), 
                inset 0px -10px 15px rgba(0,0,0,0.3);
}

/* --- LA TIRA DE EMOJIS (ANIMACIÓN) --- */
.reel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    width: 100%;
    /* Desaceleración realista */
    transition: transform 3s cubic-bezier(0.15, 0, 0.15, 1);
}

.symbol {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.8rem;
}

/* --- BOTÓN DE ACCIÓN --- */
button {
    background-color: #c0392b;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px #962d22;
    transition: transform 0.1s, box-shadow 0.1s;
    margin-bottom: 5px;
}

button:active {
    box-shadow: 0 2px #962d22;
    transform: translateY(3px);
}

button:disabled {
    background-color: #7f8c8d;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

/* --- MENSAJES DE ESTADO --- */
#mensaje {
    margin: 15px 0;
    font-size: 1.2rem;
    font-weight: bold;
    min-height: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* --- TABLA DE PREMIOS (3 COLUMNAS) --- */
hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

.info-premios {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #ecf0f1;
}

.info-premios p {
    margin: 0 0 12px 0;
    text-align: center;
    color: #f1c40f;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-premios ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-premios li {
    display: grid;
    /* Estructura: Emojis | Monto | Nombre del premio */
    grid-template-columns: 1.2fr 1fr 1.5fr; 
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-premios li:last-child {
    border-bottom: none;
}

/* Alineación de columnas */
.info-premios li span:nth-child(1) {
    text-align: left; /* Emojis a la izquierda */
    font-size: 1.1rem;
}

.info-premios li span:nth-child(2) {
    text-align: center; /* Monto en el centro */
    color: #2ecc71; /* Verde brillante */
    font-weight: bold;
}

.info-premios li span:nth-child(3) {
    text-align: right; /* Nombre a la derecha */
    font-variant: small-caps;
    opacity: 0.9;
}
.firma-autor {
    margin-top: 30px; 
    color: rgba(255, 255, 255, 1.0); 
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.6; 
    /* font-style: italic;  <-- BORRA ESTA LÍNEA O DÉJALA ASÍ */
    width: 100%;
    max-width: 400px;
    font-weight: normal; /* Esto asegura que el texto se vea derecho */

}

