/* 通用组件样式 */

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    font-family: inherit;
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn:focus {
    outline: 2px solid rgba(0, 198, 255, 0.5);
    outline-offset: 2px;
}

/* 主要按钮样式 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 198, 255, 0.3);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.01);
    transition: all 0.1s ease;
}

/* 信息按钮样式 */
.btn-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    justify-content: center;
    position: relative;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.btn-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: all 0.5s ease;
}

.btn-info:hover {
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 198, 255, 0.1));
    border-color: rgba(0, 198, 255, 0.4);
    color: rgba(255, 255, 255, 1);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.2);
}

.btn-info:hover::before {
    left: 100%;
}

.btn-info:active {
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

/* 成功按钮样式 */
.btn-success {
    background: linear-gradient(135deg, var(--success-color), #00a870);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #00a870, #006b4d);
}

/* 危险按钮样式 */
.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #d32f2f);
    color: white;
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
}

/* 按钮加载状态 */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: btn-spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes btn-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 按钮禁用状态 */
.btn:disabled,
.btn.disabled,
.btn.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

/* 按钮组间距优化 */
.card-actions .btn + .btn {
    margin-top: 0;
}

/* 按钮icon动画 */
.btn i {
    transition: transform 0.2s ease;
}

.btn:hover i {
    transform: scale(1.1);
}

/* 加载动画组件 */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 无数据和错误状态 */
.no-data, .error-data {
    text-align: center;
    padding: 2rem;
    color: #999;
    background: transparent;
    border-radius: var(--border-radius);
}

.no-data i, .error-data i {
    font-size: 2.5rem;
    color: #bbb;
    margin-bottom: 1rem;
}

.error-data small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #888;
}

/* 通知样式 */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.notification {
    background: #ffffff;
    border-left: 5px solid #0072ff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.notification i {
    font-size: 22px;
}

.notification span {
    flex: 1;
    color: #1a202c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(0,0,0,0.05);
    color: #555;
}

/* 通知类型样式 */
.notification-success {
    border-left-color: #22c55e;
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.notification-success i {
    color: #15803d;
    font-size: 22px;
}

.notification-success span {
    color: #166534;
    font-weight: 700;
}

.notification-error {
    border-left-color: #ef4444;
    background: #fef2f2;
    border-color: #fecaca;
}

.notification-error i {
    color: #dc2626;
    font-size: 22px;
}

.notification-error span {
    color: #991b1b;
    font-weight: 700;
}

.notification-warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
    border-color: #fde68a;
}

.notification-warning i {
    color: #d97706;
    font-size: 22px;
}

.notification-warning span {
    color: #92400e;
    font-weight: 700;
}

.notification-info {
    border-left-color: #3b82f6;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.notification-info i {
    color: #2563eb;
    font-size: 22px;
}

.notification-info span {
    color: #1d4ed8;
    font-weight: 700;
}


/* 广告页面组件 */
.ad-container {
    background-color: var(--secondary-color);
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 198, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.ad-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 198, 255, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(127, 0, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ad-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.ad-container h1 {
    color: white;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2.2rem;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

.ad-container h1 i {
    color: var(--primary-color);
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.5));
}

.ad-container h1:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.ad-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    margin-top: 2rem;
}

.ad-item {
    padding: 2.5rem 2rem;
    background-color: rgba(26, 31, 54, 0.5);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 198, 255, 0.1);
    backdrop-filter: blur(5px);
}

.ad-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: rgba(0, 198, 255, 0.3);
}

.ad-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transition: var(--transition);
}

.ad-item:hover::before {
    height: 100%;
}

.ad-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at bottom right, rgba(0, 198, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.ad-item i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.3));
}

.ad-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-color);
}

.ad-item h2 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
}

.ad-item p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 首页统一背景容器 */
.homepage-wrapper {
    background: rgba(15, 20, 35, 0.4);
    margin: -0.7rem -1.5rem 0 -1.5rem;
    padding-bottom: 1.5rem;
}

/* Hero 区域样式 */
.hero-section {
    background: transparent;
    padding: 2.5rem 2rem 1.2rem 2rem;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 平台数据统计区域 */
.hero-stats {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.3rem 1.1rem;
}

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

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
    line-height: 1.2;
}

.hero-text h1 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 198, 255, 0.7));
}

.hero-logo {
    height: 2em;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.6));
    transition: all 0.5s ease;
    animation: heroLogoGlow 3s ease-in-out infinite;
}

@keyframes heroLogoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 198, 255, 0.8));
    }
}

.hero-text h1:hover .hero-logo {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 0 20px rgba(0, 198, 255, 0.9));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* 弹窗打开时的body样式 - 防止滚动条跳动 */
body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

/* 弹窗公告样式 - 成熟模版设计 */
.announcement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.announcement-modal.show {
    display: block;
}

