/* ===== CSS Variables ===== */
:root {
    --color-primary: #1c1414;
    --color-accent1: #d4a99e;
    --color-accent2: #7a5c52;
    --color-accent3: #5a1520;
    --color-bg: #0f0b0b;
    --color-surface: #1c1414;
    --color-surface-light: #2a1f1f;
    --color-text: #e8ddd8;
    --color-text-muted: #a89890;
    --color-border: rgba(212, 169, 158, 0.15);
    --color-glow: rgba(90, 21, 32, 0.4);
    --font-body: 'Noto Sans SC', sans-serif;
    --font-display: 'Cinzel', 'Noto Sans SC', serif;
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.6);
    --header-height: 64px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a:hover {
    color: #e8c4bb;
}

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

ul {
    list-style: none;
}

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

/* ===== Section Title ===== */
.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-accent1);
    position: relative;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent3), var(--color-accent1));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent3), #7a2030);
    color: #fff;
    box-shadow: 0 4px 16px rgba(90, 21, 32, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7a2030, var(--color-accent3));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(90, 21, 32, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    background: transparent;
    border: 1px solid var(--color-accent2);
    color: var(--color-accent1);
    border-radius: var(--radius);
}

.btn-sm:hover {
    background: var(--color-accent3);
    border-color: var(--color-accent3);
    color: #fff;
}

.btn-download {
    font-size: 1.1rem;
    padding: 14px 36px;
    letter-spacing: 1px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 11, 11, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent1);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo:hover {
    color: var(--color-accent1);
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    border-radius: var(--radius);
    transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-accent1);
    background: rgba(212, 169, 158, 0.08);
}

.nav-list a i {
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--color-accent1);
    border-radius: 2px;
    transition: all 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(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + 40px) 0 50px;
    background: linear-gradient(160deg, var(--color-primary) 0%, #0f0b0b 50%, var(--color-accent3) 150%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(90, 21, 32, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(122, 92, 82, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-accent1), #fff, var(--color-accent1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    text-align: center;
}

.hero-title-en {
    font-size: 0.7em;
    letter-spacing: 6px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    background: rgba(212, 169, 158, 0.1);
    border: 1px solid rgba(212, 169, 158, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-accent1);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

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

/* ===== Features ===== */
.features {
    padding: 80px 0;
    background: var(--color-surface);
}

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

.feature-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 169, 158, 0.3);
    box-shadow: 0 8px 32px rgba(90, 21, 32, 0.2);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent3), var(--color-accent2));
    border-radius: 50%;
    font-size: 1.3rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--color-accent1);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===== News ===== */
.news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    display: flex;
    gap: 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}

.news-card:hover {
    border-color: rgba(212, 169, 158, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.news-date {
    flex-shrink: 0;
    width: 64px;
    text-align: center;
    padding: 12px 0;
    background: linear-gradient(135deg, var(--color-accent3), #7a2030);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.news-date .month {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(212, 169, 158, 0.1);
    border: 1px solid rgba(212, 169, 158, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--color-accent1);
    margin-bottom: 8px;
}

.news-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--color-text);
    line-height: 1.4;
}

.news-body p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-link i {
    transition: transform var(--transition);
}

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

/* ===== Gallery ===== */
.gallery {
    padding: 80px 0;
    background: var(--color-surface);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    background: var(--color-surface-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 11, 11, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    font-size: 1.5rem;
    color: #fff;
}

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

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(28, 20, 20, 0.8);
    border: 1px solid var(--color-border);
    color: var(--color-accent1);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all var(--transition);
    z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent3);
    border-color: var(--color-accent3);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Reviews ===== */
.reviews {
    padding: 80px 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    padding: 32px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

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

.rating-score {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent1);
    line-height: 1;
}

.rating-total {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.stars {
    color: #f0a030;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rating-tag {
    padding: 4px 12px;
    background: rgba(212, 169, 158, 0.08);
    border: 1px solid rgba(212, 169, 158, 0.15);
    border-radius: 16px;
    font-size: 0.8rem;
    color: var(--color-accent2);
}

.reviews-carousel {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-accent3), var(--color-accent2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

.review-user strong {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text);
}

.review-stars {
    color: #f0a030;
    font-size: 0.75rem;
}

.review-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-style: italic;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-accent1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-btn:hover {
    background: var(--color-accent3);
    border-color: var(--color-accent3);
    color: #fff;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.carousel-dots .dot.active {
    background: var(--color-accent1);
    width: 24px;
    border-radius: 4px;
}

/* ===== Versions ===== */
.versions {
    padding: 80px 0;
    background: var(--color-surface);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent3), var(--color-border));
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-surface-light);
    border: 2px solid var(--color-accent2);
}

