html {
    scrollbar-width: none;      
    -ms-overflow-style: none;   
}
html::-webkit-scrollbar {
    display: none;             
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: #fff;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
 
}

body {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
}
body.page-loaded {
    opacity: 1;
}

/* 页面加载进度条 */
.page-loading-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #7b61ff 0%, #a991ff 100%);
    z-index: 9999;
    animation: loadingBar 1.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes loadingBar {
    0% { width: 0; }
    100% { width: 100vw; }
}

/* 更新日志项目加载动画 */
.changelog-item {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
}
body.page-loaded .changelog-item {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 交错动画延迟 */
.changelog-list .changelog-item:nth-child(1) { transition-delay: 0.1s; }
.changelog-list .changelog-item:nth-child(2) { transition-delay: 0.2s; }
.changelog-list .changelog-item:nth-child(3) { transition-delay: 0.3s; }
.changelog-list .changelog-item:nth-child(4) { transition-delay: 0.4s; }
.changelog-list .changelog-item:nth-child(5) { transition-delay: 0.5s; }
.changelog-list .changelog-item:nth-child(6) { transition-delay: 0.6s; }
.changelog-list .changelog-item:nth-child(7) { transition-delay: 0.7s; }
.changelog-list .changelog-item:nth-child(8) { transition-delay: 0.8s; }

.nb-bg-gradient {
    min-height: 100vh;
    width: 100%;
    background: radial-gradient(ellipse 60% 40% at 70% 10%, #e5e0fa 0%, #f8f8ff 60%, #fff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 80px;
}

.nb-center-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nb-subtitle {
    color: #7b61ff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-align: center;
}

.nb-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #181c32;
    margin-bottom: 18px;
    text-align: center;
    letter-spacing: 1px;
}

.nb-desc {
    color: #888;
    font-size: 1.15rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 700px;
}



/* 安装提示框 */
.install-notice {
    width: 96%;
   
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: 16px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.15);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    transform: translateY(30px);
    animation: noticeSlideIn 0.8s cubic-bezier(.4,0,.2,1) 0.5s forwards;
}

@keyframes noticeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.install-notice:hover {
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.25);
    transform: translateY(-2px);
}

.notice-header {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.notice-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.notice-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.notice-content {
    padding: 24px;
}

/* 直接定义notice-content下的所有p标签 */
.notice-content p {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
}

.notice-content p:last-child {
    margin-bottom: 0;
}


.notice-content ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}


.notice-content li {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 24px;
    position: relative;
    font-weight: 500;
}

.notice-content li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.notice-content li:last-child {
    margin-bottom: 0;
}


.notice-content strong {
    color: #856404;
    font-weight: 700;
}

.notice-content em {
    color: #856404;
    font-style: italic;
    font-weight: 500;
}


.notice-content h1,
.notice-content h2,
.notice-content h3,
.notice-content h4,
.notice-content h5,
.notice-content h6 {
    color: #856404;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 20px;
}

.notice-content h1:first-child,
.notice-content h2:first-child,
.notice-content h3:first-child,
.notice-content h4:first-child,
.notice-content h5:first-child,
.notice-content h6:first-child {
    margin-top: 0;
}


.notice-content a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.notice-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.notice-content code {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.notice-content blockquote {
    border-left: 4px solid #ffc107;
    margin: 16px 0;
    padding: 12px 20px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.notice-content ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 16px 0;
}

.notice-content ol li {
    color: #856404;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 8px;
    position: relative;
    font-weight: 500;
}

.notice-content ol li:before {
    display: none;
}


.main-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin: 0 auto;
    padding: 0 20px;
}


.changelog-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
}


.version-sidebar {
    width: 280px;
    position: sticky;
    top: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(123,97,255,0.10);
    border: 1px solid rgba(123,97,255,0.08);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.version-sidebar:hover {
    box-shadow: 0 8px 32px 0 rgba(123,97,255,0.18);
    transform: translateY(-2px);
}

.sidebar-header {
    background: linear-gradient(135deg, #f8f8ff 0%, #f4f1ff 100%);
    padding: 20px 24px;
    border-bottom: 1px solid rgba(123,97,255,0.08);
    text-align: center;
}

.sidebar-title {
    color: #181c32;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: 0.5px;
}

.sidebar-subtitle {
    color: #7b61ff;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.version-nav {
    padding: 16px;
}

.version-link {
    display: block;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    border: 1px solid transparent;
}

.version-link:hover {
    background: #f4f1ff;
    border-color: rgba(123,97,255,0.2);
    transform: translateX(4px);
}

.version-link.active {
    background: linear-gradient(135deg, #7b61ff 0%, #a991ff 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(123,97,255,0.3);
}

.version-link.active .version-badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.version-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: inherit;
}

.version-link .version-date {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 6px;
    color: inherit;
}

.version-link .version-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.changelog-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px 0 rgba(123,97,255,0.10);
    overflow: visible;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    border: 1px solid rgba(123,97,255,0.08);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.changelog-item:hover {
    box-shadow: 0 8px 32px 0 rgba(123,97,255,0.18);
    transform: translateY(-4px);
}

.changelog-header {
    background: linear-gradient(135deg, #f8f8ff 0%, #f4f1ff 100%);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(123,97,255,0.08);
}

.version-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px !important;
}

.version-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #181c32;
    margin: 0;
    letter-spacing: 0.5px;
}

.version-date {
    color: #888;
    font-size: 0.95rem;
    font-weight: 500;
}

.version-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.version-badge.major {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255,107,107,0.3);
}

