/* 网盘搜索网站 - 精致像素风格 */

/* 字体优化：使用系统字体栈 */

:root {
    /* 像素风格配色 - 复古游戏机风格 */
    --pixel-bg: #f0f0f0;
    --pixel-card: #ffffff;
    --pixel-dark: #2d2d2d;
    --pixel-gray: #6b7280;
    --pixel-light: #e5e5e5;
    
    /* 主题色 - 精致像素橙 */
    --pixel-primary: #ff6b4a;
    --pixel-primary-dark: #e85a3a;
    --pixel-accent: #ffc107;
    --pixel-success: #4ade80;
    --pixel-info: #60a5fa;
    
    /* 像素边框 */
    --pixel-border: 3px solid var(--pixel-dark);
    --pixel-border-light: 2px solid var(--pixel-gray);
    
    /* 像素阴影 - 硬边风格 */
    --pixel-shadow: 4px 4px 0 var(--pixel-dark);
    --pixel-shadow-sm: 2px 2px 0 var(--pixel-dark);
    --pixel-shadow-lg: 6px 6px 0 var(--pixel-dark);
    --pixel-shadow-hover: 8px 8px 0 var(--pixel-dark);
    
    /* 字体 */
    --pixel-font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

body {
    font-family: var(--pixel-font);
    background: var(--pixel-bg);
    color: var(--pixel-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ========== 像素边框工具类 ========== */
.pixel-box {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}

.pixel-box-sm {
    background: var(--pixel-card);
    border: var(--pixel-border-light);
    box-shadow: var(--pixel-shadow-sm);
}

/* ========== 头部导航 ========== */
.header {
    background: var(--pixel-card);
    border-bottom: var(--pixel-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--pixel-primary);
    border: var(--pixel-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--pixel-shadow-sm);
    image-rendering: pixelated;
}

.logo-text {
    font-size: 22px;
    font-weight: 900;
    color: var(--pixel-dark);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--pixel-primary);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow-sm);
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
}

.nav-link:active {
    transform: translate(4px, 4px);
}

/* 顶部分类浏览 */
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-categories {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--pixel-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-cat-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--pixel-card);
    border: 2px solid var(--pixel-dark);
    box-shadow: 2px 2px 0 var(--pixel-dark);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.1s;
}

.nav-cat-link:hover {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 var(--pixel-dark);
    background: var(--pixel-primary);
}

/* ========== 搜索区域 - 像素风 ========== */
.search-section {
    background: linear-gradient(180deg, #e8e8e8 0%, var(--pixel-bg) 100%);
    padding: 60px 0 50px;
    position: relative;
    border-bottom: var(--pixel-border);
}

.search-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--pixel-primary) 0px,
        var(--pixel-primary) 20px,
        var(--pixel-accent) 20px,
        var(--pixel-accent) 40px
    );
}

.search-section.center {
    padding: 80px 0 60px;
    text-align: center;
}

.search-section.top {
    padding: 40px 0 35px;
}

.search-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--pixel-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 var(--pixel-light);
}

.search-subtitle {
    font-size: 16px;
    color: var(--pixel-gray);
    margin-bottom: 40px;
    font-weight: 500;
}

.search-subtitle span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0 8px;
    padding: 4px 10px;
    background: var(--pixel-card);
    border: 2px solid var(--pixel-gray);
    font-size: 13px;
}

/* 搜索框 - 像素风 */
.search-box {
    max-width: 700px;
    margin: 0 auto 35px;
}

.search-input-wrapper {
    display: flex;
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}

.search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: var(--pixel-dark);
    font-family: var(--pixel-font);
}

.search-input::placeholder {
    color: var(--pixel-gray);
}

.search-btn {
    padding: 0 28px;
    background: var(--pixel-primary);
    color: white;
    border: none;
    border-left: var(--pixel-border);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--pixel-font);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.search-btn:hover {
    background: var(--pixel-primary-dark);
}

