:root {
  --ink: #0a0a0a;
  --night: #050505;
  --plum: #16100f;
  --forest: #121111;
  --accent: #b9935a;
  --accent-dark: #7a603c;
  --gold: #d8b46a;
  --cream: #f3eadc;
  --paper: #111514;
  --sage: #0b0f0f;
  --muted: rgba(243, 234, 220, 0.68);
  --line: rgba(216, 180, 106, 0.18);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--cream);
  background: #050505;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

section[id] {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(5, 5, 5, 0.78);
  border-bottom: 1px solid rgba(255, 211, 107, 0.16);
  backdrop-filter: blur(16px);
  transition: background 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(5, 5, 5, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gold);
  text-shadow: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 245, 223, 0.84);
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  padding: 10px 18px;
  color: #080808;
  background: var(--gold);
  box-shadow: 0 8px 22px rgba(216, 180, 106, 0.18);
}

.hero-section {
  position: relative;
  min-height: 92vh;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(20px, 6vw, 96px) 80px;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("../assets/banner.jpg");
  background-position: center;
  background-size: cover;
  filter: brightness(0.48) saturate(0.64);
}

/* .hero-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgb(0 0 0 / 98%) 0%, rgb(0 0 0 / 90%) 50%, rgb(0 0 0 / 48%) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 78%) 0%, transparent 36%);
} */

.hero-content {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  color: var(--gold);
  font-size: clamp(3.2rem, 5.7vw, 6.4rem);
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.56);
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 245, 223, 0.9);
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  padding: 14px 24px;
}

.primary-button {
  color: #080808;
  background: var(--gold);
  box-shadow: 0 14px 28px rgba(216, 180, 106, 0.18);
}

.secondary-button {
  color: var(--cream);
  border: 1px solid rgba(200, 155, 82, 0.34);
  background: rgba(20, 16, 15, 0.46);
}

.primary-button:hover,
.secondary-button:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin: 38px 0 0;
}

.hero-metrics div,
.feature-grid article,
.hero-card,
.world-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 245, 223, 0.08);
  box-shadow: var(--shadow);
}

.hero-metrics div {
  padding: 16px;
  background: rgba(12, 12, 12, 0.7);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.section-pad {
  padding: clamp(70px, 9vw, 128px) clamp(20px, 6vw, 96px);
}

.section-heading {
  width: min(900px, 100%);
  margin-bottom: 34px;
}

.section-heading.narrow {
  width: min(640px, 100%);
}

.section-heading h2,
.download-copy h2 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.world-section {
  background: #050505;
}

.world-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: stretch;
}

.world-showcase > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.world-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 52px);
  padding: clamp(24px, 4vw, 42px);
  background: #0d0d0d;
}

.realm-highlights {
  display: grid;
  gap: 12px;
}

.realm-highlights div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(216, 180, 106, 0.14);
}

.realm-highlights span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  border: 1px solid rgba(216, 180, 106, 0.32);
  border-radius: 50%;
  background: #090909;
}

.realm-highlights strong {
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.25;
}

.realm-highlights p {
  grid-column: 2;
  margin: 0;
  color: rgba(243, 234, 220, 0.58);
  font-size: 0.92rem;
  line-height: 1.45;
}

.world-panel h3 {
  color: var(--gold);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.world-panel p {
  margin: 18px 0 0;
  color: var(--muted);
}

.features-section {
  background: #080808;
  color: var(--cream);
}

.features-section .eyebrow {
  color: var(--accent);
}

.features-section .section-heading h2,
.features-section .section-heading p {
  color: var(--cream);
}

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

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 250px;
  padding: 24px;
  color: var(--cream);
  background: #101010;
  border-color: rgba(255, 242, 220, 0.13);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.feature-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 242, 220, 0.14);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff6e4;
  font-size: 0.86rem;
  font-weight: 900;
  background: #1a1a1a;
  border: 1px solid rgba(216, 180, 106, 0.34);
  box-shadow: 0 10px 22px rgba(127, 87, 48, 0.18);
}

.feature-visual img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}

.feature-grid h3 {
  font-size: 1.35rem;
}

.feature-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.heroes-section {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.96), rgba(8, 8, 8, 0.96) 48%, rgba(5, 5, 5, 0.98)),
    url("../assets/promotion5.jpg") center / cover fixed;
}

.hero-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-tabs button {
  min-height: 44px;
  padding: 10px 16px;
  color: var(--cream);
  cursor: pointer;
  border: 1px solid rgba(255, 242, 220, 0.22);
  border-radius: 999px;
  background: rgba(255, 242, 220, 0.08);
}

.hero-tabs button.active {
  color: #080808;
  border-color: transparent;
  background: var(--gold);
  font-weight: 900;
}

.hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  overflow: hidden;
  min-height: 440px;
  background: #101010;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: contain;
  background: #050505;
}

.hero-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 5vw, 54px);
}

.hero-role {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid rgba(200, 155, 82, 0.38);
  border-radius: 999px;
}

.hero-card h3 {
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 4.2rem);
}

.hero-card-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.gallery-section {
  background: #050505;
}

.gallery-shell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  gap: 16px;
  align-items: center;
}

.gallery-control {
  width: 52px;
  height: 52px;
  color: var(--cream);
  cursor: pointer;
  border: 1px solid rgba(255, 245, 223, 0.2);
  border-radius: 50%;
  background: rgba(255, 245, 223, 0.1);
}

.screenshot-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--accent) rgba(255, 245, 223, 0.16);
}

.screenshot-strip img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 1px solid rgba(255, 245, 223, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.download-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(70px, 10vw, 120px) clamp(20px, 6vw, 96px);
}

.download-section > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.54), rgba(5, 5, 5, 0.24)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.82), transparent);
}

.download-copy {
  width: min(640px, 100%);
}

.download-copy .primary-button {
  margin-top: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px clamp(20px, 6vw, 96px);
  color: rgba(255, 242, 220, 0.76);
  background: #090c0d;
  border-top: 1px solid rgba(255, 211, 107, 0.14);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}

.site-footer img {
  border-radius: 50%;
}

.site-footer address {
  margin: 0;
  font-style: normal;
  text-align: right;
}

.site-footer a {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .world-showcase,
  .hero-card {
    grid-template-columns: 1fr;
  }

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

  .hero-card img {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand span {
    max-width: 10ch;
    font-size: 0.82rem;
    line-height: 1.05;
  }

  .header-cta {
    padding: 9px 12px;
    font-size: 0.86rem;
  }

  .hero-section {
    min-height: 88vh;
    padding: 96px 18px 56px;
  }

  .hero-backdrop {
    background-position: 66% center;
  }

  .hero-section::before {
    background:
      linear-gradient(90deg, rgb(0 0 0 / 96%), rgb(0 0 0 / 68%)),
      linear-gradient(0deg, rgb(0 0 0 / 95%), transparent 34%);
  }

  h1 {
    font-size: clamp(2.8rem, 13.2vw, 3.35rem);
  }

  .hero-metrics,
  .feature-grid,
  .gallery-shell {
    grid-template-columns: 1fr;
  }

  .gallery-control {
    display: none;
  }

  .screenshot-strip {
    grid-auto-columns: minmax(210px, 78vw);
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer address {
    text-align: left;
  }
}
