@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("./instrument-sans.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: #151912;
  color: #f1e7d0;
  --pale: #f1e7d0;
  --muted: #d1c5ac;
  --gold: #d9bb79;
  --line: #64563a;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
figure, h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid #ffe1a4; outline-offset: 4px; }

.wrap {
  width: min(100% - 5rem, 76rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset: 1rem auto auto 1rem;
  z-index: 5;
  padding: .7rem 1rem;
  color: #231a0d;
  background: var(--gold);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.header {
  border-bottom: 1px solid #5e5037;
  background: #141811;
}

.header-inner,
.footer-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.studio {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--gold);
  text-decoration: none;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}
.studio-mark { display: block; width: 4.5rem; height: 4.5rem; object-fit: contain; }

nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); }
nav a, .footer a { color: var(--muted); text-decoration: none; }
nav a:hover, .footer a:hover { color: var(--pale); text-decoration: underline; text-underline-offset: .3em; }
.header nav a[aria-current] {
  color: #f5d99a;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .42em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: .8rem 1.35rem;
  border: 1px solid #af945d;
  border-radius: .55rem;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  color: #271e10;
  border-color: #e9ca8c;
  background: linear-gradient(#e7c88a, #c5a369);
  box-shadow: 0 3px 0 #695231, 0 6px 18px #05060355;
}

.button-primary:hover { background: #f1d39b; }
.button-primary:active { background: #c9a56b; box-shadow: 0 1px 0 #695231; }
.button-outline { color: #f4e5c4; background: #252d20; }
.button-outline:hover { background: #343d2b; border-color: #e2bc78; }
.apk-download { gap: .55rem; }
.apk-download svg { flex: none; }
.mobile-installs { display: grid; gap: .65rem; }
.hero-actions { align-items: start; }
.ios-install { padding-block: clamp(2rem, 4vw, 3.5rem); scroll-margin-top: 6rem; }
.ios-install ol { padding-inline-start: 1.35rem; margin-block: .85rem 1.2rem; }
.ios-install li + li { margin-block-start: .45rem; }
.header-play { min-height: 2.65rem; font-size: .95rem; padding-block: .6rem; }

.hero {
  background:
    linear-gradient(96deg, #12180ff2 3%, #172019e0 47%, #15191091 100%),
    url("../jogar/assets/menu/vareda.webp") center 78% / cover;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 6vw, 5rem);
}

.eyebrow {
  color: var(--gold);
  font-size: .91rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero h1 { margin: 1.08rem 0 1.3rem; }
.hero h1 img { width: 100%; max-width: 37rem; filter: drop-shadow(0 .25rem .8rem #070903cc); }
.lead { max-width: 32rem; color: #eadcc0; font-size: clamp(1.16rem, 1.8vw, 1.45rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }
.controls { margin-top: 1.15rem; color: var(--muted); font-size: .92rem; }

.hero-art {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #b19564;
  border-radius: .9rem;
  background: #4a4432;
  aspect-ratio: 4 / 4.25;
  box-shadow: 0 1.3rem 4.5rem #070903a6;
}

.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

.hero-art::after {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid #ffe3a563;
  border-radius: .47rem;
  box-shadow: inset 0 0 2.7rem #201b0b50;
  pointer-events: none;
}

h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { color: var(--pale); font-size: clamp(2.5rem, 4.2vw, 4rem); line-height: 1; }
h3 { color: #edcf9a; font-size: 1.95rem; line-height: 1.1; }

.modes { padding-block: clamp(3rem, 7vw, 5.8rem); }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3.2rem);
  margin-top: 2.1rem;
}

.mode { border-top: 1px solid #91764a; padding: 1rem .2rem 0 0; }
.mode p { max-width: 36ch; margin-top: .6rem; color: var(--muted); line-height: 1.6; font-size: 1.03rem; }

.duel { border-block: 1px solid var(--line); background: #20281b; }
.duel-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: clamp(1.7rem, 5vw, 4rem);
  padding-block: clamp(3rem, 7vw, 5.2rem);
}

.field-image img { width: 100%; border: 1px solid #b09865; border-radius: .65rem; box-shadow: 0 .8rem 2rem #080a06a0; }
.field-image figcaption { padding-top: .6rem; font-size: .9rem; color: var(--muted); }
.duel-copy ol { margin: 1.25rem 0 1.6rem; padding-left: 1.5rem; color: var(--muted); line-height: 1.6; }
.duel-copy li { padding-left: .3rem; }
.duel-copy li + li { margin-top: .6rem; }
.duel-copy li::marker { color: var(--gold); font-weight: 700; }
.duel-copy strong { color: var(--pale); }
.footer { background: #141811; }
.footer-inner { min-height: 5rem; font-size: .95rem; }
.footer span { color: var(--gold); }

@media (max-width: 60rem) {
  .wrap { width: calc(100% - 3rem); }
  .hero-inner { gap: 2rem; }
  .header-inner, .footer-inner { gap: 1rem; }
  .header-inner { min-height: 4rem; gap: 0 .7rem; display: grid; grid-template-columns: 1fr auto; }
  .header nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 .75rem;
    padding-bottom: .3rem;
    border-top: 1px solid #5e5037;
    font-size: .9rem;
  }
  .header nav a { display: flex; align-items: center; min-height: 2.5rem; }
}

@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2rem); }
  .header nav { gap: 0 .65rem; font-size: .85rem; }
  .studio { font-size: .87rem; letter-spacing: .055em; }
  .studio-mark { width: 3.5rem; height: 3.5rem; }
  .header-play { padding-inline: .8rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 2.4rem 2rem; }
  .hero h1 { margin-block: .85rem 1rem; }
  .hero-art { aspect-ratio: 1.45; }
  .hero-art img { object-position: center 38%; }
  .mode-grid, .duel-inner { grid-template-columns: 1fr; }
  .mode-grid { gap: 1.45rem; margin-top: 1.45rem; }
  .duel-copy { grid-row: 1; }
}
