/* ==================== CSS Variables ==================== */
:root {
    --primary-color: #3f2e1d;
    --secondary-color-1: #cda488;
    --secondary-color-2: #96908e;
    --secondary-color-3: #9b9d96;
    
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --text-white: #ffffff;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    
    --max-width: 1200px;
    --header-height: 70px;
}

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

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

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

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

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

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==================== Utility Classes ==================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--secondary-color-1);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ==================== Header & Navigation ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), rgba(63, 46, 29, 0.95));
    box-shadow: var(--shadow-md);
    z-index: 1000;
    height: var(--header-height);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    transition: var(--transition-normal);
}

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

.logo:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-menu a {
    color: var(--text-white);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 0.95rem;
}

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

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

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

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

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

/* ==================== Hero Section ==================== */
.hero {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title .subtitle {
    display: block;
    font-size: 2rem;
    color: var(--secondary-color-1);
    font-weight: 500;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--secondary-color-1);
}

.hero-intro {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.info-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-normal);
}

.info-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.info-tag i {
    font-size: 0.85rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--secondary-color-1), #d4b49a);
    color: var(--primary-color);
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #d4b49a, var(--secondary-color-1));
}

.btn-download i {
    font-size: 1.1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
}

.hero-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* ==================== News Section ==================== */
.news {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid #e0e0e0;
}

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

.news-date {
    color: var(--secondary-color-1);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-content {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    background: rgba(63, 46, 29, 0.1);
    transition: var(--transition-normal);
}

.news-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateX(5px);
}

/* ==================== Gallery Section ==================== */
.gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    aspect-ratio: 16/9;
}

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

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

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

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

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

/* Image Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    display: block;
    max-width: 90%;
    max-height: 85vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-white);
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--secondary-color-1);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
}

.modal-prev,
.modal-next {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 2rem;
    padding: 15px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.modal-prev:hover,
.modal-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* ==================== Reviews Section ==================== */
.reviews {
    padding: 80px 0;
    background: var(--bg-white);
}

.reviews-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.rating-overview {
    text-align: center;
    color: var(--text-white);
}

.rating-score {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: var(--secondary-color-1);
}

.rating-stars {
    font-size: 2rem;
    margin: 10px 0;
}

.rating-stars i {
    color: #ffd700;
}

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

.rating-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.rating-tags .tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-normal);
}

.rating-tags .tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.reviews-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.review-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 25px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color-1), var(--secondary-color-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.review-stars {
    color: #ffd700;
    font-size: 0.9rem;
}

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

.review-text {
    color: var(--text-light);
    line-height: 1.8;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

/* ==================== Versions Section ==================== */
.versions {
    padding: 80px 0;
    background: var(--bg-light);
}

.versions-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.version-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-left: 5px solid var(--secondary-color-2);
    position: relative;
}

.version-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--secondary-color-1);
}

.version-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color-1), #d4b49a);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

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

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

.version-date {
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.version-details h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 20px 0 15px;
}

.version-info {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.version-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.version-info i {
    color: var(--secondary-color-1);
}

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

.version-changes li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.version-changes i {
    color: var(--secondary-color-1);
    margin-top: 3px;
}

.btn-download-version {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-download-version:hover {
    background: var(--secondary-color-1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==================== Guide Section ==================== */
.guide {
    padding: 80px 0;
    background: var(--bg-white);
}

.guide-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 12px 30px;
    border-radius: 25px;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--secondary-color-1);
}

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

.guide-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

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

.guide-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.guide-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.guide-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.guide-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.difficulty,
.recommend {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.difficulty i,
.recommend i {
    color: var(--secondary-color-1);
}

/* ==================== Chapters Section ==================== */
.chapters {
    padding: 80px 0;
    background: var(--bg-light);
}

.chapters-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.chapter-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    padding: 35px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border-left: 5px solid var(--secondary-color-2);
    position: relative;
}

.chapter-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.chapter-card.main-chapter {
    border-left-color: var(--secondary-color-1);
}

.chapter-card.character-chapter {
    border-left-color: #e74c3c;
}

.chapter-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.main-chapter .chapter-badge {
    background: linear-gradient(135deg, var(--secondary-color-1), #d4b49a);
    color: var(--primary-color);
}

.character-chapter .chapter-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: var(--text-white);
}

.chapter-number {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color-1);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.chapter-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.chapter-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.chapter-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
}

.chapter-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 500;
}

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

.chapter-mood {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(63, 46, 29, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    color: var(--primary-color);
    font-weight: 600;
}

.chapter-mood.important {
    background: linear-gradient(135deg, rgba(205, 164, 136, 0.3), rgba(205, 164, 136, 0.2));
}

.chapter-mood i {
    font-size: 1.1rem;
}

/* ==================== FAQ Section ==================== */
.faq {
    padding: 80px 0;
    background: var(--bg-white);
}

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

.faq-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: var(--bg-white);
    transition: var(--transition-normal);
}

