/* ==================== 全局重置和基础样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0c0c1e 0%, #1a1a3e 50%, #0f0f2d 100%);
    min-height: 100vh;
    color: #fff;
    padding-bottom: 100px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #7b2fff);
    border-radius: 4px;
}

/* ==================== 动画定义 ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.6;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    }
}

/* ==================== 通用组件样式 ==================== */
.neon-text {
    text-shadow: 
        0 0 5px #00d4ff,
        0 0 10px #00d4ff,
        0 0 20px #00d4ff,
        0 0 40px #7b2fff;
}

.highlight {
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* 玻璃卡片效果 */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

/* 按钮样式 */
.btn-glow {
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.5),
        0 0 40px rgba(123, 47, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.btn-sm {
    padding: 6px 15px !important;
    font-size: 0.85rem !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757, #c0392b);
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5);
}

/* ==================== 页面头部 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(12, 12, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 50px;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links a:hover {
    color: #00d4ff;
}

/* ==================== Hero区域 ==================== */
.hero {
    padding: 30px 50px 15px;
    text-align: center;
    min-height: 150px;
    padding-top: calc(80px + 30px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 搜索框 ==================== */
.search-box {
    max-width: 500px;
    margin: 40px auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4ff;
}

/* ==================== 分类选择器 ==================== */
.categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-btn {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #aaa;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: #00d4ff;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.category-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 255, 0.2));
    border-color: #00d4ff;
    color: #00d4ff;
}

/* ==================== FAQ容器 ==================== */
.faq-container {
    max-width: 1400px;
    margin: 40px auto 50px;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    justify-content: flex-start;
}

.faq-list-content {
    flex: 1;
    min-width: 0;
}

/* ==================== 分类网格 ==================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 280px;
    position: relative;
}

.category-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.18);
}

.category-card.maintenance {
    border-color: rgba(255, 165, 0, 0.3);
    opacity: 0.8;
}

.category-card.maintenance:hover {
    border-color: rgba(255, 165, 0, 0.5);
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.18);
}

.maintenance-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 8px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 
        0 0 0 0 rgba(255, 107, 53, 0.7),
        0 4px 20px rgba(255, 107, 53, 0.4);
    animation: pulse 2s infinite;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-cover {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.3));
    cursor: pointer;
}

.category-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
}

.category-cover::after {
    content: '+';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.8);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.category-cover-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.category-cover:hover::after {
    background: rgba(0, 212, 255, 1);
    transform: scale(1.1);
}

.category-info {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-info h3 {
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
}

.category-info p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 二级分类网格 */
.sub-category-grid {
    margin-bottom: 20px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
}

.sub-category-grid-title {
    display: none;
}

.sub-category-grid-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 280px;
    width: 100%;
}

/* 二级分类卡片 */
.sub-category-card {
    padding: 20px 35px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #aaa;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 110px;
}

.sub-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    z-index: 1;
}

.sub-category-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateY(-2px);
}

.sub-category-card.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(72, 187, 120, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    color: #fff;
}

.sub-category-card.active::before {
    background: rgba(0, 0, 0, 0.4);
}

.sub-category-card.maintenance {
    border-color: rgba(255, 165, 0, 0.3);
    opacity: 0.8;
}

.sub-category-card.maintenance:hover {
    border-color: rgba(255, 165, 0, 0.5);
    color: #ffa500;
}

.sub-category-name,
.sub-category-count {
    position: relative;
    z-index: 2;
}

.sub-category-name {
    font-weight: 600;
    font-size: 1.3rem;
}

.sub-category-count {
    font-size: 1rem;
    opacity: 0.8;
}

.sub-category-cover {
    width: 60px;
    height: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.sub-category-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    border-radius: 8px;
}

.sub-category-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sub-category-info h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 3px;
    font-weight: 500;
}

