/* ============================================================
   魔兽服务网站 — Capybara Paradise 风格克隆
   设计语言：暗色奇幻 + 仿羊皮纸装饰边框 + 古典衬线标题
   ============================================================ */

:root {
    --bg-main: #100d0c;
    --bg-soft: #1a1411;
    --bg-card: rgba(28, 22, 18, 0.85);
    --border-gold: #6b4f24;
    --gold: #d8a85a;
    --orange: #f89d41;
    --orange-bright: #ffa500;
    --text-main: #cfc0a8;
    --text-dim: #9a8b73;
    --text-bright: #f3e4c4;
    --red-blood: #8b1e1e;
    --green-natural: #4b7a3a;
    --link-hover: #ffd27a;
}

/* -------- Reset / Base -------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg-main) url('/assets/cdn/main_bg_texture-CABt0vm1.webp') repeat;
    color: var(--text-main);
    font-family: "Fontin-Sans", "Friz Quadrata", "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Folkard';
    src: url('/assets/cdn/folkard_-CfDUwexX.woff') format('woff');
    font-display: swap;
}
@font-face {
    font-family: 'FrizQuadrata';
    src: url('/assets/cdn/friz-quadrata-std-medium-CfQ5C9Br.otf') format('opentype');
    font-display: swap;
}
@font-face {
    font-family: 'Fontin-Sans';
    src: url('/assets/cdn/Fontin-Sans-CR-SC.ttf-Ceg-s1nQ.woff') format('woff');
    font-display: swap;
}

h1, h2, h3, h4, h5 {
    font-family: 'Folkard', 'FrizQuadrata', serif;
    color: var(--orange-bright);
    letter-spacing: 1px;
    margin: 0 0 0.6em;
}
h1 { font-size: 56px; font-weight: 700; }
h2 { font-size: 38px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; color: var(--gold); }

p { color: var(--text-main); }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* -------- 顶部导航 -------- */
.topbar {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, rgba(8,6,5,.96) 0%, rgba(8,6,5,.85) 80%, rgba(8,6,5,0) 100%);
    padding: 14px 0;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(107, 79, 36, .35);
}
.topbar .container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
}
.brand {
    font-family: 'Folkard', serif;
    font-size: 22px;
    color: var(--orange-bright);
    text-shadow: 0 0 12px rgba(255,165,0,.35);
    white-space: nowrap;
}
.brand-mark {
    width: 36px; height: 36px;
    background: radial-gradient(circle at 30% 30%, #f89d41, #6b3a10);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: inline-block; vertical-align: middle;
    margin-right: 10px;
    box-shadow: 0 0 14px rgba(248,157,65,.5);
}
.navlist {
    list-style: none; margin: 0; padding: 0;
    display: flex; gap: 22px; align-items: center;
    font-family: 'DIN Pro', 'Microsoft YaHei', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .8px;
}
.navlist > li { position: relative; }
.navlist > li > a, .navlist > li > span {
    color: var(--text-main);
    cursor: pointer;
    padding: 8px 0;
    display: inline-block;
}
.navlist > li:hover > a, .navlist > li:hover > span { color: var(--orange-bright); }
.navlist .has-sub::after {
    content: "▾"; margin-left: 4px; font-size: 10px; color: var(--gold);
}
.submenu {
    position: absolute; top: 100%; left: -16px;
    min-width: 220px;
    background: #0e0a08 url('/assets/cdn/menu_pattern-CFAbFw3K.png') center/cover;
    border: 1px solid var(--border-gold);
    box-shadow: 0 8px 30px rgba(0,0,0,.7);
    padding: 12px 0;
    list-style: none; margin: 0;
    display: none;
    z-index: 200;
}
.submenu li a {
    display: block; padding: 8px 18px; color: var(--text-main); font-size: 13px;
}
.submenu li a:hover { background: rgba(107,79,36,.25); color: var(--orange-bright); }
.navlist > li:hover > .submenu { display: block; }
.nav-login {
    background-image: url('/assets/cdn/green_btn-eCfJLl_L.png');
    background-size: 100% 100%; background-repeat: no-repeat;
    padding: 10px 28px !important;
    color: #f3e4c4 !important;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.lang-pill {
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 4px 10px;
    color: var(--gold);
    font-size: 12px;
}

/* -------- 英雄区 -------- */
.hero {
    position: relative;
    min-height: 580px;
    background: url('/assets/cdn/menu_pattern-CFAbFw3K.png') center/cover,
                radial-gradient(ellipse at top, #2a1810 0%, #100d0c 70%);
    border-bottom: 1px solid rgba(107,79,36,.3);
    padding: 80px 0 60px;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: ''; position: absolute; top: 50%; transform: translateY(-50%);
    width: 80px; height: 80px;
    background: url('/assets/cdn/exclamation-DQhiCfVW.webp') center/contain no-repeat;
    opacity: .85;
}
.hero::before { left: 6%; }
.hero::after { right: 6%; }
.hero-title {
    font-family: 'Folkard', serif;
    font-size: 72px;
    color: var(--orange-bright);
    text-align: center;
    margin: 0 0 24px;
    text-shadow: 0 4px 20px rgba(248,157,65,.4), 0 0 2px #2a1810;
    letter-spacing: 2px;
}
.hero-desc {
    max-width: 880px; margin: 0 auto 36px;
    text-align: center;
    color: var(--text-bright);
    font-size: 17px;
    line-height: 1.8;
}
.hero-actions {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
    margin-bottom: 28px;
}
.wow-btn {
    position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 220px; height: 60px;
    padding: 0 28px;
    background-size: 100% 100%; background-repeat: no-repeat;
    color: var(--text-bright) !important;
    font-family: 'FrizQuadrata', 'DIN Pro', sans-serif;
    font-size: 16px; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,.65);
    cursor: pointer;
    transition: transform .15s ease, filter .15s ease;
    border: 0;
}
.wow-btn:hover { transform: translateY(-2px); filter: brightness(1.15); }
.wow-btn:active { transform: translateY(0); }
.wow-btn.green { background-image: url('/assets/cdn/green_btn-eCfJLl_L.png'); }
.wow-btn.red { background-image: url('/assets/cdn/red_btn-_f4J3LJj.png'); }

/* 服务器状态条 */
.realm-status {
    display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
    padding: 10px 0;
    color: var(--text-main);
    font-size: 14px;
}
.realm-status .dot {
    display: inline-block; width: 12px; height: 12px;
    background: url('/assets/cdn/point_green-KNBL-wde.png') center/contain no-repeat;
    vertical-align: middle; margin-right: 6px;
}
.realm-status strong { color: var(--text-bright); }

/* 社区按钮 */
.community-buttons {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 980px; margin: 28px auto 0;
}
.community-buttons a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px;
    border: 1px solid var(--border-gold);
    background: rgba(20,15,12,.6);
    color: var(--gold);
    font-size: 14px;
    transition: all .2s;
}
.community-buttons a:hover { background: rgba(107,79,36,.25); color: var(--orange-bright); }
.community-buttons i { font-size: 18px; }

