    /* 基础重置和暗黑背景 */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #0b0f1a; color: #e5e7eb; line-height: 1.6; -webkit-font-smoothing: antialiased; }
    a { color: inherit; text-decoration: none; }
    ul { list-style: none; }

    /* 顶部导航 */
    .top-nav {
        position: sticky; top: 0; z-index: 100;
        background: rgba(11,15,26,0.85); backdrop-filter: blur(12px);
        border-bottom: 1px solid #1f2937;
        padding: 0 40px; height: 56px;
        display: flex; align-items: center; justify-content: space-between;
    }
    .top-nav .brand { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
    .top-nav .brand span { background: linear-gradient(135deg, #6366f1, #7c3aed); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .top-nav .nav-links { display: flex; gap: 28px; font-size: 14px; color: #9ca3af; }
    .top-nav .nav-links a:hover { color: #e5e7eb; }
    .top-nav .nav-right { display: flex; gap: 16px; font-size: 14px; align-items: center; }
    .top-nav .nav-right a.btn-login { color: #9ca3af; }
    .top-nav .nav-right a.btn-signup { background: linear-gradient(135deg, #6366f1, #7c3aed); color: #fff; padding: 6px 18px; border-radius: 6px; font-weight: 500; }


/* ================== 全局暗黑重置 ================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background-color: #0a0a12; color: #f0eef5; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }
a:hover { color: #8b5cf6; }
h2, h3 { color: #ffffff; margin: 0; }
ul { list-style: none; }

/* 容器 */
.main-container { max-width: 1500px; margin: 0 auto; padding: 30px 20px; }
.content-container { display: flex; gap: 30px; align-items: flex-start; }
.mainbox-left-column { flex: 1; min-width: 0; }
.mainbox-right-column { width: 340px; flex-shrink: 0; }

/* ================== 左侧：分类网格 ================== */
.allcate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .allcate { grid-template-columns: 1fr; } }

.catebox { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 24px; transition: border-color 0.2s; }
.catebox:hover { border-color: rgba(139,92,246,0.5); }
.catebox h2 { font-size: 18px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #1e1e30; display: flex; justify-content: space-between; align-items: center; }
.catebox h2 a { font-weight: 600; color: #fff; }
.catebox h2 em { font-style: normal; font-size: 12px; color: #6b6880; background: #1e1e2e; padding: 2px 8px; border-radius: 12px; }

.catebox ul { display: flex; flex-direction: column; gap: 8px; }
.catebox ul li a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: #a8a3b8; background: #0a0a12; border: 1px solid transparent; }
.catebox ul li a:hover { background: #1e1e2e; color: #8b5cf6; border-color: #1e1e30; }
.catebox ul li em { font-style: normal; font-size: 12px; color: #6b6880; }

/* ================== 右侧：侧边栏 ================== */
.bestart, .bestweb { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.bestart h3, .bestweb h3 { font-size: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid #8b5cf6; }
.artlist_b { display: flex; flex-direction: column; gap: 14px; }
.artlist_b li a { font-size: 14px; color: #a8a3b8; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.artlist_b li a:hover { color: #8b5cf6; }

/* 右侧推荐站点 */
.weblist_b { display: flex; flex-direction: column; gap: 16px; }
.weblist_b li { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; background: #0a0a12; padding: 12px; border-radius: 10px; border: 1px solid #1e1e30; }
.weblist_b li > a:first-child { display: block; width: 80px; height: 60px; flex-shrink: 0; background: #12121e; border-radius: 6px; overflow: hidden; border: 1px solid #1e1e30; }
.weblist_b img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.weblist_b strong { display: block; width: calc(100% - 92px); }
.weblist_b strong a { font-size: 15px; color: #fff; font-weight: 600; }
.weblist_b p { font-size: 12px; color: #a8a3b8; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; width: calc(100% - 92px); }
.weblist_b address { font-style: normal; font-size: 12px; width: 100%; margin-top: 4px; }
.weblist_b address a { color: #8b5cf6; display: inline-block; padding: 4px 10px; background: rgba(139,92,246,0.1); border-radius: 4px; }
.ad250x250 { background: #12121e; border: 1px solid #1e1e30; border-radius: 16px; overflow: hidden; margin-bottom: 24px; min-height: 50px; }