:root {
    --bg: #0f1115;
    --panel: #171a21;
    --text: #e8e9ec;
    --muted: #9aa0ab;
    --accent: #d9a441;
    --border: #2a2e38;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.brand {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.top-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0.2rem;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.top-nav a:hover,
.top-nav a.active {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.site-main {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero h1 {
    margin-top: 1.5rem;
    margin-bottom: 0.25rem;
}

.hero p {
    color: var(--muted);
}

.panel {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
}

.file-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.file-list li:last-child {
    border-bottom: none;
}

.file-name {
    font-weight: 500;
}

.file-size {
    color: var(--muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #1a1a1a;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn:hover {
    filter: brightness(1.08);
}

.empty-state {
    color: var(--muted);
    font-style: italic;
}

.site-footer {
    text-align: center;
    padding: 1.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.alert {
    background: #3a1f1f;
    border: 1px solid #7a3b3b;
    color: #f2c6c6;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
