/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #6c5ce7;
    --accent-color: #00cec9;
    --text-color: #2d3436;
    --light-text: #636e72;
    --bg-color: #f5f6fa;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --error-color: #d63031;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 粒子背景 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover {
    transform: rotate(15deg);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 0.8rem;
    color: var(--light-text);
    opacity: 0.8;
    margin-left: 10px;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-item a i {
    font-size: 0.9rem;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item.active a {
    color: var(--primary-color);
}

.nav-item.active a::after {
    width: 100%;
}

.user-avatar .avatar-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(74, 107, 255, 0.2);
    transition: var(--transition);
}

.avatar-img:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.avatar-text {
    font-size: 0.9rem;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-color);
}

/* 主要内容 */
.main-content {
    margin-top: 90px;
    padding: 30px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

/*链接样式*/
a {
text-decoration: none; 
color: inherit; 
font-weight: inherit; 
font-style: inherit; 
}

/* 公告卡片 */
.announcement-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.announcement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.announcement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.announcement-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.announcement-header h2 {
    font-size: 1.4rem;
    color: var(--text-color);
}

.announcement-body p {
    margin-bottom: 15px;
    color: var(--light-text);
    line-height: 1.7;
}

.announcement-body p b {
    color: var(--primary-color);
    font-weight: 600;
}

/* 工具卡片 */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tool-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tool-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.tool-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.tool-tag {
    display: inline-block;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tool-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tool-badge.hot {
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.tool-badge.new {
    background-color: rgba(0, 184, 148, 0.1);
    color: var(--success-color);
}

/* 更新日志 */
.changelog-list {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.changelog-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.changelog-item:last-child {
    border-bottom: none;
}

.changelog-date {
    font-size: 0.85rem;
    color: var(--light-text);
    width: 100px;
    flex-shrink: 0;
}

.changelog-link {
    font-size: 0.95rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    flex-grow: 1;
}

.changelog-link:hover {
    color: var(--primary-color);
}

/* 工具搜索 */
.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    padding-right: 60px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(74, 107, 255, 0.3);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-tab {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--light-text);
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.category-tab:hover {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

.category-tab.active {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

/* 论坛建设中 */
.forum-construction {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: 30px;
}

.construction-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.1) 0%, rgba(108, 92, 231, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.construction-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.forum-construction h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.forum-construction p {
    color: var(--light-text);
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.contact-btn i {
    font-size: 1.1rem;
}

.progress-container {
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* 页脚 */
.footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: var(--transition);
}

.social-icon:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

.footer-copyright {
    text-align: center;
    font-size: 0.8rem;
    color: var(--light-text);
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* 关于我们页面特定样式 */
.about-section {
    margin-bottom: 40px;
}

.about-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.about-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.about-header i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.about-header h2 {
    font-size: 1.6rem;
    color: var(--text-color);
}

.about-body p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    background-color: rgba(74, 107, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0;
}

/* 作者介绍 */
.author-section {
    margin-bottom: 40px;
}

.author-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    gap: 30px;
}

.author-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(74, 107, 255, 0.1);
}

.author-badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.author-info {
    flex-grow: 1;
}

.author-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.author-title {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 20px;
    font-weight: 500;
}

.author-desc {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.7;
}

.author-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-3px);
}

/* 赞赏支持 */
.donate-section {
    margin-bottom: 40px;
}

.donate-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.donate-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    text-align: center;
}

.donate-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.donate-method {
    text-align: center;
}

.donate-method h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.donate-method h3 i {
    font-size: 1.4rem;
}

.qrcode-placeholder {
    width: 180px;
    height: 180px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
}

.qrcode-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.1);
}

.qrcode-placeholder p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.donate-note {
    font-size: 0.85rem;
    text-align: center;
    color: var(--light-text);
    font-style: italic;
}

/* 联系我们 */
.contact-section {
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-form {
    flex: 1;
    padding: 30px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(0, 0, 0, 0.02);
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
    background-color: white;
}

.contact-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

.contact-info {
    width: 300px;
    padding: 30px;
    background-color: rgba(74, 107, 255, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--light-text);
}

.info-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .contact-card {
        flex-direction: column;
    }
    
    .contact-info {
        width: 100%;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .donate-methods {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .donate-method {
        width: 100%;
    }
    
    .qrcode-placeholder {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
}

/* 赞赏支持样式 */
.donate-section {
    margin-bottom: 60px;
}

.donate-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.donate-description {
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.donate-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.donate-method {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.donate-method h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-color);
}

.donate-method h3 i {
    font-size: 1.5rem;
}

.donate-method h3 i.fab.fa-weixin {
    color: #07C160; /* 微信绿色 */
}

.qrcode-container {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.qrcode-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.qrcode-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.qrcode-text {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--light-text);
}

.donate-note {
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-methods {
        gap: 30px;
    }
    
    .donate-method {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .donate-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .donate-method {
        width: 100%;
        max-width: 250px;
    }
}

/* 赞赏支持样式 */
.donate-section {
    margin-bottom: 60px;
}

.donate-content {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.donate-description {
    color: var(--light-text);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.donate-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.donate-method {
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.donate-method h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-color);
}

.donate-method h3 i {
    font-size: 1.5rem;
}

.donate-method h3 i.fab.fa-weixin {
    color: #07C160; /* 微信绿色 */
}

.qrcode-container {
    background-color: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.qrcode-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.qrcode-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.qrcode-text {
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--light-text);
}

.donate-note {
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .donate-methods {
        gap: 30px;
    }
    
    .donate-method {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .donate-methods {
        flex-direction: column;
        align-items: center;
    }
    
    .donate-method {
        width: 100%;
        max-width: 250px;
    }
}

/* 开源协议页面特定样式 */
.license-section {
    margin-bottom: 60px;
}

.license-header {
    text-align: center;
    margin-bottom: 40px;
}

.license-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--light-text);
    font-size: 0.9rem;
}

.license-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.license-intro {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.license-intro p {
    flex: 1;
    min-width: 300px;
    color: var(--light-text);
    line-height: 1.7;
}

.license-badge {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.license-badge i {
    font-size: 1.2rem;
}

.license-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.license-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.license-text {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    font-family: 'Courier New', monospace;
    line-height: 1.8;
}

.license-text p {
    margin-bottom: 15px;
}

.additional-terms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.term-item {
    background-color: rgba(74, 107, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.term-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.term-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.term-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.term-item p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq {
    margin: 40px 0;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-question span {
    flex-grow: 1;
}

.faq-question .fa-chevron-down {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question .fa-chevron-down.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    background-color: var(--card-bg);
    display: none;
    line-height: 1.7;
    color: var(--light-text);
    padding-bottom: 20px;
}

.faq-answer p {
    padding-top: 15px;
    margin: 0;
}

.license-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.license-footer p {
    color: var(--light-text);
    margin-bottom: 20px;
}

.license-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.license-footer a:hover {
    text-decoration: underline;
}

.license-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 25px;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .license-card {
        padding: 25px;
    }
    
    .additional-terms {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .license-card {
        padding: 20px 15px;
    }
    
    .license-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 贡献指南页面特定样式 */
.contribute-section {
    margin-bottom: 60px;
}

.contribute-header {
    text-align: center;
    margin-bottom: 40px;
}

.contribute-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
}

.contribute-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.welcome-message {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-message p {
    flex: 1;
    min-width: 300px;
    color: var(--light-text);
    line-height: 1.7;
}

.contributor-badge {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.contributor-badge i {
    font-size: 1.2rem;
}

.contribute-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contribute-content h2 i {
    color: var(--primary-color);
}

.contribute-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.step {
    display: flex;
    gap: 20px;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-content {
    flex-grow: 1;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.step-content p {
    color: var(--light-text);
    margin-bottom: 10px;
    line-height: 1.7;
}

.code-block {
    position: relative;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    margin: 15px 0;
    border-left: 3px solid var(--primary-color);
}

.code-block code {
    display: block;
    overflow-x: auto;
    color: var(--text-color);
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 4px;
    padding: 5px 8px;
    cursor: pointer;
    color: var(--light-text);
    transition: var(--transition);
}

.copy-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.guideline {
    background-color: rgba(74, 107, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.guideline:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guideline i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.guideline h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.guideline ul {
    padding-left: 20px;
    color: var(--light-text);
}

.guideline li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.contribution-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.type-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.type-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
}

.type-icon.bug {
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
}

.type-icon.feature {
    background-color: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.type-icon.code {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

.type-icon.doc {
    background-color: rgba(253, 203, 110, 0.1);
    color: #fdcb6e;
}

.type-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.type-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.contribute-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.cla-section, .community-section {
    margin-bottom: 30px;
}

.cla-section h3, .community-section h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cla-section h3 i, .community-section h3 i {
    color: var(--primary-color);
}

.cla-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.cla-section a:hover {
    text-decoration: underline;
}

.community-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.community-link {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.community-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contribute-card {
        padding: 25px;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contribute-card {
        padding: 20px 15px;
    }
    
    .contribution-types {
        grid-template-columns: 1fr;
    }
    
    .community-links {
        flex-direction: column;
    }
    
    .community-link {
        justify-content: center;
    }
}

/* 贡献者协议页面特定样式 */
.cla-section {
    margin-bottom: 60px;
}

.cla-header {
    text-align: center;
    margin-bottom: 40px;
}

.cla-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--light-text);
    font-size: 1.1rem;
}

.cla-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cla-intro {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cla-intro p {
    flex: 1;
    min-width: 300px;
    color: var(--light-text);
    line-height: 1.7;
}

.cla-badge {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.cla-badge i {
    font-size: 1.2rem;
}

.agreement-box {
    margin: 30px 0;
}

.agreement-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text-color);
}

.effective-date {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.agreement-text {
    background-color: rgba(0, 0, 0, 0.02);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    border-left: 3px solid var(--primary-color);
}

.agreement-text h3 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: var(--text-color);
    position: relative;
    padding-left: 15px;
}

.agreement-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 70%;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.agreement-text p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.signature-section {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.signature-form, .alternative-signature {
    flex: 1;
    min-width: 300px;
}

.signature-form {
    background-color: rgba(74, 107, 255, 0.05);
    padding: 25px;
    border-radius: var(--border-radius);
}

.signature-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: var(--text-color);
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox input {
    width: auto;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.sign-btn {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.sign-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.4);
}

.alternative-signature {
    background-color: rgba(0, 184, 148, 0.05);
    padding: 25px;
    border-radius: var(--border-radius);
    text-align: center;
}

.alternative-signature h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.alternative-signature p {
    color: var(--light-text);
    margin-bottom: 20px;
    line-height: 1.7;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: linear-gradient(to right, #ff4757, #ff6b81);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.3);
}

.cla-faq {
    margin: 60px 0 40px;
}

.cla-faq h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.cla-faq h2 i {
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
}

.faq-question i:first-child {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.faq-question span {
    flex-grow: 1;
}

.faq-question .fa-chevron-down {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question .fa-chevron-down.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    background-color: var(--card-bg);
    display: none;
    line-height: 1.7;
    color: var(--light-text);
    padding-bottom: 20px;
}

.faq-answer p {
    padding-top: 15px;
    margin: 0;
}

.contact-legal {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-legal h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-color);
}

.contact-legal h3 i {
    color: var(--primary-color);
}

.contact-legal p {
    color: var(--light-text);
    margin-bottom: 15px;
}

.legal-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    background-color: rgba(74, 107, 255, 0.1);
    transition: var(--transition);
}

.legal-email:hover {
    background-color: rgba(74, 107, 255, 0.2);
}

/* 签署成功弹窗 */
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 8px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.modal-btn.secondary-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 107, 255, 0.3);
}

.modal-btn.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: none;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cla-card {
        padding: 25px;
    }
    
    .agreement-text {
        padding: 20px;
    }
    
    .signature-section {
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .cla-card {
        padding: 20px 15px;
    }
    
    .agreement-text {
        padding: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn, .modal-btn.secondary-btn {
        width: 100%;
        text-align: center;
    }
}

/* 错误弹窗样式 */
.error-content {
    text-align: center;
    padding: 30px;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 2.5rem;
    color: #ff4757;
}

.progress-container {
    margin: 20px 0;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* 签署失败弹窗特定样式 */
.error-content {
    text-align: center;
    padding: 30px;
    max-width: 500px;
}

.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(255, 71, 87, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 2.5rem;
    color: #ff4757;
}

.dev-progress {
    margin: 25px 0;
}

.progress-container {
    max-width: 300px;
    margin: 0 auto 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--light-text);
    display: block;
}

.alternative-text {
    background-color: rgba(74, 107, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.alternative-text i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn, .modal-btn.secondary-btn {
        width: 100%;
    }
}

/* 赞赏统计表样式 */
.donation-stats {
    padding: 40px 0;
    background-color: #f9f9f9;
    margin-top: 40px;
}

.stats-table-container {
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #fff;
    padding: 20px;
}

.scrollable-table-wrapper {
    max-height: 400px; /* 设置最大高度 */
    overflow-y: auto;  /* 垂直滚动 */
    margin-bottom: 15px;
    position: relative;
}

/* 自定义滚动条样式 */
.scrollable-table-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.scrollable-table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.scrollable-table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.scrollable-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.donation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    position: relative;
}

.donation-table th, 
.donation-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    position: relative;
}

.donation-table th {
    background-color: #f5f7fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

.donation-table tbody tr:hover {
    background-color: #f8f9fa;
}

.donation-table tfoot {
    font-weight: bold;
    background-color: #f5f7fa;
    position: sticky;
    bottom: 0;
}

.donation-table tfoot td {
    border-top: 2px solid #ddd;
}

.stats-note {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
    text-align: right;
}

/* 工具提示样式 */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: tooltipFadeIn 0.2s ease-out;
}

[data-tooltip]:hover::before {
    content: "";
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #ff6b6b transparent transparent transparent;
    z-index: 101;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* 视频模块样式 */
.video-section {
    padding: 30px 0;
    margin: 30px 0;
}

.video-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.video-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.video-header h2 {
    margin: 0;
    color: #333;
    font-size: 24px;
}

.video-header h2 i {
    margin-right: 10px;
    color: #3498db;
}

.video-subtitle {
    margin: 5px 0 0;
    color: #666;
    font-size: 16px;
}

.video-container {
    position: relative;
    padding: 20px;
}

.video-container video {
    width: 100%;
    border-radius: 5px;
    display: block;
    outline: none;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.feature-item {
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 30px;
    color: #3498db;
    margin-bottom: 10px;
}

.feature-item h3 {
    margin: 10px 0;
    color: #333;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 视频教程模块样式 */
.video-tutorial {
    padding: 30px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eaeaea;
}

.tutorial-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tutorial-header {
    padding: 25px;
    text-align: center;
}

.tutorial-header h2 {
    margin: 0 0 20px;
    color: #333;
    font-size: 24px;
}

.tutorial-header h2 i {
    margin-right: 10px;
    color: #3498db;
}

.tutorial-steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    width: 30%;
    min-width: 250px;
    margin: 10px 0;
    padding: 15px;
    background-color: #f5f7fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 5px;
    color: #333;
    font-size: 16px;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.tutorial-video {
    position: relative;
    padding: 0 25px 25px;
}

.tutorial-video video {
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.control-btn {
    background-color: #3498db;
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background-color: #2980b9;
}

/* 禁用视频控件的下载按钮 */
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* 关于我们页面视频模块 */
.about-video-section {
    margin: 30px 0;
    padding: 20px 0;
}

.video-intro {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-intro h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.video-intro h3 i {
    margin-right: 10px;
    color: #3498db;
}

.video-subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.video-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    display: block;
    background-color: #000;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    z-index: 10;
}

.video-control-btn {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background-color: rgba(52, 152, 219, 0.8);
    transform: scale(1.1);
}

/* 禁用视频控件的下载和调速 */
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}

video::-webkit-media-controls-panel {
    width: calc(100% + 30px);
}

/* 友情链接样式 */
.friend-links-container {
    text-align: center;
    margin-top: 10px;
    position: relative;
    display: inline-block;
}

.friend-links-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    text-decoration: underline;
}

.friend-links-dropdown {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 150px;
    display: none;
    z-index: 1000;
    text-align: left;
}

.friend-links-dropdown a {
    display: block;
    padding: 5px 15px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
}

.friend-links-dropdown a:hover {
    background-color: #f5f5f5;
}

.show {
    display: block;
}
