* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #1a1a1a;
    color: #fff;
}

.header {
    background: #0a0a0a;
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 196, 204, 0.3);
}

.logo {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5em;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 196, 204, 0.5),
                 0 0 20px rgba(0, 196, 204, 0.3),
                 0 0 30px rgba(0, 196, 204, 0.2);
}

.logo-link {
    text-decoration: none;
    display: inline-block;
}

.nav {
    background: #0a0a0a;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 196, 204, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(0, 196, 204, 0.3);
    background: rgba(0, 196, 204, 0.1);
}

.breadcrumb {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    color: #aaa;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb a:hover {
    text-shadow: 0 0 5px rgba(0, 196, 204, 0.3);
}

.breadcrumb i {
    margin: 0 8px;
    font-size: 0.8em;
}

.breadcrumb span {
    color: #aaa;
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 196, 204, 0.5);
}

.article-meta {
    color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.9em;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 196, 204, 0.05);
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 196, 204, 0.1);
    transition: all 0.3s ease;
}

.article-meta span:hover {
    background: rgba(0, 196, 204, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 196, 204, 0.2);
}

.article-meta i {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.article-meta span:hover i {
    transform: scale(1.1);
}

.article-content {
    background: rgba(26, 30, 44, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.content-heading {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin: 2.5rem 0 1.2rem;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--primary-color-rgb), 0.3);
}

.content-heading:first-child {
    margin-top: 0;
}

.update-list {
    display: grid;
    gap: 10px;
    margin-bottom: 2rem;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.update-item i {
    margin-top: 2px;
}

.update-item.new i {
    color: #4caf50;
}

.update-item.fix i {
    color: #f44336;
}

.update-item.optimize i {
    color: #2196f3;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.release-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(30, 35, 50, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.release-table th,
.release-table td {
    padding: 15px;
    text-align: left;
}

.release-table th {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.release-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.release-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

/* 信息框 */
.info-box {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin-bottom: 1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.numbered-list,
.article-list {
    margin: 0 0 1.5rem 1.5rem;
}

.numbered-list li,
.article-list li {
    margin-bottom: 0.8rem;
}

/* 下载按钮 */
.article-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.download-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.download-article-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.download-article-btn i {
    font-size: 1.1rem;
}

/* === 响应式设计 === */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-hero-section {
        padding: 80px 0 50px;
    }
    
    .article-container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px 25px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .content-heading {
        font-size: 1.4rem;
    }
    
    .article-hero-section {
        padding: 70px 0 40px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-meta span {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .article-container {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .content-heading {
        font-size: 1.3rem;
        padding-left: 5px;
    }
    
    .article-content {
        padding: 20px 15px;
        border-radius: 8px;
    }
    
    .download-article-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .article-container {
        padding: 0 5px;
    }
    
    .info-box {
        padding: 15px;
        margin-left: -5px;
        margin-right: -5px;
        width: calc(100% + 10px);
    }
}

@media (max-width: 320px) {
    .article-content {
        padding: 15px 10px;
    }
    
    .table-responsive {
        margin-left: -10px;
        margin-right: -10px;
        width: calc(100% + 20px);
    }
}

/* === 文章页面样式 - 重构版 === */

/* 文章英雄区域 */
.article-hero-section {
    position: relative;
    padding: 100px 0 60px;
    background: var(--background-dark);
    overflow: hidden;
    text-align: center;
}

.article-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
                rgba(var(--primary-color-rgb), 0.2), 
                rgba(var(--secondary-color-rgb), 0.2)),
                url(../img/2.webp);
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.breadcrumb-nav {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(var(--primary-color-rgb), 0.2);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-to-home-btn:hover {
    background: rgba(var(--primary-color-rgb), 0.3);
    transform: translateY(-2px);
}

.article-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    line-height: 1.3;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #fff;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 20px;
}

.article-meta i {
    color: var(--primary-color);
}

/* 文章内容区域 */
.article-content-section {
    padding: 50px 0;
    background: var(--background-dark);
}

.article-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 20px;
}

.article-content {
    background: rgba(26, 30, 44, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.7;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}

.content-heading {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    margin: 2.5rem 0 1.2rem;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(var(--primary-color-rgb), 0.3);
}

.content-heading:first-child {
    margin-top: 0;
}

.update-list {
    display: grid;
    gap: 10px;
    margin-bottom: 2rem;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.update-item i {
    margin-top: 2px;
}

.update-item.new i {
    color: #4caf50;
}

.update-item.fix i {
    color: #f44336;
}

.update-item.optimize i {
    color: #2196f3;
}

/* 表格样式 */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.release-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(30, 35, 50, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.release-table th,
.release-table td {
    padding: 15px;
    text-align: left;
}

.release-table th {
    background-color: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.release-table td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.release-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.03);
}

/* 信息框 */
.info-box {
    background-color: rgba(var(--primary-color-rgb), 0.05);
    border-left: 3px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.info-box p {
    margin-bottom: 1rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.numbered-list,
.article-list {
    margin: 0 0 1.5rem 1.5rem;
}

.numbered-list li,
.article-list li {
    margin-bottom: 0.8rem;
}

/* 下载按钮 */
.article-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.download-article-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
}

.download-article-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.download-article-btn i {
    font-size: 1.1rem;
}

/* 相关文章 */
.related-articles {
    margin-top: 10px;
}

.related-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.related-title::before,
.related-title::after {
    content: '';
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, rgba(var(--primary-color-rgb), 0.3), transparent);
}

.related-title i {
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: rgba(30, 35, 50, 0.5);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.related-card:hover {
    background: rgba(var(--primary-color-rgb), 0.1);
}

.related-content {
    flex: 1;
}

.related-content h4 {
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}

.related-card:hover .related-content h4 {
    color: var(--primary-color);
}

.related-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* 下载卡片样式 */
.download-card {
    background: linear-gradient(45deg, var(--background-light), var(--primary-dark));
    border: none;
}

.download-card h4 {
    color: white;
    font-weight: 700;
}

.download-card .related-date {
    color: rgba(255, 255, 255, 0.8);
}

.download-card .related-icon {
    color: white;
}

/* === 响应式设计 === */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-hero-section {
        padding: 80px 0 50px;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 30px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .content-heading {
        font-size: 1.4rem;
    }
    
    .article-hero-section {
        padding: 70px 0 40px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .article-meta span {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.6rem;
    }
    
    .content-heading {
        font-size: 1.3rem;
        padding-left: 12px;
    }
    
    .article-content {
        padding: 25px 20px;
    }
    
    .download-article-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
} 