/* ========== 文章列表页样式 - Article List Page Styles ========== */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    background-color: #F5F5F3;
}

.navbar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.list-hero {
    padding: 140px 24px 80px;
    text-align: center;
    background: #0A0A0A;
    color: white;
}
.list-hero h1 {
    font-family: 'Fraunces', serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 16px;
    color: #fff;
}
.list-hero p {
    color: #999;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.125rem;
}

.filter-bar-brutal {
    background: #FFF;
    border-bottom: 3px solid #0A0A0A;
    padding: 24px 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
    box-shadow: 4px 4px 0 #EDEDEC;
}
.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.search-box-brutal {
    flex: 1 1 400px;
    min-width: 280px;
    max-width: 500px;
    position: relative;
}
.search-box-brutal input {
    width: 100%;
    padding: 14px 120px 14px 18px;
    border: 3px solid #0A0A0A;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    outline: none;
    background: #FFF;
    box-sizing: border-box;
    box-shadow: 5px 5px 0 #0A0A0A;
}
.search-box-brutal input::placeholder { color: #9CA3AF; }
.search-box-brutal input:focus { box-shadow: 6px 6px 0 #FF3366; }
.search-box-brutal .btn-clear {
    position: absolute;
    right: 95px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    background: #E5E7EB;
    color: #6B7280;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    transition: all .2s ease;
}
.search-box-brutal .btn-clear:hover {
    background: #D1D5DB;
    color: #374151;
}
.search-box-brutal button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    height: calc(100% - 12px);
    padding: 0 20px;
    border: none;
    background: #0A0A0A;
    color: white;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.search-box-brutal button:hover { background: #FF3366; }

/* 分类标签 */
.category-tabs-brutal {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.category-tab-btn {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 14px 28px 14px 22px;
    border: 3px solid #0A0A0A;
    background: #FFF;
    cursor: pointer;
    transition: all .2s cubic-bezier(0.22, 1, 0.36, 1);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
    box-shadow: 5px 5px 0 #0A0A0A;
    position: relative;
    overflow: hidden;
}
.category-tab-btn::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    transition: width .2s ease;
}
.category-tab-btn[data-category="all"]::before { background: #0A0A0A; }
.category-tab-btn[data-category="withdrawNotice"]::before { background: #FF3366; }
.category-tab-btn[data-category="announceList"]::before { background: #F59E0B; }
.category-tab-btn[data-category="faqList"]::before { background: #10B981; }
.category-tab-btn[data-category="newsList"]::before { background: #3B82F6; }
.category-tab-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0 #0A0A0A;
}
.category-tab-btn.active {
    background: #0A0A0A;
    color: #FFF;
    box-shadow: 6px 6px 0 rgba(255,51,102,.35);
    transform: translate(-2px, -2px);
}

.articles-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 24px;
}

.article-card-brutal {
    position: relative;
    background: #fff;
    border: 2px solid rgba(10,10,10,.12);
    border-bottom: 4px solid #0A0A0A;
    overflow: hidden;
    transition: all .35s ease;
    text-decoration: none !important;
    color: #1A1A1A !important;
    display: block;
}
.article-card-brutal:hover {
    transform: translate(-6px,-6px);
    box-shadow: 12px 12px 0 #EDEDEC;
}

.api-tag-label {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 800;
    padding: 5px 11px;
    color: white;
    z-index: 3;
    clip-path: polygon(0 0, calc(100%-7px) 0, 100% 7px, 100% 100%, 0 100%);
}
.api-tag-label[data-cat="withdrawNotice"] { background: #EF4444; }
.api-tag-label[data-cat="announceList"] { background: #F59E0B; }
.api-tag-label[data-cat="faqList"] { background: #22C55E; }
.api-tag-label[data-cat="newsList"] { background: #3B82F6; }

.article-card-header-bar {
    background: #F5F5F3;
    padding: 16px 20px;
    border-bottom: 2px solid rgba(10,10,10,.08);
    display: flex;
    align-items: center;
    gap: 14px;
}
.api-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #fff;
    border: 2px solid rgba(10,10,10,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.api-icon-box i { font-size: 20px; color: #FF3366; }
.api-icon-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.api-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.api-icon-img:hover {
    transform: scale(1.05);
}
.article-card-brutal:hover .api-icon-img {
    opacity: 0.9;
}
.api-title-row { flex: 1; min-width: 0; }
.api-title-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #0A0A0A;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.api-subtitle-text { font-size: 12px; color: #9CA3AF; margin-top: 3px; }

.article-card-body { padding: 16px 20px 20px; }
.article-card-excerpt {
    font-size: 14px;
    color: #5C5C5C;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 16px;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 2px solid rgba(10,10,10,.06);
}
.api-call-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #9CA3AF;
    font-family: 'Space Mono', monospace;
}
.api-call-count i { color: #FF3366; }
.api-badge-tag {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    background: #0A0A0A;
    color: #fff;
}
.article-card-brutal:hover .api-badge-tag { background: #FF3366; }

.pagination-section {
    max-width: 1200px;
    margin: 40px auto 80px;
    padding: 0 24px;
}
.pagination-brutal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pagination-btn,
.pagination-brutal a,
.pagination-brutal span {
    min-width: 52px;
    height: 52px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFF;
    border: 2px solid #0A0A0A;
    color: #0A0A0A;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 4px 4px 0 #EDEDEC;
    cursor: pointer;
    gap: 6px;
}
.pagination-btn:hover:not(.disabled):not(.active),
.pagination-brutal a:hover:not(.disabled) {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #EDEDEC;
}
.pagination-btn.active,
.pagination-brutal span.active {
    background: #FF3366 !important;
    color: #FFF !important;
    border-color: #FF3366 !important;
    box-shadow: 5px 5px 0 rgba(255,51,102,.4) !important;
}
.pagination-btn.disabled {
    opacity: .35;
    cursor: not-allowed !important;
}

@media (max-width:768px) {
    .filter-container { flex-direction: column; }
    .articles-grid { grid-template-columns: 1fr; }
}

/* ========== 导航栏增强样式 ========== */
.brutal-header { background-color: #FFF !important; }
.brutal-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; max-width: 160px; object-fit: contain; }
.brutal-menu { position: relative; display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.brutal-menu > li { position: relative; }
.brutal-menu-link { display: flex; align-items: center; gap: 4px; padding: 8px 16px; font-family: var(--brutal-font-sans); font-weight: 600; font-size: 14px; color: var(--brutal-text-primary); text-decoration: none; transition: all 0.2s ease; border: 2px solid transparent; position: relative; }
.brutal-menu-link:hover { color: var(--brutal-accent-red); border-color: transparent; background: rgba(255,51,102,0.05); }
.brutal-menu-link::after { content:''; position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:0; height:3px; background:#FF3366; transition:width 0.3s; }
.brutal-menu-link:hover::after { width:80%; }
.brutal-dropdown { display:none; position:absolute; top:100%; left:0; min-width:200px; background:var(--brutal-bg-secondary); border:2px solid var(--brutal-border-black); padding:12px 0; box-shadow:var(--brutal-shadow-lg); z-index:9999; margin-top:4px; }
.brutal-dropdown-item { display:block; padding:10px 20px; color:var(--brutal-text-secondary); font-size:13px; text-decoration:none; transition:all 0.15s; font-family:var(--brutal-font-sans); }
.brutal-dropdown-item:hover { color:var(--brutal-accent-red); background:rgba(255,51,102,0.06); padding-left:24px; }
.brutal-mobile-menu { display:none; border-top:2px solid var(--brutal-border-light); background:var(--brutal-bg-secondary); }
.brutal-mobile-list { list-style:none; margin:0; padding:16px 24px; }
.brutal-mobile-list li a { display:block; padding:12px 0; color:var(--brutal-text-primary); font-size:15px; font-weight:600; text-decoration:none; border-bottom:1px solid var(--brutal-border-light); font-family:var(--brutal-font-sans); }
.brutal-hamburger { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:36px; height:36px; background:transparent; border:2px solid var(--brutal-border-black); cursor:pointer; padding:6px; transition:all 0.2s; }
.brutal-hamburger span { display:block; width:100%; height:2px; background:var(--brutal-text-black); transition:all 0.3s; }
.brutal-hamburger.active span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.brutal-hamburger.active span:nth-child(2) { opacity:0; }
.brutal-hamburger.active span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }
@media (max-width:768px) {
    .brutal-hamburger { display:flex; }
    .brutal-menu { display:none; }
    .brutal-mobile-menu.display-block { display:block !important; }
}

/* ========== 恢复系统默认鼠标光标 ========== */
* { cursor: auto !important; }
body { cursor: default !important; }
a, button, .btn, input, textarea, select { cursor: pointer !important; }
.cursor-wrapper, .cursor-dot, .cursor-ring { display: none !important; }
.article-card-brutal { text-decoration: none !important; }

/* ========== Footer样式 ========== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-new { background-color: #0A0A0A; color: #CCCCCC; padding: 70px 0 30px; border-top: 3px solid #0A0A0A; }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-brand { flex-shrink: 0; margin-right: 60px; max-width: 360px; }
.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { width: 42px; height: 42px; object-fit: contain; border: none; }
.footer-brand-name { font-family: var(--brutal-font-serif); font-size: 20px; font-weight: 800; color: #FFFFFF; }
.footer-brand-desc { font-size: 14px; color: #888888; line-height: 1.7; margin: 0; }
.footer-links-wrap { display: flex; flex: 1; justify-content: flex-end; gap: 60px; }
.footer-links-col { min-width: 100px; }
.footer-col-title { font-family: var(--brutal-font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #666666; margin-bottom: 20px; }
.footer-col-label { font-family: var(--brutal-font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #555555; margin-bottom: 8px; display: block; }
.footer-links-list { list-style: none; padding: 0; margin: 0; }
.footer-links-list li { margin-bottom: 10px; }
.footer-links-list a { color: #AAAAAA; font-size: 14px; text-decoration: none; transition: color 0.2s ease; display: block; padding: 3px 0; }
.footer-links-list a:hover { color: var(--brutal-accent-red); padding-left: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; }
.footer-copyright { color: #777777; font-size: 13px; margin: 0; line-height: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.footer-copyright a { color: #777777; text-decoration: none; transition: color 0.2s ease; }
.footer-copyright a:hover { color: var(--brutal-accent-red); }

.footer-badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 16px;
	padding: 16px 24px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 4px;
}
.badge-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Space Mono', monospace;
	font-size: 12px;
	font-weight: 600;
	color: #AAAAAA;
	padding: 6px 14px;
	background: rgba(0,0,0,0.3);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 3px;
	transition: all 0.25s ease;
	white-space: nowrap;
}
.badge-item img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}
@media(max-width:992px){.footer-main{flex-direction:column;gap:36px}.footer-brand{margin-right:0;text-align:center;max-width:100%}.footer-logo-wrap{justify-content:center}.footer-links-wrap{flex-wrap:wrap;justify-content:center;gap:32px}.footer-links-col{min-width:calc(50% - 16px)}}
@media(max-width:576px){.footer-links-col{min-width:100%;text-align:center}.footer-copyright{flex-direction:column;gap:4px}}
