@font-face {
  font-family: "Lilita One";
  src: url("assets/fonts/lilita-one-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/fonts/roboto-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --yellow: #ffc301;
  --purple: #8421e8;
  --black: #121014;
  --white: #fff;
  --muted: #d2cbdc;
  --placeholder: transparent;
  --font-display: "Lilita One", sans-serif;
  --font-body: "Roboto", Arial, sans-serif;
  --tear-size: clamp(16px, min(2.5vw, 4vh), 48px);
  --header-height: clamp(72px, 6vw, 96px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

main {
  overflow-x: clip;
}

/* O conteúdo permanece visível se a AOS não carregar ou as animações estiverem desativadas. */
html:not(.aos-enabled) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
  transition: none !important;
}

.aos-enabled [data-aos="fade-up"]:not(.aos-animate) {
  transform: translate3d(0, 28px, 0);
}

.aos-enabled [data-aos="fade-left"]:not(.aos-animate) {
  transform: translate3d(40px, 0, 0);
}

.aos-enabled [data-aos="fade-right"]:not(.aos-animate) {
  transform: translate3d(-40px, 0, 0);
}

.aos-enabled [data-aos="zoom-in"]:not(.aos-animate) {
  transform: scale(0.95);
}

.aos-enabled [data-aos]:focus-within {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 6px;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 30;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  transform: translateY(-150%);
  border-radius: 4px;
  background: var(--yellow);
  color: var(--black);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: var(--header-height);
  padding-inline: clamp(20px, 3vw, 64px);
  border-bottom: 1px solid rgb(255 255 255 / 9%);
  background: rgba(34, 21, 14, 0.46);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  width: 100%;
  max-width: 1440px;
  height: 100%;
  margin-inline: auto;
}

.social-links {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.8vw, 16px);
}

.social-link {
  display: grid;
  width: 20px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.social-link svg {
  width: clamp(13px, 0.95vw, 18px);
  height: clamp(13px, 0.95vw, 18px);
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  color: var(--yellow);
}

.wordmark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: clamp(150px, 12vw, 200px);
  height: 100%;
}

.wordmark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(24px, 3vw, 48px);
  height: 100%;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.05vw, 18px);
  letter-spacing: 0.03em;
}

.header-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  height: 100%;
}

.header-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: 100%;
  padding-inline: 2px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.header-links a::after {
  position: absolute;
  right: 2px;
  bottom: 14px;
  left: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.header-links a:hover,
.header-links .is-active {
  color: var(--yellow);
}

.header-links a:hover::after,
.header-links .is-active::after {
  transform: scaleX(1);
}

.header-downloads {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-downloads .download-button {
  width: clamp(112px, 10vw, 144px);
}

.menu-toggle {
  display: none;
}

.full-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.image-placeholder {
  background: var(--placeholder);
}

.hero {
  z-index: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 2vh, 24px);
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  padding: calc(var(--header-height) + clamp(12px, 3vh, 40px)) 20px
    calc(var(--tear-size) + max(12px, env(safe-area-inset-bottom, 0px)));
  overflow: hidden;
  background: #333036;
  transform: translate3d(0, var(--hero-parallax-y, 0px), 0);
}

.hero-image,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 45%;
  animation: hero-slow-zoom 16s ease-in-out infinite alternate;
}

@keyframes hero-slow-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.hero-shade {
  background: linear-gradient(
    180deg,
    rgb(12 10 16 / 1%) 0%,
    rgb(12 10 16 / 2%) 58%,
    rgb(12 10 16 / 85%) 100%
  );
}

.hero-content {
  position: relative;
  min-width: 0;
  width: 90%;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, min(4.45vw, 8vh), 100px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  text-shadow: 0 4px 0 rgb(0 0 0 / 16%);
}

.hero h1 > span,
.feature-copy h2 > span {
  color: var(--yellow);
}

.hero-content > p {
  margin: clamp(12px, min(1.65vw, 2.5vh), 28px) 0
    clamp(18px, min(2.65vw, 4vh), 44px);
  color: #dedbdf;
  font-size: clamp(14px, min(1.3vw, 3vh), 36px);
  line-height: 1.4;
  font-weight: 400;
  font-family: var(--font-display);
  letter-spacing: 0.015em;
}

.download-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.download-button {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: clamp(150px, 12vw, 250px);
  max-width: 100%;
  aspect-ratio: 3500 / 1037;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  transition: transform 180ms ease;
  border: 2px solid white;
}