.announcement-modal.show .announcement-modal-overlay {
    animation: modalFadeIn 0.25s ease-out;
}

.announcement-modal.show .announcement-modal-content {
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.announcement-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.announcement-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1f36;
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.12),
        0 8px 30px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    min-width: 420px;
    max-width: 520px;
    width: 90%;
    overflow: hidden;
}

.announcement-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem 1rem;
}

.announcement-modal-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #f1f5f9;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.announcement-modal-title i {
    color: var(--primary-color);
    font-size: 1rem;
}

.announcement-modal-close {
    background: transparent;
    border: none;
    color: #64748b;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.announcement-modal-close:hover {
    background: rgba(100, 116, 139, 0.15);
    color: #94a3b8;
}

.announcement-modal-close:active {
    transform: scale(0.95);
}

.announcement-modal-body {
    padding: 1rem 1.75rem 1.5rem;
    max-height: 400px;
    overflow-y: auto;
}

.announcement-modal-body::-webkit-scrollbar {
    width: 6px;
}

.announcement-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.announcement-modal-body::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
    border-radius: 3px;
}

.announcement-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.5);
}

.announcement-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.announcement-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.announcement-item .announcement-tag {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
    align-self: flex-start;
    min-width: 2.5rem;
}

.announcement-item .announcement-tag-info {
    background: transparent;
    color: #fbbf24;
}

