/* === 职场幻想 Office Fantasy - Corporate Romance Theme === */
/* Navy blues + tie-red accents, glass-and-steel aesthetic */

:root {
  /* Core palette */
  --navy-dark: #0d1b33;
  --navy: #1a2f5a;
  --navy-mid: #2c4a8a;
  --navy-light: #3a62b0;
  --navy-pale: #dce3f0;

  --red: #c41e3a;
  --red-dark: #9b1530;
  --red-light: #e8505a;
  --red-pale: #fde8eb;

  --steel: #8a8fa0;
  --steel-light: #c8ccd6;
  --steel-pale: #eef0f3;
  --silver: #d4d7df;

  --glass: rgba(255, 255, 255, 0.65);
  --glass-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(26, 47, 90, 0.12);

  --bg: #f7f8fb;
  --bg-card: #ffffff;
  --bg-alt: #f0f2f7;

  --text: #1a1f2e;
  --text-mid: #4a5165;
  --text-light: #8a8fa0;
  --text-white: #ffffff;

  /* Typography */
  --font-heading: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Spacing */
  --section-gap: 4rem;
  --content-width: 1120px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 27, 51, 0.06);
  --shadow-md: 0 4px 16px rgba(13, 27, 51, 0.08);
  --shadow-lg: 0 8px 32px rgba(13, 27, 51, 0.12);
  --shadow-glow: 0 0 24px rgba(196, 30, 58, 0.15);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Subtle geometric background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 15%, rgba(44, 74, 138, 0.04), transparent),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(196, 30, 58, 0.03), transparent);
  pointer-events: none;
}

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

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

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

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-white);
  letter-spacing: 0.02em;
}

header .logo img {
  height: 32px;
  width: auto;
}

header .logo:hover {
  color: var(--red-light);
}

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

nav a {
  color: rgba(255, 255, 255, 0.75);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.1);
}

/* Nav CTA button */
.nav-cta {
  background: var(--red) !important;
  color: var(--text-white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(196, 30, 58, 0.3);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.4);
}

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

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* === Hero === */
.hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  background: var(--navy-dark);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 30% 50%, rgba(44, 74, 138, 0.4), transparent),
    radial-gradient(ellipse 30% 40% at 75% 30%, rgba(196, 30, 58, 0.3), transparent),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  z-index: 0;
}

/* Geometric glass pattern overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero .game-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.hero .game-icon img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--red-light), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero .hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero .hero-tags span {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--text-white) !important;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(196, 30, 58, 0.45);
  color: var(--text-white) !important;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

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

/* === Page Hero (sub-pages) === */
.page-hero {
  position: relative;
  padding: 3rem 1.5rem;
  background: var(--navy-dark);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 60%, rgba(44, 74, 138, 0.3), transparent);
  z-index: 0;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}

/* === Section Common === */
section {
  padding: var(--section-gap) 1.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* Glass divider */
.glass-divider {
  width: 80px;
  height: 3px;
  margin: 0 auto 2.5rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-light), var(--red), var(--navy-light));
}

/* Content container */
.content,
.content-narrow {
  max-width: var(--content-width);
  margin: 0 auto;
}

.content-narrow {
  max-width: 800px;
}

/* === Info Cards Grid === */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.info-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: var(--navy-pale);
  color: var(--navy-mid);
}

.info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

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

/* === Feature Cards === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border-left: 3px solid var(--navy-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

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

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === Story Blocks === */
.story-block {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--navy-mid);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.story-block h3 {
  color: var(--navy-dark);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.story-block p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

.story-chapter {
  display: inline-block;
  background: var(--navy-dark);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* === Character Cards === */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.char-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.char-card .char-header {
  background: var(--navy-dark);
  padding: 1.2rem;
  text-align: center;
}

.char-card .char-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.char-card .char-avatar.avatar-red {
  background: linear-gradient(135deg, var(--red-light), var(--red-dark));
}

.char-card .char-name {
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
}

.char-card .char-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.char-card .char-body {
  padding: 1rem;
}

.char-card .char-body p {
  color: var(--text-mid);
  font-size: 0.85rem;
  line-height: 1.5;
}

.char-card .char-body .char-gift {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
}

/* === Guide Steps === */
.guide-steps {
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--glass-border);
}

.guide-step .step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.guide-step .step-num.step-red {
  background: var(--red);
}

.guide-step .step-content h3 {
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.guide-step .step-content p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy-dark);
  font-size: 0.95rem;
  user-select: none;
  transition: color 0.2s;
}

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