/* ========== 网盘类型筛选 ========== */
.filter-types {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.type-tag {
    padding: 6px 14px;
    background: var(--pixel-card);
    color: var(--pixel-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid var(--pixel-light);
    transition: all 0.1s;
}

.type-tag:hover {
    border-color: var(--pixel-primary);
    color: var(--pixel-primary);
}

.type-tag.active {
    background: var(--pixel-dark);
    color: white;
    border-color: var(--pixel-dark);
}

/* ========== 主内容区 ========== */
.main-content {
    flex: 1;
    padding: 50px 0;
    background: var(--pixel-bg);
}

/* ========== 区块标题 ========== */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 30px;
    color: var(--pixel-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span {
    font-size: 28px;
}

/* ========== 搜索结果 ========== */
.results-header {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.results-header h2 {
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-count {
    color: var(--pixel-gray);
    font-weight: 600;
    font-size: 13px;
    background: var(--pixel-card);
    padding: 6px 14px;
    border: 2px solid var(--pixel-gray);
}

/* 激活的筛选器 */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--pixel-card);
    border: 2px solid var(--pixel-dark);
    box-shadow: 2px 2px 0 var(--pixel-dark);
    font-size: 13px;
    font-weight: 600;
}

.filter-chip .remove {
    color: inherit;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    transition: all 0.2s;
}

.filter-chip .remove:hover {
    background: var(--pixel-dark);
    color: white;
}

/* ========== 资源列表（文字列表） ========== */
.resource-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-list-item {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.15s;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.resource-list-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--pixel-shadow-hover);
    color: inherit;
}

.list-item-badges {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 140px;
}

.list-item-type {
    display: inline-block;
    padding: 4px 10px;
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--pixel-dark);
}

.list-item-category {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.list-item-title {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.list-item-title a {
    color: var(--pixel-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.list-item-title a:hover {
    color: var(--pixel-primary);
}

.list-item-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--pixel-gray);
    min-width: 100px;
    text-align: right;
}

/* ========== 空状态 ========== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    image-rendering: pixelated;
}

.empty-state p {
    color: var(--pixel-gray);
    font-size: 16px;
    font-weight: 600;
}

/* ========== 分页 ========== */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-btn {
    padding: 10px 18px;
    background: var(--pixel-card);
    border: var(--pixel-border);
    color: var(--pixel-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--pixel-shadow-sm);
    transition: all 0.1s;
}

.page-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
    background: var(--pixel-light);
}

.page-btn.current {
    background: var(--pixel-dark);
    color: white;
    box-shadow: var(--pixel-shadow-sm);
}

.page-ellipsis {
    padding: 10px;
    color: var(--pixel-gray);
    font-weight: 700;
}

/* ========== 热门资源 ========== */
.hot-section {
    margin-bottom: 50px;
}

/* ========== 关于我们 ========== */
.about-section {
    background: var(--pixel-card);
    padding: 40px;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
}

.about-content {
    color: var(--pixel-gray);
    line-height: 1.8;
    font-size: 15px;
}

.about-content p {
    margin-bottom: 16px;
}

.about-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 25px 0;
}

.about-cat-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--pixel-card);
    border: 2px solid var(--pixel-gray);
    box-shadow: 2px 2px 0 var(--pixel-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-cat-tag:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-gray);
}

.about-content a {
    color: var(--pixel-primary);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--pixel-primary);
}

.about-content a:hover {
    background: var(--pixel-primary);
    color: white;
}

/* ========== 友情链接 ========== */
.friendlink-tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--pixel-card);
    border: 2px solid var(--pixel-light);
    color: var(--pixel-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s;
}

.friendlink-tag:hover {
    border-color: var(--pixel-primary);
    color: var(--pixel-primary);
    background: var(--pixel-card);
}

/* ========== 资源详情页 ========== */
.resource-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pixel-gray);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--pixel-primary);
}

