/* CSS变量定义 */
:root {
    --primary-color: #3c4857;
    --secondary-color: #6d4747;
    --accent-color: #c6aca2;
    --dark-color: #1f1e22;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #d4beb5);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}

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

/* 头部导航 */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.nav-logo img {
    width: 32px;
    height: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-menu i {
    font-size: 0.9rem;
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* 英雄区 */
.hero {
    background: url('img/bg.webp') center center / cover no-repeat,
                linear-gradient(135deg, rgba(60, 72, 87, 0.4) 0%, rgba(52, 73, 94, 0.45) 25%, rgba(31, 30, 34, 0.6) 50%, rgba(60, 72, 87, 0.4) 75%, rgba(44, 62, 80, 0.45) 100%);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(198, 172, 162, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(109, 71, 71, 0.08) 0%, transparent 50%),
                linear-gradient(45deg, transparent 40%, rgba(0, 0, 0, 0.15) 50%, transparent 60%);
    opacity: 0.5;
}

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

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: #ffffff;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.95), 0 0 20px rgba(198, 172, 162, 0.8), 1px 1px 4px rgba(0, 0, 0, 1), 0 0 5px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #c6aca2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.95), 1px 1px 3px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.7);
}

.hero-description {
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.95), 1px 1px 3px rgba(0, 0, 0, 1), 0 0 6px rgba(0, 0, 0, 0.7);
}

.game-info {
    margin: 1.5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(198, 172, 162, 0.15), rgba(255, 255, 255, 0.1));
    padding: 0.6rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 172, 162, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-item i {
    color: #c6aca2;
    filter: brightness(1.2);
}

.info-item span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.95), 1px 1px 3px rgba(0, 0, 0, 1), 0 0 4px rgba(0, 0, 0, 0.8);
}

.game-tags {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.tag {
    background: linear-gradient(135deg, rgba(198, 172, 162, 0.5), rgba(255, 255, 255, 0.25));
    padding: 0.4rem 0.8rem;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 172, 162, 0.8);
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.95), 1px 1px 3px rgba(0, 0, 0, 1), 0 0 4px rgba(0, 0, 0, 0.8);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #c6aca2, #d4beb5);
    color: #1f1e22;
    box-shadow: 0 4px 16px rgba(198, 172, 162, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4beb5, #e2d0c7);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(198, 172, 162, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 2px solid rgba(198, 172, 162, 0.7);
    backdrop-filter: blur(10px);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(198, 172, 162, 0.2), rgba(255, 255, 255, 0.1));
    border-color: #c6aca2;
    color: #c6aca2;
    box-shadow: 0 4px 16px rgba(198, 172, 162, 0.3);
}

.hero-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(198, 172, 162, 0.1));
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 193, 7, 0.4);
    margin-top: 1.5rem;
    font-size: 0.9rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-notice {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), 1px 1px 2px rgba(0, 0, 0, 1);
}

.hero-notice i {
    color: #ffc107;
    filter: brightness(1.2);
}

/* 章节标题 */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.section-title i {
    color: var(--accent-color);
    font-size: 2rem;
}

/* 通用章节样式 */
section {
    padding: 80px 0;
}

section:nth-child(even):not(.hero) {
    background: var(--white);
}

/* 新闻动态 */
.news {
    background: var(--white);
}

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

.news-item {
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.news-item.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border-left-color: var(--accent-color);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-tag {
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-item.featured .news-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.news-date {
    font-size: 0.9rem;
    opacity: 0.7;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-content {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    font-weight: 600;
    transition: var(--transition);
}

.news-item.featured .news-link {
    color: var(--white);
}

.news-link:hover {
    transform: translateX(5px);
}

/* 游戏截图画廊 */
.gallery {
    background: var(--light-bg);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-medium);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    text-align: center;
}

.modal-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
}

.nav-btn:hover {
    background: var(--accent-color);
    color: var(--dark-color);
}

/* 用户评价 */
.reviews {
    background: var(--white);
}

.reviews-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rating-summary {
    text-align: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffc107;
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.review-tag {
    background: var(--light-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    border: 2px solid var(--accent-color);
}

.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    min-height: 200px;
}

.review-item {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
}

.review-item.active {
    opacity: 1;
    transform: translateX(0);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary-color);
}

.review-rating {
    color: #ffc107;
}

.review-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

/* 版本历史 */
.versions {
    background: var(--light-bg);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 80px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.timeline-item.current .timeline-marker {
    background: var(--accent-color);
    color: var(--dark-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(198, 172, 162, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(198, 172, 162, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 172, 162, 0); }
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.version-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.version-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.version-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-meta span {
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.version-features h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.version-features ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.version-features li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.version-stats {
    background: var(--light-bg);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.version-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.version-download:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 常见问题 */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    background: var(--light-bg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    border-left: 4px solid var(--accent-color);
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0;
}

.faq-question i {
    color: var(--accent-color);
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    line-height: 1.7;
    color: var(--text-dark);
}

/* 底部信息 */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
        width: 90%;
    }
    
    .nav-menu a {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title i {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .rating-tags {
        justify-content: center;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .timeline {
        padding-left: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 10px;
        width: 30px;
        height: 30px;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px auto;
    }
    
    .close {
        top: -30px;
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline-marker {
        width: 25px;
        height: 25px;
        left: 5px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* 平滑过渡效果 */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}

/* 减少动画模式支持 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
