/* === 欧派奥德赛 - Space Odyssey Theme === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  /* Cosmic Palette */
  --bg: #f5f2fb;
  --bg-section: #faf8fe;
  --bg-header: #0d1137;
  --bg-footer: #0d1137;
  
  --accent: #4a3fbf;
  --accent-hover: #6c5ce7;
  --accent-light: #e8e6ff;
  --accent-glow: rgba(74, 63, 191, 0.15);
  
  --nebula: #9b59b6;
  --nebula-light: #f0e6ff;
  --nebula-glow: rgba(155, 89, 182, 0.12);
  
  --cosmic-deep: #1a1a4e;
  --cosmic-blue: #2d5ba9;
  --cosmic-teal: #0ea5a0;
  
  --star-white: #ffffff;
  --star-gold: #f0d060;
  
  --text: #2d2d4a;
  --text-muted: #6b6b8a;
  --text-light: #9999b0;
  --text-on-dark: #e8e6ff;
  
  --border: #e0ddf0;
  --border-light: #f0edf8;
  
  --shadow-sm: 0 2px 8px rgba(13, 17, 55, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 17, 55, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 17, 55, 0.10);
  --shadow-glow: 0 0 20px var(--accent-glow);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-heading: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --max-width: 1200px;
  --header-height: 70px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* === Star-field Background === */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(1px 1px at 10% 15%, rgba(13, 17, 55, 0.3), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(13, 17, 55, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 40% 10%, rgba(74, 63, 191, 0.25), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(13, 17, 55, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(155, 89, 182, 0.2), transparent),
    radial-gradient(1px 1px at 85% 30%, rgba(13, 17, 55, 0.25), transparent),
    radial-gradient(1px 1px at 15% 60%, rgba(13, 17, 55, 0.2), transparent),
    radial-gradient(1.5px 1.5px at 35% 75%, rgba(74, 63, 191, 0.2), transparent),
    radial-gradient(1px 1px at 60% 65%, rgba(13, 17, 55, 0.2), transparent),
    radial-gradient(1px 1px at 80% 70%, rgba(155, 89, 182, 0.15), transparent),
    radial-gradient(1.5px 1.5px at 90% 55%, rgba(13, 17, 55, 0.2), transparent),
    radial-gradient(1px 1px at 5% 85%, rgba(13, 17, 55, 0.15), transparent),
    radial-gradient(1px 1px at 45% 90%, rgba(74, 63, 191, 0.15), transparent),
    radial-gradient(2px 2px at 20% 50%, rgba(240, 208, 96, 0.2), transparent),
    radial-gradient(1px 1px at 65% 85%, rgba(13, 17, 55, 0.15), transparent),
    radial-gradient(2px 2px at 75% 40%, rgba(240, 208, 96, 0.15), transparent);
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
}

/* Star twinkle overlay */
body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(155, 89, 182, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(74, 63, 191, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(45, 91, 169, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cosmic-deep);
  line-height: 1.3;
}
h1 { font-size: 2.25rem; letter-spacing: 0.02em; }
h2 { font-size: 1.75rem; letter-spacing: 0.01em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

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

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  border-bottom: 2px solid var(--accent);
  height: var(--header-height);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--star-white);
  letter-spacing: 0.04em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo:hover { color: var(--star-gold); }
.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--nebula));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

nav { display: flex; align-items: center; gap: 0.25rem; }
nav a {
  color: var(--star-white);
  opacity: 0.8;
  font-size: 0.9rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-family: var(--font-body);
}
nav a:hover, nav a.active { opacity: 1; background: rgba(255,255,255,0.08); color: var(--star-gold); }

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--nebula)) !important;
  opacity: 1 !important;
  color: var(--star-white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 0 16px var(--nebula-glow);
  transition: all 0.2s !important;
}
.nav-cta:hover { 
  transform: translateY(-1px);
  box-shadow: 0 0 24px var(--accent-glow);
  color: var(--star-white) !important;
}

