/* ========================================
   布局样式 - 三栏布局、侧边栏、中心舞台
   ======================================== */

/* --- 全局三栏布局 --- */
.main-grid {
    display: grid;
    grid-template-columns: 320px 1fr 340px;
    height: 100vh;
    width: 100vw;
    max-width: 1920px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
    overflow: hidden;
    position: relative;
    z-index: 10;
    transform-origin: center center;
}

.side-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.placeholder-box {
    flex: 1;
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    opacity: 0.3;
}

/* --- 中间：核心舞台 --- */
.center-stage {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 8px;
    min-height: 0;
    padding: 10px 0;
    overflow: hidden;
}

/* 战斗区域 */
.battle-arena {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 8px;
    position: relative;
    perspective: 800px;
    min-height: 0;
}

/* 左侧区域布局 */
.left-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
}

.left-section.npc-section {
    margin-top: 50px;
    margin-left: 50px;
}

.left-section.player-section {
    margin-left: 50px;
}

.section-divider {
    display: none;
}

/* 预留空位 */
.placeholder-slot {
    flex: 1;
    min-height: 60px;
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    opacity: 0.3;
}


/* 关卡信息显示 */
.stage-info {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(20, 24, 30, 0.95) 0%, rgba(30, 35, 45, 0.98) 100%);
    border: 2px solid rgba(0, 242, 255, 0.4);
    border-radius: 6px;
    z-index: 1000;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    backdrop-filter: blur(10px);
}