.detail-header {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 32px;
    margin-bottom: 24px;
}

.detail-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.detail-type {
    display: inline-block;
    padding: 6px 14px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--pixel-dark);
}

.detail-category {
    font-size: 14px;
    font-weight: 700;
}

.detail-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.4;
}

.detail-meta {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: var(--pixel-gray);
}

/* 资源图片 */
.detail-image {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    margin-bottom: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    max-height: 500px;
    padding: 20px;
}

.detail-image img {
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    image-rendering: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.detail-description {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 24px 32px;
    margin-bottom: 24px;
}

.detail-description h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-description p {
    color: var(--pixel-gray);
    line-height: 1.8;
}

/* 豆瓣影片信息 */
.detail-douban {
    background: linear-gradient(135deg, #f8f4e8 0%, #f0ebe0 100%);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 24px 32px;
    margin-bottom: 24px;
}

.detail-douban h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8b4513;
}

.detail-douban .douban-content {
    color: var(--pixel-gray);
    line-height: 1.8;
    white-space: pre-line;
}

/* 链接状态检查 */
.link-status-box {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.link-status-box.status-success {
    border-left: 6px solid #4ade80;
}

.link-status-box.status-warning {
    border-left: 6px solid #ffc107;
}

.link-status-box.status-error {
    border-left: 6px solid #ff6b6b;
}

.link-status-box.status-unknown {
    border-left: 6px solid var(--pixel-gray);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.status-icon {
    font-size: 24px;
}

.status-tip {
    font-size: 13px;
    color: var(--pixel-gray);
    margin: 0;
}

/* 获取资源按钮 */
.detail-action {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
}

.detail-get-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--pixel-primary);
    color: white;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 900;
    text-decoration: none;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    transition: all 0.1s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-get-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--pixel-dark);
}

.detail-get-btn.disabled {
    background: var(--pixel-gray);
    cursor: not-allowed;
}

.detail-get-btn.disabled:hover {
    transform: none;
    box-shadow: var(--pixel-shadow);
}

.action-tip {
    font-size: 13px;
    color: var(--pixel-gray);
    margin: 16px 0 0;
}

/* 资源信息 */
.detail-info {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 24px 32px;
    margin-bottom: 24px;
}

.detail-info h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--pixel-light);
}

.info-label {
    font-size: 14px;
    color: var(--pixel-gray);
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    font-weight: 700;
}

/* 反馈区域 */
.detail-feedback {
    background: var(--pixel-card);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow);
    padding: 24px 32px;
}

.detail-feedback h3 {
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-tip {
    font-size: 13px;
    color: var(--pixel-gray);
    margin-bottom: 16px;
}

.feedback-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffebee;
    color: #c62828;
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--pixel-font);
    transition: all 0.1s;
}

.feedback-toggle-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
    background: #ffcdd2;
}

/* 反馈表单 */
.feedback-form {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--pixel-light);
    animation: pixelSlideIn 0.3s steps(3) forwards;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--pixel-dark);
}

.feedback-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feedback-type-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--pixel-light);
    border: 2px solid var(--pixel-gray);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.1s;
}

.feedback-type-option:hover {
    border-color: var(--pixel-primary);
}

.feedback-type-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.feedback-type-option:has(input:checked) {
    background: var(--pixel-primary);
    border-color: var(--pixel-dark);
    color: white;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--pixel-gray);
    font-size: 14px;
    font-family: var(--pixel-font);
    background: var(--pixel-card);
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--pixel-primary);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.btn-cancel,
.btn-submit {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--pixel-font);
    border: var(--pixel-border);
    box-shadow: var(--pixel-shadow-sm);
    transition: all 0.1s;
}

.btn-cancel {
    background: var(--pixel-light);
    color: var(--pixel-dark);
}

.btn-cancel:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
}

.btn-submit {
    background: var(--pixel-primary);
    color: white;
}