.timeline-marker.current {
    background: var(--color-accent3);
    border-color: var(--color-accent1);
    box-shadow: 0 0 12px rgba(90, 21, 32, 0.5);
}

.timeline-content {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

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

.version-header h3 {
    font-size: 1.2rem;
    color: var(--color-accent1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-badge {
    font-size: 0.7rem;
    padding: 2px 10px;
    background: var(--color-accent3);
    color: #fff;
    border-radius: 12px;
    font-weight: 500;
}

.version-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.version-changes {
    list-style: none;
    margin-bottom: 12px;
}

.version-changes li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.version-changes li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent2);
}

.version-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

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

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

/* ===== Guides ===== */
.guides {
    padding: 80px 0;
}

.guides-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-accent3);
    border-color: var(--color-accent3);
    color: #fff;
}

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

.guide-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
    position: relative;
}

.guide-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 169, 158, 0.3);
    box-shadow: var(--shadow);
}

.guide-card.hidden {
    display: none;
}

.guide-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-light);
    border-radius: var(--radius);
    margin-bottom: 14px;
    font-size: 1.2rem;
    color: var(--color-accent1);
}

.guide-difficulty {
    position: absolute;
    top: 16px;
    right: 16px;
}

.guide-difficulty span {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.diff-easy {
    background: rgba(76, 175, 80, 0.15);
    color: #66bb6a;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.diff-medium {
    background: rgba(255, 183, 77, 0.15);
    color: #ffa726;
    border: 1px solid rgba(255, 183, 77, 0.3);
}

.diff-hard {
    background: rgba(244, 67, 54, 0.15);
    color: #ef5350;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.guide-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

.guide-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.guide-meta {
    font-size: 0.8rem;
    color: var(--color-accent2);
}

.guide-meta i {
    margin-right: 4px;
}

/* ===== Chapters ===== */
.chapters {
    padding: 80px 0;
    background: var(--color-surface);
}

.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.chapter-card {
    background: var(--color-surface-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.chapter-card:hover {
    border-color: rgba(212, 169, 158, 0.3);
    box-shadow: var(--shadow);
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent3), var(--color-accent1));
}

.side-chapter::before {
    background: linear-gradient(90deg, var(--color-accent2), var(--color-accent1));
}

.chapter-number {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--color-accent2);
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.chapter-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.75rem;
    padding: 3px 12px;
    background: var(--color-accent3);
    color: #fff;
    border-radius: 12px;
}

.chapter-badge.side {
    background: var(--color-accent2);
}

.chapter-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-accent1);
}

.chapter-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 14px;
}

.chapter-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

.chapter-details i {
    color: var(--color-accent2);
}

.chapter-characters {
    font-size: 0.8rem;
    color: var(--color-accent2);
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
}

/* ===== FAQ ===== */
.faq {
    padding: 80px 0;
}

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

.faq-item {
    margin-bottom: 8px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-surface);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition);
}

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

.faq-question i {
    flex-shrink: 0;
    color: var(--color-accent2);
    transition: transform var(--transition);
}

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

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

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

.faq-answer p {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===== Footer ===== */
.site-footer {
    padding: 60px 0 0;
    background: var(--color-primary);
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1rem;
    color: var(--color-accent1);
    margin-bottom: 16px;
}

.footer-about {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-legal {
    margin-top: 6px;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: rgba(28, 20, 20, 0.9);
    backdrop-filter: blur(8px);
    color: var(--color-accent1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent3);
    border-color: var(--color-accent3);
    color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 11, 11, 0.98);
        backdrop-filter: blur(12px);
        display: none;
        padding: 20px;
        z-index: 999;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list a {
        padding: 14px 16px;
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + 30px) 0 40px;
    }

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

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-meta {
        gap: 12px;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 32px;
    }

    .features,
    .news,
    .gallery,
    .reviews,
    .versions,
    .guides,
    .chapters,
    .faq {
        padding: 60px 0;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .review-card {
        flex: 0 0 calc(100% - 0px);
    }

    .reviews-summary {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-marker {
        left: -27px;
        width: 12px;
        height: 12px;
    }

    .news-card {
        flex-direction: column;
        gap: 14px;
    }

    .news-date {
        width: auto;
        flex-direction: row;
        gap: 8px;
        padding: 6px 14px;
        align-self: flex-start;
    }

    .news-date .day {
        font-size: 1rem;
    }

    .news-date .month {
        margin-top: 0;
    }
}

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

    .hero-tags {
        gap: 6px;
    }

    .tag {
        font-size: 0.78rem;
        padding: 4px 10px;
    }

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

    .feature-card {
        padding: 24px 18px;
    }

    .guides-filter {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
