/* 全局样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --accent-color: #e74c3c;
    --background-color: #2c2c2c;
    --dark-background: #1a1a1a;
    --light-text: #fff;
    --dark-text: #e0e0e0;
    --border-color: #444;
    --card-background: #3a3a3a;
    --hover-color: #4a4a4a;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--secondary-color);
}

/* 头部样式 */
header {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 1.5rem;
    position: relative;
}

.nav-links a {
    color: var(--light-text);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.admin-link {
    color: #e74c3c !important;
    font-weight: bold;
}

.nav-links a.admin-link:hover {
    color: #c0392b !important;
}

/* 下拉菜单样式 */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--card-background);
    min-width: 800px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border-radius: 4px;
    padding: 1.5rem;
    left: -350px;
    top: 100%;
    border: 1px solid var(--border-color);
    flex-direction: row;
    justify-content: space-between;
}

.dropdown-content.show {
    display: flex;
}

.dropdown-column {
    flex: 1;
    padding: 0 1rem;
    border-right: 1px solid var(--border-color);
}

.dropdown-column:last-child {
    border-right: none;
}

.dropdown-column h4 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    font-weight: bold;
}

.dropdown-column a {
    color: var(--dark-text);
    transition: color 0.3s;
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
}

.dropdown-column a:hover {
    color: var(--primary-color);
}

/* 下拉菜单交互样式 */
.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-link {
    margin-right: 0.5rem;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    color: var(--light-text);
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: var(--primary-color);
}

.dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 搜索框样式 */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

#search-input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    width: 200px;
    font-size: 14px;
    background-color: #3a3a3a;
    color: #e0e0e0;
    transition: all 0.3s ease;
}

#search-input:focus {
    outline: none;
    background-color: #4a4a4a;
    box-shadow: 0 0 0 2px var(--primary-color);
}

#search-input::placeholder {
    color: #888;
}

#search-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

#search-button:hover {
    background-color: var(--secondary-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-background);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    border: 1px solid var(--border-color);
    margin-top: 4px;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    background-color: #2a2a2a;
}

.search-results-header h3 {
    margin: 0;
    font-size: 14px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-search {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s;
}

.close-search:hover {
    color: var(--light-text);
    background-color: #3a3a3a;
}

.results-list {
    max-height: 300px;
    overflow-y: auto;
}

.result-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s;
    cursor: pointer;
}

.result-item:hover {
    background-color: #3a3a3a;
}

.result-item:last-child {
    border-bottom: none;
}

.result-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
}

.result-icon i {
    color: var(--light-text);
    font-size: 14px;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: var(--light-text);
}

.result-content h4 a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.result-content h4 a:hover {
    color: var(--primary-color);
}