.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: var(--star-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* === Main === */
main { position: relative; z-index: 1; }

/* === Hero === */
.hero {
  background: linear-gradient(135deg, var(--bg-header) 0%, #181a50 40%, var(--cosmic-deep) 100%);
  position: relative;
  overflow: hidden;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--star-white);
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(155, 89, 182, 0.15), transparent),
    radial-gradient(ellipse 400px 300px at 80% 30%, rgba(74, 63, 191, 0.12), transparent),
    radial-gradient(ellipse 300px 200px at 50% 70%, rgba(45, 91, 169, 0.10), transparent);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  padding: 0.35rem 1.2rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.5rem;
  color: var(--star-gold);
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--star-white);
  text-shadow: 0 0 40px rgba(155, 89, 182, 0.4);
}
.hero h1 span {
  background: linear-gradient(135deg, var(--star-gold), #f0a060);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-on-dark);
  opacity: 0.85;
  max-width: 680px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--nebula));
  color: #fff;
  box-shadow: 0 4px 20px rgba(74, 63, 191, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(74, 63, 191, 0.5); color: #fff; }
.btn-outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--star-white);
  background: transparent;
}
.btn-outline:hover { border-color: var(--star-gold); color: var(--star-gold); }

/* === Page Hero (sub-pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--bg-header) 0%, #181a50 60%, var(--cosmic-deep) 100%);
  position: relative;
  overflow: hidden;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--star-white);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 500px 300px at 30% 50%, rgba(155, 89, 182, 0.12), transparent),
    radial-gradient(ellipse 300px 200px at 70% 40%, rgba(74, 63, 191, 0.10), transparent);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--star-white);
  text-shadow: 0 0 30px rgba(155, 89, 182, 0.3);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--text-on-dark);
  opacity: 0.8;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === Sections === */
section { padding: 3.5rem 1.5rem; position: relative; z-index: 1; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--cosmic-deep);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 0.95rem;
}
.section-alt { background: var(--bg-section); }

/* Star divider */
.star-divider { 
  text-align: center; 
  font-size: 1.2rem; 
  letter-spacing: 0.5rem;
  color: var(--nebula);
  margin: 1rem 0 2rem;
}

/* === Info Grid === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.info-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.info-card:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}
.info-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.info-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}
.info-card-value {
  font-weight: 600;
  color: var(--cosmic-deep);
  font-size: 0.95rem;
}

/* === Feature Cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  border-left: 3px solid transparent;
}
.feature-card:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-lg);
  border-left-color: var(--accent);
}
.feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.feature-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }

/* === Screenshot Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.gallery a:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
}

/* === Story Blocks === */
.story-block {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent);
}
.story-block h2 { font-size: 1.4rem; margin-bottom: 0.75rem; color: var(--cosmic-deep); }
.story-block h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--accent); }
.story-block p { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.75rem; }
.story-block .chapter-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* === Character Cards === */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.char-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.char-card:hover { 
  transform: translateY(-3px); 
  box-shadow: var(--shadow-lg);
}
.char-card-header {
  background: linear-gradient(135deg, var(--accent), var(--nebula));
  padding: 1.5rem;
  text-align: center;
  color: var(--star-white);
}
.char-card-header h3 {
  color: var(--star-white);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}
.char-card-header .char-role {
  opacity: 0.8;
  font-size: 0.85rem;
}
.char-card-body { padding: 1.25rem; }
.char-card-body p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.char-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.char-trait {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xl);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 500;
}

/* === Character Detail (story page block) === */
.char-detail {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.char-detail-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--nebula));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}
.char-detail-info h3 { margin-bottom: 0.25rem; }
.char-detail-info .char-detail-role { color: var(--accent); font-size: 0.9rem; margin-bottom: 0.75rem; }
.char-detail-info p { color: var(--text-muted); line-height: 1.7; }

