/* 用户端共用主题：墨金财誉 */
:root {
    --bg: #07060c;
    --bg-elev: #12101a;
    --crimson: #e11d48;
    --crimson-deep: #9f1239;
    --gold: #e8c36a;
    --gold-soft: #f3df9a;
    --ivory: #f7efe4;
    --muted: rgba(247, 239, 228, 0.58);
    --line: rgba(232, 195, 106, 0.22);
    --glass: rgba(18, 16, 26, 0.72);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    --radius: 22px;
    --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --display: "Cinzel", "Noto Serif SC", "Songti SC", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--ivory);
    overflow-x: hidden;
    position: relative;
}

a {
    color: inherit;
}

button, input {
    font-family: inherit;
}

.aurora,
.grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.aurora {
    background:
        radial-gradient(900px 500px at 12% -10%, rgba(225, 29, 72, 0.28), transparent 55%),
        radial-gradient(700px 480px at 92% 8%, rgba(232, 195, 106, 0.16), transparent 50%),
        radial-gradient(800px 600px at 50% 110%, rgba(88, 28, 135, 0.28), transparent 55%),
        linear-gradient(180deg, #0b0912 0%, #07060c 100%);
}

.aurora::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.35), transparent),
        radial-gradient(1.5px 1.5px at 28% 68%, rgba(255,255,255,.22), transparent),
        radial-gradient(1.5px 1.5px at 71% 18%, rgba(232,195,106,.4), transparent),
        radial-gradient(1.5px 1.5px at 84% 74%, rgba(255,255,255,.2), transparent),
        radial-gradient(1.2px 1.2px at 46% 42%, rgba(255,255,255,.18), transparent);
    opacity: 0.7;
}

.grain {
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 16px 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(145deg, #f3df9a, #c9a24a 55%, #8a1f2e);
    box-shadow: 0 0 0 1px rgba(243, 223, 154, 0.35), 0 8px 20px rgba(225, 29, 72, 0.35);
    display: grid;
    place-items: center;
    color: #3a140f;
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 15px;
    letter-spacing: 0.08em;
}

.brand-text span {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
    font-size: 13px;
    color: var(--ivory);
    transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    border-color: rgba(232, 195, 106, 0.55);
    background: rgba(232, 195, 106, 0.12);
    color: var(--gold-soft);
}

.page-shell {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 20px 80px;
}

.hero {
    text-align: center;
    padding: 28px 0 12px;
}

.eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.38em;
    color: var(--gold);
    margin-bottom: 12px;
}

.hero h1 {
    font-family: var(--display);
    font-size: clamp(1.8rem, 5vw, 3.1rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    background: linear-gradient(180deg, #fff8e7, var(--gold) 55%, #b8873a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.hero p {
    color: var(--muted);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-gold {
    background: linear-gradient(180deg, #f6e7b0, #d4ae52);
    color: #3a140f;
    box-shadow: 0 10px 24px rgba(212, 174, 82, 0.28);
}

.btn-gold:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-ghost {
    background: transparent;
    color: var(--ivory);
    border: 1px solid var(--line);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-soft);
}

.toast {
    position: fixed;
    top: 72px;
    left: 50%;
    transform: translateX(-50%) translateY(-12px);
    background: rgba(10, 8, 14, 0.92);
    color: var(--ivory);
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 14px;
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success { border-color: rgba(52, 211, 153, 0.5); }
.toast.error { border-color: rgba(248, 113, 113, 0.55); }

@media (max-width: 640px) {
    .brand-text { display: none; }
    .nav-links a { padding: 8px 12px; font-size: 12px; }
}
