.gobo-sim-wrapper {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    max-width: 900px;
    margin: 20px auto;
    color: #fff;
    font-family: sans-serif;
}

.gobo-main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

#gobo-view-stage {
    width: 100%;
    max-width: 500px;
    height: 420px;
    background: #000;
    border-radius: 8px;
    perspective: 1000px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gobo-wall-canvas {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-mode {
    transform: rotateX(70deg) translateY(-20px);
}

.gobo-projection-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    background-color: black;
    clip-path: circle(50% at center);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

#gobo-render-target {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen;
    pointer-events: none;
    transform: scale(1.2);
}

.gobo-control-panel {
    flex: 1;
    min-width: 280px;
    background: #262626;
    padding: 25px;
    border-radius: 10px;
}

.gobo-field {
    margin-bottom: 20px;
}

.gobo-field label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #ddd;
    font-weight: bold;
}

.gobo-field input[type="range"] {
    width: 100%;
    cursor: pointer;
}

#gobo-gacha-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px #d35400;
}

.mode-btn {
    flex: 1;
    padding: 8px;
    background: #444;
    border: 1px solid #666;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.2s;
}

.mode-btn.active {
    background: #0073aa;
    border-color: #0073aa;
}

@keyframes gobo-spin {
    from {
        transform: scale(1.2) rotate(0deg);
    }

    to {
        transform: scale(1.2) rotate(360deg);
    }
}

.spinning {
    animation: gobo-spin 10s linear infinite;
}