/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1a1d2e;
    --bg-card: #242837;
    --bg-hover: #2d3142;
    --accent-blue: #4a90e2;
    --accent-blue-dark: #3a6fa8;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #8a8d9a;
    --border-color: #2d3142;
}

/* 亮色主题 */
[data-theme="light"] {
    --bg-dark: #f5f7fa;
    --bg-card: #ffffff;
    --bg-hover: #f0f2f5;
    --accent-blue: #4a90e2;
    --accent-blue-dark: #3a6fa8;
    --text-primary: #1a1d2e;
    --text-secondary: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
}

/* 暗色主题（默认） */
[data-theme="dark"] {
    --bg-dark: #1a1d2e;
    --bg-card: #242837;
    --bg-hover: #2d3142;
    --accent-blue: #4a90e2;
    --accent-blue-dark: #3a6fa8;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #8a8d9a;
    --border-color: #2d3142;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1a2b4d 0%, #2d4a7a 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* 暗色主题背景 */
html[data-theme="dark"] body,
html:not([data-theme]) body {
    background: linear-gradient(135deg, #1a2b4d 0%, #2d4a7a 100%);
}

html[data-theme="dark"] body::before,
html:not([data-theme]) body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2b4d 0%, #2d4a7a 100%);
    z-index: -2;
}

html[data-theme="dark"] body::after,
html:not([data-theme]) body::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0.3) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 40% 0);
    z-index: -1;
    pointer-events: none;
}

/* 亮色主题背景 */
html[data-theme="light"] body {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

html[data-theme="light"] body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    z-index: -2;
}

html[data-theme="light"] body::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 70%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.15) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 40% 0);
    z-index: -1;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(26, 29, 46, 0.95);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: border-color 0.3s ease;
}

/* 亮色主题导航栏 - 使用!important确保优先级 */
html[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom-color: var(--border-color) !important;
}

/* 暗色主题导航栏 - 明确设置 */
html[data-theme="dark"] .navbar,
html:not([data-theme]) .navbar {
    background: rgba(26, 29, 46, 0.95) !important;
    border-bottom-color: var(--border-color) !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.nav-url {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.2;
}

.logo {
    height: 36px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.nav-menu a.active {
    color: var(--text-primary);
}

.admin-link {
    background: var(--accent-blue);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.admin-link:hover {
    background: var(--accent-blue-dark);
}

/* 英雄区域 */
.hero {
    padding: 60px 0 80px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 400;
}

.hero-badge {
    text-align: left;
    margin-bottom: 2rem;
}

.badge-text {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(74, 144, 226, 0.25) 100%);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    color: var(--accent-blue);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    padding-bottom: 80px;
}

.obs-screenshot {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    display: block;
    box-shadow: none !important;
    filter: none !important;
}

/* 倒影效果 */
.hero-image::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: url('../images/OBS软件界面.png');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    transform: scaleY(-1);
    transform-origin: top;
    opacity: 0.3;
    filter: blur(4px) brightness(0.8);
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
    mask-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 40%, 
        transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.3) 40%, 
        transparent 100%);
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-badge {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        padding-bottom: 80px;
    }
    
    .hero-image::after {
        width: 100%;
        background-size: 100% auto;
    }
    
    .obs-screenshot {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.btn-primary {
    background: var(--accent-blue);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-blue-dark);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-large .btn-icon {
    width: 24px;
    height: 24px;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* 章节标题 */
.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.3px;
}

.page-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* 功能卡片 */
.features {
    padding: 80px 0;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: border-color 0.2s;
}

.feature-card:hover {
    border-color: var(--accent-blue);
}

.feature-icon {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-hover);
    border-radius: 3px;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* 热门主播 */
.streamers-section {
    padding: 80px 0;
}

.streamers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.streamer-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 226, 0.02) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.streamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.streamer-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    transform: translateY(-4px);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.streamer-card:hover::before {
    opacity: 1;
}

.streamer-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.streamer-card:hover .streamer-avatar {
    border-color: var(--accent-blue);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3);
    transform: scale(1.05);
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.05));
}

.streamer-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.streamer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
    letter-spacing: -0.2px;
}

.streamer-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 20px;
    margin-top: 0.25rem;
}

.platform-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: none;
    line-height: 1.2;
}

.platform-tag[data-platform="抖音"] {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 68, 68, 0.08));
    color: #ff6b6b;
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.platform-tag[data-platform="快手"] {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.08));
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.platform-tag[data-platform="虎牙"] {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.08));
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.platform-tag[data-platform="bilibili"] {
    background: linear-gradient(135deg, rgba(251, 114, 153, 0.15), rgba(251, 114, 153, 0.08));
    color: #fb7299;
    border: 1px solid rgba(251, 114, 153, 0.3);
}

.platform-tag[data-platform="斗鱼"] {
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.15), rgba(255, 87, 34, 0.08));
    color: #ff5722;
    border: 1px solid rgba(255, 87, 34, 0.3);
}

/* 默认平台样式（如果平台不在列表中） */
.platform-tag:not([data-platform="抖音"]):not([data-platform="快手"]):not([data-platform="虎牙"]):not([data-platform="bilibili"]):not([data-platform="斗鱼"]) {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.fans-count {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
}

.fans-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
    opacity: 0.8;
}

.fans-number {
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: -0.3px;
}

.fans-label {
    color: var(--text-muted);
    font-size: 0.7rem;
    opacity: 0.8;
}

.streamer-card .btn {
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    letter-spacing: 0.2px;
}

.streamers-section .empty-state {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
    font-size: 0.95rem;
}

/* 版本卡片（保留兼容性） */
.versions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.version-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s;
}

.version-card:hover {
    border-color: var(--accent-blue);
}

.version-icon {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 8px 18px;
    background: var(--bg-hover);
    border-radius: 3px;
    color: var(--accent-blue);
    text-transform: uppercase;
}

