:root {
  color-scheme: dark;
  --bg: #090b14;
  --panel: #101624;
  --line: #283044;
  --text: #f5f0e7;
  --muted: #bfc5d4;
  --gold: #e7ba75;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font: 1rem/1.65 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
.wrap { width: min(1240px, calc(100% - 7rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 0; left: 1rem; padding: .65em 1em; background: var(--gold); color: var(--bg); transform: translateY(-125%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid #24283a; background: #090b14; position: relative; z-index: 1; }
.bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font: bold 1.1rem/1.08 var(--serif); flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border: 1px solid #8e6939; border-radius: 6px; }
.brand b { display: block; color: var(--gold); font: 700 .69rem/1.4 var(--sans); letter-spacing: .17em; text-transform: uppercase; }
nav { display: flex; justify-content: center; gap: clamp(1rem, 4vw, 2.8rem); font-size: .92rem; }
nav a { color: var(--muted); }
nav a:hover, .text-link:hover { color: var(--text); }
.button { min-height: 49px; padding: .69rem 1.35rem; display: inline-flex; justify-content: center; align-items: center; text-align: center; gap: .65rem; font-size: .94rem; font-weight: 700; border: 1px solid transparent; border-radius: 5px; transition: background .2s, border-color .2s; }
.button.compact { min-height: 40px; padding: .4rem 1rem; }
.button.outline { border-color: #aa8b5d; background: #0b1021a6; }
.button.outline:hover { background: #252437; border-color: var(--gold); }
.button.gold { background: #eac489; color: #171017; }
.button.gold:hover { background: #ffdda0; }
.play { color: var(--gold); font-size: .8rem; }
.hero { min-height: 625px; position: relative; display: grid; align-items: center; isolation: isolate; overflow: hidden; border-bottom: 1px solid #292d3f; background: #0a1020; }
.hero-art { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, #090b14a6 0%, #090b1470 35%, transparent 62%), linear-gradient(0deg, #090b14 0%, transparent 20%), url("assets/abertura-campanha.webp"); background-position: center, center, center; background-size: cover; background-repeat: no-repeat; }
.hero-content { padding-block: 5.4rem 6rem; }
.eyebrow { margin: 0 0 1rem; color: var(--gold); font-size: .875rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; display: flex; align-items: center; gap: .65rem; }
.eyebrow span { width: .42rem; height: .42rem; border: 1px solid currentColor; transform: rotate(45deg); flex: 0 0 auto; }
h1, h2 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.02; }
h1 { font-size: clamp(4rem, 8.15vw, 8rem); letter-spacing: -.072em; text-shadow: 0 3px 24px #06080d8c; }
h1 strong { font-size: .5em; font-weight: 500; display: block; color: #f0c480; letter-spacing: .16em; margin: .35em 0 0 .045em; text-transform: uppercase; }
.hero-copy { max-width: 32rem; font-size: 1.13rem; color: #d6d9e4; margin: 1.8rem 0; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
h2 { font-size: clamp(2.55rem, 5.2vw, 4.7rem); letter-spacing: -.055em; }
.story > p:not(.eyebrow), .intro { color: var(--muted); margin: 1.2rem 0; max-width: 36rem; }
.campaign, .demo { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; }
.text-link { display: inline-block; margin-top: .5rem; text-decoration: underline; text-underline-offset: .32em; color: var(--gold); font-weight: 700; }
.game-frame { margin: 0; background: #101420; border: 1px solid #594633; border-radius: 8px; overflow: hidden; box-shadow: 0 16px 45px #0006; }
.game-frame img { width: 100%; height: auto; }
figcaption { padding: .65rem .9rem; color: var(--muted); font-size: .875rem; }
.realms { background: linear-gradient(115deg, #0b101cf5, #0b101cb8), url("assets/fundo-reinos.webp") center / cover; border-block: 1px solid var(--line); }
.realm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .95rem; }
.realm-card { min-width: 0; display: grid; place-items: center; gap: .6rem; align-content: center; padding: 1.2rem .6rem; min-height: 12rem; color: var(--text); background: radial-gradient(ellipse at center top, #242843, #101523 68%); border: 1px solid #39405c; border-radius: 8px; cursor: pointer; transition: border-color .2s, background .2s; }
.realm-card img { display: block; width: 120px; height: 120px; object-fit: contain; }
.realm-card span { font: 600 1.18rem/1.18 var(--serif); }
.realm-card:hover { border-color: var(--gold); background: radial-gradient(ellipse at center top, #343650, #171d2f 70%); }
.more-realms { margin-top: 1.25rem; }
.more-realms summary { width: max-content; max-width: 100%; color: var(--gold); cursor: pointer; font-weight: 700; padding-block: .35rem; }
.more-realms .realm-grid { margin-top: 1rem; }
video { background: #141725; border: 1px solid #39405c; border-radius: 8px; width: 100%; aspect-ratio: 16/9; }
.platforms { border-block: 1px solid var(--line); background: #101422; }
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.platform-grid article { border: 1px solid var(--line); border-radius: 7px; padding: 1.25rem 1.5rem; background: var(--bg); }
.platform-grid p { color: var(--muted); margin: 0; }
.platform-grid .platform-name { color: var(--text); margin-bottom: .22rem; font: 600 1.65rem/1.25 var(--serif); }
.footer { padding-block: 2.2rem; }
dialog { max-width: min(40rem, calc(100% - 2rem)); width: 100%; color: var(--text); padding: 0; border: 1px solid #9d7950; border-radius: 10px; background: #101523; }
dialog::backdrop { background: #050710dc; }
.dialog-content { position: relative; padding: 1.45rem; display: grid; gap: .75rem; text-align: center; }
.dialog-content form { position: absolute; top: .75rem; right: .75rem; }
.close { color: var(--text); background: #090b14; border: 1px solid #8a7357; border-radius: 50%; min-width: 44px; min-height: 44px; font-size: 1.55rem; cursor: pointer; }
#arte-reino { width: 100%; height: min(42svh, 400px); object-fit: contain; }
.realm-motivation { width: min(100%, 33rem); margin-inline: auto; border-block: 1px solid var(--line); padding: .75rem 0; }
.realm-motivation h3 { font: 700 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0 0 .35rem; }
.realm-motivation p { margin: 0; color: var(--text); }
.realm-power { width: min(100%, 33rem); margin: .25rem auto 0; text-align: left; }
.realm-power-heading { display: flex; align-items: center; gap: .75rem; }
.realm-power-heading img { width: 60px; height: 60px; object-fit: contain; }
.realm-power-heading img[hidden] { display: none; }
.realm-power-heading h3 { margin: 0; font-size: .875rem; color: var(--gold); }
.realm-power-heading strong { font: 600 1.35rem/1.2 var(--serif); }
.realm-power p { margin: .5rem 0 0; }
#alvo-poder { color: var(--muted); }
#alvo-poder strong { color: var(--gold); margin-right: .25rem; }
.rune-list { display: flex; flex-wrap: wrap; gap: .7rem 1rem; padding: 0; margin: 1.4rem 0 0; list-style: none; }
.rune-list li { display: grid; justify-items: center; gap: .25rem; min-width: 44px; color: var(--muted); font-size: .875rem; }
.rune-list img { width: 44px; height: 48px; object-fit: contain; }
.captures { padding-top: 0; }
.capture-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.capture { min-width: 0; display: grid; align-content: start; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel); }
.capture:hover { border-color: var(--gold); }
.capture img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain; background: #0a0d18; }
.capture span { padding: .55rem .8rem; font-size: .875rem; }
#captura-ampliada { max-width: min(69rem, calc(100% - 2rem)); }
#captura-ampliada figure { margin: 0; }
#imagem-captura { max-height: min(75svh, 820px); width: 100%; object-fit: contain; }
#tipo-reino { justify-content: center; margin: .15rem 0 .5rem; }
#nome-reino { font-size: clamp(2rem, 7vw, 3rem); }
@media (max-width: 950px) {
  .wrap { width: calc(100% - 3.6rem); }
  .hero-art { background-position: center, center, 65% center; }
  .hero { min-height: 570px; }
  .campaign, .demo { gap: 2rem; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .bar { display: grid; grid-template-columns: 1fr auto; min-height: auto; column-gap: .65rem; row-gap: .6rem; padding-block: .8rem .6rem; }
  nav { grid-row: 2; grid-column: 1/-1; gap: clamp(1rem, 6vw, 2.3rem); }
  .button.compact { justify-self: end; }
  .hero { min-height: auto; align-items: end; }
  .hero-art { background-image: linear-gradient(0deg, #090b14 0%, #090b14 38%, #090b14ce 49%, transparent 82%), url("assets/abertura-campanha.webp"); background-position: center, 76% top; background-size: 100% 100%, auto clamp(285px, 71vw, 420px); }
  .hero-content { padding-block: clamp(235px, 56vw, 390px) 3.3rem; }
  h1 { font-size: clamp(3.65rem, 13.6vw, 5.1rem); }
  .hero-copy { font-size: 1.04rem; margin: 1.28rem 0; }
  .button { padding-inline: .9rem; }
  .campaign, .demo { grid-template-columns: 1fr; gap: 1.4rem; }
  .realm-grid, .capture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .realm-card { min-height: 10rem; padding-block: .85rem; }
  .realm-card img { width: 100px; height: 100px; }
  .platform-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.privacy-link, .privacy-page a { color: var(--gold); text-decoration: underline; text-underline-offset: .22em; }
.privacy-page { max-width: 48rem; }
.privacy-page h1 { font-size: clamp(2.6rem, 7vw, 4.5rem); letter-spacing: -.045em; }
.privacy-page h2 { margin-top: 2rem; font-size: clamp(1.45rem, 3.5vw, 2rem); letter-spacing: -.025em; }
.privacy-page p { color: var(--muted); }
.privacy-page a { overflow-wrap: anywhere; }
