/* ============================================================
   美女请别影响我学习 - Study Distraction Theme
   Notebook-paper whites, highlighter-yellows, exam-score motifs
   Light classroom background
   ============================================================ */

/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700;900&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --bg: #fdfaf5;
  --bg-card: #fefdf9;
  --bg-warm: #faf6ee;
  --bg-paper: #fef9ef;
  --text: #2c2416;
  --text-soft: #6b6050;
  --text-muted: #9b8e7e;
  --accent: #f5d442;
  --accent-dark: #d4b830;
  --accent-light: #fdf3c4;
  --red-mark: #e74c3c;
  --green-check: #27ae60;
  --navy: #1a3a5c;
  --navy-light: #2c5f8a;
  --navy-soft: #3a7cc3;
  --header-bg: #1a3a5c;
  --border: #e8e0d0;
  --border-light: #f0ebe0;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.10);
  --radius: 8px;
  --radius-sm: 4px;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans SC', sans-serif;
  --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --max-width: 1100px;
  --header-height: 64px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    linear-gradient(0deg, transparent 24px, var(--border-light) 25px),
    linear-gradient(90deg, transparent 99%, var(--border-light) 100%);
  background-size: 100% 25px, 50px 100%;
  background-attachment: fixed;
}

a {
  color: var(--navy-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover, a:focus {
  color: var(--navy-soft);
}

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

/* ========== SCREEN READER ONLY ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

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

.site-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: #c8d8e8;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

/* Header CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px !important;
  border-radius: 20px;
  transition: all 0.25s;
  white-space: nowrap;
}

.header-cta:hover {
  background: #ffe066;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(245, 212, 66, 0.4);
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s;
}

.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: 60px 24px 80px;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 20px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ========== HERO PAGE-SPECIFIC BACKGROUNDS ========== */
.hero-home .hero-bg { background-image: url('../img/header.jpg'); }
.hero-guide .hero-bg { background-image: url('../img/screenshot-03.jpg'); }
.hero-story .hero-bg { background-image: url('../img/screenshot-01.jpg'); }
.hero-characters .hero-bg { background-image: url('../img/screenshot-02.jpg'); }
.hero-faq .hero-bg { background-image: url('../img/header.jpg'); }

/* ========== SUB-PAGE HERO (reduced padding) ========== */
.hero-subpage {
  padding: 40px 24px 48px;
}

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

/* ========== CONTENT SECTIONS ========== */
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 24px;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.content-section h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin: 32px 0 12px;
}

.content-section p {
  color: var(--text-soft);
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-section-alt {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ========== SECTION HEADINGS WITH DECORATION ========== */
.section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ========== INTRO CARD ========== */
.intro-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  position: relative;
}

.intro-card::before {
  content: '📝';
  position: absolute;
  top: -14px;
  right: 20px;
  font-size: 1.6rem;
  background: var(--bg-card);
  padding: 0 8px;
}

.intro-card h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.intro-card p {
  color: var(--text-soft);
  line-height: 1.8;
}

/* ========== FEATURE CARDS GRID ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: 0 0 0 var(--radius);
  opacity: 0.5;
}

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

.feature-card .card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
}

.feature-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== SCREENSHOT GALLERY ========== */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.screenshot-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.screenshot-item:hover {
  transform: scale(1.02);
}

.screenshot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.screenshot-item .screenshot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.6));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}

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

.screenshot-overlay span {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ========== REVIEW CARDS ========== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.review-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--navy-light);
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 8px;
  right: 16px;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}

.review-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

.review-card .reviewer {
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy);
  font-style: normal;
  font-size: 0.9rem;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 48px 24px;
  text-align: center;
  margin-top: 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 212, 66, 0.08) 0%, transparent 70%);
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  position: relative;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  position: relative;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(245, 212, 66, 0.3);
}

.cta-btn:hover {
  background: #ffe066;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 212, 66, 0.4);
  color: var(--navy);
}

/* ========== CHARACTER CARDS ========== */
.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.char-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.char-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.char-card-body {
  padding: 20px;
}

.char-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.char-card-body .char-role {
  display: inline-block;
  background: var(--accent-light);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.char-card-body p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.char-trait {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-warm);
  padding: 3px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ========== ACCORDION (FAQ) ========== */
.faq-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--bg-warm);
}