.announcement-item .announcement-text {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.announcement-modal-footer {
    padding: 1rem 1.75rem 1.5rem;
    display: flex;
    justify-content: center;
}

.announcement-modal-btn {
    padding: 0.7rem 2.2rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.announcement-modal-btn:hover {
    opacity: 0.8;
}

.announcement-modal-btn:active {
    opacity: 0.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .announcement-modal-content {
        min-width: 90%;
        max-width: 90%;
        border-radius: 14px;
    }

    .announcement-modal-header {
        padding: 1.25rem 1.5rem 0.85rem;
    }

    .announcement-modal-title {
        font-size: 1rem;
    }

    .announcement-modal-body {
        padding: 0 1.5rem 1.25rem;
        max-height: 350px;
    }

    .announcement-item {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .announcement-item .announcement-text {
        font-size: 0.88rem;
    }

    .announcement-modal-footer {
        padding: 0.85rem 1.5rem 1.25rem;
    }

    .announcement-modal-btn {
        padding: 0.65rem 2rem;
        font-size: 0.88rem;
    }
}

/* 核心特色高亮区域 */
.core-feature-highlight {
    margin: 0;
    max-width: none;
    position: relative;
    background: transparent;
}

.feature-highlight-card {
    padding: 0 2.5rem 2.5rem;
}

.feature-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    text-align: center;
}

.feature-main-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.feature-main-text .highlight-text {
    color: #ff6b35;
    font-size: 1.15em;
    font-weight: 600;
}

.feature-benefits {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    justify-content: center;
}

.benefit-item i {
    color: #4caf50;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 4px rgba(76, 175, 80, 0.5));
}

/* 中等屏幕适配 */
@media (max-width: 1024px) and (min-width: 769px) {
    .benefit-item {
        min-width: 220px;
        font-size: 0.95rem;
    }
    
    .feature-benefits {
        gap: 1.2rem;
    }
}

/* 移动端响应式适配 */
@media (max-width: 768px) {
    .feature-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        border-radius: 16px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.25rem;
        justify-content: center;
    }
    
    .feature-main-text {
        font-size: 1rem;
    }
    
    .feature-benefits {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .benefit-item {
        justify-content: center;
        font-size: 0.95rem;
        min-width: auto;
        flex: none;
    }
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}



/* 平台优势区域 */
.advantages-section {
    padding: 1.5rem 0;
    margin: 0;
    max-width: none;
    background: transparent;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
}

.advantage-item i {
    font-size: 2.5rem;
    color: #64748b;
    margin-bottom: 1rem;
    display: block;
}

.advantage-item h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 移动端响应式适配 */
@media (max-width: 768px) {
    .ad-content {
        grid-template-columns: 1fr;
    }
    
    .ad-container {
        padding: 1.5rem;
    }
    
    .ad-container h1 {
        font-size: 1.5rem;
        padding: 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    /* Hero 区域移动端适配 */
    .hero-section {
        padding: 2rem 1rem 1rem 1rem;
    }

    .homepage-wrapper {
        margin: -0.7rem -1rem 0 -1rem;
        padding-bottom: 1.5rem;
    }

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

    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        height: 2em;
        margin-right: 0.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-stats {
        padding: 1.1rem 0.9rem;
    }


    /* 其他区域移动端适配 */
    .container {
        padding: 0 1rem;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* 移动端按钮优化 */
    .card-actions {
        gap: 0.75rem;
    }
    
    .card-actions .btn {
        min-height: 44px;
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
    
    .btn-primary, .btn-info {
        border-radius: 10px;
    }

    /* 提高表单元素可用性 */
    input, select, button {
        min-height: 44px;
    }
    
    /* 触摸优化 */
    .nav-links a, .btn-primary, .btn-info, .card-actions a {
        touch-action: manipulation;
    }
}

/* 通用分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(90, 122, 138, 0.2);
    border: 1px solid rgba(90, 122, 138, 0.3);
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: inherit;
    min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(90, 122, 138, 0.4);
}

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

.pagination-btn.active {
    background: #5a7a8a;
    color: white;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 1rem;
    white-space: nowrap;
}

.pagination-ellipsis {
    color: var(--text-secondary);
    padding: 0 0.5rem;
}

/* 移动端分页优化 */
@media (max-width: 768px) {
    .pagination {
        margin-top: 1.5rem;
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        min-width: 36px;
    }
    
    .pagination-info {
        font-size: 0.8rem;
        margin-left: 0.5rem;
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* ==================== 更新记录区域样式 ==================== */

/* ========================================
   更新记录区域 - 简约时间轴设计
   ======================================== */

/* 更新记录区域容器 */
.updates-section {
    padding: 2rem 0;
    background: transparent;
    margin: 0;
}

.updates-section .container {
    /* 恢复默认布局 */
}

/* 标题区域 */
.updates-header {
    text-align: center;
    margin-bottom: 2rem;
}

.updates-header h2 {
    color: #e2e8f0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 筛选按钮组 - 简约线条样式 */
.updates-filter {
    display: inline-flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 2.5rem;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    min-width: 80px;
}

.filter-btn:hover {
    color: #94a3b8;
}

.filter-btn.active {
    color: #e2e8f0;
    border-bottom-color: #e2e8f0;
}

/* 时间轴容器 */
.updates-list {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem 0;
}

/* 时间轴竖线 - 简约灰色 */
.updates-list::before {
    content: '';
    position: absolute;
    left: 70px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #334155;
}

/* 单个时间轴条目 */
.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.4s ease-out forwards;
}

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

/* 时间轴圆点 - 简约灰色实心圆 */
.timeline-dot {
    position: absolute;
    left: 62px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #1e293b;
    border: 2px solid #475569;
    z-index: 2;
    transition: all 0.2s ease;
}

.timeline-item:hover .timeline-dot {
    background: #475569;
    border-color: #64748b;
}

/* 日期显示 - 左侧 */
.timeline-date {
    width: 60px;
    flex-shrink: 0;
    padding-right: 1.5rem;
    text-align: right;
}

.timeline-date .day {
    font-size: 1.4rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

.timeline-date .month {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.3rem;
    text-transform: uppercase;
}

/* 内容区域 - 右侧 */
.timeline-content {
    flex: 1;
    padding-left: 2rem;
}

/* 标题 */
.timeline-title {
    color: #e2e8f0;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

/* 描述 */
.timeline-desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

/* 类型标签 - 简约文字样式 */
.timeline-type {
    display: inline-block;
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.timeline-type::before {
    content: '[';
    margin-right: 2px;
}

.timeline-type::after {
    content: ']';
    margin-left: 2px;
}

/* 元信息 */
.timeline-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #475569;
    margin-top: 0.8rem;
}

.timeline-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* 关联靶场 */
.timeline-targets {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.timeline-target-tag {
    font-size: 0.75rem;
    color: #64748b;
    padding: 0.2rem 0.5rem;
    background: rgba(51, 65, 85, 0.3);
    border-radius: 3px;
}

/* 底部操作区 */
.updates-footer {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 1px solid #475569;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-load-more:hover {
    border-color: #64748b;
    color: #94a3b8;
}

/* 加载状态 */
.timeline-loading {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.timeline-loading i {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
    margin-bottom: 0.8rem;
    color: #475569;
}

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

/* 空状态 */
.updates-empty {
    text-align: center;
    padding: 3rem;
    color: #64748b;
}

.updates-empty i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    color: #475569;
}

/* ========================================
   移动端响应式
   ======================================== */

@media (max-width: 768px) {
    .updates-section {
        margin: 0;
        padding: 1.5rem 0;
    }

    .updates-header h2 {
        font-size: 1.4rem;
    }

    .updates-list::before {
        left: 50px;
    }

    .timeline-dot {
        left: 42px;
        width: 16px;
        height: 16px;
    }

    .timeline-date {
        width: 45px;
        padding-right: 1rem;
    }

    .timeline-date .day {
        font-size: 1.1rem;
    }

    .timeline-date .month {
        font-size: 0.7rem;
    }

    .timeline-content {
        padding-left: 1.2rem;
    }

    .timeline-title {
        font-size: 0.95rem;
    }

    .timeline-desc {
        font-size: 0.85rem;
    }
}