/* === Guide Steps === */
.guide-steps { counter-reset: step; }
.guide-step {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 3.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.guide-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--nebula));
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-step h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.guide-step p { color: var(--text-muted); line-height: 1.7; font-size: 0.9rem; }

/* === FAQ Accordion === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: var(--cosmic-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
}
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s;
  font-family: var(--font-heading);
}
.faq-item.open .faq-question::after { 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: 500px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9rem;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-header) 0%, #181a50 50%, var(--cosmic-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: var(--star-white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse 400px 200px at 30% 50%, rgba(155, 89, 182, 0.2), transparent),
    radial-gradient(ellipse 300px 150px at 70% 50%, rgba(74, 63, 191, 0.15), transparent);
  pointer-events: none;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--star-white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: var(--text-on-dark);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn { position: relative; z-index: 1; }

/* === Breadcrumbs === */
.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { color: var(--accent); }

/* === Utility === */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.9rem; }
.mt-1 { margin-top: 0.75rem; }

/* === Tags === */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1rem; }
.tag {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid transparent;
  transition: all 0.2s;
}
.tag:hover { border-color: var(--accent); }
.tag-nebula { background: var(--nebula-light); color: var(--nebula); }
.tag-gold { background: #fff8e1; color: #b8860b; }
.tag-teal { background: #e0f7fa; color: var(--cosmic-teal); }

/* === Stats Row === */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* === Tip Box === */
.tip-box {
  background: var(--nebula-light);
  border-left: 4px solid var(--nebula);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--text);
}
.tip-box strong { color: var(--nebula); }

/* === Review Stars === */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.rating-stars { color: var(--star-gold); letter-spacing: 0.1em; font-size: 1.1rem; }
.rating-value { font-family: var(--font-heading); font-weight: 700; color: var(--cosmic-deep); }
.rating-count { color: var(--text-muted); font-size: 0.85rem; }

/* === Pros/Cons === */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.pros-cons-col { 
  background: #fff; 
  border: 1px solid var(--border-light); 
  border-radius: var(--radius); 
  padding: 1.5rem; 
  box-shadow: var(--shadow-sm);
}
.pros-cons-col h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}
.pros-cons-col.pros h3 { color: #27ae60; }
.pros-cons-col.cons h3 { color: #e74c3c; }
.pros-cons-col ul { 
  list-style: none; 
  padding: 0;
}
.pros-cons-col li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.5rem;
}
.pros-cons-col.pros li::before { content: '✓'; color: #27ae60; position: absolute; left: 0; font-weight: 700; }
.pros-cons-col.cons li::before { content: '✗'; color: #e74c3c; position: absolute; left: 0; font-weight: 700; }

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 55, 0.92);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(74, 63, 191, 0.3);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: var(--star-white);
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* === Footer === */
footer {
  background: var(--bg-footer);
  color: var(--text-on-dark);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* === Breadcrumbs sub-page === */
.breadcrumb-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}
.breadcrumb-bar a { color: var(--text-muted); }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar .sep { margin: 0 0.4rem; color: var(--text-light); }

/* === Content blocks === */
.content-block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
.content-block h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--cosmic-deep);
}
.content-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* === Specs table === */
.specs-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.specs-table th, .specs-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}
.specs-table th {
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 35%;
}
.specs-table td { color: var(--text-muted); border-bottom: 1px solid var(--border-light); }
.specs-table tr:last-child td { border-bottom: none; }

/* === Responsive === */
@media (max-width: 768px) {
  :root { --header-height: 60px; }
  
  .hamburger { display: flex; }
  nav {
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--bg-header);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    border-bottom: 2px solid var(--accent);
  }
  nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  nav a { width: 100%; text-align: center; padding: 0.75rem; }
  
  .hero { padding: 3rem 1rem; }
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.75rem; }
  
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .char-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .char-detail { flex-direction: column; text-align: center; align-items: center; }
  
  .pros-cons-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .page-hero h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.4rem; }
  .info-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
