/* -------- Reset -------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(145deg, #ffd194, #ffb347);
    color: #333;
    text-align: center;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: #b71c1c;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* -------- Monedero -------- */
#monedero {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    background: #fff8e1;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-weight: bold;
    color: #e65100;
}

/* -------- Top Bar / Paytable -------- */
.top-bar {
    background: #ffffff;
    padding: 1.2rem;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    max-width: 800px;
    width: 100%;
}

.paytable {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.paytable span {
    background: #fff3e0;
    color: #bf360c;
    padding: 8px 14px;
    border-radius: 12px;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
    font-weight: 500;
}

/* -------- Botones -------- */
button {
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    margin: 0.5rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.recargar-button {
    background-color: #43a047;
    color: white;
}

.recargar-button:hover {
    background-color: #2e7d32;
}

.slot-button {
    background-color: #c62828;
    color: white;
    font-size: 1.5rem;
    padding: 16px 36px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.slot-button:hover {
    background-color: #b71c1c;
}

/* -------- Slot Resultado -------- */
.slot-container {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    margin-top: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    animation: aparecer 0.4s ease-in-out;
    max-width: 90%;
    display: inline-block; /* esto centra si el body está centrado */
}
#resultado {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slot-row {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.slot-icon {
    font-size: 3.2rem;
    margin: 0 14px;
    opacity: 0;
    transform: translateY(-30px);
    animation: caer 0.5s ease forwards;
}

@keyframes caer {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes aparecer {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* -------- Mensajes -------- */
#mensaje {
    margin-top: 1.2rem;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 12px;
    min-width: 220px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.win-message {
    background-color: #dff0d8;
    color: #2e7d32;
    border-left: 6px solid #81c784;
}

.lose-message {
    background-color: #f8d7da;
    color: #c62828;
    border-left: 6px solid #ef5350;
}

/* -------- Responsive -------- */
@media screen and (max-width: 600px) {
    .slot-icon {
        font-size: 2.2rem;
        margin: 0 8px;
    }

    .slot-button {
        font-size: 1.3rem;
        padding: 12px 24px;
    }

    .paytable {
        font-size: 0.95rem;
    }

    #monedero {
        font-size: 1.2rem;
    }
}
.mensaje-inicial {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}
.casino-header {
    width: 100%;
    background: #1b1b1b;
    padding: 1rem 1.5rem;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 100;
}

.casino-logo {
    color: #facc15;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.2s ease;
}

.casino-logo:hover {
    color: #fff176;
}