.version-badge.minor {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(78,205,196,0.3);
}

.version-badge.patch {
    background: linear-gradient(135deg, #45b7d1 0%, #96c93d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(69,183,209,0.3);
}

.changelog-content {
    padding: 28px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    font-size: 14px !important;
}

.change-section {
    margin-bottom: 24px;
}

.change-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title.new {
    color: #4ecdc4;
}

.section-title.improved {
    color: #45b7d1;
}

.section-title.fixed {
    color: #96c93d;
}

.section-title.breaking {
    color: #ff6b6b;
}

.change-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.change-list li {
    color: #666;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 14px !important;
}

.change-list li:before {
    content: "•";
    color: #7b61ff;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.change-list li:last-child {
    margin-bottom: 0;
}


.changelog-item.filtering {
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.2s ease;
}

.changelog-item.hidden {
    
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}


@media (max-width: 900px) {
    .nb-center-block {
        padding: 32px 20px 0 20px;
    }
    
    .main-content {
        flex-direction: column;
        gap: 24px;
        padding: 0 15px;
    }
    
    .version-sidebar {
        width: 100%;
        position: static;
        order: -1;
    }
    
    .version-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px;
        font-size: 14px !important;
    }

    .version-number,.version-date,.version-badge{
        font-size: 14px !important;
    }
    
    .version-link {
        flex: 1;
        min-width: 140px;
        margin-bottom: 0;
        text-align: center;
        padding: 8px 12px;
    }
    
    .install-notice {
        margin-bottom: 32px;
        border-radius: 14px;
        margin: 0 15px 32px 15px;
    }
    
    .notice-header {
        padding: 16px 20px;
    }
    
    .notice-title {
        font-size: 1.1rem;
    }
    
    .notice-content {
        padding: 20px;
    }
    
    .changelog-list {
        gap: 24px;
    }
    
    .changelog-header {
        padding: 20px 24px;
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .nb-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .nb-desc {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    .main-content {
        gap: 20px;
        padding: 0 10px;
    }
    
    .version-sidebar {
        margin: 0;
    }
    
    .sidebar-header {
        padding: 16px 20px;
    }
    
    .sidebar-title {
        font-size: 1rem;
    }
    
    .sidebar-subtitle {
        font-size: 0.8rem;
    }
    
    .version-nav {
        padding: 12px;
        gap: 6px;
    }
    
    .version-link {
        min-width: 120px;
        padding: 6px 10px;
    }
    
    .version-number {
        font-size: 0.9rem;
    }
    
    .version-link .version-date {
        font-size: 0.8rem;
    }
    
    .version-link .version-badge {
        font-size: 0.7rem;
        padding: 1px 6px;
    }
    
    .install-notice {
        margin-bottom: 24px;
        border-radius: 12px;
        margin: 0 0 24px 0;
    }
    
    .notice-header {
        padding: 14px 16px;
    }
    
    .notice-icon {
        font-size: 1.3rem;
    }
    
    .notice-title {
        font-size: 1rem;
    }
    
    .notice-content {
        padding: 16px;
    }
    
    .notice-content p {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }
    
    .notice-content li {
        font-size: 0.9rem;
        margin-bottom: 6px;
        padding-left: 20px;
    }
    
    .notice-content h1,
    .notice-content h2,
    .notice-content h3,
    .notice-content h4,
    .notice-content h5,
    .notice-content h6 {
        font-size: 0.95rem;
        margin-bottom: 10px;
        margin-top: 16px;
    }
    
    .notice-content code {
        font-size: 0.8rem;
        padding: 1px 4px;
    }
    
    .notice-content blockquote {
        padding: 10px 16px;
        margin: 12px 0;
    }
    
    .changelog-list {
        gap: 20px;
    }
    
    .changelog-item {
        border-radius: 16px;
        margin: 0;
    }
    
    .changelog-header {
        padding: 16px 20px;
    }
    
    .version-title {
        font-size: 1.2rem;
    }
    
    .version-date {
        font-size: 0.9rem;
    }
    
    .version-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .changelog-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .change-list li {
        font-size: 0.92rem;
        margin-bottom: 6px;
       
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top-icon {
        font-size: 1.1rem;
    }
    
    .back-to-top-text {
        font-size: 0.65rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes highlightVersion {
    0% {
        background: rgba(123,97,255,0.1);
        transform: scale(1);
    }
    50% {
        background: rgba(123,97,255,0.2);
        transform: scale(1.02);
    }
    100% {
        background: transparent;
        transform: scale(1);
    }
}

/* 滚动显示动画 */
.changelog-item.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(.4,0,.2,1);
}

.changelog-item.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 悬停效果增强 */
.changelog-item:hover .version-title {
    color: #7b61ff;
    transition: color 0.2s ease;
}

.changelog-item:hover .change-list li {
    color: #555;
    transition: color 0.2s ease;
}

/* 加载状态 */
.changelog-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* 错误状态 */
.changelog-item.error {
    border-color: #ff6b6b;
    background: #fff5f5;
}

/* 成功状态 */
.changelog-item.success {
    border-color: #4ecdc4;
    background: #f0fffd;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #7b61ff 0%, #a991ff 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(123,97,255,0.3);
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(123,97,255,0.4);
}

.back-to-top-icon {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 2px;
}

.back-to-top-text {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
} 