.sub-category-info p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.category-info p {
    font-size: 0.85rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== FAQ项目样式 ==================== */
.faq-item {
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-size: 14px;
    font-weight: bold;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.03);
    color: #aaa;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==================== 图片样式 ==================== */
.faq-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.faq-image:hover {
    transform: scale(1.02);
}

.faq-image-container {
    position: relative;
    display: inline-block;
    margin: 10px 0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.image-zoom-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.faq-image-container:hover .image-zoom-overlay {
    opacity: 1;
}

.image-zoom-overlay::after {
    content: '🔍';
    font-size: 20px;
}

/* ==================== 图片全屏预览 ==================== */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    cursor: zoom-out;
}

.image-preview-overlay.active {
    display: flex;
}

.image-preview-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.image-preview-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(20, 20, 40, 0.92);
    backdrop-filter: blur(20px);
    padding: 12px 24px;
    border-radius: 32px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.zoom-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #00d4ff;
    font-size: 22px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.zoom-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-btn:hover::before {
    opacity: 1;
}

.zoom-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.05));
}

.zoom-btn:active {
    transform: translateY(0) scale(0.98);
}

.zoom-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
}

.zoom-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.05);
}

.zoom-btn.zoom-in::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.zoom-btn.zoom-in::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 14px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.zoom-btn.zoom-out::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.zoom-btn.fullscreen-btn::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #00d4ff;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.zoom-btn.fullscreen-btn::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    bottom: 6px;
    right: 6px;
}

.zoom-btn.fullscreen-btn.exit-fullscreen::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #00d4ff;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.zoom-btn.fullscreen-btn.exit-fullscreen::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #00d4ff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
    top: 6px;
    right: 6px;
}

.zoom-level {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    min-width: 55px;
    text-align: center;
    background: rgba(0, 212, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    letter-spacing: 1px;
}

.zoom-reset {
    padding: 10px 20px;
    border-radius: 22px;
    border: none;
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.3), rgba(72, 187, 120, 0.1));
    color: #48bb78;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 15px rgba(72, 187, 120, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.zoom-reset::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.zoom-reset:hover::before {
    left: 100%;
}

.zoom-reset:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(72, 187, 120, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.4), rgba(72, 187, 120, 0.15));
}

.zoom-reset:active {
    transform: translateY(0);
}

.image-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-preview-close:hover {
    background: rgba(255, 71, 87, 0.8);
}

/* ==================== 附件相关样式 ==================== */
.faq-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.attachment-badge {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(72, 187, 120, 0.8) 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.attachment-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.faq-attachments {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(72, 187, 120, 0.05) 100%);
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 0 0 15px 15px;
    margin-top: -1px;
}

.attachments-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.attachments-icon {
    font-size: 20px;
    animation: bounce 1s infinite;
}

.attachments-title {
    font-size: 16px;
    font-weight: 600;
    color: #00d4ff;
}

.attachments-count {
    font-size: 14px;
    color: #48bb78;
    background: rgba(72, 187, 120, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attachment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.attachment-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateX(5px);
}

.attachment-icon {
    font-size: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.15);
    border-radius: 8px;
}

.attachment-name {
    flex: 1;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.attachment-actions {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    z-index: 2;
    position: relative;
}

.preview-btn {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 150, 200, 0.1) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.preview-btn:hover {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.4) 0%, rgba(0, 150, 200, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.download-btn {
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.2) 0%, rgba(50, 150, 90, 0.1) 100%);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.3);
}

.download-btn:hover {
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.4) 0%, rgba(50, 150, 90, 0.2) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(72, 187, 120, 0.4);
    border-color: rgba(72, 187, 120, 0.6);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

/* ==================== 快捷板块 ==================== */
.quick-sections {
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(72, 187, 120, 0.05) 100%);
}

.quick-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-section-card {
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.quick-section-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: #00d4ff;
}

.quick-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.quick-section-preview {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
}

/* ==================== 二级分类 ==================== */
/* 已迁移到 .sub-category-grid 相关样式 */