/* -------- 装饰分隔 -------- */
.divider-ornament {
    padding: 60px 0;
    position: relative;
    text-align: center;
}
.divider-ornament::before,
.divider-ornament::after {
    content: ''; display: block; height: 36px;
    background: url('/assets/cdn/top_ornament-BP77ROO1.png') center/contain no-repeat;
    margin: 0 auto; max-width: 600px;
}
.divider-ornament::after {
    background-image: url('/assets/cdn/bottom_ornament-B0gIaJiJ.png');
}
.divider-ornament h2 { margin: 18px 0; }

/* -------- 通用 Section -------- */
.section { padding: 70px 0; position: relative; }
.section-bg-1 { background: url('/assets/cdn/new_bg2-Bo_VW87j.webp') center/cover no-repeat; }
.section-bg-2 { background: url('/assets/cdn/g_e_bg-DrwAcx3m.webp') center/cover no-repeat; }
.section-bg-3 { background: url('/assets/cdn/transport_bg-CNk6vyW-.webp') center/cover no-repeat; }
.section-bg-4 { background: url('/assets/cdn/mysteries_bg-C9u3Q-TT.webp') center/cover no-repeat; }
.section-bg-5 { background: url('/assets/cdn/screenshot_bg-CqaJK1Gv.png') center/cover no-repeat; }
.section-bg-6 { background: url('/assets/cdn/artwork_bg-DeYVnH_M.png') center/cover no-repeat; }
.section-bg-7 { background: url('/assets/cdn/purple_texture-DVN7BLAw.png') center/cover repeat; }

