:root {
  color-scheme: dark;
  --bg: #060907;
  --ink: #f3f0e8;
  --muted: #b5b8ae;
  --line: rgba(255, 255, 255, 0.16);
  --gold: #d6ae5a;
  --ember: #b74e31;
  --forest: #103f35;
  --steam: #66c0f4;
  --panel: rgba(7, 12, 11, 0.72);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(4, 7, 7, 0.44), rgba(4, 7, 7, 0.9) 70%, #050806),
    radial-gradient(circle at 50% 24%, rgba(214, 174, 90, 0.11), transparent 38%);
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: url("assets/fantasy-hero.png");
  background-position: center top;
  background-size: cover;
  opacity: 0.34;
  transform: scale(1.02);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 7, 7, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.82) 46% 54%, transparent 55%),
    radial-gradient(circle at 50% 50%, var(--gold), var(--ember) 54%, #17100c 56%);
  box-shadow: 0 0 24px rgba(214, 174, 90, 0.18);
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

nav a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 38px 0 54px;
  text-align: center;
}

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

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.48);
}

.hero-copy {
  max-width: 760px;
  margin: 12px auto 22px;
  color: #d5d7cf;
  font-size: 1.15rem;
  line-height: 1.55;
}

.trailer-shell {
  width: min(960px, 100%);
  margin: 0 auto;
}

.trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #080c0b;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(214, 174, 90, 0.08);
}

.trailer-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.58)),
    url("assets/fantasy-hero.png") center / cover no-repeat;
}

.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #07100f;
  cursor: pointer;
  background: rgba(214, 174, 90, 0.94);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.46);
}

.play-button:hover {
  background: #efc76d;
  transform: translateY(-1px);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 8px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid currentColor;
}

.trailer-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.trailer-caption span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.trailer-caption strong {
  max-width: 420px;
  color: var(--ink);
  font-size: 1.85rem;
  line-height: 1.05;
}

.steam-actions {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px auto 0;
}

.steam-button {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border: 1px solid rgba(102, 192, 244, 0.35);
  border-radius: 8px;
  color: #ecf8ff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  background: rgba(16, 49, 66, 0.72);
}

.steam-button:hover {
  border-color: rgba(102, 192, 244, 0.82);
  background: rgba(20, 76, 102, 0.88);
  transform: translateY(-1px);
}

.steam-button.primary {
  border-color: rgba(214, 174, 90, 0.72);
  color: #17100a;
  background: linear-gradient(180deg, #f1cb72, #c79031);
}

.steam-button.ghost {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.world-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: 38px;
  align-items: start;
  padding: 78px 0;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.7rem;
  line-height: 1.04;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid span {
  color: var(--gold);
  font-weight: 900;
}

h3 {
  margin: 42px 0 12px;
  font-size: 1.26rem;
  line-height: 1.1;
}

.feature-grid p,
.press-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.media-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr;
  gap: 14px;
  padding: 4px 0 74px;
}

.media-tile {
  min-height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background-image: url("assets/fantasy-hero.png");
  background-size: cover;
  box-shadow: inset 0 -80px 110px rgba(0, 0, 0, 0.42);
}

.media-left {
  background-position: left center;
}

.media-center {
  background-position: center center;
}

.media-right {
  background-position: right center;
}

.press-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
  padding: 28px;
  border: 1px solid rgba(214, 174, 90, 0.32);
  border-radius: 8px;
  background: rgba(7, 11, 10, 0.82);
}

.press-strip h2 {
  max-width: 760px;
  font-size: 2rem;
}

.press-button {
  flex: 0 0 auto;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

footer {
  width: min(1240px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #969d96;
  font-size: 0.88rem;
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  nav {
    justify-content: flex-start;
  }

  main,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 3.5rem;
  }

  .steam-actions,
  .world-section,
  .feature-grid,
  .media-section {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .media-tile {
    min-height: 210px;
  }

  .press-strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    white-space: normal;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .trailer-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .trailer-caption strong {
    font-size: 1.35rem;
  }

  .play-button {
    width: 82px;
    height: 82px;
  }

  .steam-button {
    min-height: 64px;
  }

  .press-strip {
    padding: 22px;
  }
}
