/* === Community Censor DX - 社群审查 CSS Theme === */
/* Design: Digital Censorship / Pixel Tech-Noir */
/* Color Palette: Deep Navy, Censor Red/Pink, Clean Cream */

:root {
  --bg: #faf8f5;
  --header-bg: #1a1a2e;
  --header-border: #e94560;
  --accent: #e94560;
  --accent-hover: #c23152;
  --accent-glow: #ff6b81;
  --accent-light: rgba(233, 69, 96, 0.08);
  --text: #2d2d44;
  --text-soft: #5a5a7a;
  --text-muted: #8a8aaa;
  --card-bg: #ffffff;
  --card-border: #e8e4df;
  --hero-from: #1a1a2e;
  --hero-to: #16213e;
  --deep-blue: #0f3460;
  --tech-green: #16c79a;
  --warning-amber: #f0a500;
  --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.12);
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --font-mono: 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  min-height: 100vh;
  position: relative;
}

/* Pixel grid overlay pattern on body */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(233, 69, 96, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 69, 96, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* === Links === */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 3px solid var(--header-border);
  box-shadow: 0 2px 20px rgba(26, 26, 46, 0.3);
}

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

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

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

.header-logo-icon {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a.active {
  color: #ffffff;
  background: rgba(233, 69, 96, 0.2);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.header-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.header-cta:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.4);
}

.header-cta:hover::after {
  left: 100%;
}

/* === Hero Section === */
.hero {
  background: var(--gradient-hero);
  color: #ffffff;
  text-align: center;
  padding: 80px 24px 64px;
  position: relative;
  overflow: hidden;
}

/* Subtle pixel scanline effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

/* Diagonal stripe accent */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow), var(--tech-green), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subpage {
  padding: 48px 24px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(233, 69, 96, 0.3);
  line-height: 1.2;
}

.hero-title-main .highlight {
  color: var(--accent-glow);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

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

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.hero-meta-item strong {
  color: var(--accent-glow);
}

/* Sub-page hero title */
.hero-subpage-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(233, 69, 96, 0.25);
}

.hero-subpage-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto;
}

/* === 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;
}

/* === Content Wrapper === */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* === Sections === */
.section {
  padding: 64px 0;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

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

.section-subtitle {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Game Info Cards === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: var(--accent-glow);
}

.info-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.info-card-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 4px 0 0 4px;
  transition: all var(--transition);
}

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

.feature-card:hover::before {
  width: 6px;
  background: var(--accent-glow);
}

.feature-card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

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

/* === Screenshot Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
  border-color: var(--accent);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26, 26, 46, 0.85));
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* === Lightbox === */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 46, 0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-overlay.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
  border: 3px solid var(--accent);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition);
  z-index: 2001;
}

.lightbox-close:hover {
  color: var(--accent-glow);
}

.lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  font-size: 1rem;
}

/* === Reviews Section === */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 4rem;
  font-family: var(--font-serif);
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.review-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

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

.review-author span {
  color: var(--accent);
}

.review-stars {
  color: var(--warning-amber);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* === CTA Banner (index only) === */
.cta-banner {
  background: var(--gradient-hero);
  color: #ffffff;
  text-align: center;
  padding: 56px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(22, 199, 154, 0.06) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(233, 69, 96, 0.35);
}

.cta-button:hover {
  background: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(233, 69, 96, 0.5);
}

/* === Footer === */
.site-footer {
  background: var(--header-bg);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
  border-top: 2px solid var(--header-border);
}

.site-footer p {
  margin: 0;
}

/* === Content Pages (guide, story, characters, faq) === */
.content-section {
  padding: 48px 0;
}

.content-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.content-section p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.content-section h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* === Story Blocks === */
.story-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.story-block h3 {
  margin-top: 0;
  color: var(--accent);
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--card-border);
}

/* === Character Cards === */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.char-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.char-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent);
}

.char-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.char-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.char-card-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}

.char-card-desc {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

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

.char-trait {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  border-radius: 20px;
  font-weight: 500;
}

/* === Guide Steps === */
.guide-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  padding-left: 64px;
}

.guide-step-num {
  position: absolute;
  left: 16px;
  top: 24px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-mono);
}

.guide-step h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

.guide-tip {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.guide-tip strong {
  color: var(--accent);
}

/* === FAQ Accordion === */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition);
}

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

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

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

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--accent);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* === System Requirements Table === */
.sys-reqs {
  width: 100%;
  max-width: 700px;
  margin: 24px auto;
  border-collapse: collapse;
}

.sys-reqs th,
.sys-reqs td {
  padding: 12px 16px;
  border: 1px solid var(--card-border);
  font-size: 0.92rem;
}

.sys-reqs th {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  text-align: left;
  width: 140px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.sys-reqs td {
  background: var(--card-bg);
  color: var(--text-soft);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* === Utility Classes === */
.content-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

.content-list-num {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-soft);
}

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

.content-li-sm {
  margin-bottom: 4px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 0.92rem;
}

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

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

.strong-pink {
  color: var(--accent);
  font-weight: 700;
}

.strong-red {
  color: var(--accent-hover);
  font-weight: 700;
}

.strong-gold {
  color: var(--warning-amber);
  font-weight: 700;
}

.strong-muted {
  color: var(--text-muted);
  font-weight: 700;
}

.strong-navy {
  color: var(--deep-blue);
  font-weight: 700;
}

.td-highlight {
  color: var(--accent);
  font-weight: 700;
}

.sys-reqs-h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 32px;
  margin-bottom: 16px;
}

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

.section-subheading {
  text-align: center;
  margin: 40px 0 24px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.guide-intro {
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 24px;
  padding: 16px 20px;
  background: var(--accent-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
}

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

.route-heading {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 24px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

/* === Responsive === */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 8px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 4px;
  }

  .header-nav a {
    padding: 6px 10px;
    font-size: 0.85rem;
  }

  .header-cta {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

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

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

  .hero {
    padding: 56px 16px 48px;
  }

  .hero-subpage {
    padding: 32px 16px;
  }

  .section {
    padding: 48px 0;
  }

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

  .content-section {
    padding: 32px 0;
  }

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

  .content-wrapper {
    padding: 0 16px;
  }

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

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

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

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

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

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

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

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

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

  .header-logo {
    font-size: 1.1rem;
  }

  .guide-step {
    padding-left: 52px;
  }

  .guide-step-num {
    left: 10px;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }
}
