:root {
    --primary: #1a56db;
    --primary-dark: #0e3aa5;
    --secondary: #1e429f;
    --accent: #3b82f6;
    --light: #f3f4f6;
    --dark: #111827;
    --gray: #6b7280;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    --background: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.8);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-shadow: 0 10px 25px var(--shadow-color);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--background) 0%, #1e293b 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
}

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

/* 导航栏 */
header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    background: var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.25);
}

/* 更新日志区域 */
.changelog {
    padding: 180px 0 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--accent), var(--success));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--success));
    top: 0;
    bottom: 0;
    left: 30px;
    border-radius: 10px;
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 80px;
    z-index: 1;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 3px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    box-shadow: 0 0 0 8px rgba(30, 41, 59, 0.8);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.version-tag {
    background: var(--accent);
    color: white;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
}

.update-date {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.update-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.update-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.update-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
}

.update-list .feature:before {
    content: '\f0a3';
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.update-list .fix:before {
    content: '\f188';
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.update-list .optimization:before {
    content: '\f085';
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.update-list .important:before {
    content: '\f06a';
    background: rgba(59, 130, 246, 0.15);
    color: var(--info);
}

.highlight-box {
    background: rgba(30, 41, 59, 0.6);
    border-left: 4px solid var(--warning);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 25px 0;
}

/* 页脚 */
footer {
    background: rgba(15, 23, 42, 0.9);
    padding: 70px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .timeline::after {
        left: 25px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .update-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .changelog {
        padding: 150px 0 80px;
    }
}

/* 自定义属性LOGO */
.w-\[clamp\(1\.5rem\2c 3vw\2c 2\.5rem\)\] {
    width: clamp(1.5rem, 3vw, 2.5rem);
}

.dropdown {
    position: relative;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 15px 30px var(--shadow-color);
    backdrop-filter: blur(10px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-links {
    list-style: none;
}

.dropdown-links li {
    margin-bottom: 10px;
}

.dropdown-links a {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.dropdown-links a:hover {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    transform: translateX(5px);
}

.dropdown-links a i {
    width: 20px;
    text-align: center;
}

/* 弹窗 (background) */
.modal {
    display: none;
    /* 默认隐藏 */
    position: fixed;
    z-index: 1000;
    /* 确保在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* 允许滚动 */
    background-color: rgb(0, 0, 0);
    /* 背景色 */
    background-color: rgba(0, 0, 0, 0.8);
    /* 背景色带透明度 */
}

/* 弹窗内容 */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    /* 限制最大宽度 */
    max-height: 80vh;
    /* 限制最大高度 */
    overflow: auto;
    /* 内容溢出时滚动 */
    border-radius: 5px;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* 添加动画 */
@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

/* 关闭按钮 */
.close {
    color: white;
    float: right;
    font-size: 35px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 0;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #aaa;
    text-decoration: none;
    cursor: pointer;
}

/* 媒体元素样式 */
.modal-media {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px 5px 0 0;
    /* 可选：圆角 */
}

/* 功能列表中的按钮样式 */
.media-popup-button {
    background-color: #4CAF50;
    /* 绿色背景 */
    border: none;
    color: white;
    padding: 3px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    /* 小一点的字体 */
    margin-left: 10px;
    /* 与文字的间距 */
    cursor: pointer;
    border-radius: 3px;
    /* vertical-align: middle; 垂直居中对齐 */
}

.media-popup-button:hover {
    background-color: #45a049;
    /* 悬停效果 */
}