:root {
  --bg: #0d0f0c;
  --panel: #171a14;
  --panel-light: #20241c;
  --text: #f0ead9;
  --muted: #b8ae94;
  --accent: #d0af69;
  --accent-light: #e0c98e;
  --accent-dark: #8d713c;
  --border: rgb(208 175 105 / 28%);
  --shadow: rgb(0 0 0 / 48%);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 0%, rgb(88 101 67 / 22%), transparent 33rem),
    linear-gradient(180deg, #151812 0%, var(--bg) 44rem);
  font-family: "Inter", system-ui, sans-serif;
}
body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .08;
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgb(255 255 255 / 3%) 0, rgb(255 255 255 / 3%) 1px, transparent 1px, transparent 4px);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Cinzel", Georgia, serif; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", Georgia, serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}
.brand img { border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 8px 20px var(--shadow); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a,
.nav-dropdown-trigger {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
}
.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible,
.nav-dropdown:hover > .nav-dropdown-trigger,
.nav-dropdown:focus-within > .nav-dropdown-trigger { color: var(--text); border-color: var(--border); background: rgb(255 255 255 / 3%); }
.site-nav .nav-steam { margin-left: 8px; color: #17130b; border-color: var(--accent); background: var(--accent); }
.site-nav .nav-steam:hover, .site-nav .nav-steam:focus-visible { color: #17130b; background: var(--accent-light); }
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 260px;
  padding: 8px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  border: 1px solid var(--border);
  background: #181b15;
  box-shadow: 0 20px 50px var(--shadow);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); transition-delay: 0s; }
.dropdown-panel a { display: grid; gap: 4px; padding: 13px; text-decoration: none; }
.dropdown-panel a:hover, .dropdown-panel a:focus-visible { background: rgb(208 175 105 / 9%); }
.dropdown-panel strong { font-family: "Cinzel", Georgia, serif; font-size: .9rem; }
.dropdown-panel span { color: var(--muted); font-size: .78rem; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero {
  display: grid;
  grid-template-areas: "art copy";
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .72fr);
  gap: clamp(34px, 5vw, 64px);
  min-height: 560px;
  padding: 70px 0 82px;
  align-items: center;
}
.hero-copy { grid-area: copy; min-width: 0; container-type: inline-size; }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1 { max-width: 100%; margin: 14px 0 0; font-size: clamp(2.4rem, 11cqw, 3.4rem); line-height: 1.02; letter-spacing: -.025em; text-shadow: 0 8px 30px var(--shadow); }
.hero-lead { max-width: 38rem; margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.hero-punchline { margin: 20px 0 0; font-family: "Cinzel", Georgia, serif; font-size: .95rem; line-height: 1.6; }
.hero-punchline strong { color: var(--accent-light); }
.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid var(--border);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button.primary { color: #17130b; border-color: var(--accent); background: var(--accent); }
.button.primary:hover, .button.primary:focus-visible { background: var(--accent-light); }
.button.secondary { background: rgb(255 255 255 / 2%); }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--accent); background: rgb(208 175 105 / 8%); }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.game-tags li { padding: 7px 10px; color: var(--muted); border: 1px solid rgb(255 255 255 / 9%); font-size: .76rem; }
.section-link { display: inline-flex; gap: 8px; margin-top: 24px; color: var(--accent-light); font-size: .82rem; font-weight: 700; text-decoration: none; }
.section-link:hover, .section-link:focus-visible { text-decoration: underline; text-underline-offset: 5px; }
.steam-art { position: relative; grid-area: art; display: block; min-width: 0; overflow: hidden; border: 1px solid var(--border); background: var(--panel); box-shadow: 0 30px 70px var(--shadow); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.steam-art:hover, .steam-art:focus-visible { border-color: var(--accent); box-shadow: 0 34px 76px var(--shadow), 0 0 0 3px rgb(208 175 105 / 10%); transform: translateY(-3px); }
.steam-art img { width: 100%; height: auto; object-fit: contain; }

.overview { padding: 82px 0; border-top: 1px solid var(--border); }
.section-heading { max-width: 800px; }
h2 { margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; }
.section-heading > p { max-width: 680px; margin: 20px 0 0; color: var(--muted); line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.feature-grid article { min-height: 250px; padding: 28px; border: 1px solid var(--border); background: linear-gradient(145deg, rgb(255 255 255 / 2.5%), transparent 48%), var(--panel); }
.feature-number { color: var(--accent-dark); font-family: "Cinzel", Georgia, serif; font-size: .8rem; letter-spacing: .12em; }
h3 { margin: 32px 0 0; font-size: 1.18rem; line-height: 1.35; }
.feature-grid p { margin: 16px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.qualification { margin: 18px 0 0; color: #827a67; font-size: .78rem; }

.wishlist-panel { display: flex; gap: 30px; margin: 20px 0 48px; padding: clamp(28px, 5vw, 52px); align-items: center; justify-content: space-between; border: 1px solid var(--border); background: linear-gradient(105deg, rgb(208 175 105 / 9%), transparent 54%), var(--panel-light); box-shadow: 0 22px 60px var(--shadow); }
.wishlist-panel h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.wishlist-panel p { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }
.wishlist-panel .button { flex: 0 0 auto; }
.social-links { display: flex; gap: 22px; padding: 22px 0 52px; justify-content: center; }
.social-links a { color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; }
.social-links a:hover, .social-links a:focus-visible { color: var(--accent-light); }
footer { display: flex; width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 30px; justify-content: space-between; gap: 20px; color: #77705f; border-top: 1px solid rgb(208 175 105 / 14%); font-size: .75rem; }

@media (max-width: 900px) {
  .hero { grid-template-areas: "copy" "art"; grid-template-columns: 1fr; min-height: auto; padding: 58px 0 70px; }
  .hero-copy { max-width: 700px; }
  h1 { font-size: clamp(2.8rem, 12vw, 4.8rem); }
  .steam-art { width: min(760px, 100%); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 24px, 1180px); }
  .site-header { min-height: 68px; }
  .brand span { display: none; }
  .site-nav > a, .nav-dropdown-trigger { padding: 8px 9px; font-size: .82rem; }
  .site-nav .nav-steam { margin-left: 2px; }
  .dropdown-panel { position: fixed; top: 64px; right: 12px; left: 12px; width: auto; }
  .hero { gap: 32px; padding-top: 46px; }
  h1 { font-size: clamp(2.6rem, 14vw, 4.2rem); }
  .wishlist-panel { align-items: stretch; flex-direction: column; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
