:root {
  --bg: #0c0b09;
  --bg-soft: #15120f;
  --panel: rgba(29, 23, 18, 0.88);
  --panel-strong: rgba(39, 31, 24, 0.96);
  --line: rgba(202, 168, 108, 0.18);
  --gold: #d4b06a;
  --gold-strong: #f0ca84;
  --text: #f5efe2;
  --muted: #b8a993;
  --accent: #7a1f1f;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.38);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(122, 31, 31, 0.22), transparent 32%),
    linear-gradient(180deg, #120f0c 0%, #0c0b09 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(12, 11, 9, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold-strong);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--muted);
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  color: var(--gold-strong);
  transform: translateY(-1px);
}

.hero {
  padding: 72px 0 36px;
}

.hero-card {
  background:
    linear-gradient(135deg, rgba(53, 39, 25, 0.86), rgba(20, 16, 12, 0.96)),
    linear-gradient(180deg, rgba(122, 31, 31, 0.15), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(212, 176, 106, 0.18), transparent 70%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  margin-bottom: 16px;
  color: var(--text);
}

h2 {
  font-size: clamp(1.7rem, 2vw, 2.4rem);
  margin-bottom: 14px;
  color: var(--gold-strong);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--gold-strong);
}

.hero-text,
.section-head p,
.panel p,
.info-card p,
.check-list li,
.site-footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(180deg, #e2bf7e 0%, #b98d4a 100%);
  color: #1d160d;
  box-shadow: 0 10px 24px rgba(185, 141, 74, 0.24);
}

.btn-ghost {
  border-color: rgba(212, 176, 106, 0.34);
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.02);
}

.section {
  padding: 36px 0 42px;
}

.section-alt {
  padding-bottom: 76px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card-link {
  display: block;
}

.info-card,
.panel {
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover,
.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 176, 106, 0.34);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.check-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.check-list li + li {
  margin-top: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.48);
}

.footer-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .hero-card {
    padding: 40px 28px;
  }
}

@media (max-width: 640px) {
  .header-wrap {
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    gap: 14px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-card {
    padding: 28px 20px;
  }

  .footer-wrap {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

.page-hero .small-note {
  margin-top: 16px;
  color: var(--gold);
}

.race-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.race-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
}

.race-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.race-icon {
  font-size: 1.6rem;
}

.race-passive {
  margin: 0 0 8px;
  color: var(--gold-strong);
  font-weight: 700;
}

.class-list {
  display: grid;
  gap: 22px;
}

.class-sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
}

.class-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.class-badge {
  border: 1px solid rgba(212, 176, 106, 0.3);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.92rem;
  white-space: nowrap;
}

.class-desc {
  margin: 0 0 16px;
  color: var(--muted);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.stat-row span,
.base-skill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
}

.stat-row span {
  padding: 8px 12px;
  color: var(--gold-strong);
  font-weight: 700;
}

.base-skill {
  margin-top: 12px;
  padding: 12px 14px;
  color: var(--muted);
}

.base-skill strong {
  color: var(--text);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.path-card {
  border: 1px solid rgba(212, 176, 106, 0.15);
  background: var(--panel-strong);
  border-radius: var(--radius-md);
  padding: 20px;
}

.path-card h4 {
  margin: 0 0 8px;
  color: var(--gold-strong);
  font-size: 1.15rem;
}

.small-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.skill-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.skill-list li + li {
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .race-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .class-top {
    flex-direction: column;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .race-grid {
    grid-template-columns: 1fr;
  }

  .class-sheet {
    padding: 20px;
  }
}
.loot-box {
  margin-top: 18px;
  border: 1px solid rgba(212, 176, 106, 0.15);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 18px;
}

.loot-box h4 {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 1.05rem;
}

.loot-box h4 + .loot-list {
  margin-top: 0;
}

.loot-list {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--muted);
}

.loot-list li + li {
  margin-top: 8px;
}

.map-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.map-card {
  min-height: 240px;
}

.map-meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 176, 106, 0.22);
  color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.92rem;
}

@media (max-width: 780px) {
  .map-grid {
    grid-template-columns: 1fr;
  }
}

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

.hero-copy,
.section-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 40px;
  margin: 44px 0 26px;
}

.section-card {
  padding: 28px;
  margin-bottom: 24px;
}

.section-card p {
  color: var(--muted);
}

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.faq-anchor,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(212, 176, 106, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-strong);
}

.faq-anchor:hover,
.tag:hover {
  border-color: rgba(212, 176, 106, 0.42);
}

.summary-grid,
.faq-grid {
  display: grid;
  gap: 20px;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-gap {
  margin-top: 20px;
}

.tag-row,
.map-meta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.map-meta-group .map-meta {
  margin-top: 0;
}

.map-card-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(212, 176, 106, 0.22);
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .hero-copy,
  .section-card {
    padding: 22px;
  }

  .summary-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


