/* ==========================
   全站顏色變數
========================== */
:root {
    --bg: #111;
    --bg2: #1a1a1a;
    --text: #eee;
    --accent: #ffb347;
    --accent2: #ffe29f;
    --border: #333;
    --card-bg: #1c1c1c;
    --shadow: rgba(0,0,0,0.4);

    font-family: "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}

/* Reset */
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

/* Header */
header {
    background: var(--bg2);
    padding: 25px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

header h1 {
    font-size: 32px;
    margin: 0 0 8px;
    font-weight: bold;
}

header p {
    opacity: 0.7;
    margin: 0;
}

/* 主內容 */
.container {
    width: min(100%, 1100px);
    margin: 40px auto;
    padding: 0 20px;
}

/* Section 標題 */
.section-title {
    font-size: 26px;
    font-weight: bold;
    margin: 30px 0 20px;
    border-left: 5px solid var(--accent);
    padding-left: 12px;
}

/* 影片播放器 — 自適應 */
video {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
}

/* 導覽列 */
nav {
    background: var(--bg2);
    display: flex;
    gap: 20px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
    font-weight: 500;
}

/* 滑過 & 目前所在頁面：變黃、變粗 */
nav a:hover,
nav a.active {
    color: var(--accent);
    font-weight: 700;
}
