
body {
    margin: 0;
    padding: 0;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

#slot-machine-cabinet {
    position: relative;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; 
}


.cabinet-images-container {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none; 
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}


.cabinet-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}


.full-ui-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100vh;
    object-fit: contain;
}


#reel-container-wrapper {
    position: absolute;
    
    top: 14.5%; 
    left: 7%;
    width: 86%;
    
    aspect-ratio: 1 / 1;
    
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#game-area-container {
    position: relative; 
    width: 100%; 
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible; 
    
}


#game-boundary {
    position: absolute;
    top: 5%; 
    left: 5%; 
    width: 90%; 
    height: 90%; 
    border: 3px solid rgba(255, 0, 0, 0); 
    pointer-events: none; 
    z-index: 3;
    box-sizing: border-box;
    border-radius: 8px; 
}


#slot-reel-container {
    position: relative; 
    width: 90% !important; 
    height: 90% !important; 
    z-index: 2;
    margin: auto; 
}


.reel-grid {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr; 
    grid-template-rows: 0.8fr 0.8fr 0.8fr 0.8fr 0.8fr 0.8fr 0.8fr; 
    gap: 2px;
    background-color: #2d1155;
    border: 1px solid #2d1155;
    box-sizing: border-box;
    border-radius: 3px;
    overflow: hidden;
    padding: 1px;
    margin-bottom: 0; 
}


.grid-cell {
    background-color: #8c7ab0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    border: 0.5px solid #6e5c8c;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 6px;
    overflow: visible;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    
}


.symbol-image {
    width: 87%;
    height: 87%;
    object-fit: contain; 
    display: block;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.7));
    transform: scale(0.88);
}


.four-bg {
    background-color: #00cc33; 
    border: 1px solid #00aa22;
}

.dog-bg {
    background-color: #ffcc00; 
    border: 1px solid #e6b800;
}

.btc-bg {
    background-color: #ff6600; 
    border: 1px solid #cc5200;
}

.bnb-bg {
    background-color: #f3ba2f; 
    border: 1px solid #d9a520;
}

.okx-bg {
    background-color: #c0c0c0; 
    border: 1px solid #a0a0a0;
}

.btr-bg {
    background-color: #00aaff; 
    border: 1px solid #0088cc;
}

.sol-bg {
    background-color: #14f195; 
    border: 1px solid #10d17e;
}

.fe-bg {
    background-color: #6633cc; 
    border: 1px solid #552299;
}

.lucky-bg {
    background-color: #ff3366; 
    border: 1px solid #cc2952;
}


.purple-cell {
    background-color: #2d1155;
    border: 1px solid #3a1a6b;
    box-sizing: border-box;
    border-radius: 4px; 
}


.center-container {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #ffcc00;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
    transform: scale(0.98); 
    aspect-ratio: 1 / 1; 
}

#center-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
}


#control-panel {
    position: relative;
    width: 100%;
    height: 10%;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}


@font-face {
    font-family: 'Digital';
    src: url('../assets/fonts/digital-7.ttf');
}


@media (max-width: 768px) {
    
    body {
        background-color: #000;
        padding: 0;
        margin: 0;
    }
    
    #slot-machine-cabinet {
        width: 100%;
        height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .cabinet-images-container {
        width: 100%;
        height: auto;
        max-height: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .cabinet-image,
    .full-ui-image {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }
    
    .grid-cell {
        font-size: 0.45rem;
        border-radius: 4px;
        border-width: 1px;
    }
    
    .symbol-image {
        width: 93%; 
        height: 93%;
        transform: scale(0.9); 
    }
    
    .purple-cell {
        border-radius: 4px;
    }
    
    .center-container {
        border-radius: 8px;
        border-width: 2px;
    }
    
    .reel-grid {
        gap: 2px; 
        padding: 2px;
    }
    
    
    #reel-container-wrapper {
        top: 14.5%; 
        left: 7%;
        width: 86%;
        aspect-ratio: 1 / 1;
    }
    
    #slot-reel-container {
        width: 90%;
        height: 90%;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .cabinet-images-container {
        height: 100vh;
        width: 100%;
    }
    
    .cabinet-image,
    .full-ui-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    
    #reel-container-wrapper {
        top: 14.5%; 
        left: 7%;
        width: 86%;
        aspect-ratio: 1 / 1;
    }
}


@media (min-width: 769px) and (max-width: 1024px) {
    .cabinet-image,
    .full-ui-image {
        height: 90vh;
        width: auto;
        max-width: 100%;
    }
}


@media (min-width: 1025px) {
    
    .cabinet-image,
    .full-ui-image {
        max-height: 98vh;
        width: auto;
    }
}

/* 
/* 
.corner-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: transparent;
    z-index: 10;
}

.corner-marker.top-left {
    top: -3px;
    left: -3px;
    border-top: 6px solid #ff0000;
    border-left: 6px solid #ff0000;
}

.corner-marker.top-right {
    top: -3px;
    right: -3px;
    border-top: 6px solid #ff0000;
    border-right: 6px solid #ff0000;
}

.corner-marker.bottom-left {
    bottom: -3px;
    left: -3px;
    border-bottom: 6px solid #ff0000;
    border-left: 6px solid #ff0000;
}

.corner-marker.bottom-right {
    bottom: -3px;
    right: -3px;
    border-bottom: 6px solid #ff0000;
    border-right: 6px solid #ff0000;
}
*/ 


.bet-number-area {
    position: absolute;
    bottom: -6%; 
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 3;
    padding: 0;
}


.bet-number {
    width: 11%;
    height: 40px;
    background-color: #121218;
    color: #fff;
    border-radius: 0; 
    display: flex;
    align-items: flex-start; 
    justify-content: center; 
    padding-top: 5px; 
    font-family: 'Digital', Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
    border: 1px solid #252538;
    position: relative;
}



.bet-number:nth-child(1) {
    transform: translateX(-15px);
}


.bet-number:nth-child(2) {
    transform: translateX(-10px);
}


.bet-number:nth-child(3) {
    transform: translateX(-5px);
}


.bet-number:nth-child(4) {
    transform: translateX(-2px);
}


.bet-number:nth-child(5) {
    transform: translateX(0);
}


.bet-number:nth-child(6) {
    transform: translateX(2px);
}


.bet-number:nth-child(7) {
    transform: translateX(5px);
}


.bet-number:nth-child(8) {
    transform: translateX(15px);
}