.version-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.version-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.version-size {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* 统计数据 */
.stats {
    padding: 80px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* 下载页面 */
.download-section {
    padding: 60px 0 100px;
    min-height: 60vh;
}

.download-header {
    margin-bottom: 3rem;
}

.download-header > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.download-header > div:first-child > div:first-child {
    text-align: left;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 400;
}

.user-center-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    white-space: nowrap;
}

.user-center-link:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.user-center-link svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .download-header > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .user-center-link {
        width: 100%;
        justify-content: center;
    }
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab-icon {
    width: 20px;
    height: 20px;
    display: block;
    filter: brightness(0) invert(0.7);
    transition: filter 0.2s;
}

.filter-tab:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.filter-tab:hover .filter-tab-icon {
    filter: brightness(0) invert(1);
}

.filter-tab.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.filter-tab.active .filter-tab-icon {
    filter: brightness(0) invert(1);
}

/* 下载中心介绍模块 */
.download-intro-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.intro-card-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text {
    display: flex;
    flex-direction: column;
}

.intro-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-blue);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 1rem;
}

.intro-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.intro-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.intro-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-primary);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.intro-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-diagram {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.intro-diagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50%;
    z-index: 0;
}

.intro-diagram::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 140px;
    height: 140px;
    border: 1px solid rgba(74, 144, 226, 0.15);
    z-index: 0;
}

.diagram-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    z-index: 2;
}

.diagram-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    z-index: 2;
}

.diagram-node::before {
    content: '';
    position: absolute;
    background: rgba(74, 144, 226, 0.25);
    z-index: 1;
}