.faq-question .faq-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent-dark);
  transition: transform 0.3s;
}

.faq-item.open .faq-question .faq-icon {
  transform: rotate(45deg);
}

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

.faq-item.open .faq-answer {
  max-height: 800px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========== GUIDE STEPS ========== */
.guide-steps {
  counter-reset: step;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-step {
  display: flex;
  gap: 20px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: transform 0.2s;
}

.guide-step:hover {
  transform: translateX(4px);
}

.guide-step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.guide-step-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.guide-step-body p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Tip Box */
.tip-box {
  background: linear-gradient(135deg, var(--accent-light), #fef9e7);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  position: relative;
}

.tip-box::before {
  content: '💡';
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 1.4rem;
}

.tip-box h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.tip-box p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ========== STORY CHAPTER CARDS ========== */
.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.chapter-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--navy-light);
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.chapter-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== OUTCOME TABLE ========== */
.outcome-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.outcome-table th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
}

.outcome-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
}

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

.outcome-table tr:hover td {
  background: var(--bg-warm);
}

/* ========== SYSTEM REQUIREMENTS TABLE ========== */
.sys-reqs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.sys-reqs-table th {
  background: var(--navy);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  width: 30%;
}

.sys-reqs-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.sys-reqs-table tr:last-child td,
.sys-reqs-table tr:last-child th {
  border-bottom: none;
}

/* ========== SYS REQS H3 ========== */
.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 24px;
  margin-bottom: 12px;
}

.sys-reqs-h3:first-of-type {
  margin-top: 8px;
}

/* ========== SECTION SUBHEADING ========== */
.section-subheading {
  text-align: center;
  margin: 40px 0 24px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

/* ========== CONTENT LIST CLASSES ========== */
.content-list {
  list-style: disc;
  padding-left: 20px;
}

.content-list-num {
  list-style: decimal;
  padding-left: 24px;
}

.content-li {
  margin-bottom: 5px;
  color: var(--text-soft);
}

.content-li-sm {
  margin-bottom: 4px;
  color: var(--text-soft);
}

.content-li-md {
  margin-bottom: 8px;
  color: var(--text-soft);
}

.content-li-lg {
  margin-bottom: 10px;
  color: var(--text-soft);
}

/* ========== COLORED STRONG TAGS ========== */
.strong-pink { color: var(--red-mark); }
.strong-red { color: var(--red-mark); }
.strong-gold { color: var(--accent-dark); }
.strong-muted { color: var(--text-muted); }
.strong-navy { color: var(--navy); }
.strong-green { color: var(--green-check); }

/* ========== TABLE HIGHLIGHT ========== */
.td-highlight {
  color: var(--red-mark);
  font-weight: 700;
}

/* ========== GUIDE UTILITY CLASSES ========== */
.guide-intro {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.route-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.route-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 8px;
}

/* ========== TABLE SCROLL WRAPPER ========== */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--header-bg);
  padding: 28px 24px;
  text-align: center;
  border-top: 3px solid var(--accent);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

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

  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--header-bg);
    padding: 12px 24px;
    gap: 2px;
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

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

  .main-nav a {
    padding: 12px 16px;
    border-radius: var(--radius);
  }

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

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

  .hero-subpage-title {
    font-size: 1.6rem;
  }

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

  .content-section h2 {
    font-size: 1.7rem;
  }

  .features-grid,
  .reviews-grid,
  .screenshot-gallery,
  .characters-grid {
    grid-template-columns: 1fr;
  }

  .guide-step {
    flex-direction: column;
    gap: 12px;
  }

  .content-section {
    padding: 36px 20px;
  }

  .outcome-table,
  .sys-reqs-table {
    font-size: 0.8rem;
  }

  .outcome-table th,
  .outcome-table td,
  .sys-reqs-table th,
  .sys-reqs-table td {
    padding: 8px 10px;
  }
}

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

  .hero-subpage-title {
    font-size: 1.3rem;
  }

  .hero-meta {
    gap: 8px;
  }

  .hero-meta span {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 12px 28px;
  }

  .intro-card {
    padding: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .content-section {
    padding: 28px 16px;
  }
}
