/* Normalización */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background: url('20250709_1311_image.webp') repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    color: #fff;
}

/* Contenedor principal */
.slot-container {
    max-width: 800px;
    margin: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
}

h1 {
    font-family: 'Bungee', sans-serif;
    font-size: 2.5rem;
    color: #d69e2e;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(178, 50, 50, 0.3);
}

/* Cuadrícula del slot */
.slot-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: #b83232;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.reel {
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 300px;
    overflow: hidden;
}

.symbol {
    width: 100px;
    height: 100px;
    background-size: cover;
    border-radius: 10px;
    transition: transform 0.5s ease;
    box-shadow: 0 2px 8px rgba(58,12,163,0.15), 0 0 0 2px #fff2;
    border: 2px solid #fff2;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fff1;
}

.symbol.guitar { background-image: url('i1.png'); }
.symbol.sombrero { background-image: url('i2.png'); }
.symbol.calavera { background-image: url('i3.png'); }
.symbol.tequila { background-image: url('i4.png'); }
.symbol.mariachi { background-image: url('i5.png'); }

.spinning .symbol {
    animation: spin 0.5s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-300px); }
}

.game-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.game-controls p {
    font-size: 1.2rem;
    font-weight: 700;
}

.cta {
    background: #d69e2e;
    color: #1a202c;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    font-family: 'Bungee', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px #b8323255;
}

.cta:hover {
    transform: scale(1.05);
    background: #e2b04a;
    color: #b83232;
}

.cta:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .slot-container {
        margin: 1rem;
        padding: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    .symbol {
        width: 60px;
        height: 60px;
    }
    .reel {
        height: 180px;
    }
}

.note {
    font-size: 1rem;
    color: #ffe066;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px #b83232;
}
#add-credits {
    background: #3a0ca3;
    color: #fff;
    border: 2px solid #f48c06;
    font-weight: bold;
}
#add-credits:hover {
    background: #f48c06;
    color: #3a0ca3;
}

body::before, body::after {
    content: '';
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.15;
}
body::before {
    width: 400px; height: 400px;
    left: -100px; top: -100px;
    background: radial-gradient(circle, #f48c06 60%, transparent 100%);
}
body::after {
    width: 300px; height: 300px;
    right: -80px; bottom: -80px;
    background: radial-gradient(circle, #3a0ca3 60%, transparent 100%);
}

.symbol.win-glow {
    z-index: 2;
}

.big-win {
    animation: bigwinpop 0.5s;
}
@keyframes bigwinpop {
    0% { transform: scale(1.2); }
    100% { transform: scale(1); }
} 