.sub-category-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.sub-category-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.sub-category-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(72, 187, 120, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    color: #fff;
}

/* ==================== 分类详情页 ==================== */
.category-header-detail {
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.category-cover-large {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.3));
    width: 100%;
    max-width: 100%;
}

.category-cover-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
}

.category-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-cover-large .category-info h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-cover-large .category-info p {
    font-size: 1.1rem;
    color: #aaa;
}

.category-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-faq-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.category-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    cursor: pointer;
}

.category-faq-question span {
    font-size: 0.95rem;
    color: #ddd;
    flex: 1;
}

.category-faq-toggle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.category-faq-item.active .category-faq-toggle {
    transform: rotate(45deg);
}

.category-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-faq-item.active .category-faq-answer {
    max-height: 200px;
}

.category-faq-answer-content {
    padding: 0 18px 15px;
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==================== 备案信息和页脚 ==================== */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 15px 30px;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(12, 12, 30, 0.95) 0%, rgba(12, 12, 30, 0.98) 100%);
    z-index: 100;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-center p {
    margin: 0;
    font-size: 0.85rem;
}

.footer-right {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.record-info {
    margin: 0;
    font-size: 0.85rem;
    padding-top: 5px;
}

/* 快捷板块管理样式 */
#quickSectionsContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.quick-section-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.quick-section-item:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.1);
}

.quick-section-item .section-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #00d4ff;
}

.quick-section-item .section-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-section-item .section-title-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.quick-section-item .section-title-input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.quick-section-item .section-title-input::placeholder {
    color: #666;
}

.quick-section-item textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    font-size: 0.9rem;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.quick-section-item textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.quick-section-item textarea::placeholder {
    color: #666;
}

.quick-section-item .delete-section-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quick-section-item .delete-section-btn:hover {
    background: rgba(255, 71, 87, 0.4);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.quick-section-item .section-icon-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

.quick-section-item .icon-selector {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    font-size: 1.2rem;
    cursor: pointer;
    text-align: center;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-section-item .icon-selector:hover {
    background: rgba(0, 212, 255, 0.4);
    transform: scale(1.1);
}

.quick-section-item .icon-selector:focus {
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.quick-section-item .section-icon-display {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    color: #00d4ff;
    padding-top: 40px;
}

/* 空状态样式 */
#quickSectionsContainer > div:only-child {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.record-link {
    font-size: 0.85rem;
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(0, 212, 255, 0.1);
}

.record-link:hover {
    color: #fff;
}

.admin-link {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 47, 255, 0.2));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 47, 255, 0.3));
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

/* ==================== 登录页面 ==================== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
}

.login-card h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #aaa;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.error-message {
    color: #ff4757;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* ==================== 后台操作按钮样式 ==================== */
.action-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}

.admin-action-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 20px;
}

.admin-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.admin-action-btn:hover::before {
    left: 100%;
}

.admin-action-btn.edit {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.25) 0%, rgba(123, 47, 255, 0.25) 100%);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

.admin-action-btn.edit:hover {
    background: linear-gradient(145deg, rgba(0, 212, 255, 0.4) 0%, rgba(123, 47, 255, 0.4) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.admin-action-btn.delete {
    background: linear-gradient(145deg, rgba(255, 71, 87, 0.25) 0%, rgba(238, 102, 123, 0.25) 100%);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.4);
}

.admin-action-btn.delete:hover {
    background: linear-gradient(145deg, rgba(255, 71, 87, 0.4) 0%, rgba(238, 102, 123, 0.4) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    border-color: rgba(255, 71, 87, 0.6);
}

.admin-action-btn.view {
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.25) 0%, rgba(66, 186, 150, 0.25) 100%);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.4);
}

.admin-action-btn.view:hover {
    background: linear-gradient(145deg, rgba(72, 187, 120, 0.4) 0%, rgba(66, 186, 150, 0.4) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    border-color: rgba(72, 187, 120, 0.6);
}

.admin-action-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
}

