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

:root {
  --green: #2d8a4e;
  --green-dark: #1e6337;
  --green-light: #e8f5ed;
  --yellow: #f5c842;
  --yellow-dark: #d4a800;
  --red: #e03c3c;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #dde8e2;
  --bg: #f9fdf9;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.14);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 64px 0;
}

/* ===== Header ===== */
.site-header {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; opacity: 0.9; }
.logo-icon { font-size: 1.4rem; }
.logo-sub { font-weight: 400; opacity: 0.8; font-size: 0.85rem; }

.nav-list {
  display: flex;
  gap: 4px;
}
.nav-list a {
  color: rgba(255,255,255,0.9);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}
.nav-list a:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2d8a4e 60%, #4aad6e 100%);
  color: var(--white);
  padding: 72px 0 64px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text { flex: 1; max-width: 680px; }

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 12px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-sub {
  display: block;
  font-size: 0.6em;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 4px;
}

.hero-desc {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--yellow);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.btn-primary:hover { background: var(--yellow-dark); color: #1a1a1a; }

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; }

.btn-outline {
  border: 2px solid var(--green);
  color: var(--green-dark);
  padding: 10px 22px;
}
.btn-outline:hover { background: var(--green-light); }

.hero-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 260px;
}

.hero-cover-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.hero-cover-wrap img {
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  width: 220px;
  height: auto;
}

.hero-score-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 10px 16px;
  width: 220px;
}
.hero-score {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.hero-score-meta {
  font-size: 0.78rem;
  opacity: 0.85;
  line-height: 1.4;
}

.hero-game-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  box-shadow: none;
  position: static;
}
.hero-game-card h3 {
  color: var(--yellow);
  border-bottom-color: rgba(255,255,255,0.15);
}
.hero-game-card .game-info-list dt { color: rgba(255,255,255,0.6); }
.hero-game-card .game-info-list dd { color: var(--white); }

/* ===== Info Bar ===== */
.info-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.info-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  justify-content: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}
.info-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ===== Section Headings ===== */
h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.section-intro {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 640px;
}

/* ===== Card Grid ===== */
.featured-guides { background: var(--white); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.card-featured {
  background: var(--green-light);
  border-color: var(--green);
}

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

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.card h3 a { color: var(--green-dark); }
.card h3 a:hover { text-decoration: underline; }

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
}
.card-link:hover { text-decoration: underline; }

/* ===== Game Overview ===== */
.overview-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}

.overview-text h2 { margin-bottom: 16px; }
.overview-text p { margin-bottom: 16px; color: var(--text-muted); }
.overview-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 24px 0 12px;
}

.feature-list { display: flex; flex-direction: column; gap: 8px; }
.feature-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 8px 12px;
  background: var(--green-light);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}

.overview-aside {
  position: sticky;
  top: 76px;
}

.overview-screenshot {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.game-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.game-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-light);
}

.game-info-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  font-size: 0.85rem;
}
.game-info-list dt {
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.game-info-list dd { color: var(--text); }

/* ===== Chapters ===== */
.chapters-overview { background: var(--white); }

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin: 24px 0 20px;
}

.chapter-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.2s;
  text-decoration: none;
}
.chapter-card:hover {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: var(--shadow);
  text-decoration: none;
  transform: translateY(-2px);
}

.chapter-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
}
.chapter-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}
.chapter-req {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.chapter-creatures {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.5;
}

.chapters-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  transition: background 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { background: var(--green-light); }

.faq-item p {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s;
}
.footer-nav a:hover { color: #fff; text-decoration: none; }

.footer-disclaimer {
  font-size: 0.78rem;
  opacity: 0.55;
  max-width: 560px;
}

/* ===== Overview Screenshot ===== */
.overview-screenshot {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

/* ===== Chapter Creature Images ===== */
.chapter-creatures-imgs {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.chapter-creatures-imgs img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
  padding: 2px;
}

/* ===== Characters ===== */
.characters-section { background: var(--white); }

.characters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.character-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.2s, transform 0.2s;
}
.character-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.character-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 12px;
}
.character-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.character-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-right { width: auto; flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .overview-inner { grid-template-columns: 1fr; }
  .overview-aside { position: static; }
}

@media (max-width: 768px) {
  .hero-inner { flex-direction: column; }
  .hero-right { width: 100%; flex-direction: row; justify-content: center; }
  .hero-game-card { display: none; }
  .nav-list { display: none; }
  h1 { font-size: 1.7rem; }
  .section { padding: 40px 0; }
  .info-bar-inner { gap: 12px 20px; }
}

@media (max-width: 480px) {
  .chapter-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
}
