/* ============================================================
   LKL希望OL 游戏展示站 - 主样式
   风格：二次元游戏门户（深蓝紫夜空 + 金色点缀）
   ============================================================ */

:root {
    --bg: #0b1026;
    --bg-2: #111737;
    --bg-card: rgba(255, 255, 255, 0.04);
    --border: rgba(255, 255, 255, 0.09);
    --gold: #f5c451;
    --gold-2: #ffe29a;
    --cyan: #6fd3ff;
    --text: #e8ecf8;
    --text-dim: #9aa3c7;
    --radius: 14px;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
    --glow: 0 0 22px rgba(245, 196, 81, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(111, 211, 255, 0.12), transparent 60%),
        radial-gradient(900px 500px at 10% 20%, rgba(167, 108, 255, 0.14), transparent 55%),
        var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

img { max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--gold-2); }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------------- 顶部导航 ---------------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 16, 38, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    gap: 16px;
}

.logo { display: flex; align-items: center; gap: 8px; }

.logo-mark {
    color: var(--gold);
    font-size: 20px;
    text-shadow: var(--glow);
}

.logo-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.mainnav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; overflow-x: auto; }

.mainnav a {
    color: var(--text-dim);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    white-space: nowrap;
    transition: all .2s;
}

.mainnav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.mainnav .nav-qq {
    color: #1a1408;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    font-weight: 700;
}

.nav-toggle { display: none; }

/* ---------------- 公告条 ---------------- */

.notice-bar {
    background: linear-gradient(90deg, rgba(245, 196, 81, 0.16), rgba(111, 211, 255, 0.12));
    border-bottom: 1px solid var(--border);
    padding: 9px 0;
    font-size: 14px;
    color: var(--gold-2);
}

/* ---------------- Hero 巨型海报 ---------------- */

.hero {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(1000px 520px at 50% 115%, rgba(167, 108, 255, 0.35), transparent 60%),
        radial-gradient(800px 420px at 15% -10%, rgba(111, 211, 255, 0.22), transparent 55%),
        linear-gradient(180deg, #0d1230 0%, #0b1026 60%, #0b1026 100%);
}

.hero.has-img .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 16, 38, 0.66) 0%, rgba(11, 16, 38, 0.42) 42%, rgba(11, 16, 38, 0.94) 100%);
}

.hero-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    pointer-events: none;
}

.hero-deco.d1 { width: 420px; height: 420px; left: -120px; top: 10%; background: rgba(111, 211, 255, 0.25); }
.hero-deco.d2 { width: 520px; height: 520px; right: -160px; bottom: -10%; background: rgba(167, 108, 255, 0.3); }
.hero-deco.d3 { width: 260px; height: 260px; left: 45%; top: -80px; background: rgba(245, 196, 81, 0.2); }

.hero-inner { position: relative; z-index: 2; padding: 90px 0 110px; }

.hero-kicker {
    letter-spacing: 6px;
    font-size: 12.5px;
    color: #aee2ff;
    text-transform: uppercase;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 3px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(42px, 8vw, 88px);
    font-weight: 900;
    letter-spacing: 4px;
    line-height: 1.15;
    background: linear-gradient(180deg, #fff 20%, var(--gold-2) 65%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 6px 30px rgba(245, 196, 81, 0.35));
    margin-bottom: 18px;
}

.hero-slogan {
    font-size: clamp(15px, 2.4vw, 20px);
    color: #f2f5ff;
    font-weight: 500;
    letter-spacing: 2px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 4px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-size: 18px;
    animation: bounce 1.6s infinite;
    z-index: 2;
}

@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------------- 按钮 ---------------- */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all .25s;
}

