:root {
  color-scheme: dark;
  --background: #0b1712;
  --panel: #14231a;
  --text: #f7eedc;
  --muted: #c4c8b6;
  --gold: #ebc87b;
  --border: #3f4831;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 16px/1.5 var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2 { margin: 0; }
a:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.shell { width: min(100% - 80px, 1240px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.header { border-bottom: 1px solid var(--border); background: #0b1712; }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 78px; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-size: .84rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.brand img { flex: none; border: 1px solid #715d3d; border-radius: 10px; }
.nav { display: flex; gap: clamp(.8rem, 2.5vw, 2rem); color: var(--muted); font-size: .91rem; }
.nav a:hover, .brand:hover { color: var(--gold); }
.language { position: relative; justify-self: end; }
.language select {
  appearance: none;
  display: block;
  min-height: 42px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #111f17;
  color: var(--text);
  font: inherit;
  font-size: .86rem;
  cursor: pointer;
}
.chevron {
  position: absolute;
  right: 15px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
}

.hero {
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse at 72% 40%, #28392a, transparent 61%), linear-gradient(140deg, #14291c, #0b1712 70%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(310px, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 4.4rem);
  padding-block: clamp(3.75rem, 7vw, 6.6rem);
}
.eyebrow { color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
h1 { margin: 14px 0 22px; font-size: clamp(3.6rem, 6.4vw, 6.2rem); line-height: .96; }
h1 span { display: block; color: var(--gold); }
.hero-description { max-width: 33ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 29px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding-inline: 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: 650 .88rem/1.15 var(--sans);
}
.explore { background: var(--gold); color: #18170e; }
.explore:hover { background: #f8d993; }
.store {
  flex-direction: column;
  align-items: flex-start;
  gap: .18rem;
  border-color: #66644d;
  background: rgba(13, 25, 18, .45);
  color: #e7e0cf;
}
.store small { color: var(--muted); font-size: .71rem; font-weight: 500; }
.hero-art {
  position: relative;
  padding: 7px;
  border: 1px solid #77623e;
  border-radius: 14px;
  background: #111b13;
  box-shadow: 0 23px 60px #0209059c;
}
.hero-art img { width: 100%; border: 1px solid #54402b; border-radius: 8px; }

.gameplay {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding-block: clamp(3.75rem, 8vw, 7rem);
}
h2 { font-size: clamp(2.35rem, 4.1vw, 4.5rem); line-height: 1.02; text-wrap: balance; }
.gameplay h2 { margin: 15px 0 19px; }
.gameplay-copy > :last-child, .collection-intro > p { max-width: 45ch; color: var(--muted); font-size: 1.04rem; }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 488px; width: 100%; justify-self: end; }
.screens figure { min-width: 0; }
.screens img { width: 100%; border: 1px solid #715d3d; border-radius: 13px; box-shadow: 0 16px 36px #02080590; }
.screens figcaption { padding-top: 10px; color: var(--text); font-size: .86rem; font-weight: 650; }
.screen-note { grid-column: 1 / -1; color: var(--muted); font-size: .77rem; }

.collection { border-block: 1px solid var(--border); background: #111f16; }
.collection-inner { padding-block: clamp(3.3rem, 7vw, 6rem); }
.collection-intro { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 32px; }
.collection-intro h2 { font-size: clamp(2.15rem, 3.8vw, 3.8rem); }
.symbols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.symbols li {
  display: grid;
  place-items: center;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 20px 8px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: radial-gradient(ellipse at center 25%, #2c3c28, transparent 70%), var(--panel);
  text-align: center;
  color: var(--text);
  font-weight: 620;
  font-size: clamp(.76rem, 1.4vw, .93rem);
}
.symbols img { width: min(100%, 91px); aspect-ratio: 1; object-fit: contain; }

.guide { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: clamp(2rem, 9vw, 8rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
.guide-copy { max-width: 48rem; }
.guide-steps { display: grid; gap: 1rem; margin: 1.75rem 0 0; padding-left: 1.6rem; }
.guide-steps li { border-top: 1px solid var(--border); padding: .85rem .4rem 0; }
.guide-steps li::marker { color: var(--gold); font-weight: 700; }
.guide-steps h3 { margin: 0 0 .25rem; font-size: 1.06rem; }
.guide-steps p, .help p { color: var(--muted); }
.unlock { margin-inline: auto; max-width: 17rem; }
.unlock img { border: 1px solid #715d3d; border-radius: 12px; }
.unlock figcaption { margin-top: .55rem; color: var(--muted); font-size: .8rem; }
.help { border-block: 1px solid var(--border); background: #111f16; }
.help-inner { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 2rem clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.help h2 { margin-bottom: 1rem; }
.help-questions details { border-bottom: 1px solid var(--border); }
.help-questions summary { padding-block: .85rem; cursor: pointer; font-weight: 650; }
.help-questions details p { padding-bottom: 1.1rem; }

.footer { background: #0a140f; }
.footer-inner { display: grid; grid-template-columns: 1fr minmax(0, 2.1fr); gap: 30px; padding-block: 32px; align-items: start; }
.footer-brand p { margin-top: .6rem; color: var(--muted); font-size: .82rem; }
.notice { display: grid; gap: 9px; color: var(--muted); font-size: .82rem; }
.footer-link, .privacy-back { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.privacy-content {
  max-width: 800px;
  padding-block: clamp(2.5rem, 6vw, 5.5rem);
}
.privacy-content h1 { font-size: clamp(2.55rem, 6vw, 4.8rem); }
.privacy-content h2 { margin: 2rem 0 .65rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.privacy-content p { color: var(--muted); }
.privacy-content .privacy-status {
  margin-block: 1.5rem;
  border-inline-start: 2px solid var(--gold);
  padding: .8rem 1rem;
  background: var(--panel);
}

@media (max-width: 1000px) {
  .shell { width: min(100% - 54px, 1240px); }
  .hero-inner { grid-template-columns: minmax(260px, 5fr) minmax(0, 6fr); }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 65px; gap: 10px; }
  .header .brand { font-size: .72rem; letter-spacing: .08em; }
  .header .brand img { width: 36px; height: 36px; }
  .nav { grid-row: 2; grid-column: 1 / -1; flex-wrap: wrap; padding-bottom: .75rem; gap: .35rem .95rem; }
  .language { grid-column: 2; grid-row: 1; }
  .hero-inner, .gameplay, .guide, .help-inner { grid-template-columns: 1fr; }
  .hero-inner { gap: 29px; padding-block: 43px 35px; }
  h1 { margin-bottom: 17px; font-size: clamp(3.1rem, 10vw, 4.6rem); }
  h1 span { display: inline; }
  .actions { margin-top: 23px; }
  .hero-art { padding: 4px; border-radius: 10px; box-shadow: 0 16px 34px #020905a0; }
  .hero-art img { border-radius: 6px; }
  .gameplay { gap: 24px; padding-block: 46px; }
  .screens { justify-self: center; }
  .collection-intro { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .symbols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .symbols li { padding-block: 11px; }
  .symbols img { width: min(100%, 70px); }
  .footer-inner { grid-template-columns: 1fr; gap: 15px; }
}