.result-content p {
    margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.result-category {
    color: var(--primary-color) !important;
    font-weight: 500;
    margin-bottom: 4px !important;
}

.history-item .result-icon {
    background-color: #666;
}

.history-item .result-content h4 a {
    color: #888;
}

.history-item:hover .result-content h4 a {
    color: var(--light-text);
}

.no-results {
    padding: 24px 16px;
    text-align: center;
    color: #888;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results p {
    margin: 0 0 16px 0;
    font-size: 14px;
}

.search-suggestions {
    text-align: left;
    background-color: #2a2a2a;
    padding: 12px;
    border-radius: 4px;
    margin-top: 12px;
}

.search-suggestions p {
    margin: 0 0 8px 0;
    font-weight: 500;
    color: var(--light-text);
}

.search-suggestions ul {
    margin: 0;
    padding-left: 16px;
    font-size: 12px;
}

.search-suggestions li {
    margin-bottom: 4px;
}

/* 高亮搜索关键词 */
mark {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 500;
}

/* 搜索框响应式设计 */
@media (max-width: 768px) {
    .search-container {
        width: 100%;
    }
    
    #search-input {
        width: 100%;
        border-radius: 4px 0 0 4px;
    }
    
    .search-results {
        left: 0;
        right: 0;
        max-height: 300px;
    }
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 英雄区域 */
.hero {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    margin-bottom: 1rem;
    color: #666;
}

/* 最近更新区域 */
.recent-updates {
    margin-top: 3rem;
}

.updates-list {
    margin-top: 1.5rem;
}

.update-item {
    display: flex;
    margin-bottom: 1.5rem;
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.update-date {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    font-weight: bold;
}

.update-content {
    padding: 1rem;
    flex: 1;
}

.update-content h3 {
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    background-color: var(--dark-background);
    color: var(--light-text);
    padding: 3rem 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-text);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .nav-links {
        margin-bottom: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .search-container {
        width: 100%;
    }

    #search-input {
        width: 100%;
    }

    .dropdown-content {
        min-width: 300px;
        left: -100px;
        flex-direction: column;
    }
    
    .dropdown-content.show {
        display: flex;
    }

    .dropdown-column {
        margin-bottom: 1rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }

    .dropdown-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .update-item {
        flex-direction: column;
    }

    .update-date {
        padding: 0.5rem;
        min-width: auto;
    }
}

/* 特定页面样式 */
/* 新人引导页面 */
.guide-content {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.guide-section {
    margin-bottom: 2rem;
}

.guide-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

/* 插件页面 */
.plugin-category {
    margin-bottom: 3rem;
}

.plugin-category h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.plugin-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.plugin-card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.plugin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.plugin-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.plugin-card .plugin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.plugin-card .tag {
    background-color: #4a4a4a;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #e0e0e0;
}

.plugin-card .plugin-description {
    margin-bottom: 1rem;
}

.plugin-card .plugin-commands {
    background-color: #2a2a2a;
    padding: 0.5rem;
    border-radius: 4px;
    font-family: monospace;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* 插件详情页面样式 */
.plugin-detail-container {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 2rem;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    min-height: calc(100vh - 80px);
    width: 100%;
}

/* 左侧导航栏 */
.plugin-sidebar {
    background-color: var(--card-background);
    border-radius: 8px 0 0 8px;
    padding: 1rem;
    height: calc(100vh - 120px);
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-left: 0;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.sidebar-header i {
    color: var(--primary-color);
}

.sidebar-header h3 {
    color: var(--light-text);
    font-size: 0.95rem;
}

.plugin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    padding-right: 0.5rem;
}

.plugin-nav::-webkit-scrollbar {
    width: 6px;
}

.plugin-nav::-webkit-scrollbar-track {
    background: var(--dark-background);
    border-radius: 3px;
}

.plugin-nav::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.plugin-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.plugin-category h4 {
    color: var(--primary-color);
    margin-bottom: 0.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding-bottom: 0.05rem;
    border-bottom: 1px solid rgba(52, 152, 219, 0.2);
}

.plugin-category ul {
    list-style: none;
    padding-left: 0.2rem;
    margin-bottom: 0.1rem;
}

.plugin-category li {
    margin-bottom: 0.05rem;
}

.plugin-category a {
    color: var(--dark-text);
    font-size: 0.75rem;
    padding: 0.1rem 0.15rem;
    display: block;
    transition: color 0.3s;
    border-radius: 2px;
    padding-left: 0.15rem;
}

.plugin-category a:hover,
.plugin-category li.active a {
    color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.1);
}

/* 主内容区域 */
.plugin-content {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb i {
    color: var(--border-color);
    font-size: 0.8rem;
}

.breadcrumb span {
    color: var(--light-text);
    font-weight: 500;
}

/* 插件标题区域 */
.plugin-header {
    margin-bottom: 2rem;
}

.plugin-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.plugin-title i {
    font-size: 2rem;
    color: var(--primary-color);
}

.plugin-title h1 {
    color: var(--light-text);
    font-size: 2.5rem;
    font-weight: 600;
}

.plugin-subtitle {
    color: var(--dark-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 插件标签 */
.plugin-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.plugin-tags .tag {
    background-color: #4a4a4a;
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* 目录导航 */
.plugin-toc {
    background-color: var(--dark-background);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.plugin-toc h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toc-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.toc-section ul {
    padding-left: 1rem;
}

.toc-section li {
    margin-bottom: 0.3rem;
}

.toc-section a {
    color: var(--dark-text);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.toc-section a:hover {
    color: var(--primary-color);
}

/* 插件内容 */
.plugin-body {
    line-height: 1.8;
}

.plugin-section {
    margin-bottom: 3rem;
}

.plugin-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.section-content {
    color: var(--dark-text);
    margin-bottom: 2rem;
}

.section-content p {
    margin-bottom: 1rem;
}

.section-content ul,
.section-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.section-content li {
    margin-bottom: 0.5rem;
}

.subsection {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--dark-background);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.subsection h3 {
    color: var(--light-text);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.subsection-content {
    color: var(--dark-text);
}

.subsection-content p {
    margin-bottom: 1rem;
}

.subsection-content code {
    background-color: #2a2a2a;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    color: #e0e0e0;
}

.subsection-content pre {
    background-color: #2a2a2a;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.subsection-content pre code {
    background: none;
    padding: 0;
}

/* 右侧目录 */
.content-toc {
    background-color: var(--card-background);
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-right: 0;
}

.content-toc h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.content-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.content-section a {
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 0.3rem 0;
}

.content-section a:hover {
    color: var(--primary-color);
}

.content-section ul {
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.content-section li {
    margin-bottom: 0.3rem;
}

.content-section li a {
    font-size: 0.8rem;
    color: var(--light-text);
    padding: 0.2rem 0;
}

.content-section li a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .plugin-detail-container {
        grid-template-columns: 200px 1fr 200px;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
    }
}

@media (max-width: 768px) {
    .plugin-detail-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem;
    }
    
    .plugin-sidebar,
    .content-toc {
        position: static;
        order: 2;
    }
    
    .plugin-content {
        order: 1;
    }
    
    .plugin-title h1 {
        font-size: 2rem;
    }
    
    .plugin-tags {
        flex-direction: column;
    }
    
    .plugin-tags .tag {
        text-align: center;
    }
}

/* 搜索错误状态 */
.search-error {
    padding: 24px 16px;
    text-align: center;
    color: #888;
}

.search-error p {
    margin: 0 0 16px 0;
    font-size: 14px;
}

.retry-btn {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.retry-btn:hover {
    background-color: var(--secondary-color);
}

/* 搜索测试区域 */
.search-test-section {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 24px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.search-test-section h3 {
    color: var(--light-text);
    margin-bottom: 12px;
    font-size: 18px;
}

.search-test-section p {
    color: #888;
    margin-bottom: 16px;
    font-size: 14px;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.search-tag {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-family: inherit;
}

.search-tag:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* 内容网格 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon i {
    color: var(--light-text);
    font-size: 20px;
}

.card h3 {
    color: var(--light-text);
    margin-bottom: 12px;
    font-size: 18px;
}

.card p {
    color: #888;
    margin-bottom: 16px;
    line-height: 1.6;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--secondary-color);
}

/* 英雄区域按钮 */
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}

.btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--dark-background);
    transform: translateY(-2px);
}

/* 管理后台用户信息 */
.admin-user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-name {
    color: var(--light-text);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn {
    background-color: #dc3545;
    color: var(--light-text);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.logout-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* 管理后台头部样式更新 */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background-color: var(--card-background);
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

.admin-header h1 {
    margin: 0;
    color: var(--light-text);
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 隐藏管理入口对话框 */
.admin-access-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.admin-access-content {
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 400px;
    width: 90%;
    animation: slideIn 0.3s ease;
}

.admin-access-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background-color: #2a2a2a;
    border-radius: 8px 8px 0 0;
}

.admin-access-header h3 {
    margin: 0;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
}

.close-dialog {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 16px;
}

.close-dialog:hover {
    color: var(--light-text);
    background-color: #3a3a3a;
}

.admin-access-body {
    padding: 24px;
}

.admin-access-body p {
    margin: 0 0 20px 0;
    color: var(--light-text);
    text-align: center;
    font-size: 14px;
}

.admin-options {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.admin-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--light-text);
}

.admin-btn:not(.secondary) {
    background-color: var(--primary-color);
}

.admin-btn:not(.secondary):hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

.admin-btn.secondary {
    background-color: #666;
}

.admin-btn.secondary:hover {
    background-color: #777;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
