* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 30rem),
    linear-gradient(135deg, #050505, #101018 48%, #050505);
  color: #f2f0ea;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(212, 175, 55, 0.24);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(10px);
}

.brand {
  color: #d4af37;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #f2f0ea;
  text-decoration: none;
  opacity: 0.82;
}

.nav-links a:hover {
  color: #d4af37;
}

.menu-toggle {
  display: none;
  border: 1px solid #d4af37;
  background: transparent;
  color: #d4af37;
  font-size: 1.2rem;
  padding: 0.35rem 0.6rem;
}

.hero {
  min-height: 86vh;
  display: grid;
  place-items: center;
  padding: 5rem 1.4rem 4rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.34);
}

.hero-content {
  width: min(980px, 100%);
  text-align: center;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 0 70px rgba(212, 175, 55, 0.1);
}

.eyebrow {
  color: #d4af37;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  color: #d4af37;
  margin: 0.2rem 0;
  text-shadow: 0 0 28px rgba(212, 175, 55, 0.2);
}

h2 {
  color: #d4af37;
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0.25rem 0 1.4rem;
}

h3 {
  color: #d4af37;
  margin-top: 0;
}

.subtitle,
.intro p,
.panel p,
.page-head p {
  line-height: 1.75;
}

.subtitle {
  font-size: 1.25rem;
  max-width: 760px;
  margin: 1rem auto 2rem;
}

.btn {
  display: inline-block;
  border: 1px solid #d4af37;
  color: #070707;
  background: #d4af37;
  padding: 0.9rem 1.2rem;
  text-decoration: none;
  transition: 0.2s ease;
  margin: 0.3rem;
}

.btn.ghost {
  background: transparent;
  color: #d4af37;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.14);
}

.section {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 4.5rem 1.4rem;
}

.page {
  min-height: 70vh;
}

.page-head {
  text-align: center;
}

.page-head p {
  max-width: 840px;
  margin: 0 auto;
}

.intro {
  text-align: center;
}

.intro p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.panel,
.accordion-item,
.story-card,
.product-card {
  border: 1px solid rgba(212, 175, 55, 0.38);
  background: rgba(0, 0, 0, 0.32);
  padding: 1.5rem;
  min-height: 100%;
}

.text-link {
  color: #d4af37;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.faction-grid,
.product-grid,
.card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.faction-grid article {
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  line-height: 1.55;
}

.accordion-list {
  display: grid;
  gap: 1rem;
}

.accordion-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: transparent;
  color: #d4af37;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1.35rem;
  text-align: left;
  cursor: pointer;
}

.accordion-body {
  display: none;
  margin-top: 1rem;
  line-height: 1.75;
}

.accordion-item.open .accordion-body {
  display: block;
}

.story-meta,
.product-price {
  color: #d4af37;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.product-card img,
.story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.25);
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.placeholder-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(212, 175, 55, 0.35);
  display: grid;
  place-items: center;
  color: rgba(242, 240, 234, 0.45);
  margin-bottom: 1rem;
}

footer {
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.22);
  color: rgba(242, 240, 234, 0.66);
  padding: 2rem 1rem;
}

@media (max-width: 850px) {
  .three,
  .two,
  .faction-grid,
  .product-grid,
  .card-list {
    grid-template-columns: 1fr;
  }

  .topnav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  h1 {
    font-size: 3rem;
  }
}