/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
  --primary: #dbcecb;
  --secondary-1: #423634;
  --secondary-2: #764f4c;
  --secondary-3: #936f50;

  --bg-dark: #0d0807;
  --bg-alt: #130d0c;
  --bg-card: #1a1109;
  --bg-card-hover: #231812;

  --text-primary: #e8dbd8;
  --text-secondary: #a89490;
  --text-muted: #6b5250;

  --gradient-accent: linear-gradient(135deg, var(--secondary-2), var(--secondary-3));
  --gradient-text: linear-gradient(135deg, #c4837f, #b8915e);

  --border-color: #2a1917;
  --border-accent: #423634;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.9);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition: all 0.3s ease;

  --font-primary: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-display: 'Cinzel', 'Times New Roman', serif;

  --nav-height: 68px;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: var(--font-primary);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(118, 79, 76, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(118, 79, 76, 0.6);
  color: #fff;
}

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

.btn-outline {
  border: 1px solid var(--secondary-2);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(118, 79, 76, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(13, 8, 7, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-accent);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: contain;
}

.nav-logo span {
  font-family: var(--font-primary);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link i {
  font-size: 0.8rem;
  color: var(--secondary-3);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(219, 206, 203, 0.08);
}

.nav-download-btn {
  margin-left: 1rem;
  background: var(--gradient-accent);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 10px rgba(118, 79, 76, 0.35);
  transition: var(--transition);
}

.nav-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(118, 79, 76, 0.55);
  color: #fff !important;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(
    rgba(13, 8, 7, 0.6) 0%,
    rgba(13, 8, 7, 0.78) 60%,
    rgba(13, 8, 7, 0.96) 100%
  ),
  url('../img/亚洲之子-cover.webp') center/cover no-repeat;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(118, 79, 76, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
  padding: 3rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(118, 79, 76, 0.2);
  border: 1px solid var(--secondary-2);
  color: var(--secondary-3);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, #e8dbd8 0%, #c4837f 50%, #b8915e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-muted);
  letter-spacing: 0.25em;
  margin-bottom: 1.4rem;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.2rem;
}

.hero-actions .btn-primary {
  font-size: 1rem;
  padding: 0.85rem 2.2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  align-items: center;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
}

.hero-meta-item i {
  color: var(--secondary-3);
  font-size: 0.78rem;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

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

.news-card:hover::before {
  opacity: 1;
}

.news-date {
  font-size: 0.78rem;
  color: var(--secondary-3);
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  background: rgba(118, 79, 76, 0.2);
  color: var(--secondary-3);
  border: 1px solid rgba(118, 79, 76, 0.3);
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.news-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

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

.news-link {
  font-size: 0.82rem;
  color: var(--secondary-3);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
}

.news-link:hover {
  color: var(--primary);
  gap: 0.5rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 8, 7, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-overlay i {
  font-size: 2rem;
  color: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

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

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.reviews-score-box {
  text-align: center;
  min-width: 140px;
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
}

.score-number {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
}

.score-stars {
  color: #d4a853;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.score-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reviews-bars {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.review-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.82rem;
}

.bar-label {
  min-width: 38px;
  color: var(--text-secondary);
  text-align: right;
}

.bar-label i {
  color: #d4a853;
  font-size: 0.7rem;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.bar-pct {
  min-width: 35px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.review-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(66, 54, 52, 0.4);
  border: 1px solid var(--border-accent);
  color: var(--text-secondary);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  transition: var(--transition);
}

.review-tag:hover {
  background: rgba(118, 79, 76, 0.2);
  color: var(--primary);
  border-color: var(--secondary-2);
}

.review-tag-count {
  font-size: 0.75rem;
  color: var(--secondary-3);
}

.reviews-carousel {
  position: relative;
}

.reviews-track-wrapper {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s ease;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  min-width: calc(33.333% - 0.84rem);
  flex-shrink: 0;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

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

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.review-author {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

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

.review-stars {
  color: #d4a853;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
  letter-spacing: 0.08em;
}

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

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

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  font-size: 0.85rem;
}

.carousel-btn:hover {
  background: rgba(118, 79, 76, 0.2);
  color: var(--primary);
  border-color: var(--secondary-2);
}

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

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

.carousel-dot.active {
  background: var(--secondary-2);
  width: 20px;
  border-radius: 4px;
}

/* ============================================
   VERSION HISTORY
   ============================================ */
.version-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.version-table th {
  background: rgba(66, 54, 52, 0.5);
  color: var(--secondary-3);
  font-weight: 600;
  padding: 0.85rem 1.2rem;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-accent);
}

.version-table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  vertical-align: middle;
}

.version-table tr:last-child td {
  border-bottom: none;
}

.version-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.version-latest {
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* ============================================
   GAME GUIDE / STRATEGY
   ============================================ */
.guide-filter {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--border-accent);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.filter-btn:hover,
.filter-btn.active {
  background: rgba(118, 79, 76, 0.2);
  border-color: var(--secondary-2);
  color: var(--primary);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.guide-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.guide-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

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

.guide-card:hover::after {
  opacity: 1;
}

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

.guide-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(118, 79, 76, 0.15);
  border: 1px solid rgba(118, 79, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--secondary-3);
}

.guide-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.guide-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

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

.guide-stars {
  color: #d4a853;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.guide-cat-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  background: rgba(147, 111, 80, 0.15);
  border: 1px solid rgba(147, 111, 80, 0.25);
  color: var(--secondary-3);
  font-weight: 500;
}

/* ============================================
   CHAPTERS SECTION
   ============================================ */
.chapters-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0;
}

.chapter-tab {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  font-family: var(--font-primary);
  background: none;
  margin-bottom: -1px;
}

.chapter-tab:hover {
  color: var(--text-primary);
}

.chapter-tab.active {
  color: var(--secondary-3);
  border-bottom-color: var(--secondary-3);
}

.chapters-panel {
  display: none;
}

.chapters-panel.active {
  display: block;
}

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

.chapter-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.2rem;
  transition: var(--transition);
}

.chapter-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.chapter-num {
  min-width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.chapter-body {
  flex: 1;
}

.chapter-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.chapter-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.chapter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chapter-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chapter-meta-item i {
  color: var(--secondary-3);
  font-size: 0.7rem;
}

.chapter-tone {
  font-size: 0.72rem;
  padding: 0.12rem 0.55rem;
  border-radius: 3px;
  font-weight: 500;
}

.tone-warm { background: rgba(147, 111, 80, 0.18); color: var(--secondary-3); border: 1px solid rgba(147, 111, 80, 0.25); }
.tone-romance { background: rgba(180, 100, 100, 0.18); color: #c4837f; border: 1px solid rgba(180, 100, 100, 0.25); }
.tone-mystery { background: rgba(80, 90, 140, 0.18); color: #8899cc; border: 1px solid rgba(80, 90, 140, 0.25); }
.tone-key { background: rgba(160, 130, 60, 0.18); color: #c8a850; border: 1px solid rgba(160, 130, 60, 0.25); }
.tone-light { background: rgba(80, 140, 100, 0.18); color: #80c090; border: 1px solid rgba(80, 140, 100, 0.25); }
.tone-deep { background: rgba(118, 79, 76, 0.2); color: var(--secondary-2); border: 1px solid rgba(118, 79, 76, 0.3); }

.chapter-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.chapter-char-tag {
  font-size: 0.72rem;
  padding: 0.12rem 0.5rem;
  border-radius: 3px;
  background: rgba(66, 54, 52, 0.5);
  border: 1px solid var(--border-accent);
  color: var(--text-muted);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.faq-item.open {
  border-color: var(--secondary-2);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-q-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: rgba(118, 79, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: var(--secondary-3);
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 0.8rem;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
  color: var(--secondary-3);
}

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

.faq-answer-inner {
  padding: 0 1.4rem 1.2rem 3.9rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #080504;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 1.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-col-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--text-secondary);
  gap: 0.6rem;
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--secondary-3);
}

.footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.partner-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  transition: var(--transition);
}

.partner-link:hover {
  color: var(--text-secondary);
  border-color: var(--border-accent);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

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

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  border: none;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
  z-index: 999;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(118, 79, 76, 0.5);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(118, 79, 76, 0.4);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(118, 79, 76, 0.4);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .review-card {
    min-width: calc(50% - 0.625rem);
  }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(13, 8, 7, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border-accent);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
  }

  .nav-download-btn {
    margin-left: 0;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3rem;
  }

  .hero-inner {
    padding: 0;
  }

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

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

  .hero-meta {
    gap: 0.5rem;
  }

  .hero-meta-item {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }

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

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

  .reviews-stats {
    grid-template-columns: 1fr;
  }

  .reviews-score-box {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-right: 0;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
  }

  .review-card {
    min-width: 100%;
  }

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

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .footer-legal {
    justify-content: center;
  }

  .version-table {
    font-size: 0.82rem;
  }

  .version-table th,
  .version-table td {
    padding: 0.7rem 0.9rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .guide-filter {
    gap: 0.4rem;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.38rem 0.85rem;
  }

  .chapters-tabs {
    overflow-x: auto;
    padding-bottom: 0;
  }
}
