body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0a0a0a;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, sans-serif;
    user-select: none;
    -webkit-user-select: none;
}

.scene {
    width: 200px;
    height: 200px;
    perspective: 1200px;
    margin-bottom: 60px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 2s cubic-bezier(0.15, 0, 0.15, 1);
    transform: rotateX(-20deg) rotateY(30deg);
}

.face {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid #00f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    box-shadow: inset 0 0 50px rgba(0, 242, 255, 0.3), 0 0 15px rgba(0, 242, 255, 0.2);
    border-radius: 10px;
    backface-visibility: visible;
    text-shadow: 0 0 20px #00f2ff;
    touch-action: none;
}

/* Позиции граней */
.front  { transform: rotateY(0deg) translateZ(100px); }
.back   { transform: rotateY(180deg) translateZ(100px); }
.right  { transform: rotateY(90deg) translateZ(100px); }
.left   { transform: rotateY(-90deg) translateZ(100px); }
.top    { transform: rotateX(90deg) translateZ(100px); }
.bottom { transform: rotateX(-90deg) translateZ(100px); }

button {
    padding: 18px 45px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    background: transparent;
    color: #00f2ff;
    border: 2px solid #00f2ff;
    border-radius: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
}

button:hover {
    background: #00f2ff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.8);
}

button:focus {
    background: transparent;
    color: #00f2ff;
}

button:active {
    transform: scale(0.95);
}

button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