.btn-submit:hover {
    transform: translate(2px, 2px);
    box-shadow: 0 0 0 var(--pixel-dark);
    background: var(--pixel-primary-dark);
}

/* ========== 页脚 ========== */
.footer {
    background: var(--pixel-dark);
    color: white;
    padding: 30px 0;
    text-align: center;
    border-top: 4px solid var(--pixel-primary);
}

.footer p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ========== 移动端分类浏览 ========== */
.mobile-categories {
    display: none;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    /* 隐藏顶部分类浏览 */
    .nav-categories {
        display: none;
    }
    
    /* 显示移动端分类 */
    .mobile-categories {
        display: block;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 2px dashed var(--pixel-light);
    }
    
    .mobile-cat-label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--pixel-gray);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        text-align: center;
    }
    
    .mobile-cat-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .mobile-cat-link {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        background: var(--pixel-card);
        border: 2px solid var(--pixel-dark);
        box-shadow: var(--pixel-shadow-sm);
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        color: var(--pixel-dark);
        transition: all 0.1s;
    }
    
    .mobile-cat-link:hover {
        transform: translate(1px, 1px);
        box-shadow: 1px 1px 0 var(--pixel-dark);
        background: var(--pixel-primary);
        color: white;
    }
    
    .mobile-cat-icon {
        font-size: 16px;
    }
    
    .mobile-cat-name {
        font-size: 13px;
    }
    .container {
        padding: 0 16px;
    }
    
    .header .container {
        height: 56px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 10px 14px;
    }
    
    .nav {
        gap: 12px;
    }
    
    .nav-label {
        display: none;
    }
    
    .nav-categories {
        gap: 6px;
    }
    
    .nav-cat-link {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .search-section.center {
        padding: 50px 0 40px;
    }
    
    .search-title {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .search-subtitle {
        font-size: 13px;
    }
    
    .search-subtitle span {
        margin: 3px;
        padding: 3px 8px;
        font-size: 12px;
    }
    
    .search-input {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    /* 文字列表移动端适配 - 优化版 */
    .resource-list-item {
        padding: 12px 16px;
        display: grid;
        grid-template-areas: 
            "badges meta"
            "title title";
        grid-template-columns: 1fr auto;
        gap: 8px 12px;
        align-items: center;
    }
    
    .list-item-badges {
        grid-area: badges;
        flex-direction: row;
        min-width: auto;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
    }
    
    .list-item-type {
        padding: 3px 8px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    .list-item-category {
        font-size: 12px;
        flex-shrink: 0;
    }
    
    .list-item-title {
        grid-area: title;
        width: 100%;
        font-size: 15px;
        line-height: 1.5;
        margin: 0;
    }
    
    .list-item-title a {
        display: block;
        word-break: break-all;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .list-item-meta {
        grid-area: meta;
        flex-direction: row;
        min-width: auto;
        gap: 8px;
        text-align: right;
        font-size: 12px;
        color: #888;
    }
    
    /* 资源详情移动端适配 */
    .resource-detail {
        padding: 20px 0;
    }
    
    .detail-header,
    .detail-image,
    .detail-description,
    .detail-douban,
    .detail-action,
    .detail-info,
    .detail-feedback {
        padding: 20px;
    }
    
    .feedback-types {
        flex-direction: column;
        gap: 8px;
    }
    
    .feedback-type-option {
        width: 100%;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-meta {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .detail-get-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .search-btn {
        padding: 0 18px;
        font-size: 14px;
    }
    
    .filter-types {
        gap: 6px;
    }
    
    .type-tag {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    /* 关于我们响应式 */
    .about-section {
        padding: 25px 20px;
    }
    
    .about-categories {
        gap: 8px;
    }
    
    .about-cat-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ========== 像素动画 ========== */
@keyframes pixelBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pixelSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resource-list-item {
    animation: pixelSlideIn 0.3s steps(3) forwards;
}