.admin-action-btn.disabled:hover {
    box-shadow: none;
    transform: none !important;
}

/* ==================== 管理后台 ==================== */
.admin-header {
    background: rgba(12, 12, 30, 0.95);
    padding: 15px 30px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.admin-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-main {
    display: flex;
    min-height: calc(100vh - 65px);
}

.sidebar {
    width: 250px;
    background: rgba(12, 12, 30, 0.9);
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin-bottom: 10px;
}

.sidebar nav ul li a {
    display: block;
    padding: 12px 15px;
    color: #aaa;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.sidebar nav ul li a:hover,
.sidebar nav ul li a.active {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.sidebar nav ul li.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar nav ul li.has-submenu > a::after {
    content: '▼';
    font-size: 0.6rem;
    color: #666;
    transition: transform 0.3s ease;
}

.sidebar nav ul li.has-submenu.open > a::after {
    transform: rotate(180deg);
}

.sidebar nav ul li.has-submenu .submenu {
    display: none;
    list-style: none;
    margin: 5px 0 0 15px;
    padding-left: 0;
}

.sidebar nav ul li.has-submenu.open .submenu {
    display: block;
}

.sidebar nav ul li.has-submenu .submenu li a {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.sidebar nav ul li.has-submenu .submenu li a:hover {
    background: rgba(0, 212, 255, 0.15);
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
}

.table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    font-weight: 600;
}

.data-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* ==================== 弹窗样式 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 500px;
    background: rgba(12, 12, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal.maximized {
    width: 95vw;
    max-width: none;
    height: 90vh;
    max-height: none;
    border-radius: 10px;
}

.modal.maximized .modal-content {
    overflow-y: auto;
    max-height: calc(90vh - 100px);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: #fff;
}

.modal-actions {
    display: flex;
    gap: 10px;
}

.modal-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.5);
}

.close-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* FAQ详情弹窗 */
.faq-detail-modal {
    width: 98%;
    max-width: 1400px;
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: rgba(12, 12, 30, 0.98);
    border-radius: 20px;
}

.faq-detail-modal .modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    padding-top: 0;
}

.faq-modal-question {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(123, 47, 255, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.faq-modal-question h2 {
    font-size: 1.4rem;
    color: #00d4ff;
    margin: 0;
    line-height: 1.6;
    font-weight: 600;
}

.faq-modal-answer {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 2.2;
    white-space: pre-wrap;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    word-break: break-word;
}

.faq-modal-answer ul,
.faq-modal-answer ol {
    margin: 20px 0;
    padding-left: 30px;
}

.faq-modal-answer li {
    position: relative;
    padding: 12px 18px;
    margin: 10px 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(123, 47, 255, 0.04));
    border-radius: 12px;
    border-left: 3px solid #00d4ff;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-modal-answer li:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(123, 47, 255, 0.08));
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
}

.faq-modal-answer li::before {
    content: '✓';
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.faq-modal-answer img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin: 20px auto;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
    position: relative;
}

.faq-modal-answer img:hover {
    transform: scale(1.05);
    box-shadow: 
        0 15px 50px rgba(0, 212, 255, 0.4),
        0 0 0 2px rgba(0, 212, 255, 0.5);
}

.faq-modal-answer img::after {
    content: '🔍 点击放大';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-modal-answer img:hover::after {
    opacity: 1;
}

.image-preview-wrapper {
    position: relative;
    display: block;
    max-width: 100%;
    margin: 20px auto;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.image-preview-wrapper .faq-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
}

.image-preview-wrapper:hover .faq-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    padding: 16px 28px;
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-preview-wrapper:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
}

.faq-modal-answer span.highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(138, 43, 226, 0.3));
    padding: 2px 6px;
    border-radius: 4px;
    color: #00d4ff;
}

.faq-modal-attachments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== 表单元素 ==================== */
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    resize: vertical;
    min-height: 100px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group select:focus {
    border-color: #00d4ff;
}

