/*
Theme Name: 龙城传奇
Theme URI: 
Author: 
Description: 龙城传奇 · 经典传奇游戏资讯站
Version: 2.0
*/

/* ============================================================
   全局变量 — 设计图暖金橙
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fafaf7;
    --surface: #ffffff;
    --surface-warm: #fdf8f1;
    --ink: #18181b;
    --ink-soft: #52525b;
    --muted: #a1a1aa;
    --border: #e4e4e7;
    --border-soft: rgba(0,0,0,0.06);

    --accent: #d9771c;
    --accent-glow: #f59e0b;
    --accent-soft: rgba(217, 119, 28, 0.08);
    --accent-deep: #b45309;

    --font-display: Georgia, 'Times New Roman', 'Noto Serif CJK SC', serif;
    --font-body: -apple-system, 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', 'Consolas', 'Microsoft YaHei', ui-monospace, monospace;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-pill: 9999px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-slow: cubic-bezier(0.32, 0.72, 0, 1);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   Header（无公告条）
   ============================================================ */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-deep));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
}

nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 14px;
    margin-left: 28px;
    font-weight: 500;
    letter-spacing: -0.005em;
    transition: color 200ms var(--ease);
}
nav a:hover,
nav a.active {
    color: var(--accent);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    padding: 40px 0 32px;
    border-top: 1px solid var(--border);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

footer a {
    color: var(--ink-soft);
    text-decoration: none;
    margin-left: 20px;
    transition: color 150ms;
}
footer a:hover {
    color: var(--accent);
}

/* ============================================================
   通用工具
   ============================================================ */
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.hidden { display: none !important; }

/* ============================================================
   滚动条
   ============================================================ */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }

/* ============================================================
   响应式（全局）
   ============================================================ */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 14px;
    }
    nav a {
        margin-left: 16px;
        font-size: 13px;
    }
    footer {
        flex-direction: column;
        text-align: center;
    }
    footer a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .wrap {
        padding: 0 16px;
    }
}