/* ============================================
   CSS变量 - 主题色管理
   ============================================ */
:root {
    --primary-color: #10162a;
    --secondary-color-1: #182542;
    --secondary-color-2: #c5dcef;
    --secondary-color-3: #3272ca;
    --secondary-color-4: #70bdf3;
    --text-primary: #ffffff;
    --text-secondary: #c5dcef;
    --text-muted: #8fa3c0;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* ============================================
   头部导航
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(16, 22, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo:hover {
    color: var(--secondary-color-4);
    transform: translateY(-2px);
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
}

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

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover {
    color: var(--secondary-color-4);
    transform: translateY(-2px);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   英雄区（Hero Section）
   ============================================ */
.hero {
    margin-top: 80px;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color-1) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(50, 114, 202, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--secondary-color-4) 0%, var(--secondary-color-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tag {
    background: rgba(50, 114, 202, 0.2);
    border: 1px solid var(--secondary-color-3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.tag:hover {
    background: rgba(50, 114, 202, 0.3);
    transform: translateY(-2px);
}

.tag i {
    color: var(--secondary-color-4);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--secondary-color-4);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color-3) 0%, var(--secondary-color-4) 100%);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(50, 114, 202, 0.4);
}

.btn-download:active {
    transform: translateY(-1px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.cover-image:hover {
    transform: scale(1.05);
}

/* ============================================
   通用区块标题
   ============================================ */
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--secondary-color-4) 0%, var(--secondary-color-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    color: var(--secondary-color-4);
    -webkit-text-fill-color: var(--secondary-color-4);
}

/* ============================================
   新闻/动态区
   ============================================ */
.news {
    padding: 5rem 0;
    background: var(--secondary-color-1);
}

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

.news-card {
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color-3);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 0.5rem;
    background: rgba(50, 114, 202, 0.2);
    border-radius: 10px;
}

.date-day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color-4);
    line-height: 1;
}

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

.news-content {
    flex: 1;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.news-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.news-link {
    color: var(--secondary-color-4);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-link:hover {
    gap: 10px;
    color: var(--secondary-color-3);
}

/* ============================================
   媒体画廊
   ============================================ */
.gallery {
    padding: 5rem 0;
    background: var(--primary-color);
}

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

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.gallery-image {
    width: 100%;
    height: 100%;
    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-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-view {
    background: var(--secondary-color-3);
    border: none;
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-view:hover {
    background: var(--secondary-color-4);
    transform: scale(1.1);
}

/* ============================================
   图片查看器模态框
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    border-radius: 10px;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: var(--text-primary);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary-color-4);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(50, 114, 202, 0.5);
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: var(--transition);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(50, 114, 202, 0.8);
}

/* ============================================
   用户评价区
   ============================================ */
.reviews {
    padding: 5rem 0;
    background: var(--secondary-color-1);
}

.reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(16, 22, 42, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(50, 114, 202, 0.2);
}

.rating-overview {
    text-align: center;
}

.rating-score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color-4);
    font-family: 'Orbitron', sans-serif;
}

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

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.tag-small {
    background: rgba(50, 114, 202, 0.2);
    border: 1px solid var(--secondary-color-3);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.reviews-carousel {
    position: relative;
    min-height: 200px;
    margin-bottom: 2rem;
}

.review-card {
    display: none;
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    padding: 2rem;
    animation: fadeIn 0.5s;
}

.review-card.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.review-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.review-stars {
    color: #ffd700;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    background: rgba(50, 114, 202, 0.3);
    border: 1px solid var(--secondary-color-3);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(50, 114, 202, 0.5);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(50, 114, 202, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--secondary-color-4);
    transform: scale(1.2);
}

/* ============================================
   版本历史
   ============================================ */
.versions {
    padding: 5rem 0;
    background: var(--primary-color);
}

.versions-timeline {
    position: relative;
    padding-left: 3rem;
}

.versions-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--secondary-color-3) 0%, var(--secondary-color-4) 100%);
}

.version-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.version-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color-4);
    border: 3px solid var(--primary-color);
}

.version-date {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.version-month {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.version-day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color-4);
}

.version-content {
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.version-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.version-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.version-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.version-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.version-meta i {
    color: var(--secondary-color-4);
}

.version-changes {
    list-style: none;
    margin-bottom: 1.5rem;
}

.version-changes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.version-changes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color-4);
    font-weight: bold;
}

.version-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(50, 114, 202, 0.2);
    border: 1px solid var(--secondary-color-3);
    color: var(--secondary-color-4);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.version-download:hover {
    background: rgba(50, 114, 202, 0.4);
    transform: translateY(-2px);
}

/* ============================================
   游戏攻略
   ============================================ */
.guides {
    padding: 5rem 0;
    background: var(--secondary-color-1);
}

.guides-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(50, 114, 202, 0.2);
    border: 1px solid var(--secondary-color-3);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color-3);
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

.guide-card {
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: var(--transition);
    display: none;
}

.guide-card.show {
    display: block;
    animation: fadeIn 0.5s;
}

.guide-card[data-category] {
    display: block;
}

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

.guide-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.guide-badge.route {
    background: rgba(50, 114, 202, 0.3);
    color: var(--secondary-color-4);
}

.guide-badge.character {
    background: rgba(112, 189, 243, 0.3);
    color: var(--secondary-color-4);
}

.guide-badge.ending {
    background: rgba(197, 220, 239, 0.3);
    color: var(--text-secondary);
}

.guide-badge.cg {
    background: rgba(50, 114, 202, 0.3);
    color: var(--secondary-color-4);
}

.guide-difficulty {
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.guide-difficulty.easy {
    background: rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.guide-difficulty.medium {
    background: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.guide-difficulty.hard {
    background: rgba(244, 67, 54, 0.3);
    color: #f44336;
}

.guide-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.guide-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.guide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guide-recommend {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.guide-recommend i {
    color: var(--secondary-color-4);
}

/* ============================================
   游戏章节介绍
   ============================================ */
.chapters {
    padding: 5rem 0;
    background: var(--primary-color);
}

.chapters-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chapter-card {
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
}

.chapter-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color-3);
}

.chapter-card.main {
    border-left: 4px solid var(--secondary-color-3);
}

.chapter-card.character {
    border-left: 4px solid var(--secondary-color-4);
}

.chapter-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.chapter-type {
    background: rgba(50, 114, 202, 0.3);
    color: var(--secondary-color-4);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.chapter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chapter-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.chapter-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.chapter-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.chapter-info i {
    color: var(--secondary-color-4);
}

/* ============================================
   常见问题
   ============================================ */
.faq {
    padding: 5rem 0;
    background: var(--secondary-color-1);
}

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

.faq-item {
    background: rgba(16, 22, 42, 0.6);
    border: 1px solid rgba(50, 114, 202, 0.2);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--secondary-color-3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 1.5rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--secondary-color-4);
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   返回顶部按钮
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color-3);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

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

.back-to-top:hover {
    background: var(--secondary-color-4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   底部信息
   ============================================ */
.footer {
    background: var(--primary-color);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(50, 114, 202, 0.2);
}

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

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color-4);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(50, 114, 202, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(16, 22, 42, 0.98);
        width: 100%;
        padding: 2rem 0;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-meta {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .reviews-summary {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .rating-tags {
        justify-content: center;
    }

    .versions-timeline {
        padding-left: 2rem;
    }

    .version-item::before {
        left: -1rem;
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .chapter-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

