/* style.css - 這是網站的皮膚 */
:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --accent: #00e676; /* 螢光綠 */
    --text-main: #e0e0e0;
    --text-sub: #a0a0a0;
    --font-stack: 'Consolas', 'Monaco', 'Courier New', monospace;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 700px;
    width: 100%;
    position: relative;
}

/* 右上角切換按鈕 */
.switch-btn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.8rem;
    color: var(--text-sub);
    text-decoration: none;
    border: 1px solid #333;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}
.switch-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.status-badge {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 10px;
}
.status-badge::before { content: "●"; margin-right: 5px; color: #00ff00; }

.patch-card {
    background-color: var(--card-bg);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.patch-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.patch-card.latest { border-left: 5px solid var(--accent); }

.patch-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; border-bottom: 1px solid #333; padding-bottom: 10px;
}

.version-tag { font-size: 1.5rem; font-weight: bold; color: var(--accent); }
.date { color: var(--text-sub); font-size: 0.9rem; }

.changelog { list-style: none; padding: 0; margin-bottom: 20px; }
.changelog li { margin-bottom: 8px; padding-left: 20px; position: relative; }
.changelog li::before { content: ">"; position: absolute; left: 0; color: var(--accent); }

.flavor-text { color: #666; font-style: italic; font-size: 0.8rem; margin-left: 10px; }

.btn-download {
    display: block; width: 100%; background-color: var(--accent); color: #000;
    text-align: center; padding: 12px 0; text-decoration: none; font-weight: bold;
    border-radius: 4px; text-transform: uppercase; transition: background 0.3s;
}
.btn-download:hover { background-color: #00c853; box-shadow: 0 0 10px rgba(0, 230, 118, 0.4); }
.btn-download.secondary { background-color: transparent; border: 1px solid var(--accent); color: var(--accent); }
.btn-download.secondary:hover { background-color: rgba(0, 230, 118, 0.1); }

footer { text-align: center; margin-top: 50px; color: #555; font-size: 0.8rem; }