/* ========================================
   夜幕之花 (Flower of Night) 官网样式
   ======================================== */

:root {
  --primary: #353047;
  --accent1: #deb9dd;
  --accent2: #a5a1b3;
  --accent3: #9b88b1;
  --bg-dark: #1e1a2e;
  --bg-card: #2a2540;
  --bg-card-hover: #332e4a;
  --text-light: #f0eaf5;
  --text-muted: #b0a8c0;
  --gradient-primary: linear-gradient(135deg, #353047 0%, #4a3f6b 100%);
  --gradient-accent: linear-gradient(135deg, #9b88b1 0%, #deb9dd 100%);
  --gradient-hero: linear-gradient(180deg, rgba(30, 26, 46, 0.92) 0%, rgba(53, 48, 71, 0.88) 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.35);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

a:hover {
  color: #fff;
}

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

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

/* ========================================
   Section Common
   ======================================== */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ========================================
   Header / Navbar
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 26, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(155, 136, 177, 0.12);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(30, 26, 46, 0.98);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-light);
  background: rgba(155, 136, 177, 0.12);
}

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

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  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 Section
   ======================================== */

.hero {
  position: relative;
  padding: 100px 0 50px;
  background: var(--gradient-hero), url('../img/夜幕之花-cover.webp') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(155, 136, 177, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(155, 136, 177, 0.15);
  border: 1px solid rgba(155, 136, 177, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent1);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero h1 .en-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent2);
  margin-top: 4px;
  letter-spacing: 2px;
}

.hero-desc {
  max-width: 680px;
  margin: 16px auto 24px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(155, 136, 177, 0.12);
  border: 1px solid rgba(155, 136, 177, 0.18);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta .tag i {
  color: var(--accent1);
}

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

.hero-tags span {
  padding: 4px 12px;
  background: rgba(222, 185, 221, 0.1);
  border: 1px solid rgba(222, 185, 221, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent1);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(222, 185, 221, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(222, 185, 221, 0.45);
  color: var(--primary);
}

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

/* ========================================
   News Section
   ======================================== */

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

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(155, 136, 177, 0.1);
  transition: all var(--transition);
}

.news-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-card .date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--accent3);
  margin-bottom: 12px;
}

.news-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.news-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
}

.news-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--accent1);
  font-weight: 500;
}

.news-card .link:hover {
  gap: 10px;
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

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

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

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

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 26, 46, 0.7), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-item .overlay span {
  color: #fff;
  font-size: 0.9rem;
}

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

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  transition: transform var(--transition);
}

.lightbox-close:hover {
  transform: scale(1.2);
}

/* ========================================
   Reviews Section
   ======================================== */

.reviews-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.review-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.review-tags span {
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(155, 136, 177, 0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent2);
}

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

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

.review-card {
  min-width: 100%;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(155, 136, 177, 0.1);
}

.review-card .stars {
  color: #f0c040;
  font-size: 1rem;
  margin-bottom: 14px;
}

.review-card .content {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}

.review-card .author {
  font-size: 0.9rem;
  color: var(--accent1);
  font-weight: 600;
}

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

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(155, 136, 177, 0.2);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--accent3);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(155, 136, 177, 0.3);
  cursor: pointer;
  transition: all var(--transition);
}

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

/* ========================================
   Version History
   ======================================== */

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

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

.version-item {
  position: relative;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(155, 136, 177, 0.1);
  transition: all var(--transition);
}

.version-item:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

.version-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent1);
  border: 2px solid var(--bg-dark);
}

.version-item .version-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.version-item .ver-tag {
  padding: 4px 12px;
  background: var(--gradient-accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
}

.version-item .ver-date {
  font-size: 0.85rem;
  color: var(--accent3);
}

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

.version-item .ver-platforms {
  display: flex;
  gap: 6px;
}

.version-item .ver-platforms span {
  padding: 2px 10px;
  background: rgba(155, 136, 177, 0.1);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent2);
}