.faq-question .faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--steel);
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--red);
}

.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.3rem 1.1rem;
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* === Gallery === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.gallery-grid a {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
  border: 1px solid var(--glass-border);
}

.gallery-grid a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.gallery-grid img {
  width: 100%;
  display: block;
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(13, 27, 51, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 30% 50%, rgba(196, 30, 58, 0.2), transparent),
    radial-gradient(ellipse 50% 60% at 70% 50%, rgba(44, 74, 138, 0.3), transparent);
  z-index: 0;
}

.cta-banner .cta-content {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

/* === Tags === */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag-navy {
  background: var(--navy-pale);
  color: var(--navy-mid);
}

.tag-red {
  background: var(--red-pale);
  color: var(--red);
}

.tag-steel {
  background: var(--steel-pale);
  color: var(--steel);
}

/* === Tip Box === */
.tip-box {
  background: var(--navy-pale);
  border-left: 3px solid var(--navy-mid);
  border-radius: var(--radius-md);
  padding: 1rem 1.3rem;
  margin: 1.5rem 0;
}

.tip-box p {
  color: var(--navy-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.tip-box strong {
  color: var(--navy-dark);
}

.tip-box-red {
  background: var(--red-pale);
  border-left-color: var(--red);
}

.tip-box-red p {
  color: var(--red-dark);
}

/* === Stats Row === */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: var(--content-width);
  margin: 0 auto;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* === Table === */
.info-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--steel-pale);
  font-size: 0.9rem;
}

.info-table th {
  background: var(--navy-pale);
  color: var(--navy-dark);
  font-weight: 700;
  width: 140px;
}

.info-table td {
  color: var(--text-mid);
}

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

.breadcrumbs a {
  color: var(--navy-mid);
}

.breadcrumbs a:hover {
  color: var(--red);
}

/* === Review Cards === */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--content-width);
  margin: 0 auto;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.review-card .review-stars {
  color: #d4a843;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.review-card .review-text {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.6;
  font-style: italic;
}

.review-card .review-author {
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 0.8rem;
}

/* === Blockquote === */
blockquote {
  border-left: 3px solid var(--navy-mid);
  padding: 0.8rem 1.2rem;
  margin: 1.5rem 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-mid);
  font-style: italic;
}

/* === Version Table === */
.version-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.version-table th,
.version-table td {
  padding: 0.7rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--steel-pale);
  font-size: 0.9rem;
}

.version-table th {
  background: var(--navy-dark);
  color: var(--text-white);
  font-weight: 600;
}

.version-table td {
  color: var(--text-mid);
}

.version-table td:first-child {
  font-weight: 600;
  color: var(--navy-dark);
}

/* === Footer === */
footer {
  background: var(--navy-dark);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* === Utility === */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

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

.accent-text {
  color: var(--red);
  font-weight: 600;
}

.navy-text {
  color: var(--navy-mid);
  font-weight: 600;
}

/* === Intro text (centered paragraph) === */
.intro-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.7;
}

/* === Download Card === */
.download-card {
  background: var(--bg-card);
  border: 2px solid var(--navy-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.download-card h3 {
  color: var(--navy-dark);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.download-card .version {
  color: var(--steel);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.download-card .file-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1rem 0;
  color: var(--text-mid);
  font-size: 0.85rem;
}

/* === Responsive === */
@media (max-width: 768px) {
  header .header-inner {
    padding: 0 1rem;
  }

  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 51, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 0.7rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.25rem;
  }

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

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

  section {
    padding: 2.5rem 1rem;
  }

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

  .page-hero h1 {
    font-size: 1.5rem;
  }

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

  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

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

  .stats-row {
    gap: 1.2rem;
  }

  .stat-item .stat-num {
    font-size: 1.7rem;
  }

  .guide-step {
    flex-direction: column;
    gap: 0.8rem;
  }

  .download-card .file-info {
    flex-direction: column;
    gap: 0.3rem;
  }
}

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

  .char-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

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

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