/* =========================================
   assets/css/style.css
   全局样式表 - 负责游戏容器与基础排版
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', Arial, sans-serif;
    /*深蓝色背景渐变，契合科技/校园主题*/
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    color: #fff;
    min-height: 100vh;
    overflow: hidden; /* 防止全屏游戏时出现滚动条 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 游戏画布容器样式 */
#game-container {
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6); /* 增加阴影提升质感 */
    border-radius: 8px;
    margin: auto;
    background-color: #000; /* 画布加载前的背景色 */
}

/* 自定义滚动条 (用于可能出现的DOM元素) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #e94560; /* 强调色 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b8b;
}