.download-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A imagem do Google Play tem margens externas; enquadra o selo sem alterar o arquivo. */
.download-button--google-play img {
  position: absolute;
  top: -25.3%;
  left: -7.5%;
  width: 115%;
  height: auto;
}

.download-button:hover {
  transform: translateY(-3px);
}

.how-to-play {
  position: relative;
  align-self: end;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: clamp(6px, 1.5vh, 18px);
  font-size: clamp(10px, 0.9vw, 17px);
  font-weight: 700;
  text-transform: uppercase;
}

.scroll-circle {
  display: grid;
  width: clamp(32px, min(4.2vw, 8vh), 80px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px dashed rgb(255 255 255 / 48%);
  border-radius: 50%;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.scroll-circle svg {
  width: 22px;
  fill: none;
  stroke: var(--yellow);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.how-to-play:hover .scroll-circle {
  border-color: var(--yellow);
  background: rgb(255 195 1 / 8%);
}

.hero > .scroll-cue {
  bottom: calc(var(--tear-size) + max(12px, env(safe-area-inset-bottom, 0px)));
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 4.3%;
  left: 2.6%;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  opacity: 0.75;
}

.scroll-cue > span {
  font-size: clamp(8px, 0.65vw, 12px);
  font-weight: 700;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-cue::after {
  width: 1px;
  height: 14px;
  background: rgb(255 255 255 / 35%);
  content: "";
  order: 1;
}

.scroll-cue i {
  position: relative;
  width: 12px;
  height: 29px;
  order: 2;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 8px;
}

.scroll-cue i::before {
  position: absolute;
  top: 5px;
  left: 4px;
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--white);
  content: "";
}

.feature {
  z-index: 1;
  --section-color: #38205f;
  --screen-center: 21.35%;
  --halo-color: rgb(132 33 232 / 27%);
  background: var(--section-color);
}

.feature--arena {
  --section-color: #3e276e;
  margin-top: calc(-1 * var(--tear-size));
  /* A borda rasgada pertence à seção que sobe sobre o banner. */
  clip-path: polygon(
    0 calc(var(--tear-size) * 0.48),
    0.46% calc(var(--tear-size) * 0.64),
    0.96% calc(var(--tear-size) * 0.60),
    1.86% calc(var(--tear-size) * 0.53),
    2.81% calc(var(--tear-size) * 0.25),
    3.74% calc(var(--tear-size) * 0.20),
    4.94% calc(var(--tear-size) * 0.26),
    5.45% calc(var(--tear-size) * 0.23),
    6.67% calc(var(--tear-size) * 0.42),
    7.59% calc(var(--tear-size) * 0.61),
    8.22% calc(var(--tear-size) * 0.53),
    9.26% calc(var(--tear-size) * 0.35),
    10.36% calc(var(--tear-size) * 0.28),
    11.21% calc(var(--tear-size) * 0.36),
    12.24% calc(var(--tear-size) * 0.35),
    12.85% calc(var(--tear-size) * 0.37),
    13.3% calc(var(--tear-size) * 0.65),
    14.46% calc(var(--tear-size) * 0.28),
    15.76% calc(var(--tear-size) * 0.25),
    16.46% calc(var(--tear-size) * 0.26),
    17.68% calc(var(--tear-size) * 0.37),
    18.44% calc(var(--tear-size) * 0.17),
    19.61% calc(var(--tear-size) * 0.36),
    20.63% calc(var(--tear-size) * 0.62),
    21.29% calc(var(--tear-size) * 0.36),
    22.41% calc(var(--tear-size) * 0.62),
    23.21% calc(var(--tear-size) * 0.38),
    23.75% calc(var(--tear-size) * 0.55),
    24.82% calc(var(--tear-size) * 0.76),
    25.85% calc(var(--tear-size) * 0.75),
    26.75% calc(var(--tear-size) * 0.59),
    27.67% calc(var(--tear-size) * 0.88),
    28.25% calc(var(--tear-size) * 0.70),
    29.12% calc(var(--tear-size) * 0.60),
    29.74% calc(var(--tear-size) * 0.65),
    30.53% calc(var(--tear-size) * 0.67),
    31.09% calc(var(--tear-size) * 0.68),
    31.9% calc(var(--tear-size) * 0.65),
    33.11% calc(var(--tear-size) * 0.68),
    34.21% calc(var(--tear-size) * 0.41),
    34.82% calc(var(--tear-size) * 0.49),
    35.79% calc(var(--tear-size) * 0.47),
    36.46% calc(var(--tear-size) * 0.54),
    37.59% calc(var(--tear-size) * 0.74),
    38.63% calc(var(--tear-size) * 0.55),
    39.17% calc(var(--tear-size) * 0.52),
    40.03% calc(var(--tear-size) * 0.79),
    40.58% calc(var(--tear-size) * 0.75),
    41.17% calc(var(--tear-size) * 0.60),
    41.82% calc(var(--tear-size) * 0.61),
    42.38% calc(var(--tear-size) * 0.51),
    43.05% calc(var(--tear-size) * 0.67),
    43.62% calc(var(--tear-size) * 0.85),
    44.64% calc(var(--tear-size) * 0.61),
    45.65% calc(var(--tear-size) * 0.63),
    46.29% calc(var(--tear-size) * 0.64),
    47.38% calc(var(--tear-size) * 0.55),
    48.57% calc(var(--tear-size) * 0.35),
    49.36% calc(var(--tear-size) * 0.64),
    49.83% calc(var(--tear-size) * 0.49),
    50.87% calc(var(--tear-size) * 0.46),
    51.67% calc(var(--tear-size) * 0.47),
    52.21% calc(var(--tear-size) * 0.48),
    53.01% calc(var(--tear-size) * 0.52),
    54.19% calc(var(--tear-size) * 0.45),
    54.98% calc(var(--tear-size) * 0.66),
    55.55% calc(var(--tear-size) * 0.46),
    56.45% calc(var(--tear-size) * 0.31),
    57.36% calc(var(--tear-size) * 0.53),
    58.65% calc(var(--tear-size) * 0.27),
    59.24% calc(var(--tear-size) * 0.57),
    60.29% calc(var(--tear-size) * 0.36),
    60.83% calc(var(--tear-size) * 0.55),
    62.08% calc(var(--tear-size) * 0.40),
    62.85% calc(var(--tear-size) * 0.28),
    63.59% calc(var(--tear-size) * 0.36),
    64.32% calc(var(--tear-size) * 0.31),
    65% calc(var(--tear-size) * 0.35),
    65.76% calc(var(--tear-size) * 0.37),
    66.82% calc(var(--tear-size) * 0.22),
    67.48% calc(var(--tear-size) * 0.28),
    68.67% calc(var(--tear-size) * 0.66),
    69.52% calc(var(--tear-size) * 0.70),
    70.06% calc(var(--tear-size) * 0.46),
    70.97% calc(var(--tear-size) * 0.64),
    71.7% calc(var(--tear-size) * 0.74),
    72.82% calc(var(--tear-size) * 0.79),
    73.81% calc(var(--tear-size) * 0.68),
    74.76% calc(var(--tear-size) * 0.70),
    75.8% calc(var(--tear-size) * 0.46),
    76.78% calc(var(--tear-size) * 0.43),
    77.66% calc(var(--tear-size) * 0.55),
    78.9% calc(var(--tear-size) * 0.71),
    79.66% calc(var(--tear-size) * 0.76),
    80.62% calc(var(--tear-size) * 0.75),
    81.15% calc(var(--tear-size) * 0.72),
    81.98% calc(var(--tear-size) * 0.62),
    82.45% calc(var(--tear-size) * 0.53),
    83.12% calc(var(--tear-size) * 0.60),
    83.73% calc(var(--tear-size) * 0.80),
    85.01% calc(var(--tear-size) * 0.48),
    86.01% calc(var(--tear-size) * 0.64),
    86.76% calc(var(--tear-size) * 0.84),
    87.37% calc(var(--tear-size) * 0.71),
    88.34% calc(var(--tear-size) * 0.64),
    89.23% calc(var(--tear-size) * 0.68),
    90.09% calc(var(--tear-size) * 0.77),
    91.07% calc(var(--tear-size) * 0.46),
    91.85% calc(var(--tear-size) * 0.75),
    92.66% calc(var(--tear-size) * 0.42),
    93.56% calc(var(--tear-size) * 0.47),
    94.33% calc(var(--tear-size) * 0.33),
    95.4% calc(var(--tear-size) * 0.31),
    96.51% calc(var(--tear-size) * 0.41),
    97.4% calc(var(--tear-size) * 0.33),
    98.02% calc(var(--tear-size) * 0.66),
    98.79% calc(var(--tear-size) * 0.35),
    100% calc(var(--tear-size) * 0.60),
    100% 100%,
    0 100%
  );
  background:
    radial-gradient(ellipse at 25% 35%, #624194 0%, transparent 65%),
    var(--section-color);
}

.feature--challenges {
  --section-color: #1d1a26;
  --halo-color: rgb(255 195 1 / 11%);
  background:
    radial-gradient(ellipse at 75% 55%, #30233d 0%, transparent 65%),
    var(--section-color);
}

.feature--cards {
  --section-color: #32134f;
  background:
    radial-gradient(ellipse at 22% 55%, #572784 0%, transparent 65%),
    var(--section-color);
}

.feature--strategy {
  --section-color: #241135;
  background:
    radial-gradient(ellipse at 73% 50%, #512775 0%, transparent 68%),
    var(--section-color);
}

.section-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  opacity: 0.45;
}

.section-pattern::before {
  position: absolute;
  inset: -100%;
  transform: rotate(45deg);
  background-image: repeating-conic-gradient(
    rgb(255 255 255 / 3%) 0% 25%,
    transparent 0% 50%
  );
  background-size: clamp(46px, 5vw, 100px) clamp(46px, 5vw, 100px);
  content: "";
}

.journey {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: 0;
  width: 100%;
  height: 24.1%;
  overflow: visible;
  fill: none;
  stroke: rgb(235 222 255 / 45%);
  stroke-width: 2;
  stroke-dasharray: 2 8;
}

.journey circle {
  fill: var(--yellow);
  stroke: #b393d6;
  stroke-width: 4;
  stroke-dasharray: none;
}

.journey--first {
  top: -5.5%;
  height: 29.6%;
}

.feature-halo {
  position: absolute;
  z-index: -1;
  top: 26%;
  left: var(--screen-center);
  width: 27%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1px dashed rgb(255 255 255 / 18%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo-color), transparent 72%);
}

.game-visual {
  position: absolute;
  z-index: 2;
  top: 19.4%;
  left: var(--screen-center);
  width: 19.6%;
  height: 61.5%;
  transform: translateX(-50%);
}

.game-visual::after {
  position: absolute;
  z-index: -1;
  top: 100%;
  left: 50%;
  height: 31.5%;
  border-left: 2px dotted rgb(235 222 255 / 35%);
  content: "";
}

.feature--strategy .game-visual::after {
  display: none;
}

.game-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 3px solid white;
  box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
  overflow: hidden;
}
.game-image img {
  width: 100%;
  height: 100%;
}

.route-marker {
  position: absolute;
  top: -7.5%;
  left: 50%;
  display: grid;
  width: clamp(20px, 2.1vw, 40px);
  aspect-ratio: 0.85;
  transform: translate(-50%, -50%);
  place-items: center;
  background: var(--yellow);
  clip-path: polygon(
    0 8%,
    32% 8%,
    50% 0,
    68% 8%,
    100% 8%,
    100% 76%,
    50% 100%,
    0 76%
  );
}

.route-marker > span {
  display: grid;
  width: 77%;
  height: 77%;
  padding-bottom: 10%;
  place-items: center;
  clip-path: inherit;
  background: #5d3392;
  font-family: var(--font-display);
  font-size: clamp(12px, 1.3vw, 25px);
  line-height: 1;
}

.route-marker--bottom {
  top: 108.5%;
}

.feature-copy {
  position: absolute;
  z-index: 2;
  top: 24.5%;
  left: 38%;
  width: 24%;
}

.feature-copy h2 {
  margin: 0 0 2vw;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.15vw, 90px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-shadow: 0 3px 0 rgb(0 0 0 / 12%);
}

.feature-copy p {
  width: 88%;
  margin: 0 0 2.8vw;
  color: var(--muted);
  font-size: clamp(12px, 1.12vw, 23px);
  line-height: 1.5;
}

.next-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17.2vw;
  max-width: 360px;
  min-height: 38px;
  padding: 0.6vw 1.2vw 0.7vw;
  overflow: hidden;
  border: 1px solid #e49b00;
  border-bottom: 4px solid #c78a00;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    #ffdf54 0%,
    #ffc301 36%,
    #ffb800 38%,
    #ef9f00 100%
  );
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.85vw, 38px);
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 2px 0 #916326;
  box-shadow:
    inset 0 2px 0 rgb(255 255 255 / 30%),
    0 3px 0 rgb(0 0 0 / 8%);
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.next-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.next-button:active {
  transform: translateY(1px);
}

.character-image {
  position: absolute;
  top: 18%;
  right: 0;
  width: 39%;
  height: 64%;
}
.character-image img {
  width: 100%;
}
.feature--right {
  --screen-center: 78.65%;
}

.feature--right .feature-copy {
  top: 25%;
  left: 41.7%;
  width: 23%;
}

.feature--right .character-image {
  right: auto;
  left: 0;
}
.feature--right .character-image img {
  width: 100%;
}

.feature--cards .feature-copy {
  width: 25%;
}

.feature--cards .feature-copy h2 {
  font-size: clamp(28px, 3.5vw, 75px);
}

.feature--cards .feature-copy p {
  width: 83%;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid #452655;
  background:
    radial-gradient(ellipse at 15% 0%, rgb(132 33 232 / 12%), transparent 55%),
    #100d14;
}

.footer-content,
.footer-bottom {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.15fr 0.8fr 1fr;
  gap: clamp(36px, 6vw, 100px);
  padding-block: 64px 56px;
}

.footer-logo {
  display: block;
  width: 200px;
  max-width: 100%;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-content h2 {
  margin: 18px 0 22px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(23px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.1;
}

.footer-content p {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.footer-socials {
  gap: 10px;
}

.footer-socials .social-link {
  width: 38px;
  height: 38px;
  border: 1px solid #403247;
  border-radius: 50%;
  background: rgb(255 255 255 / 3%);
}

.footer-socials .social-link svg {
  width: 16px;
  height: 16px;
}

.footer-navigation a {
  display: block;
  width: fit-content;
  padding-block: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  transition: color 180ms ease;
}

.footer-navigation a:hover,
.back-to-top:hover {
  color: var(--yellow);
}

.footer-downloads {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 200px;
}

.footer-downloads .download-button {
  width: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  border-top: 1px solid #302437;
  color: #b1a7bb;
  font-size: 12px;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  transition: color 180ms ease;
}

.back-to-top span {
  color: var(--yellow);
  font-size: 22px;
}

.notice-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 40px 30px 32px;
  border: 1px solid #6b3c94;
  border-radius: 16px;
  background: #28183a;
  color: var(--white);
  text-align: center;
  box-shadow: 0 24px 100px rgb(0 0 0 / 50%);
}

.notice-dialog::backdrop {
  background: rgb(10 6 15 / 80%);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
}

.dialog-brand {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin-inline: auto;
}

.notice-dialog h2 {
  margin: 20px 0 12px;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.notice-dialog p {
  margin: 0 0 28px;
  color: var(--muted);
  line-height: 1.6;
}

.dialog-action {
  width: 100%;
  min-height: 48px;
  margin-inline: auto;
  font-size: 22px;
}

@media (min-width: 1921px) {
  .feature.full-section {
    max-height: 1250px;
    aspect-ratio: auto;
    height: 56.25vw;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .feature-copy {
    top: 22%;
  }

  .feature-copy h2 {
    margin-bottom: 1.5vw;
  }

  .feature-copy p {
    width: 94%;
    margin-bottom: 2vw;
    font-size: 12px;
    line-height: 1.4;
  }

  .feature--right .feature-copy {
    top: 23%;
  }

  .feature--cards .feature-copy p {
    width: 91%;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  html {
    scroll-padding-top: 0;
  }

  .site-header {
    padding-inline: 20px;
  }

  .wordmark {
    width: 144px;
  }

  .social-links {
    gap: 5px;
  }

  .social-link {
    width: 20px;
    height: 36px;
  }

  .social-link svg {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    border-radius: 5px;
    background: rgb(255 255 255 / 5%);
  }

  .menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-navigation {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    gap: 16px;
    height: auto;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    margin-left: 0;
    padding: 16px 20px max(20px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid #583475;
    box-shadow: 0 16px 24px rgb(0 0 0 / 20%);
    background: #21132f;
    font-size: 20px;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .header-links {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    height: auto;
  }

  .header-links a {
    justify-content: flex-start;
    min-height: 48px;
    height: auto;
    padding: 12px;
    border-radius: 6px;
  }

  .header-links a::after {
    display: none;
  }

  .header-links a:hover,
  .header-links .is-active {
    background: rgb(255 195 1 / 7%);
  }

  .header-downloads {
    justify-content: center;
    flex-shrink: 0;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / 10%);
  }

  .header-downloads .download-button {
    width: 140px;
    max-width: calc(50% - 5px);
  }

  .full-section {
    aspect-ratio: auto;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, min(10.8vw, 8vh), 72px);
  }

  .hero-content > p {
    max-width: 350px;
    margin: 22px auto 30px;
    font-size: 15px;
    line-height: 1.6;
  }

  .download-buttons {
    align-items: center;
    flex-direction: column;
    gap: 14px;
  }

  .download-button {
    width: min(150px, 100%);
  }

  .how-to-play {
    font-size: 10px;
  }

  .scroll-circle {
    width: clamp(32px, 8vh, 48px);
  }

  .scroll-cue {
    bottom: 26px;
    left: 17px;
    gap: 9px;
  }

  .feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 330px;
    align-items: start;
    gap: 35px 22px;
    min-height: 780px;
    padding: 75px 28px 80px;
  }

  .feature-copy,
  .feature--right .feature-copy,
  .feature--cards .feature-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    grid-area: 1 / 1 / 2 / 3;
    text-align: center;
  }

  .feature-copy h2,
  .feature--cards .feature-copy h2 {
    margin-bottom: 20px;
    font-size: clamp(40px, 8.8vw, 62px);
    line-height: 0.98;
  }

  .feature-copy p,
  .feature--cards .feature-copy p {
    width: min(340px, 100%);
    margin: 0 auto 24px;
    font-size: 14px;
    line-height: 1.6;
  }

  .next-button {
    width: 210px;
    min-height: 43px;
    margin-inline: auto;
    padding: 9px 20px;
    font-size: 23px;
  }

  .game-visual {
    position: relative;
    top: auto;
    left: auto;
    align-self: center;
    justify-self: center;
    width: min(100%, 178px);
    height: auto;
    aspect-ratio: 9 / 16;
    grid-area: 2 / 1 / 3 / 2;
    transform: none;
  }

  .character-image,
  .feature--right .character-image {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    align-self: center;
    width: 100%;
    height: 245px;
    grid-area: 2 / 2 / 3 / 3;
  }

  .feature--right .game-visual {
    grid-column: 2 / 3;
  }

  .feature--right .character-image {
    grid-column: 1 / 2;
  }

  .route-marker {
    top: -8%;
    width: 23px;
  }

  .route-marker > span {
    font-size: 14px;
  }

  .route-marker--bottom {
    top: 109%;
  }

  .journey,
  .game-visual::after {
    display: none;
  }

  .feature-halo {
    top: auto;
    bottom: 90px;
    left: 50%;
    width: 80%;
  }

  .dialog-action {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .footer-content,
  .footer-bottom {
    width: calc(100% - 48px);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-block: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-content h2 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .footer-logo,
  .footer-navigation a,
  .footer-downloads {
    margin-inline: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 16px;
  }

  .social-links {
    gap: 3px;
  }

  .social-link {
    width: 16px;
  }

  .wordmark {
    width: 132px;
  }
}

/* Compacta o conteúdo em notebooks baixos, celulares deitados e janelas reduzidas. */
@media (max-height: 500px) {
  :root {
    --header-height: 52px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: calc(
      var(--tear-size) + max(8px, env(safe-area-inset-bottom, 0px))
    );
    gap: 8px;
  }

  .hero h1 {
    font-size: clamp(20px, min(8vw, 9vh), 56px);
  }

  .hero-content > p {
    max-width: 680px;
    margin: 8px auto 12px;
    font-size: clamp(12px, min(1.3vw, 3vh), 18px);
    line-height: 1.4;
  }

  .hero .download-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .hero .download-button {
    width: clamp(110px, 18vw, 160px);
    max-width: calc(50% - 5px);
  }

  .hero .how-to-play {
    gap: 6px;
    font-size: 10px;
  }

  .hero .scroll-circle {
    width: clamp(30px, 8vh, 40px);
  }
}

@media (max-height: 360px) {
  :root {
    --header-height: 44px;
  }

  .hero .how-to-play > span:first-child {
    display: none;
  }
}

@media (max-height: 260px) {
  :root {
    --tear-size: 12px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 4px);
    padding-bottom: calc(
      var(--tear-size) + max(6px, env(safe-area-inset-bottom, 0px))
    );
    gap: 4px;
  }

  .hero h1 {
    font-size: 18px;
  }

  .hero-content > p {
    margin: 4px auto 6px;
    font-size: 11px;
    line-height: 1.2;
  }

  .hero .download-button {
    width: 96px;
  }

  .hero .scroll-circle {
    width: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero {
    transform: none;
  }

  .hero-image img {
    animation: none;
    transform: none;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