.version-item ul {
  list-style: none;
  margin-top: 8px;
}

.version-item ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.version-item ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent1);
  font-weight: bold;
}

.version-item .btn-download-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px 20px;
  background: rgba(222, 185, 221, 0.12);
  border: 1px solid rgba(222, 185, 221, 0.25);
  color: var(--accent1);
  font-size: 0.88rem;
  border-radius: 50px;
  transition: all var(--transition);
}

.version-item .btn-download-sm:hover {
  background: rgba(222, 185, 221, 0.22);
}

/* ========================================
   Guides Section
   ======================================== */

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

.filter-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(155, 136, 177, 0.15);
  border-radius: 50px;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-accent);
  color: var(--primary);
  border-color: transparent;
  font-weight: 600;
}

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

.guide-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(155, 136, 177, 0.1);
  transition: all var(--transition);
}

.guide-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-card .guide-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(155, 136, 177, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent1);
  margin-bottom: 16px;
}

.guide-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

.guide-card .guide-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
}

.guide-card .difficulty {
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

.difficulty.easy {
  background: rgba(80, 200, 120, 0.15);
  color: #50c878;
}

.difficulty.medium {
  background: rgba(240, 192, 64, 0.15);
  color: #f0c040;
}

.difficulty.hard {
  background: rgba(240, 100, 100, 0.15);
  color: #f06464;
}

.guide-card .recommend {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent2);
}

/* ========================================
   Chapters Section
   ======================================== */

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

.chapter-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(155, 136, 177, 0.1);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.chapter-card:hover {
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.chapter-card .chapter-type {
  position: absolute;
  top: 0;
  right: 0;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0 var(--radius-md) 0 var(--radius-sm);
}

.chapter-type.main {
  background: var(--gradient-accent);
  color: var(--primary);
}

.chapter-type.character {
  background: rgba(155, 136, 177, 0.2);
  color: var(--accent1);
}

.chapter-card .chapter-num {
  font-size: 0.8rem;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.chapter-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.chapter-card .chapter-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chapter-card .chapter-info span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  background: rgba(155, 136, 177, 0.08);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.chapter-card .chapter-info span i {
  color: var(--accent3);
  font-size: 0.75rem;
}

.chapter-card .mood-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

.mood-tag.tense {
  background: rgba(240, 100, 100, 0.12);
  color: #f06464;
}

.mood-tag.warm {
  background: rgba(240, 192, 64, 0.12);
  color: #f0c040;
}

.mood-tag.mystery {
  background: rgba(100, 140, 240, 0.12);
  color: #648cf0;
}

.mood-tag.romantic {
  background: rgba(222, 185, 221, 0.2);
  color: var(--accent1);
}

.mood-tag.dark {
  background: rgba(155, 136, 177, 0.15);
  color: var(--accent3);
}

/* ========================================
   FAQ Section
   ======================================== */

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

.faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(155, 136, 177, 0.1);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: rgba(155, 136, 177, 0.25);
}

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

.faq-question:hover {
  background: rgba(155, 136, 177, 0.05);
}

.faq-question i {
  font-size: 0.8rem;
  color: var(--accent3);
  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: 400px;
}

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

/* ========================================
   Footer
   ======================================== */

.footer {
  background: rgba(20, 17, 30, 0.95);
  border-top: 1px solid rgba(155, 136, 177, 0.1);
  padding: 50px 0 30px;
}

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

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
}

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

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

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col ul a:hover {
  color: var(--accent1);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(155, 136, 177, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}

.footer-bottom .legal-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ========================================
   Back to Top
   ======================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 30px rgba(222, 185, 221, 0.4);
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 26, 46, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.05rem;
    padding: 12px 24px;
  }

  .hamburger {
    display: flex;
  }

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

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

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .news-grid,
  .gallery-grid,
  .guides-grid,
  .chapters-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .reviews-stats {
    gap: 24px;
  }

  .stat-item .number {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 84px 0 40px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

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

  .btn-download {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .container {
    padding: 0 16px;
  }
}
