body {
    font-family: Arial, sans-serif;
    background-color: rgb(136, 130, 130);
    text-align: center;
    padding: 20px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
} 
body {
    cursor: url('../../media/mis.svg'), auto; /* Default cursor */
}

a {
    cursor: url('../../media/mis.svg'), auto;
}

a:hover {
    cursor: url('../../media/mis-hover.svg'), pointer; /* Hover cursor */
}
.container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px#e0a800;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}
.container-top{
    position: relative;
    background-size: cover;
    background-position: center;
    background-image: url('../../media/slot-masina.png');
    height: 200px;
    border-radius: 90px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 10px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
   
}
.container-top::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Crni overlay sa 50% prozirnosti */
    border-radius: 90px;
}
.top-h2{
    position: relative;
    color: gray;
    font-weight: bold;
}
a {
    cursor: url('mis.svg'), auto;
}

a:hover {
    cursor: url('mis-hover.svg'), pointer;
}
.container-h1{
    position: relative;
    color: white;
    font-weight: bolder;
    margin-top: 140px;
    text-shadow:0px 5px 8px #feca57;
}
.container-h1:hover{
    color:#feca57;
    text-shadow:0px 5px 8px white;
}
.slots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.slot {
    width: 60px;
    height: 60px;
    border: 2px solid red;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    background-color:red;
    overflow: hidden;
    position: relative;
}
.slot span {
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
}
@keyframes spin {
    0% { transform: translateY(0); }
    100% { transform: translateY(-1000%); }
}
button {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    width: 100%;
    max-width: 200px;
    font-size: 16px;
}
button:hover {
    background-color: #218838;
}
button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.result {
    margin-top: 20px;
    font-size: 1.2em;
    color: #333;
}
.coins {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
}
.bet-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.bet-buttons button {
    padding: 10px;
    background-color: #ffc107;
    color: #333;
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
}
.bet-buttons button:hover {
    background-color: #e0a800;
}
.bet-buttons button:disabled {
    background-color: #ffe082;
    color: #999;
}
.bonus-modal, .confirm-modal, .namig-modal, .gif-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    z-index: 1000;
    text-align: center;
    width: 90%;
    max-width: 300px;
}
.confirm-modal {
    /* background: url('brojanje_para.gif') no-repeat center center; */
    background-size: cover;
    color: #1f1616;
}
.confirm-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
}
.confirm-modal p {
    margin-bottom: 20px;
    font-size: 16px;
}
.confirm-modal button {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.confirm-modal button.confirm {
    background-color: #01a727;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}
.confirm-modal button.confirm:hover {
    opacity: 0.4;
}
.confirm-modal button.cancel {
    background-color: #e01429;
    color: #fff;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}
.confirm-modal button.cancel:hover {
    opacity: 0.4;
}
.bonus-modal h2 {
    margin-bottom: 10px;
    font-size: 20px;
}
.bonus-modal p {
    margin-bottom: 20px;
    font-size: 16px;
}
.bonus-modal button {
    margin-top: 10px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 1em;
}
.bonus-modal button:hover {
    text-decoration: underline;
}
.bonus-progress {
    width: 100%;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 20px;
}
.bonus-progress-bar {
    width: 0;
    height: 100%;
    background-color: #28a745;
    animation: progress 20s linear forwards;
}
@keyframes progress {
    0% { width: 0; }
    100% { width: 100%; }
}
#bonusButton {
    background-color: #ff5722;
    margin-top: 20px;
}
#bonusButton:hover {
    background-color: #e64a19;
}
#cancelAutoSpinButton {
    background: none;
    border: none;
    color: red;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
}
#cancelAutoSpinButton:hover {
    text-decoration: underline;
}
@keyframes winAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.win-animation {
    animation: winAnimation 0.5s ease-in-out;
}
.current-bet {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #333;
    padding: 10px;
    border: 2px solid #28a745;
    border-radius: 10px;
    background-color: #f0f8ff;
    display: inline-block;
}
.shop-container {
    margin-top: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px#e0a800;
    width: 100%;
    max-width: 400px;
}
.shop-item {
    display: inline-block;
    margin: 10px;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: transform 0.2s;
    width: 100%;
    max-width: 150px;
}
.shop-item:hover {
    transform: scale(1.05);
}
.shop-item.gold {
    background-color: #ffd700;
    color: #000;
}
.shop-item.blue {
    background-color: #007bff;
    color: #fff;
}
.shop-item.green {
    background-color: #28a745;
    color: #fff;
}
.shop-item.red {
    background-color: #dc3545;
    color: #fff;
}
.shop-item.purple {
    background-color:rgb(126, 28, 168);
    color: #fff;
}
.shop-item p {
    margin: 5px 0;
    font-size: 14px;
}
.locked-gifs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}
.locked-gif {
    position: relative;
    width: 150px; /* Veća veličina za desktop */
    height: 150px;
    margin: 10px;
    cursor: pointer;
}
.locked-gif img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: filter 0.3s ease;
}
.locked-gif img.blurred {
    filter: blur(5px); /* Zamućenje za zaključane GIF-ove */
}
.locked-gif img.unlocked {
    filter: none; /* Bez zamućenja za otključane GIF-ove */
}
.locked-gif .buy-prompt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.locked-gif:hover .buy-prompt {
    opacity: 1; /* Prikaz upitnika na hover */
}
.locked-gif:hover img {
    filter: blur(2px); /* Smanji zamućenje na hover */
}
.qr-container {
background: #fff;
padding: 15px;
border-radius: 10px;
box-shadow: 0 0 10px rgb(0, 0, 0);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 20px auto;
max-width: 200px;
}
#qrcode {
    width: 150px;
    height: 150px;
}@media (max-width: 600px) {
    #qrcode {
        width: 120px;
        height: 120px;
    }
    .qr-container {
        max-width: 180px;
    }
}
    /* Media queries za mobilne uređaje */
    @media (max-width: 600px) {
        .locked-gifs-container {
            flex-direction: column;
            align-items: center;
        }
        .locked-gif {
            width: 100px; /* Manja veličina za mobilne uređaje */
            height: 100px;
        }
        .locked-gif .buy-prompt {
            font-size: 12px;
        }
    }
    .bet-adjustment-buttons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 10px;
    }
    
    .bet-adjustment-buttons button {
        flex: 1;
        padding: 10px;
        background-color: #007bff;
        color: #fff;
        cursor: pointer;
        max-width: 180px;
        width: 100%;
        border-radius: 5px;
    }
    
    .bet-adjustment-buttons button:hover {
        opacity: 0.8;
    }
    @keyframes fall {
        0% { transform: translateY(-100px) scale(1); opacity: 1; }
        100% { transform: translateY(500px) scale(0.5); opacity: 0; }
    }
/* Dodajte ove stilove u vaš CSS */
/* Prilagođeni kursor za sve gumbove, shop iteme i gumbove za zbrajanje/oduzimanje uloga */
button, .shop-item, #addModeButton, #subtractModeButton {
    cursor: url('../../media/mis-hover.svg'), pointer; /* Prilagođeni kursor */
}

/* Rezervni kursor za onemogućene gumbe */
button:disabled {
    cursor: not-allowed;
}