* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    user-select: none;
}

body {
    background-color: #03060f;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    font-family: -apple-system, system-ui, sans-serif;
    overflow: hidden;
}

/* 完美克隆截图中的深色手机UI外壳容器 */
.app-wrapper {
    width: 100vw;
    max-width: 430px;
    height: 100vh;
    max-height: 880px;
    background: #090e1a;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 35px 0;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8);
}

/* 核心圆盘舞台容器 */
.arena-deck {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#webglContainer {
    width: 100%;
    height: 100%;
}

/* 底部操作面板 */
.dashboard-controls {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    z-index: 10;
}

/* 摇晃红色原子按钮 */
.trigger-core {
    width: 82px;
    height: 82px;
    border: none;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 30%, #ff5252 0%, #c62828 80%, #8e1c1c 100%);
    position: relative;
    cursor: pointer;
    box-shadow: 
        0 8px 0 #7f1414,
        0 12px 25px rgba(198, 40, 40, 0.5),
        inset 0 3px 6px rgba(255,255,255,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.05s ease, box-shadow 0.05s ease;
}

.trigger-core:active {
    transform: translateY(6px);
    box-shadow: 
        0 2px 0 #7f1414,
        0 4px 10px rgba(198, 40, 40, 0.6),
        inset 0 2px 4px rgba(0,0,0,0.4);
}

.trigger-core .text-label {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.pulse-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 82, 82, 0.3);
    z-index: 1;
    opacity: 0;
}

.trigger-core:hover .pulse-glow {
    animation: corePulse 1.6s infinite ease-in-out;
}

@keyframes corePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* 左右两侧下凹凹陷质感小按钮 */
.nav-trigger {
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #101726 0%, #162035 100%);
    color: #7e8c9f;
    cursor: pointer;
    box-shadow: 
        inset 0 2px 5px rgba(0,0,0,0.6),
        0 3px 6px rgba(255,255,255,0.05),
        0 1px 1px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.nav-trigger:active {
    background: linear-gradient(135deg, #0b101c 0%, #101726 100%);
    color: #b0c2de;
}
