/* === 全域設定 === */
body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at 20% 20%, #2a2a2a, #1a1a1a, #0e0e0e);
    color: #e4e4e4;
    font-family: "Noto Serif TC", "Hiragino Mincho ProN", serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-attachment: fixed;
}

/* === 頂部橫幅 === */
.banner {
    width: 100%;
    height: 160px;
    background: linear-gradient(180deg, #333 0%, #1f1f1f 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.5);
    background-image: url("grain-texture.png"); /* 建議放一張細微顆粒或紙質紋理 */
    background-size: cover;
    background-blend-mode: multiply;
}
.banner h1 {
    font-weight: 500;
    letter-spacing: 3px;
    color: #eaeaea;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* === 框架 === */
.container {
    display: flex;
    flex: 1;
}

/* === 左側選單 === */
.sidebar {
    width: 230px;
    background: linear-gradient(180deg, #2b2b2b 0%, #1a1a1a 100%);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.6), 2px 0 8px rgba(0,0,0,0.4);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    margin-bottom: 10px;
}

.sidebar a {
    display: block;
    text-decoration: none;
    color: #cfcfcf;
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: inset 0 1px rgba(255,255,255,0.08),
                0 1px 2px rgba(0,0,0,0.5);
    transition: all 0.25s ease;
}
.sidebar a:hover {
    color: #fff;
    background: linear-gradient(180deg, #444 0%, #2c2c2c 100%);
    box-shadow: inset 0 1px rgba(255,255,255,0.15),
                0 0 6px rgba(255,255,255,0.05);
}

/* === 在線狀態 === */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 5px;
}
.online {
    background: radial-gradient(circle at center, #69ff9c, #1d3f2a);
    box-shadow: 0 0 6px #69ff9c;
}

/* === 右側內容區 === */
.content {
    flex: 1;
    padding: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    background: radial-gradient(circle at bottom right, #262626, #1a1a1a);
    background-blend-mode: soft-light;
}

/* === 告示欄 === */
.notice-board {
    position: absolute;
    top: 185px;         /* 距離頁面上方的距離，可自行調整 */
    right: 25px;       /* 距離頁面右邊的距離，可自行調整 */
    width: 150px;      /* 告示欄寬度，可依實際內容修改 */
    background-color: rgba(255, 255, 255, 0.85); /* 背景半透明，視覺更柔和 */
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000; /* 確保在其他元素上方 */
}
.notice-board {
    width: 400px;
    min-height: 200px;
    background: linear-gradient(180deg, #2e2e2e, #1a1a1a);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 4px 20px rgba(0,0,0,0.6),
                inset 0 1px rgba(255,255,255,0.07);
    padding: 20px 24px;
    backdrop-filter: blur(3px);
}
.notice-board h3 {
    font-weight: 600;
    font-size: 1.1em;
    color: #f0f0f0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 10px;
    padding-bottom: 6px;
}
.notice-board p {
    font-size: 0.95em;
    color: #cdcdcd;
    line-height: 1.6;
}