.form-group select option {
    background: #1a1a3e;
    color: #fff;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #888;
}

/* ==================== 状态徽章 ==================== */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.status-badge.inactive {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.status-badge.maintenance {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

/* ==================== Toast提示 ==================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    z-index: 2000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #00d4ff, #00b894);
}

.toast.error {
    background: linear-gradient(135deg, #ff4757, #e17055);
}

/* ==================== 系统设置标签页 ==================== */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #aaa;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(72, 187, 120, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.5);
    color: #fff;
}

.settings-tab-content {
    display: none;
}

.settings-tab-content.active {
    display: block;
}

/* ==================== Toggle开关 ==================== */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, #00d4ff, #7b2fff);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* ==================== 右键菜单 ==================== */
.context-menu {
    position: fixed;
    background: rgba(20, 20, 40, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    animation: contextMenuFadeIn 0.15s ease;
}

@keyframes contextMenuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.context-menu.show {
    display: block;
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.context-menu-item:hover {
    background: rgba(0, 212, 255, 0.2);
    padding-left: 20px;
}

.context-menu-item span {
    font-size: 1rem;
}

.context-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
}

/* ==================== 响应式设计 ==================== */

/* 平板设备 (768px - 1024px) */
@media (max-width: 1024px) {
    .header {
        padding: 12px 20px;
    }
    
    .hero {
        padding: 60px 20px 60px;
        min-height: 180px;
    }
    
    .search-box input {
        padding: 14px 20px 14px 55px;
        font-size: 0.9rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .sidebar {
        width: 200px;
        padding: 15px;
    }
    
    .sidebar nav ul li a {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    .admin-content {
        padding: 20px;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .category-cover-large {
        height: 120px;
    }
    
    .category-icon-large {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .category-cover-large .category-info h1 {
        font-size: 1.8rem;
    }
    
    .category-cover-large .category-info p {
        font-size: 1rem;
    }
    
    .sub-categories {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .sub-category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* 手机设备 (最大768px) */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 50px 15px 50px;
        min-height: 150px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .search-box {
        max-width: 90%;
    }
    
    .search-box input {
        padding: 12px 15px 12px 50px;
        font-size: 0.85rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }
    
    .category-cover {
        height: 160px;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
    }
    
    .category-info p {
        font-size: 0.85rem;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    /* 管理后台响应式 */
    .admin-main {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .sidebar nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .sidebar nav ul li {
        flex: 0 0 auto;
    }
    
    .sidebar nav ul li a {
        border-radius: 20px;
        padding: 8px 15px;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .data-table {
        font-size: 0.75rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }
    
    .btn-glow,
    .btn-outline,
    .btn-danger {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .modal {
        width: 95%;
        padding: 20px;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    /* 分类详情页响应式 */
    .category-header-detail {
        padding: 0;
    }
    
    .category-cover-large {
        height: 100px;
        padding: 20px 15px;
    }
    
    .category-icon-large {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .category-cover-large .category-info h1 {
        font-size: 1.4rem;
    }
    
    .category-cover-large .category-info p {
        font-size: 0.9rem;
    }
    
    .sub-categories {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
    }
    
    .sub-categories-label {
        margin-bottom: 10px;
    }
    
    .sub-category-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* 小屏手机 (最大480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.8rem;
    }
    
    .category-info h3 {
        font-size: 1rem;
    }
    
    .category-info p {
        font-size: 0.8rem;
    }
    
    .category-cover {
        height: 140px;
    }
    
    .sub-categories {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sub-category-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .login-card {
        padding: 30px 20px;
    }
    
    .login-card h2 {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 12px 15px;
    }
    
    /* 分类详情页 */
    .category-cover-large {
        height: 80px;
    }
    
    .category-icon-large {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .category-cover-large .category-info h1 {
        font-size: 1.2rem;
    }
    
    .category-cover-large .category-info p {
        font-size: 0.8rem;
    }
    
    .sub-category-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}