.btn-gold {
    color: #1a1408;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    box-shadow: 0 6px 24px rgba(245, 196, 81, 0.35);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245, 196, 81, 0.5); color: #1a1408; }

.btn-ghost {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }

/* ---------------- 区块通用 ---------------- */

.section { padding: 72px 0; }

.section-alt {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: clamp(24px, 3.6vw, 34px);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-sub { display: block; font-size: 14px; font-weight: 400; color: var(--text-dim); letter-spacing: 1px; margin-top: 6px; }

.group-head { display: flex; align-items: center; gap: 14px; margin: 40px 0 20px; }

.group-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 2px;
    white-space: nowrap;
}

.group-line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(245, 196, 81, 0.5), transparent); }

/* ---------------- 分类卡片 ---------------- */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 18px;
}

.cat-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s;
    color: var(--text);
}

.cat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 196, 81, 0.55);
    box-shadow: var(--shadow), var(--glow);
}

.cat-thumb {
    height: 132px;
    background: linear-gradient(135deg, rgba(111, 211, 255, 0.15), rgba(167, 108, 255, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }

.cat-thumb-empty { font-size: 34px; color: rgba(245, 196, 81, 0.6); }

.cat-body { padding: 14px 16px 16px; }

.cat-name { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }

.cat-count { font-size: 12.5px; color: var(--text-dim); }

/* ---------------- 游戏介绍 ---------------- */

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }

.about-intro { color: var(--text-dim); font-size: 15.5px; margin: 14px 0 22px; }

.feature-list { list-style: none; margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }

.feature-list li {
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
    color: var(--text);
}

.feature-list li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
}

.about-orb { position: relative; height: 300px; }

.orb { position: absolute; border-radius: 50%; filter: blur(2px); }

.orb-a {
    width: 190px; height: 190px; right: 12%; top: 12%;
    background: radial-gradient(circle at 32% 30%, var(--gold-2), var(--gold) 55%, rgba(245, 196, 81, 0.15));
    box-shadow: var(--glow), var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.orb-b {
    width: 120px; height: 120px; left: 12%; top: 40%;
    background: radial-gradient(circle at 30% 30%, #b8e6ff, var(--cyan) 60%, rgba(111, 211, 255, 0.15));
    box-shadow: 0 0 26px rgba(111, 211, 255, 0.4);
    animation: float 7.5s ease-in-out infinite reverse;
}

.orb-c {
    width: 74px; height: 74px; right: 4%; bottom: 8%;
    background: radial-gradient(circle at 30% 30%, #e3ccff, #a76cff 60%, rgba(167, 108, 255, 0.15));
    box-shadow: 0 0 22px rgba(167, 108, 255, 0.45);
    animation: float 5.2s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* ---------------- 联系区 ---------------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; }

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 28px;
    text-align: center;
    transition: all .25s;
}

.contact-card:hover { border-color: rgba(245, 196, 81, 0.5); box-shadow: var(--glow); }

.contact-icon { font-size: 40px; margin-bottom: 12px; }

.contact-card h3 { font-size: 18px; margin-bottom: 12px; letter-spacing: 1px; }

.contact-main { font-size: 30px; font-weight: 900; color: var(--gold-2); letter-spacing: 2px; margin-bottom: 16px; }

.contact-main.pending { font-size: 14.5px; color: var(--text-dim); font-weight: 400; }

.contact-line { color: var(--text-dim); font-size: 15px; margin: 6px 0; }

.contact-line b { color: var(--text); font-size: 18px; }

/* ---------------- 页头 / 面包屑 ---------------- */

.page-head {
    padding: 54px 0 20px;
    background:
        radial-gradient(700px 300px at 20% 0%, rgba(167, 108, 255, 0.16), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
    border-bottom: 1px solid var(--border);
}

.breadcrumb { font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }

.breadcrumb i { margin: 0 8px; font-style: normal; opacity: .5; }

.page-title { font-size: clamp(26px, 4.5vw, 40px); font-weight: 900; letter-spacing: 2px; }

.page-badge {
    display: inline-block;
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--gold);
    border: 1px solid rgba(245, 196, 81, 0.4);
    border-radius: 999px;
    padding: 3px 14px;
    letter-spacing: 2px;
}

.page-meta { color: var(--text-dim); font-size: 13.5px; margin-top: 12px; }

/* ---------------- 文章 ---------------- */

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px clamp(20px, 4vw, 46px);
    margin-bottom: 26px;
}

.article-title { font-size: 26px; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px; }

.article-meta { color: var(--text-dim); font-size: 13px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }

.article-content { font-size: 15.5px; color: var(--text); overflow-wrap: break-word; }

.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
    color: var(--gold-2);
    margin: 26px 0 12px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.article-content h1 { font-size: 24px; }
.article-content h2 { font-size: 21px; }
.article-content h3 { font-size: 18px; }
.article-content h4 { font-size: 16px; }

.article-content p { margin: 10px 0; }

.article-content img {
    border-radius: 10px;
    border: 1px solid var(--border);
    margin: 8px 0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
}

.article-content th, .article-content td {
    border: 1px solid var(--border);
    padding: 8px 12px;
    text-align: left;
}

.article-content th { background: rgba(245, 196, 81, 0.1); color: var(--gold-2); white-space: nowrap; }

.article-content tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); }