/* 全宽介绍卡 */
.intro-card {
    max-width: 1024px; margin: 0 auto;
    text-align: center;
    padding: 36px 28px;
    background: rgba(8,6,5,.55);
    border: 1px solid rgba(107,79,36,.45);
    border-radius: 4px;
    position: relative;
}
.intro-card::before,
.intro-card::after {
    content: ''; position: absolute; width: 60px; height: 60px;
    background: url('/assets/cdn/left_corner-DQCvnVEK.png') center/contain no-repeat;
}
.intro-card::before { top: -2px; left: -2px; }
.intro-card::after {
    top: -2px; right: -2px;
    background-image: url('/assets/cdn/right_corner-Iiamtk7r.png');
}

/* 网格：种族 / 主题卡片 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 40px;
}
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 26px;
    position: relative;
    overflow: hidden;
}
.feature-card h2, .feature-card h3, .feature-card h4 { margin-top: 0; }
.feature-card .thumb {
    width: 100%; height: 220px;
    background-size: cover; background-position: center;
    margin-bottom: 16px;
    border: 1px solid rgba(107,79,36,.5);
}
.feature-card p { color: var(--text-dim); font-size: 15px; }
.feature-card .lore-block { margin-top: 14px; }
.feature-card .lore-block h4 {
    color: var(--orange-bright);
    border-bottom: 1px solid rgba(107,79,36,.5);
    padding-bottom: 6px;
}

/* 标题居中 */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}
.section-title h2, .section-title h3 {
    display: inline-block;
    position: relative;
    padding: 0 60px;
}
.section-title h2::before, .section-title h2::after,
.section-title h3::before, .section-title h3::after {
    content: ''; position: absolute; top: 50%;
    width: 44px; height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-title h2::before, .section-title h3::before { left: 0; }
.section-title h2::after, .section-title h3::after { right: 0; transform: scaleX(-1); }

.section-sub {
    text-align: center; max-width: 760px; margin: 0 auto 30px;
    color: var(--text-bright);
    font-size: 16px;
}

/* 三列网格 */
.tri-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 22px; margin-top: 30px;
}
.tri-card {
    background: rgba(20,14,10,.7);
    border: 1px solid rgba(107,79,36,.4);
    padding: 24px;
    text-align: center;
}
.tri-card .icon-wrap {
    width: 90px; height: 90px; margin: 0 auto 16px;
    background: radial-gradient(circle, rgba(248,157,65,.25), transparent 70%);
    display: flex; align-items: center; justify-content: center;
}
.tri-card .icon-wrap img { max-width: 100%; max-height: 100%; }

/* 大插画 + 文本左右布局 */
.split {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center;
    margin: 40px 0;
}
.split.reverse > :first-child { order: 2; }
.split .visual {
    background: var(--bg-soft);
    border: 1px solid var(--border-gold);
    min-height: 320px;
    background-size: cover; background-position: center;
}
.split h2 { color: var(--orange-bright); }
.split p { color: var(--text-bright); font-size: 16px; }

/* 副本网格 */
.dungeon-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; margin-top: 30px;
}
.dungeon-tile {
    position: relative; overflow: hidden;
    border: 1px solid var(--border-gold);
    aspect-ratio: 4/3;
    background: var(--bg-soft) center/cover no-repeat;
}
.dungeon-tile::after {
    content: attr(data-label);
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.85));
    color: var(--orange-bright);
    font-family: 'Folkard', serif;
    font-size: 16px;
    text-align: center;
}

