﻿/* Dice Styles */
        .dice-stage {
            min-height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1000px;
            padding: 2rem;
            flex-direction: column;
            gap: 2rem;
        }

        .dice {
            position: relative;
            width: 100px;
            height: 100px;
            transform-style: preserve-3d;
            transition: transform 1s ease-out;
        }

        .face {
            position: absolute;
            width: 100%;
            height: 100%;
            background: #fff;
            border: 1px solid #ccc;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: bold;
            color: #333;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
        }

        .face-1 {
            transform: rotateY(0deg) translateZ(50px);
        }

        .face-2 {
            transform: rotateY(90deg) translateZ(50px);
        }

        .face-3 {
            transform: rotateY(180deg) translateZ(50px);
        }

        .face-4 {
            transform: rotateY(-90deg) translateZ(50px);
        }

        .face-5 {
            transform: rotateX(90deg) translateZ(50px);
        }

        .face-6 {
            transform: rotateX(-90deg) translateZ(50px);
        }

        .dot {
            width: 18px;
            height: 18px;
            background: #333;
            border-radius: 50%;
            display: block;
        }

        .cube-controls {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .dice-btn {
            background: var(--button-bg);
            border: 1px solid var(--panel-border);
            color: var(--text-color);
            padding: 1rem 1.5rem;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
        }

        .dice-btn:hover {
            border-color: var(--accent-color);
            transform: translateY(-2px);
        }

        .result-display {
            font-size: 2rem;
            margin-top: 1rem;
            color: var(--accent-color);
            font-weight: 700;
        }