.article-content blockquote {
    border-left: 3px solid var(--gold);
    background: rgba(245, 196, 81, 0.07);
    padding: 12px 18px;
    margin: 14px 0;
    border-radius: 0 10px 10px 0;
    color: var(--text-dim);
}

.article-content code {
    background: rgba(111, 211, 255, 0.12);
    color: var(--cyan);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 13.5px;
}

.article-content hr { border: none; border-top: 1px dashed var(--border); margin: 22px 0; }

.article-content ul, .article-content ol { padding-left: 26px; margin: 10px 0; }

.article-content li { margin: 5px 0; }

/* ---------------- 文章列表 ---------------- */

.art-list { display: flex; flex-direction: column; gap: 14px; }

.art-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    color: var(--text);
    transition: all .22s;
}

.art-item:hover { border-color: rgba(245, 196, 81, 0.5); transform: translateX(6px); }

.art-item-body { flex: 1; }

.art-item h3 { font-size: 17px; margin-bottom: 5px; }

.art-item p { font-size: 13.5px; color: var(--text-dim); }

.art-item-meta { font-size: 12px; color: var(--text-dim); opacity: .8; }

.art-item-arrow { font-size: 20px; color: var(--gold); }

/* ---------------- 空状态 / 返回 ---------------- */

.empty-state { text-align: center; padding: 70px 20px; color: var(--text-dim); }

.empty-state h2 { font-size: 60px; color: var(--gold); opacity: .5; margin-bottom: 10px; }

.empty-state p { margin-bottom: 22px; }

.back-home { text-align: center; padding: 10px 0 30px; }

/* ---------------- 页脚 ---------------- */

.footer { border-top: 1px solid var(--border); background: rgba(0, 0, 0, 0.25); padding: 30px 0; margin-top: 40px; }

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.footer-brand { font-weight: 800; color: var(--gold-2); letter-spacing: 1px; }

.footer-text { color: var(--text-dim); font-size: 13px; }

.backtop {
    position: fixed;
    right: 22px;
    bottom: 26px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(245, 196, 81, 0.5);
    background: rgba(11, 16, 38, 0.85);
    color: var(--gold);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
    z-index: 90;
}

.backtop.show { opacity: 1; pointer-events: auto; }

.backtop:hover { background: var(--gold); color: #1a1408; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 860px) {
    .about-grid { grid-template-columns: 1fr; gap: 10px; }
    .about-orb { height: 180px; }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .mainnav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        background: rgba(13, 18, 42, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 10px 16px 16px;
        border-bottom: 1px solid var(--border);
        overflow: visible;
    }
    .mainnav.open { display: flex; }
    .nav-toggle {
        display: block;
        background: none;
        border: 1px solid var(--border);
        color: var(--text);
        font-size: 20px;
        border-radius: 8px;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .topbar { position: relative; }
    .hero { min-height: 62vh; }
    .hero-inner { padding: 60px 0 80px; }
    .section { padding: 48px 0; }
}
