/* ============================================================
   祈愿诗篇 (Pray Game) — Sacred Psalm Theme
   Stained-glass jewel tones, hymn-gold, cathedral-arch motifs
   Light sacred parchment background
   ============================================================ */

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

/* ---------- CSS VARIABLES ---------- */
:root {
  /* Sacred parchment backgrounds */
  --bg: #faf7f2;
  --bg-warm: #f5f0e6;
  --bg-card: #ffffff;
  --bg-alt: #f0ebe0;

  /* Cathedral header */
  --header-bg: #1a1230;
  --header-bg-end: #2d1b4e;

  /* Hymn-gold accents */
  --gold: #c9a84c;
  --gold-light: #e0c878;
  --gold-dark: #9e7e2a;
  --gold-glow: rgba(201, 168, 76, 0.15);

  /* Stained-glass jewel tones */
  --jewel-sapphire: #1a5276;
  --jewel-amethyst: #7b2d8e;
  --jewel-ruby: #8b1a2b;
  --jewel-emerald: #1a6b3c;
  --jewel-topaz: #b87333;

  /* Text */
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --text-muted: #8a8a8a;
  --text-on-dark: #e8e0d0;

  /* Borders & shadows */
  --border: #e0d8c8;
  --border-gold: rgba(201, 168, 76, 0.3);
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 32px rgba(0, 0, 0, 0.1);

  /* Fonts */
  --font-serif: 'Noto Serif SC', 'SimSun', 'STSong', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 8px;
  --radius-lg: 16px;
}

/* ---------- RESET ---------- */
*, *::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.75;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(201, 168, 76, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 0%, rgba(122, 45, 142, 0.03) 0%, transparent 60%);
}

/* ---------- UTILITY CLASSES ---------- */
.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;
}

.prose {
  max-width: 800px;
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-warm);
  padding-top: 0;
}

.table-scroll {
  overflow-x: auto;
}

.chapter-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-top: 16px;
  color: var(--jewel-amethyst);
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

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

header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, var(--jewel-ruby) 20%, var(--jewel-amethyst) 40%,
    var(--gold) 50%, var(--jewel-emerald) 60%, var(--jewel-sapphire) 80%,
    transparent 100%);
}

.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;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.3);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-on-dark);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.25s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

nav a:hover,
nav a.active {
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.08);
}

nav a:hover::after,
nav a.active::after {
  width: 60%;
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-dark));
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.4);
  white-space: nowrap;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.6);
  color: #fff;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s ease;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(26, 18, 48, 0.85) 0%,
    rgba(26, 18, 48, 0.6) 50%,
    rgba(26, 18, 48, 0.8) 100%);
}

/* Cathedral arch overlay */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 700px;
  height: 100%;
  border-left: 2px solid rgba(201, 168, 76, 0.15);
  border-right: 2px solid rgba(201, 168, 76, 0.15);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
  max-width: 700px;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1230;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.7);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(201, 168, 76, 0.4);
  padding: 12px 34px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
}

/* Page-specific hero backgrounds */
.hero-home .hero-bg { background-image: url('../img/cover.jpg'); }
.hero-guide .hero-bg { background-image: url('../img/screenshot-01.jpg'); }
.hero-story .hero-bg { background-image: url('../img/screenshot-03.jpg'); }
.hero-characters .hero-bg { background-image: url('../img/screenshot-02.jpg'); }
.hero-faq .hero-bg { background-image: url('../img/screenshot-04.jpg'); }

/* Smaller hero for sub-pages */
.hero-sub {
  min-height: 320px;
}

.hero-sub .hero-title {
  font-size: 2.2rem;
}

/* ---------- SECTIONS ---------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 64px 0;
  text-align: center;
}

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

.section-label {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.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-sm {
  font-size: 1.6rem;
}

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

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 16px auto 0;
  line-height: 1.8;
}

/* Cathedral divider */
.cathedral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 32px;
}

.cathedral-divider::before,
.cathedral-divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.cathedral-divider span {
  font-size: 1.2rem;
  color: var(--gold);
}

/* ---------- GAME INFO CARDS ---------- */
.game-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.game-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.game-info-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

.game-info-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--gold);
}

.game-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.game-info-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

/* ---------- FEATURE CARDS ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--jewel-ruby), var(--jewel-amethyst), var(--jewel-sapphire), var(--jewel-emerald));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-card:nth-child(1) { border-left-color: var(--jewel-ruby); }
.feature-card:nth-child(2) { border-left-color: var(--jewel-amethyst); }
.feature-card:nth-child(3) { border-left-color: var(--jewel-sapphire); }
.feature-card:nth-child(4) { border-left-color: var(--jewel-emerald); }
.feature-card:nth-child(5) { border-left-color: var(--jewel-topaz); }
.feature-card:nth-child(6) { border-left-color: var(--gold-dark); }

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

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

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

/* ---------- SCREENSHOT GALLERY ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  aspect-ratio: 16 / 9;
}

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

.gallery-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}

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

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

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

.review-card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

/* ---------- CTA BANNER (index only) ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--header-bg), #2d1b4e, var(--header-bg));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(122, 45, 142, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Stained-glass effect */
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 500px;
  height: 100%;
  border-left: 1px solid rgba(201, 168, 76, 0.1);
  border-right: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

/* ---------- CONTENT PAGE (guide, story, characters) ---------- */
.content-section {
  padding: 48px 0;
  max-width: 900px;
  margin: 0 auto;
}

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

.content-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Guide steps */
.guide-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  text-align: left;
  position: relative;
  padding-left: 72px;
}

.guide-step-number {
  position: absolute;
  left: 20px;
  top: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1230;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-step h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

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

.guide-tip {
  background: var(--bg-warm);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0;
  text-align: left;
}

.guide-tip strong {
  color: var(--jewel-amethyst);
  font-family: var(--font-serif);
}

.guide-list {
  margin-top: 12px;
  padding-left: 24px;
  color: var(--text-light);
  line-height: 2;
}

/* Story chapters */
.story-chapter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
  text-align: left;
  border-left: 4px solid var(--gold);
}

.story-chapter h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.story-chapter p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* Character cards */
.char-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.char-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  border-top: 4px solid var(--gold);
}

.char-card:hover {
  box-shadow: var(--shadow-lg);
  border-top-color: var(--jewel-amethyst);
}

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

.char-title {
  font-size: 0.85rem;
  color: var(--gold-dark);
  margin-bottom: 12px;
  font-weight: 500;
}

.char-attr {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--bg-warm);
  color: var(--jewel-amethyst);
  font-weight: 500;
  margin-bottom: 12px;
}

.char-desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq-list {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

/* System requirements table */
.sys-req-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  text-align: left;
}

.sys-req-table th,
.sys-req-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
}

.sys-req-table th {
  background: var(--bg-warm);
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text);
}

.sys-req-table td {
  color: var(--text-light);
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  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: 4px;
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.3);
}

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

/* ---------- FOOTER ---------- */
footer {
  background: var(--header-bg);
  border-top: 3px solid var(--gold);
  padding: 32px 24px;
  text-align: center;
  margin-top: 80px;
}

footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

  /* Mobile nav */
  .hamburger {
    display: flex;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid var(--gold);
    z-index: 999;
  }

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

  nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }

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

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

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

  .hero-desc {
    font-size: 0.95rem;
  }

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

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

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

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

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

  .section {
    padding: 40px 0;
  }

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

@media (max-width: 480px) {
  .hero {
    min-height: 380px;
  }

  .hero-sub {
    min-height: 240px;
  }

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

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .game-info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .game-info-card {
    padding: 16px 10px;
  }

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

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