/* 挑战图标行 */
.challenge-row {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    max-width: 980px; margin: 30px auto 0;
}
.challenge-item {
    text-align: center;
    padding: 18px 10px;
    background: rgba(20,14,10,.5);
    border: 1px solid rgba(107,79,36,.3);
    transition: all .25s;
}
.challenge-item:hover { background: rgba(107,79,36,.2); transform: translateY(-3px); }
.challenge-item img { width: 64px; height: 64px; margin: 0 auto 8px; }
.challenge-item span { display: block; font-size: 13px; color: var(--gold); }

/* CTA 大按钮区 */
.cta-block {
    text-align: center; padding: 80px 0;
    background: url('/assets/cdn/menu_pattern-CFAbFw3K.png') center/cover;
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}
.cta-block h2 { font-size: 44px; margin-bottom: 12px; }
.cta-block p { max-width: 720px; margin: 0 auto 30px; color: var(--text-bright); font-size: 17px; }

/* 页脚 */
.site-footer {
    padding: 50px 0 30px;
    background: #0a0807;
    border-top: 1px solid rgba(107,79,36,.4);
    color: var(--text-dim);
    font-size: 14px;
}
.site-footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h5 {
    color: var(--orange-bright);
    font-size: 16px; margin-bottom: 14px;
    text-transform: uppercase; letter-spacing: 1px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; }
.site-footer ul li a { color: var(--text-dim); }
.site-footer ul li a:hover { color: var(--orange-bright); }
.copyright {
    border-top: 1px solid rgba(107,79,36,.3);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
}

/* 装饰图片浮动 */
.float-decor {
    position: absolute; pointer-events: none; opacity: .35;
    z-index: 0;
}

/* 公会卡片大图布局 */
.guild-feature {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 30px; margin-top: 30px;
}
.guild-feature .card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 28px;
}
.guild-feature .card h2 { margin-top: 0; }

/* 物品列表 */
.item-stat-list {
    list-style: none; padding: 0; margin: 16px 0;
}
.item-stat-list li {
    padding: 6px 0 6px 22px;
    color: var(--text-bright);
    position: relative;
    font-size: 14px;
}
.item-stat-list li::before {
    content: '◆'; position: absolute; left: 0; color: var(--gold);
}

/* 电台播放器 */
.radio-player {
    max-width: 720px; margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 24px;
    display: flex; align-items: center; gap: 20px;
}
.radio-player .album {
    width: 120px; height: 120px;
    background: url('/assets/cdn/music-Cbwo7YdA.webp') center/cover;
    border: 1px solid var(--border-gold);
}
.radio-player .meta { flex: 1; }
.radio-player .meta .now { color: var(--orange-bright); font-size: 14px; text-transform: uppercase; }
.radio-player .meta .track { color: var(--text-bright); font-size: 18px; margin: 4px 0; }
.radio-player .meta .artist { color: var(--text-dim); font-size: 14px; }
.radio-player audio { width: 100%; margin-top: 10px; }

/* 响应式 */
@media (max-width: 1024px) {
    .navlist { display: none; }
    .feature-grid, .guild-feature { grid-template-columns: 1fr; }
    .tri-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; }
    .split.reverse > :first-child { order: unset; }
    .dungeon-grid { grid-template-columns: repeat(2, 1fr); }
    .challenge-row { grid-template-columns: repeat(3, 1fr); }
    .community-buttons { grid-template-columns: repeat(2, 1fr); }
    .site-footer .container { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 48px; }
    h1 { font-size: 40px; }
}
@media (max-width: 600px) {
    .hero-title { font-size: 36px; }
    .hero-desc { font-size: 15px; }
    .dungeon-grid, .challenge-row, .community-buttons { grid-template-columns: 1fr 1fr; }
    .site-footer .container { grid-template-columns: 1fr; }
    .hero::before, .hero::after { display: none; }
}
