:root {
  --gold: #d7b56a;
  --gold-2: #f0d78a;
  --gold-dark: #7a5a22;
  --ink: #f4ead4;
  --muted: #d8c7a4;
  --panel: #1a150f;
  --panel-2: #241c14;
  --enter: #7c2618;
  --enter-2: #4e140c;
  --display: "Cinzel", "Times New Roman", serif;
  --body: "Libre Baskerville", "Georgia", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: #0c0a08;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.world-select {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 54px 1fr 48px;
}

.gold-bar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, #e4c98a 0%, #b08940 38%, #6e4e1c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 190, 0.7),
    inset 0 -1px 0 rgba(40, 24, 6, 0.7);
  color: #f8edd4;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #3a270c, 0 2px 8px rgba(0, 0, 0, 0.45);
}

.gold-bar-top { font-size: 20px; }
.gold-bar-bottom { font-size: 13px; letter-spacing: 0.18em; }
.gold-bar-bottom .shard { opacity: 0.92; }

.gold-bar::before,
.gold-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f3e0a8 18%, #f3e0a8 82%, transparent);
  opacity: 0.85;
}
.gold-bar::before { top: 0; }
.gold-bar::after { bottom: 0; }

.stage {
  position: relative;
  overflow: hidden;
  background: #120e0a;
}

.world-art {
  position: absolute;
  inset: 0;
  background:
    url("/img/hero.jpg?v=2") 42% 58% / cover no-repeat;
}

.world-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.82) 0%, rgba(10, 8, 6, 0.48) 22%, rgba(10, 8, 6, 0.12) 40%, transparent 56%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.08), transparent 18%, transparent 76%, rgba(10, 8, 6, 0.28));
}

.world-copy {
  position: relative;
  z-index: 2;
  width: min(460px, 42vw);
  padding: 36px 42px 120px;
}

.logo {
  width: min(340px, 100%);
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.lede {
  margin: 18px 0 0;
  max-width: 38ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.btn-enter {
  position: absolute;
  left: 58%;
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  min-height: 46px;
  padding: 0 8px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.btn-enter-label {
  display: grid;
  place-items: center;
  min-width: 220px;
  min-height: 42px;
  padding: 0 28px;
  border: 2px solid #e1c16c;
  background: linear-gradient(180deg, #a43a24 0%, #6b1c12 55%, #4a120c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 210, 140, 0.35);
  color: #f6e2b0;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chev {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f0d78a, #b08438);
  clip-path: polygon(0 50%, 55% 0, 100% 50%, 55% 100%);
}

.chev-right {
  transform: scaleX(-1);
}

.btn-enter:hover .btn-enter-label {
  filter: brightness(1.08);
}

.season {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 56px 24px;
  overflow: hidden;
}

.season-bg {
  position: absolute;
  inset: 0;
  background: #120e0a url("/img/wood.jpg?v=2") center / cover no-repeat;
  filter: saturate(0.85) brightness(0.55);
}

.season-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.42);
}

.window {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  background: linear-gradient(180deg, #2a2118, #17130e);
  border: 2px solid #c9a45a;
  box-shadow:
    0 0 0 1px #5a4018,
    0 24px 50px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 220, 140, 0.12);
}

.window-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 10px 18px;
  background: linear-gradient(180deg, #3a2d1c, #241a12);
  border-bottom: 1px solid #8a6a32;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.window-close {
  width: 28px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #8a2a22;
  background: #5a1812;
  color: #f0c9c0;
  font-size: 16px;
}

.window-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 28px 28px 32px;
}

.window-col h2,
.window-col h3 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.window-col h2 { font-size: 28px; line-height: 1.2; }
.window-col h3 {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.window-col p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.quest-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.quest-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-size: 15px;
}

.quest-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border: 1px solid var(--gold);
  background: #3a2a14;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 860px) {
  .world-select { grid-template-rows: 46px 1fr 44px; }
  .gold-bar-top { font-size: 13px; letter-spacing: 0.18em; }
  .world-copy {
    width: min(520px, calc(100% - 32px));
    padding: 24px 20px 110px;
  }
  .logo { width: 240px; }
  h1 { font-size: 28px; }
  .btn-enter { left: 50%; transform: translateX(-50%); bottom: 24px; }
  .btn-enter-label { min-width: 180px; letter-spacing: 0.12em; }
  .window-body { grid-template-columns: 1fr; padding: 22px 18px 24px; }
  .window-col h2 { font-size: 24px; }
}
