.dice-container {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
    perspective: 1200px;
    height: 250px;
}

.dice {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateX(0deg) rotateY(0deg);
    transition: transform 0.1s ease-out;
}

.dice-face {
    position: absolute;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: bold;
    color: #ffd700;
    border: 3px solid #ffd700;
    background: rgba(30, 40, 60, 0.9);
    backface-visibility: hidden;
}

.dice-face.front {
    transform: translateZ(75px);
}

.dice-face.back {
    transform: rotateY(180deg) translateZ(75px);
}

.dice-face.right {
    transform: rotateY(90deg) translateZ(75px);
}

.dice-face.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.dice-face.top {
    transform: rotateX(90deg) translateZ(75px);
}

.dice-face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

.betting-area {
    background: rgba(255, 215, 0, 0.05);
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

@media (max-width: 768px) {
    .dice-container {
        gap: 30px;
    }

    .dice {
        width: 100px;
        height: 100px;
    }

    .dice-face {
        width: 100px;
        height: 100px;
        font-size: 40px;
        border-width: 2px;
    }

    .dice-face.front,
    .dice-face.back,
    .dice-face.right,
    .dice-face.left,
    .dice-face.top,
    .dice-face.bottom {
        transform-origin: 50px 50px;
    }
}