.node-top {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.node-top::before {
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 70px;
}

.node-left {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.node-left::before {
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 2px;
}

.node-right {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.node-right::before {
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 2px;
}

.node-bottom {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.node-bottom::before {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 70px;
}

.diagram-node svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .intro-card-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .intro-visual {
        order: -1;
    }
    
    .intro-diagram {
        width: 240px;
        height: 240px;
    }
    
    .intro-diagram::before {
        width: 170px;
        height: 170px;
    }
    
    .intro-diagram::after {
        width: 120px;
        height: 120px;
    }
    
    .diagram-node {
        width: 70px;
        height: 70px;
    }
    
    .diagram-center {
        width: 50px;
        height: 50px;
    }
    
    .diagram-node svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 768px) {
    .download-intro-card {
        padding: 2rem 1.5rem;
    }
    
    .intro-title {
        font-size: 1.5rem;
    }
    
    .intro-features li {
        font-size: 0.9rem;
    }
}

/* OBS问题咨询沟通模块 */
.obs-consult-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 4rem 3rem;
    margin-top: 4rem;
    margin-bottom: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.consult-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.consult-text {
    display: flex;
    flex-direction: column;
    position: relative;
}

.consult-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.consult-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
}

.consult-button-wrapper {
    display: inline-block;
    position: relative;
}

.consult-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.consult-button:hover,
.consult-button:active,
.consult-button:focus,
.consult-button:visited {
    text-decoration: none !important;
    background: #3a8ae0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.consult-button-secondary {
    text-decoration: none !important;
}

.consult-button-secondary:hover,
.consult-button-secondary:active,
.consult-button-secondary:focus,
.consult-button-secondary:visited {
    text-decoration: none !important;
}

.consult-qrcode-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.consult-qrcode-wrapper.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.consult-qrcode {
    display: inline-block;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.consult-qrcode img {
    width: 200px;
    height: 200px;
    display: block;
}



.consult-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.consult-illustration {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.illustration-platform {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.illustration-ring {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
}

.ring-1 {
    width: 160px;
    height: 160px;
    bottom: 40px;
}

.ring-2 {
    width: 220px;
    height: 220px;
    bottom: 25px;
    border-color: rgba(74, 144, 226, 0.2);
}

.ring-3 {
    width: 280px;
    height: 280px;
    bottom: 10px;
    border-color: rgba(74, 144, 226, 0.15);
}

.illustration-figure {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.figure-head {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.figure-body {
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.illustration-panel {
    position: absolute;
    background: var(--accent-blue);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.panel-back {
    width: 120px;
    height: 160px;
    top: 100px;
    right: 80px;
    opacity: 0.9;
}

.panel-back::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.panel-back::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.panel-front {
    width: 100px;
    height: 140px;
    top: 140px;
    left: 60px;
    background: rgba(74, 144, 226, 0.6);
    backdrop-filter: blur(10px);
}

.panel-front::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.panel-front::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 1px;
}

.illustration-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: 0.5s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation-delay: 1s;
}

.particle:nth-child(4) {
    top: 40%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 968px) {
    .consult-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .consult-visual {
        order: -1;
    }
    
    .consult-illustration {
        width: 300px;
        height: 300px;
    }
    
    .illustration-platform {
        width: 90px;
        height: 90px;
    }
    
    .ring-1 {
        width: 120px;
        height: 120px;
    }
    
    .ring-2 {
        width: 165px;
        height: 165px;
    }
    
    .ring-3 {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 768px) {
    .obs-consult-section {
        padding: 3rem 2rem;
    }
    
    .consult-title {
        font-size: 1.5rem;
    }
    
    .consult-subtitle {
        font-size: 1rem;
    }

    .consult-button {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
    
    .consult-qrcode img {
        width: 160px;
        height: 160px;
    }
}

/* 返回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    transition: stroke 0.3s ease;
}

.scroll-to-top:hover svg {
    stroke: white;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 44px;
        height: 44px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* 版本卡片网格 */
.download-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.download-version-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.download-version-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.15);
}

.download-version-card.latest {
    border-color: var(--accent-blue);
    border-width: 2px;
}

.version-card-icon {
    width: 100%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
    order: -1;
}

.platform-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.platform-icon-placeholder {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.2rem;
}

.version-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.version-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.version-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 1rem 0;
    flex: 1;
}

.version-card-meta {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.meta-row:last-child {
    margin-bottom: 0;
}

.meta-row .meta-label {
    color: var(--text-secondary);
}

.meta-row .meta-value {
    color: var(--text-primary);
    font-weight: 500;
}

.version-card-action {
    margin-top: auto;
    padding-top: 1rem;
}

.version-card-action .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.version-card-action .btn span {
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .download-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .download-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 下载卡片列表（保留兼容性） */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.download-card:hover {
    border-color: var(--accent-blue);
}

.download-card.latest {
    border-color: var(--accent-blue);
}

.download-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.download-card-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    flex-wrap: wrap;
}

.version-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.platform-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.platform-tag.platform-windows {
    background: rgba(0, 120, 215, 0.15);
    color: #4fc3f7;
    border: 1px solid rgba(0, 120, 215, 0.3);
}

.platform-tag.platform-macos {
    background: rgba(149, 149, 149, 0.15);
    color: #b8bcc8;
    border: 1px solid rgba(149, 149, 149, 0.3);
}

.download-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.download-card-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.meta-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.download-card-action {
    display: flex;
    justify-content: flex-end;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.badge-secondary {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #f87171;
    border-color: rgba(220, 53, 69, 0.3);
}

/* 关于页面 */
.about-section {
    padding: 60px 0;
    min-height: 60vh;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.about-card h2 {
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    font-weight: 600;
}

.about-card p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.feature-list li:last-child {
    border-bottom: none;
}

.requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.requirement-item {
    background: var(--bg-hover);
    padding: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.requirement-item h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.requirement-item ul {
    list-style-position: inside;
    color: var(--text-secondary);
}

.requirement-item ul li {
    margin-bottom: 0.5rem;
}

.about-card a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s;
}

.about-card a:hover {
    text-decoration: underline;
}

/* 技术支持部分 */
.support-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.support-text {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.8;
}

.support-text p {
    margin: 0;
}

.support-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.support-qrcode img {
    width: 180px;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    padding: 8px;
}

.support-qrcode p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .support-qrcode img {
        width: 150px;
        height: 150px;
    }
}

/* 页脚 */
.footer {
    background: #242837;
    color: #b8bcc8;
    padding: 1rem 0;
    margin-top: 3rem;
    border-top: 1px solid #2d3142;
    font-size: 0.85rem;
}

.footer .container {
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .footer-icp,
.footer .footer-disclaimer {
    text-align: center;
}

/* 明亮模式下页脚保持黑色风格 */
html[data-theme="light"] .footer {
    background: #242837 !important;
    color: #b8bcc8 !important;
    border-top-color: #2d3142 !important;
}

html[data-theme="light"] .footer .footer-title {
    color: #ffffff !important;
}

html[data-theme="light"] .footer .footer-domain {
    color: #b8bcc8 !important;
}

html[data-theme="light"] .footer .footer-nav a,
html[data-theme="light"] .footer .footer-links-list a {
    color: #b8bcc8 !important;
}

html[data-theme="light"] .footer .footer-nav a:hover,
html[data-theme="light"] .footer .footer-links-list a:hover {
    color: #4a90e2 !important;
}

html[data-theme="light"] .footer .footer-links-label {
    color: #8a8d9a !important;
}

html[data-theme="light"] .footer .footer-qrcode p {
    color: #8a8d9a !important;
}

html[data-theme="light"] .footer .footer-icp,
html[data-theme="light"] .footer .footer-disclaimer {
    color: #8a8d9a !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-brand {
        gap: 8px;
    }
    
    .nav-title {
        font-size: 1.1rem;
    }
    
    .nav-url {
        font-size: 0.75rem;
    }

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

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 10px;
    }

    .hero-buttons {
        margin-bottom: 2rem;
    }

    .hero-image {
        margin: 2rem 0 0;
    }

    .obs-screenshot {
        width: 90%;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-grid,
    .versions-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 1.5rem;
    }
    
    .download-card {
        padding: 1.25rem;
    }
    
    .download-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .download-card-meta {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .download-card-action {
        justify-content: stretch;
    }
    
    .download-card-action .btn {
        width: 100%;
        text-align: center;
    }
    
    .platform-title {
        font-size: 1.25rem;
    }
    
    .platform-groups {
        gap: 2rem;
    }
    
    .plugins-grid {
        grid-template-columns: 1fr;
    }
    
    .plugin-detail-header {
        padding: 1.5rem;
    }
}

/* 插件中心样式 */
.plugins-section {
    padding: 80px 0 100px;
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.plugin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.plugin-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    transform: translateY(-4px);
}

.plugin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.plugin-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.plugin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.plugin-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex: 1;
}

.plugin-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    flex: 1;
}

.plugins-section .empty-state {
    grid-column: 1 / -1;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

/* 插件详情页样式 */
.plugin-detail-section {
    padding: 80px 0 100px;
}

.plugin-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.plugin-detail-header {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.plugin-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.plugin-detail-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.plugin-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.plugin-detail-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.plugin-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.plugin-detail-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.plugin-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.plugin-content-body {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

.plugin-content-body h1,
.plugin-content-body h2,
.plugin-content-body h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.plugin-content-body h1 { 
    font-size: 1.75rem; 
}

.plugin-content-body h2 { 
    font-size: 1.5rem; 
}

.plugin-content-body h3 { 
    font-size: 1.25rem; 
}

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

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

.plugin-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 导航栏切换按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .navbar .container {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        padding: 1rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    /* 亮色主题下移动端菜单背景 */
    html[data-theme="light"] .nav-menu {
        background: rgba(255, 255, 255, 0.98) !important;
        border-top-color: var(--border-color) !important;
    }
    
    /* 暗色主题下移动端菜单背景 */
    html[data-theme="dark"] .nav-menu,
    html:not([data-theme]) .nav-menu {
        background: var(--bg-card) !important;
        border-top-color: var(--border-color) !important;
    }
    
    .nav-menu.active {
        max-height: 500px;
        opacity: 1;
        padding: 1.5rem 1rem;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0.5rem 0;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: var(--bg-hover);
        color: var(--accent-blue);
    }
    
    .nav-menu .theme-toggle-item {
        margin-left: 0;
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
}

/* 主题切换 */
.theme-toggle-item {
    margin-left: 1rem;
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.theme-toggle-track {
    width: 48px;
    height: 26px;
    background: var(--bg-hover);
    border-radius: 13px;
    position: relative;
    transition: background 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid var(--border-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.theme-toggle-handle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 暗色主题时按钮状态 */
html[data-theme="dark"] .theme-toggle .theme-toggle-track,
html:not([data-theme]) .theme-toggle .theme-toggle-track {
    background: var(--bg-hover);
    border-color: var(--border-color);
}

html[data-theme="dark"] .theme-toggle .theme-toggle-handle,
html:not([data-theme]) .theme-toggle .theme-toggle-handle {
    transform: translateX(0);
    background: white;
}

/* 亮色主题时按钮状态 */
html[data-theme="light"] .theme-toggle .theme-toggle-track {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: inset 0 2px 4px rgba(74, 144, 226, 0.2);
}

html[data-theme="light"] .theme-toggle .theme-toggle-handle {
    transform: translateX(22px);
    background: white;
    box-shadow: 0 2px 6px rgba(74, 144, 226, 0.3);
}

.theme-icon {
    position: absolute;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

/* 暗色主题图标状态 */
html[data-theme="dark"] .theme-icon-moon,
html:not([data-theme]) .theme-icon-moon {
    opacity: 1;
    color: var(--text-secondary);
}

html[data-theme="dark"] .theme-icon-sun,
html:not([data-theme]) .theme-icon-sun {
    opacity: 0;
    color: #fbbf24;
}

/* 亮色主题图标状态 */
html[data-theme="light"] .theme-icon-moon {
    opacity: 0;
}

html[data-theme="light"] .theme-icon-sun {
    opacity: 1;
    color: #fbbf24;
}

/* 确保主题切换按钮在导航栏中可见 */
.theme-toggle-track {
    display: block;
    position: relative;
}

.theme-toggle-handle {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 快速开始部分 */
.quick-start-section {
    padding: 80px 0;
    background: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.quick-start-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-icon-wrapper {
    margin: 1rem 0 1.5rem;
    display: flex;
    justify-content: center;
}

.step-icon {
    color: var(--accent-blue);
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.step-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s;
}

.step-link:hover {
    gap: 0.75rem;
}

.quick-start-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.quick-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    flex-shrink: 0;
}

.quick-feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 页脚完整样式 */
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    width: 100%;
    max-width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-domain {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.85rem;
}

.footer-nav a:hover {
    color: var(--accent-blue);
}

.footer-links-inline {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-wrap: nowrap;
    line-height: 1.6;
}

.footer-links-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.footer-links-list {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    flex: 1;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.85rem;
    white-space: nowrap;
    display: inline;
    margin-right: 0.5rem;
}

.footer-links-list a:hover {
    color: var(--accent-blue);
}

.footer-links-list a:last-child {
    margin-right: 0;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: right;
}

.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    margin-bottom: 0.25rem;
}

.footer-qrcode p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-links-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-align: center;
}

.footer-icp {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-disclaimer {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-right {
        justify-content: center;
    }
    
    .footer-nav {
        gap: 0.5rem;
    }
    
    .footer-links-list {
        gap: 0;
    }
    
    .footer-links-list a {
        margin-right: 0.4rem;
    }
    
    .footer-qrcode img {
        width: 70px;
        height: 70px;
    }
}

/* 论坛相关样式 */
.forum-section {
    padding: 60px 0 100px;
    min-height: 60vh;
}

.forum-announcement-btn {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    color: var(--accent-blue);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.forum-announcement-btn:hover {
    background: rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
}

.forum-search-form {
    margin-bottom: 2rem;
}

.forum-search-container {
    display: flex;
    gap: 0.5rem;
    max-width: 600px;
}

.forum-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.forum-search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.forum-search-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s;
}

.forum-search-btn:hover {
    background: var(--accent-blue-dark);
}

.forum-search-clear {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.forum-search-clear:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.forum-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.forum-post-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.forum-post-card.is-top {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(74, 144, 226, 0.05) 100%);
}

.forum-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.forum-post-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.forum-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
    background: var(--bg-hover);
}

.forum-avatar.small {
    width: 32px;
    height: 32px;
}

.forum-avatar.large {
    width: 120px;
    height: 120px;
}

.forum-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.forum-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.05));
    border-radius: 50%;
    overflow: hidden;
}

.forum-avatar-placeholder.large {
    font-size: 3rem;
}

.forum-author-info {
    flex: 1;
}

.forum-author-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.forum-author-name span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.forum-level-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.forum-level-badge.clickable-level-badge {
    cursor: pointer;
    transition: all 0.2s ease;
}

.forum-level-badge.clickable-level-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.forum-level-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* 大会员闪闪发光效果（不要太闪） */
.forum-level-badge[style*="#f59e0b"] {
    position: relative;
    animation: subtle-sparkle 3s ease-in-out infinite;
    color: white !important;
}

.forum-level-badge[style*="#f59e0b"] .forum-level-icon {
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
    animation: subtle-glow 2s ease-in-out infinite;
}

/* 兼容性：如果浏览器不支持属性选择器，使用类名 */
.forum-level-badge-super-member {
    position: relative;
    animation: subtle-sparkle 3s ease-in-out infinite;
    color: white !important;
}

.forum-level-badge-super-member .forum-level-icon {
    filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
    animation: subtle-glow 2s ease-in-out infinite;
}

@keyframes subtle-sparkle {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.15);
    }
}

@keyframes subtle-glow {
    0%, 100% {
        filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.6));
    }
}

.forum-level-icon-shine {
    width: 78px;
    height: 78px;
    position: relative;
    display: inline-block;
}

.forum-post-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-post-category {
    padding: 0.25rem 0.75rem;
    background: var(--bg-hover);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.forum-post-content {
    margin-bottom: 1rem;
}

.forum-post-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.forum-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.forum-post-title a:hover {
    color: var(--accent-blue);
}

.forum-top-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.forum-post-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.forum-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.forum-post-stats {
    display: flex;
    gap: 1.5rem;
}

.forum-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.forum-read-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.forum-read-more:hover {
    color: var(--accent-blue-dark);
}

/* 论坛详情页 */
.forum-detail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.forum-detail-wrapper {
    display: grid;
    grid-template-columns: 900px 380px;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.forum-post-detail-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    width: 900px;
    max-width: 100%;
}

.forum-post-detail {
    margin-bottom: 2rem;
}

.forum-comment-form-top-right {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0;
    height: fit-content;
}

.forum-comment-login-top-right {
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 0;
    height: fit-content;
}

/* 移动端响应式 */
@media (max-width: 1320px) {
    .forum-detail-wrapper {
        grid-template-columns: 1fr 380px;
        max-width: 100%;
    }
    
    .forum-post-detail-container {
        width: 100%;
        max-width: 900px;
    }
}

@media (max-width: 968px) {
    .forum-detail-wrapper {
        grid-template-columns: 1fr;
    }
    
    .forum-post-detail-container {
        width: 100%;
        max-width: 100%;
    }
    
    .forum-comment-form-top-right,
    .forum-comment-login-top-right {
        position: static;
        margin-bottom: 2rem;
    }
}

.forum-login-prompt {
    text-align: center;
}

.forum-login-prompt p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.forum-post-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.forum-post-detail-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.forum-post-detail-content p {
    margin-bottom: 1rem;
}

.forum-post-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.forum-post-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.forum-action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 0.5rem;
}

.forum-action-btn:hover {
    color: var(--accent-blue);
}

.forum-action-btn.like-btn.liked {
    color: var(--accent-blue);
}

.like-count {
    font-weight: 500;
}

/* 评论区域 */
.forum-comments-section {
    margin-top: 2rem;
    grid-column: 1 / -1;
    width: 100%;
}

.forum-comments-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.forum-safety-notice {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.safety-notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.safety-notice-content {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.forum-comments-list {
    display: flex;
        flex-direction: column;
    gap: 1.5rem;
}

.forum-comment-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}

.forum-comment-item.reply {
    margin-left: 3rem;
    background: var(--bg-hover);
}

.forum-comment-header {
    display: flex;
        justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.forum-comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.forum-comment-author-info {
    flex: 1;
}

.forum-comment-time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-comment-content {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.forum-comment-actions {
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.reply-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    cursor: pointer;
    font-size: 0.85rem;
    transition: opacity 0.2s;
}

.reply-btn:hover {
    opacity: 0.8;
}

.forum-comment-replies {
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

/* 评论表单 */
.comment-form-content {
    margin-bottom: 1rem;
}

.comment-captcha-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.captcha-input-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.captcha-input {
    width: 120px;
}

.captcha-image-container {
    position: relative;
    display: flex;
    align-items: center;
}

.captcha-image {
    width: 100px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.captcha-refresh-btn {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.captcha-refresh-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.comment-form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* 编辑器样式 */
.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    flex-wrap: wrap;
}

.toolbar-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 1rem;
}

.toolbar-btn:hover {
    background: var(--bg-card);
    color: var(--accent-blue);
}

.toolbar-divider {
    width: 1px;
    background: var(--border-color);
    margin: 0 0.25rem;
}

.editor-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    background: var(--bg-card);
}

.editor-content {
    min-height: 300px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.editor-content:focus {
    outline: none;
}

.editor-content[placeholder]:empty:before {
    content: attr(placeholder);
    color: var(--text-muted);
}

/* 社区准则复选框 */
.community-rules-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-hover);
    border-radius: 8px;
}

.community-rules-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.community-rules-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: opacity 0.2s;
}

.community-rules-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.modal.active,
.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.forum-announcement-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
}

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

.community-rules-content {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.community-rules-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.community-rules-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

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

/* 会员等级模态框 */
.forum-level-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
        width: 100%;
    height: 100%;
    z-index: 2000;
}

.forum-level-modal.show,
.forum-level-modal.active {
    display: block;
}

.forum-level-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.forum-level-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 800px;
    width: auto;
    max-height: 80vh;
    margin: 5vh auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.forum-level-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.forum-level-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.forum-level-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.forum-level-modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.forum-level-modal-body {
    padding: 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
}

.forum-level-modal-layout {
    display: grid;
    grid-template-columns: 280px auto;
    gap: 1.25rem;
    align-items: flex-start;
}

.forum-modal-left {
    display: flex;
    flex-direction: column;
}

.forum-modal-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: 100%;
}

.forum-activity-section {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    position: sticky;
    top: 0;
}

.forum-level-rules-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forum-level-rules-section .forum-rule-title {
    margin-bottom: 0.5rem;
}

.forum-level-upgrade-tip {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.forum-level-upgrade-tip p {
    margin: 0;
}

.forum-level-upgrade-tip.forum-level-vip-tip {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.4);
    color: var(--text-primary);
}

.forum-rule-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.forum-rule-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.forum-rule-formula {
    background: var(--bg-card);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 600;
}

.forum-rule-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forum-rule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border-radius: 6px;
}

.forum-rule-label {
    color: var(--text-primary);
    font-weight: 500;
}

.forum-rule-value {
    color: var(--accent-blue);
    font-weight: 600;
}

.forum-level-rule-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forum-level-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 0.5rem;
    width: fit-content;
}

.forum-level-rule-card {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 160px;
    aspect-ratio: 1;
}

.forum-level-rule-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.forum-level-rule-card.forum-level-rule-vip {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(251, 191, 36, 0.05) 100%);
    border-color: rgba(251, 191, 36, 0.4);
}

.forum-level-rule-card.forum-level-rule-vip:hover {
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

/* 兼容旧样式 */
.forum-level-rule-item {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.forum-level-rule-item:hover {
    border-color: var(--accent-blue);
}

.forum-level-rule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.forum-level-rule-icon-preview {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.1rem 0;
}

.forum-level-rule-icon-preview .forum-level-icon-shine {
    width: 32px;
    height: 32px;
}

.forum-level-rule-level {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.forum-level-rule-badge {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
}

.forum-level-rule-info {
    flex: 1;
}

.forum-level-rule-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.forum-level-rule-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.15rem;
    line-height: 1.3;
}

.forum-benefits-note {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-hover);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.forum-level-rule-score {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.forum-level-rule-benefits {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.35;
    margin-top: 0.15rem;
}

.forum-level-rule-benefit-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.forum-level-rule-benefit-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.forum-level-rule-benefit-list li {
    margin-bottom: 0.2rem;
    padding-left: 0;
    font-size: 0.75rem;
    line-height: 1.35;
}

/* 会员等级发光效果 */
.forum-level-rule-card.forum-level-rule-vip .forum-level-rule-icon-preview,
.forum-level-rule-item.forum-level-rule-vip .forum-level-rule-icon-preview {
    position: relative;
}

.forum-level-rule-card.forum-level-rule-vip .forum-level-rule-icon-preview::before,
.forum-level-rule-item.forum-level-rule-vip .forum-level-rule-icon-preview::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glow-pulse 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.forum-level-rule-card.forum-level-rule-vip .forum-level-rule-icon-preview .forum-level-icon-shine,
.forum-level-rule-item.forum-level-rule-vip .forum-level-rule-icon-preview .forum-level-icon-shine {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

/* 分页样式 */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-number {
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
    min-width: 36px;
    text-align: center;
}

.pagination-number:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.pagination-number.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.pagination-dots {
    color: var(--text-muted);
    padding: 0 0.25rem;
}

.pagination-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pagination-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination-input {
    width: 60px;
    padding: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-align: center;
    font-size: 0.9rem;
}

.pagination-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.pagination-jump-btn {
    padding: 0.5rem 1rem;
    background: var(--accent-blue);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.pagination-jump-btn:hover {
    background: var(--accent-blue-dark);
}

/* 搜索样式 */
.search-container {
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
}

.search-box:focus-within {
    border-color: var(--accent-blue);
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.search-input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.search-clear:hover {
    color: var(--text-primary);
}

.search-results-info {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 帮助中心样式 */
.help-section {
    padding: 60px 0 100px;
    min-height: 60vh;
}

.help-header {
    margin-bottom: 2rem;
}

.help-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.help-article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-article-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
}

.help-article-cover {
    width: 100%;
    height: 180px;
    background: var(--bg-hover);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
}

.help-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.help-article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-article-title-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.help-article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
}

.help-article-top-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.help-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.help-detail-section {
    padding: 60px 0 100px;
    min-height: 60vh;
}

.help-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.help-detail-header {
    margin-bottom: 2rem;
}

.help-detail-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.help-detail-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.help-detail-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
}

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

.help-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.help-detail-content h1,
.help-detail-content h2,
.help-detail-content h3 {
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

/* 登录页样式 */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.login-box h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.login-btn-qq {
    background: #12b7f5;
    color: white;
    border-color: #12b7f5;
}

.login-btn-qq:hover {
    background: #0fa5d9;
    border-color: #0fa5d9;
}

.login-btn-wx {
    background: #07c160;
    color: white;
    border-color: #07c160;
}

.login-btn-wx:hover {
    background: #06a050;
    border-color: #06a050;
}

.login-tip {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.login-agreement {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.login-agreement input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.login-agreement a {
    color: var(--accent-blue);
    text-decoration: none;
}

.login-agreement a:hover {
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-blue);
}

.agreement-modal {
    position: fixed;
    top: 0;
    left: 0;
        width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.agreement-modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 600px;
        width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.agreement-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.agreement-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.agreement-body {
    padding: 1.5rem;
}

.agreement-text {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.agreement-text p {
    margin-bottom: 1rem;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.agreement-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.btn-agree {
    padding: 0.75rem 1.5rem;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-agree:hover:not(:disabled) {
    background: var(--accent-blue-dark);
}

.btn-agree:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 论坛个人中心样式 */
.forum-profile-container {
    max-width: 1200px;
    margin: 0 auto;
}

.forum-profile-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.forum-profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.forum-profile-avatar {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.forum-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid var(--border-color);
}

.forum-profile-avatar .forum-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    overflow: hidden;
}

.clickable-avatar {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable-avatar:hover {
    opacity: 0.8;
}

.avatar-upload-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-blue);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.avatar-upload-btn:hover {
    transform: scale(1.1);
}

.avatar-upload-btn input[type="file"] {
    display: none;
}

.forum-profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.forum-profile-signature {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.forum-profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.forum-stat-item {
    text-align: center;
}

.forum-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.forum-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.forum-profile-active {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.forum-active-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.forum-active-value {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.forum-profile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.forum-profile-nav-btn {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.forum-profile-nav-btn > div {
    min-width: 0;
}

.forum-profile-nav-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.forum-profile-nav-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.forum-profile-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.forum-profile-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

.forum-profile-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: block;
}

.forum-verification-unverified {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.forum-verification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    line-height: 1.2;
    transition: all 0.2s ease;
}

.forum-verification-badge.forum-verification-verified {
    background: rgba(255, 193, 7, 0.3);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #10b981;
    cursor: pointer;
}

.forum-verification-badge.forum-verification-verified:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.4);
    border-color: rgba(255, 193, 7, 0.7);
}

.forum-verification-badge.forum-verification-verified::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine-flow 3s ease-in-out infinite;
}

@keyframes shine-flow {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.forum-verification-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1358%) hue-rotate(91deg) brightness(98%) contrast(85%);
}

.forum-verification-badge img {
    width: 16px;
    height: 16px;
    filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(1358%) hue-rotate(91deg) brightness(98%) contrast(85%);
}

.forum-verification-badge-text {
    font-weight: 600;
}

/* 消息提示样式 */
.message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.message.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.message.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.message.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.message.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

/* 响应式设计 - 论坛 */
@media (max-width: 968px) {
    .forum-profile-layout {
        grid-template-columns: 1fr;
    }
    
    .forum-level-modal-layout {
        grid-template-columns: 1fr;
    }
    
    .forum-activity-section {
        position: static;
    }
    
    .forum-level-rules-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .forum-level-rule-card {
        min-height: auto;
        aspect-ratio: auto;
    }
    
    .forum-modal-layout {
        grid-template-columns: 1fr;
    }
    
    .forum-post-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .forum-comment-item.reply {
        margin-left: 1rem;
    }
}

@media (max-width: 768px) {
    .forum-search-container {
        flex-direction: column;
    }
    
    .forum-post-actions {
        flex-wrap: wrap;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-number {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        min-width: 32px;
    }
    
    .help-articles {
        grid-template-columns: 1fr;
    }
}

/* 下载页面额外样式 */
.download-slogan {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.slogan-content {
    max-width: 800px;
    margin: 0 auto;
}

.slogan-main {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.slogan-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.slogan-separator {
    color: var(--text-muted);
}

/* 插件卡片置顶徽章 */
.plugin-top-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: var(--accent-blue);
    color: white;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* 论坛发帖表单样式 */
.forum-post-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
}

/* 预览模态框 */
#previewModal .modal-content {
    max-width: 800px;
}

#previewContent {
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 0.95rem;
}

#previewContent img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

/* 下载按钮图标 */
.obs-logo-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* 空状态样式增强 */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 12px;
}

.empty-state p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* 更多响应式样式 */
@media (max-width: 1024px) {
    .forum-profile-layout {
        grid-template-columns: 240px 1fr;
    }
    
    .quick-start-steps {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .streamers-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    
    .quick-start-features {
    flex-direction: column;
        gap: 1.5rem;
    }
    
    .forum-post-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .forum-post-stats {
        flex-wrap: wrap;
    }
    
    .forum-profile-stats {
        grid-template-columns: 1fr;
    gap: 0.75rem;
}

    .pagination-container {
        margin-top: 2rem;
    }
    
    .pagination-jump {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbar,
    .footer,
    .scroll-to-top,
    .forum-post-actions,
    .forum-comment-actions {
        display: none;
    }
    
    .forum-post-card,
    .forum-comment-item {
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --border-color: #4a5568;
        --text-secondary: #cbd5e0;
    }
    
    .btn-primary {
        border: 2px solid var(--accent-blue);
    }
    
    .forum-post-card,
    .forum-comment-item,
    .plugin-card {
        border-width: 2px;
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 焦点可见性增强 */
*:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.btn:focus-visible,
.forum-action-btn:focus-visible,
.reply-btn:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* 加载状态样式 */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 工具提示样式 */
[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 选中文本样式 */
::selection {
    background: var(--accent-blue);
    color: white;
}

::-moz-selection {
    background: var(--accent-blue);
    color: white;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-hover);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* 表格样式（如果页面中有表格） */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

th,
td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text-primary);
}

td {
    color: var(--text-secondary);
}

tr:hover {
    background: var(--bg-hover);
}

/* 代码块样式 */
code {
    background: var(--bg-hover);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-blue);
}

pre {
    background: var(--bg-hover);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 1px solid var(--border-color);
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

/* 引用块样式 */
blockquote {
    border-left: 4px solid var(--accent-blue);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* 链接样式增强 */
a {
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

/* 按钮和特定元素不应该有下划线 */
.btn,
button,
a.btn,
a.btn:hover,
button:hover,
.forum-action-btn,
.reply-btn,
.pagination-btn,
.pagination-number,
.filter-tab,
.nav-menu a,
.footer-nav a,
.footer-links-list a,
.step-link,
.forum-read-more,
.back-link,
.user-center-link,
.login-btn,
.plugin-item,
.help-article-card,
.help-article-card:hover {
    text-decoration: none !important;
}

/* 只有普通文本链接才显示下划线 */
a:not(.btn):not(.forum-action-btn):not(.reply-btn):not(.pagination-btn):not(.pagination-number):not(.filter-tab):not(.nav-menu a):not(.footer-nav a):not(.footer-links-list a):not(.step-link):not(.forum-read-more):not(.back-link):not(.user-center-link):not(.login-btn):not(.plugin-item):not(.help-article-card):not(.scroll-to-top):not(.forum-verification-badge):not(.community-rules-link):not(.login-agreement a):hover {
    text-decoration: underline;
}

/* 输入框禁用状态 */
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 选中状态样式 */
input[type="checkbox"]:checked,
input[type="radio"]:checked {
    accent-color: var(--accent-blue);
}

/* 文件上传样式 */
input[type="file"] {
    padding: 0.5rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: var(--accent-blue);
}

/* 下拉选择框样式 */
select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

/* 占位符文本样式 */
::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

::-webkit-input-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

::-moz-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

:-ms-input-placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* 工具类样式 */
.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-accent {
    color: var(--accent-blue);
}

.bg-card {
    background: var(--bg-card);
}

.bg-hover {
    background: var(--bg-hover);
}

.border-primary {
    border-color: var(--border-color);
}

.border-accent {
    border-color: var(--accent-blue);
}

/* 间距工具类 */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.ml-1 { margin-left: 0.5rem; }
.ml-2 { margin-left: 1rem; }
.mr-1 { margin-right: 0.5rem; }
.mr-2 { margin-right: 1rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.pl-1 { padding-left: 0.5rem; }
.pl-2 { padding-left: 1rem; }
.pl-3 { padding-left: 1.5rem; }
.pr-1 { padding-right: 0.5rem; }
.pr-2 { padding-right: 1rem; }
.pr-3 { padding-right: 1.5rem; }

/* 显示/隐藏工具类 */
.d-none { display: none; }
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }

.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-start { justify-content: flex-start; }
.justify-content-end { justify-content: flex-end; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* 文本对齐 */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* 字体大小 */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.85rem; }
.text-base { font-size: 0.95rem; }
.text-lg { font-size: 1.1rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 2rem; }

/* 字体粗细 */
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* 圆角 */
.rounded { border-radius: 6px; }
.rounded-sm { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-full { border-radius: 50%; }

/* 边框 */
.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.border-left { border-left: 1px solid var(--border-color); }
.border-right { border-right: 1px solid var(--border-color); }

.border-none { border: none; }

/* 阴影 */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.shadow-accent {
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

/* 宽度 */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-2\/3 { width: 66.666%; }
.w-1\/4 { width: 25%; }
.w-3\/4 { width: 75%; }

/* 高度 */
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

/* 位置 */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* 溢出 */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* 透明度 */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* 指针事件 */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* 光标 */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

/* 用户选择 */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
    opacity: 1;
    }
}

.slide-down {
    animation: slideDown 0.3s ease-out;
}

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

.scale-in {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 旋转动画 */
.rotate {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 弹跳动画 */
.bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* 过渡效果 */
.transition {
    transition: all 0.2s ease;
}

.transition-colors {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.transition-transform {
    transition: transform 0.2s ease;
}

.transition-opacity {
    transition: opacity 0.2s ease;
}

/* 悬停效果 */
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-brighten:hover {
    filter: brightness(1.1);
}

.hover-opacity:hover {
    opacity: 0.8;
}

/* 后台管理相关样式 */
.admin-section {
    padding: 2rem 0;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.admin-table th {
    background: var(--bg-hover);
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.admin-table tr:hover {
    background: var(--bg-hover);
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.admin-btn-edit {
    background: var(--accent-blue);
    color: white;
}

.admin-btn-edit:hover {
    background: var(--accent-blue-dark);
}

.admin-btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

.admin-btn-view {
    background: var(--bg-hover);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.admin-btn-view:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-inactive {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-approved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tag-primary {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-blue);
    border-color: rgba(74, 144, 226, 0.3);
}

.tag-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.tag-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.tag-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* 进度条 */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-blue);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill-success {
    background: #22c55e;
}

.progress-fill-warning {
    background: #f59e0b;
}

.progress-fill-danger {
    background: #ef4444;
}

/* 分割线 */
.divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.divider-vertical {
    width: 1px;
    height: 100%;
    background: var(--border-color);
    margin: 0 1.5rem;
}

/* 骨架屏加载 */
.skeleton {
    background: linear-gradient(90deg, var(--bg-hover) 25%, var(--bg-card) 50%, var(--bg-hover) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

/* 徽章通知 */
.badge-notification {
    position: relative;
    display: inline-block;
}

.badge-notification::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #ef4444;
    color: white;
    border-radius: 9px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

/* 卡片变体 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 144, 226, 0.2);
    border-color: var(--accent-blue);
}

.card-bordered {
    border: 1px solid var(--border-color);
}

.card-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-shadow-lg {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 输入框组 */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

.input-group .input-group-addon {
    padding: 0.75rem 1rem;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
}

/* 按钮组 */
.btn-group {
    display: inline-flex;
    gap: 0;
}

.btn-group .btn {
    border-radius: 0;
    margin: 0;
}

.btn-group .btn:first-child {
    border-radius: 6px 0 0 6px;
}

.btn-group .btn:last-child {
    border-radius: 0 6px 6px 0;
}

.btn-group .btn:not(:first-child) {
    border-left: none;
}

/* 下拉菜单 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
    display: none;
    overflow: hidden;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-hover);
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--accent-blue);
}

.breadcrumb-item.active {
    color: var(--text-primary);
}

/* 分页额外样式 */
.pagination-compact {
    display: flex;
    gap: 0.25rem;
}

.pagination-compact .pagination-number {
    min-width: 32px;
    padding: 0.4rem 0.6rem;
}

/* 标签输入 */
.tag-input {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-height: 48px;
}

.tag-input input {
    flex: 1;
    min-width: 120px;
    border: none;
    background: none;
    color: var(--text-primary);
    outline: none;
}

.tag-input .tag {
    margin: 0;
}

/* 切换开关 */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-hover);
    transition: 0.3s;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
    border-radius: 50%;
}

.switch input:checked + .switch-slider {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.switch input:checked + .switch-slider:before {
    transform: translateX(20px);
}

/* 评分星星 */
.rating {
    display: inline-flex;
    gap: 0.25rem;
}

.rating-star {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.rating-star.active,
.rating-star:hover {
    color: #fbbf24;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    padding: 0.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* 图片占位符 */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--bg-hover);
    border: 1px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* 响应式工具类 */
@media (max-width: 768px) {
    .mobile-hidden {
        display: none !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    .mobile-text-center {
        text-align: center !important;
    }
}

@media (min-width: 769px) {
    .desktop-hidden {
        display: none !important;
    }
}

/* 深色模式特定样式（如果将来需要） */
@media (prefers-color-scheme: dark) {
    /* 已在root变量中定义，这里可以添加额外覆盖 */
}

/* 打印样式增强 */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break {
        page-break-after: always;
    }
    
    .print-avoid-break {
        page-break-inside: avoid;
    }
}