.faq-question:hover {
    background: rgba(63, 46, 29, 0.05);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    flex: 1;
    margin-right: 20px;
}

.faq-question i {
    font-size: 1.2rem;
    color: var(--secondary-color-1);
    transition: var(--transition-normal);
}

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

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

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

.faq-answer > * {
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.faq-answer ul,
.faq-answer ol {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-answer ul {
    list-style-type: disc;
}

.faq-answer ol {
    list-style-type: decimal;
}

.faq-answer li {
    margin-bottom: 8px;
    padding-left: 10px;
}

.faq-answer strong {
    color: var(--primary-color);
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-color), #2a1f14);
    color: var(--text-white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color-1);
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-download {
    margin-top: 20px;
}

.btn-download-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color-1);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.btn-download-footer:hover {
    background: #d4b49a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    opacity: 0.9;
    transition: var(--transition-fast);
    display: inline-block;
}

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

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

.footer-bottom p {
    margin: 10px 0;
    opacity: 0.8;
}

.footer-disclaimer {
    font-size: 0.9rem;
    color: var(--secondary-color-1);
}

/* ==================== Back to Top Button ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--secondary-color-1);
    color: var(--primary-color);
}

.back-to-top.visible {
    display: flex;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.6rem;
    }
    
    .reviews-carousel {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background: var(--primary-color);
        width: 100%;
        padding: 30px 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        width: 90%;
        margin: 5px auto;
        justify-content: center;
        padding: 15px 20px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-info {
        justify-content: center;
    }
    
    .info-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .news-grid,
    .gallery-grid,
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        min-height: 250px;
    }
    
    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .modal-nav {
        padding: 0 10px;
    }
    
    .modal-prev,
    .modal-next {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    
    .reviews-stats {
        padding: 30px 20px;
    }
    
    .rating-score {
        font-size: 3rem;
    }
    
    .guide-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .version-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .version-number {
        font-size: 1.6rem;
    }
    
    .version-badge {
        position: static;
        display: inline-block;
        margin-bottom: 15px;
    }
    
    .chapter-title {
        font-size: 1.4rem;
    }
    
    .faq-question h3 {
        font-size: 1.05rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo img {
        width: 35px;
        height: 35px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-card,
    .guide-card,
    .version-card,
    .chapter-card {
        padding: 20px;
    }
    
    .faq-question,
    .faq-answer > * {
        padding: 20px;
    }
}

/* ==================== Page Header Styles ==================== */
.page-header {
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header h1 i {
    margin-right: 15px;
    color: var(--secondary-color-1);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* ==================== Page Content Styles ==================== */
.page-content {
    padding: 80px 0;
    background: var(--bg-white);
    min-height: 60vh;
}

.page-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary-color-1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-content h2 i {
    color: var(--secondary-color-1);
}

.page-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.page-content p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    line-height: 1.8;
    color: var(--text-light);
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 0.8rem;
}

.page-content strong {
    color: var(--primary-color);
    font-weight: 600;
}

.page-content a {
    color: var(--secondary-color-1);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.page-content a:hover {
    color: var(--primary-color);
}

/* FAQ Categories */
.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.faq-category {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-category h2 {
    margin-bottom: 30px;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.content-section:last-child {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(205, 164, 136, 0.1), rgba(205, 164, 136, 0.05));
    border-left: 4px solid var(--secondary-color-1);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: var(--border-radius-sm);
}

.info-box.warning {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    border-left-color: #e74c3c;
}

.info-box.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.05));
    border-left-color: #2ecc71;
}

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

.info-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 40px auto;
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color-1);
    box-shadow: 0 0 0 3px rgba(205, 164, 136, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .form-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 5px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #5a4332, var(--primary-color));
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, var(--primary-color), #5a4332);
    color: var(--text-white);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: 50px 0;
    box-shadow: var(--shadow-lg);
}

.download-section h2 {
    color: var(--text-white);
    border: none;
    margin-bottom: 20px;
    font-size: 2.5rem;
    justify-content: center;
}

.download-section p {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.download-section .btn-download {
    background: var(--secondary-color-1);
    color: var(--primary-color);
}

/* Steps List */
.steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color-1), #d4b49a);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.feature-item:hover {
    border-color: var(--secondary-color-1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    font-size: 3rem;
    color: var(--secondary-color-1);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 15px 0;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

/* ==================== Responsive for New Pages ==================== */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .page-content {
        padding: 50px 0;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    .faq-category,
    .content-section {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .download-section {
        padding: 30px 20px;
    }
    
    .download-section h2 {
        font-size: 1.8rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-list li {
        padding-left: 50px;
    }
    
    .steps-list li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ==================== Print Styles ==================== */
@media print {
    .header,
    .hamburger,
    .back-to-top,
    .modal,
    .btn-download,
    .btn-download-version,
    .btn-download-footer,
    .btn-submit {
        display: none;
    }
    
    .hero,
    .page-header {
        margin-top: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}

