:root {
  color-scheme: dark;
  --rave-black: #010101;
  --rave-shadow: #0c0c0c;
  --rave-footer: #131313;
  --rave-light: #cfcfd1;
  --rave-teal: #17bfc5;
  --rave-cyan: #03cfd6;
  --title-font: "Anton", Impact, sans-serif;
  --body-font: "Poppins", Arial, sans-serif;
  --design-width: min(1400px, 72.9167vw);
  background: var(--rave-black);
  font-family: var(--body-font);
  color: var(--rave-light);
  scroll-behavior: smooth;
  scrollbar-color: var(--rave-teal) var(--rave-black);
}

* { box-sizing: border-box; }

.news__vector-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

html, body {
  min-width: 1024px;
  min-height: 100%;
  margin: 0;
  background: var(--rave-black);
}

body { overflow-x: hidden; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--rave-cyan);
  outline-offset: 5px;
}

::selection {
  color: var(--rave-black);
  background: var(--rave-cyan);
}

.home-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-art {
  position: absolute;
  display: block;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

/* Hero: texture, character, wordmark and button art come from the PSD. */
.hero {
  background: var(--rave-black);
}

.hero__background {
  position: absolute;
  z-index: -1;
  inset: -0.3% -0.25%;
  width: 100.5%;
  height: 100.6%;
  object-fit: cover;
  pointer-events: none;
}

.hero__edge {
  position: absolute;
  z-index: 6;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: auto;
  pointer-events: none;
}

.hero__white-border {
  position: absolute;
  z-index: 3;
  top: auto;
  bottom: 0;
  left: 25.052vw;
  width: 52.76vw;
  height: auto;
  pointer-events: none;
}

.hero__wordmark {
  position: absolute;
  z-index: 1;
  top: 24.54vh;
  left: 16.82vw;
  width: 66.35vw;
  height: 18.698vw;
  pointer-events: none;
}

.hero__wordmark-base {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__wordmark-texture {
  position: absolute;
  inset: 0;
  display: none;
  background-image: url("./assets/img/home/hero-composite.png");
  background-position: -16.823vw -13.802vw;
  background-size: 100vw 56.25vw;
  background-repeat: no-repeat;
}

@supports (mask-image: url("#logo-mask")) or (-webkit-mask-image: url("#logo-mask")) {
  .hero__wordmark-texture {
    display: block;
    -webkit-mask-image: url("./assets/img/home/hero-wordmark.png");
    -webkit-mask-position: center;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url("./assets/img/home/hero-wordmark.png");
    mask-mode: alpha;
    mask-position: center;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
  }
}

.hero__character {
  filter: contrast(1.2);
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 0;
  left: 47.6305vw;
  width: min(78vw, max(57.031vw, 101.4vh));
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero__effect {
  position: absolute;
  z-index: 4;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
}

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  height: 8.06vh;
  min-height: 58px;
  background: var(--rave-black);
}

.site-header__brand {
  position: absolute;
  top: 50%;
  left: 1.04vw;
  width: 7.4vw;
  display: block;
  transform: translateY(-50%);
}

.site-header__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  position: absolute;
  top: 0;
  left: 14.53vw;
  width: 41.67vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25vw;
}

.site-nav a,
.site-footer__nav a {
  color: var(--rave-light);
  font-family: var(--title-font);
  font-size: 1.46vw;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 160ms ease;
}

.site-nav a {
  font-size: 1.35vw;
  transform: scale(0.847);
}

.site-nav a:hover,
.site-footer__nav a:hover {
  color: var(--rave-cyan);
}

.social-links {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.15vw;
}

.site-header .social-links {
  position: absolute;
  top: 0;
  left: 73.354vw;
  width: max-content;
  justify-content: flex-start;
  gap: 1.146vw;
  transform: translateY(0.139vh);
}

.site-header .social-links a:nth-child(4) { margin-left: -0.052vw; }

.social-links a {
  width: auto;
  min-width: 0;
  display: grid;
  place-items: center;
}

.social-icon {
  display: block;
  flex: 0 0 auto;
  transform: scale(0.92);
  background-image: url("./assets/img/home/hero-composite.png");
  background-size: 100vw 56.25vw;
  background-repeat: no-repeat;
}

.social-icon--twitch {
  width: 1.146vw;
  height: 1.25vw;
  background-position: -73.854vw -1.719vw;
}

.social-icon--discord {
  width: 1.458vw;
  height: 1.146vw;
  background-position: -76.146vw -1.719vw;
}

.social-icon--facebook {
  width: 0.573vw;
  height: 1.094vw;
  background-position: -78.75vw -1.719vw;
}

.social-icon--instagram {
  width: 1.094vw;
  height: 1.094vw;
  background-position: -80.417vw -1.719vw;
}

.player-link {
  position: absolute;
  top: 0;
  right: 0;
  width: 17vw;
  height: 8.06vh;
  min-height: 58px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--rave-black);
  font-family: var(--title-font);
  font-size: 1.46vw;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.player-link img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.player-link .button-hover-rays,
.image-button .button-hover-rays {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: -15%;
  width: 130%;
  aspect-ratio: 30 / 7;
  transform: translateY(-50%);
  background-image: url("./assets/img/home/player-rays-hover-sprite.png");
  background-repeat: no-repeat;
  background-size: 100% 1700%;
  background-position: 0 0;
  opacity: 0;
  pointer-events: none;
}

.player-link__label {
  position: relative;
  z-index: 2;
}

.player-link:hover .button-hover-rays,
.hero__action:hover .button-hover-rays,
.community__action:hover .button-hover-rays {
  opacity: 1;
  animation: button-hover-rays 0.7s steps(16, end) 1 forwards;
}

@keyframes button-hover-rays {
  from { background-position: 0 0; }
  to { background-position: 0 100%; }
}

.image-button {
  position: absolute;
  display: grid;
  place-items: center;
  color: var(--rave-black);
  font-family: var(--title-font);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter 160ms ease, transform 160ms ease;
}

.image-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.image-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

.image-button span { position: relative; z-index: 1; }
.hero__action-label, .community__action-label { z-index: 2; }

.hero__action {
  z-index: 7;
  overflow: hidden;
  isolation: isolate;
  left: 40.625vw;
  top: 78.15vh;
  width: 18.80vw;
  aspect-ratio: 361 / 78;
  font-size: 1.67vw;
  letter-spacing: 0.07em;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.72);
}

/* News: texture and ink are raster; headings and copy remain live text. */
.news {
  color: var(--rave-black);
  background: var(--rave-light);
}

.news__paper {
  z-index: -2;
  inset: -2.2vh 0 auto;
  width: 100%;
  height: 118.52vh;
  object-fit: cover;
}

.news__camada5 {
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.news__top-edge {
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto;
}

.news__bottom-edge {
  z-index: -1;
  bottom: -21.93vw;
  left: 0;
  width: 100vw;
  height: auto;
}

.news__bottom-layer {
  z-index: -1;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: auto;
}

.news__feature-art {
  position: relative;
  display: block;
  top: 1.85vh;
  width: 34.53125vw;
  margin-left: 0.365vw;
  height: 32.4vh;
  overflow: hidden;
}

.news__feature-art img {
  position: absolute;
  display: block;
}

.news__feature-image {
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news__feature-outline {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  color: var(--rave-cyan);
  pointer-events: none;
}

.news__feature-art {
  transition: opacity 420ms ease-in-out, transform 420ms ease-in-out;
}

.news__arrow {
  position: absolute;
  z-index: 2;
  top: 14.35vh;
  width: 1.51vw;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.news__arrow img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0);
  transition: transform 160ms ease, filter 160ms ease;
  pointer-events: none;
}

.news__arrow:hover img {
  filter: none;
  transform: scale(1.1);
}

.news__arrow:active img {
  transform: scale(0.94);
}

.news__arrow--left { left: 0; }
.news__arrow--right { right: 0; }

@media (prefers-reduced-motion: reduce) {
  .news__feature-art { transition: none; }
}

/* The five illustrated blank panels are kept exactly as supplied in the PSD. */
.information {
  color: var(--rave-cyan);
  background: var(--rave-black);
}

.information__background {
  z-index: -2;
  inset: -0.3% -0.25%;
  width: 100.5%;
  height: 100.6%;
  object-fit: cover;
}

.information__top-edge {
  z-index: -1;
  top: 0;
  left: 0;
  width: 100vw;
  height: auto;
}

.information__bottom-edge { z-index: 1; top: auto; right: auto; bottom: 0; left: 0; width: 100%; height: auto; pointer-events: none; }

.information__title {
  position: absolute;
  top: 16.6vh;
  left: 0;
  right: 0;
  margin: 0;
  color: var(--rave-cyan);
  font-family: var(--title-font);
  font-size: 4vw;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.information__panels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.information__panel {
  position: absolute;
  display: block;
  height: auto;
}

.information__panel { overflow: visible; pointer-events: auto; transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1); }
.information__panel:hover { z-index: 10; transform: translateY(-8px); }
.information__panel-clip { position: absolute; inset: 0; display: block; overflow: hidden; }
.information__panel-border { position: absolute; top: 0; left: 0; display: block; overflow: visible; opacity: 0; pointer-events: none; transition: opacity 160ms ease; }
.information__panel:hover .information__panel-border { opacity: 1; }
.information__panel img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 220ms ease, filter 220ms ease; }
.information__panel:hover img { transform: scale(1.05); }
.information__panels:has(.information__panel:hover) .information__panel:not(:hover) img { filter: brightness(0.8); }

@media (prefers-reduced-motion: reduce) {
  .information__panel, .information__panel img, .information__panel-border { transition: none; }
  .information__panel:hover, .information__panel:hover img { transform: none; }
  }
.information__panel--one { aspect-ratio: 277.31 / 468.61; height: max(24.46891vw, calc(43.50028vh + clamp(0px, calc(192px - 10vw), 60px))); }
.information__panel--two { aspect-ratio: 293.88 / 470.5; height: max(24.51521vw, calc(43.58260vh + clamp(0px, calc(192px - 10vw), 60px))); }
.information__panel--three { aspect-ratio: 290.64 / 463.84; height: max(24.18786vw, calc(43.00064vh + clamp(0px, calc(192px - 10vw), 60px))); }
.information__panel--four { aspect-ratio: 293.53 / 440.99; height: max(23.00501vw, calc(40.89779vh + clamp(0px, calc(192px - 10vw), 60px))); }
.information__panel--five { aspect-ratio: 283.81 / 443.48; height: max(23.11390vw, calc(41.09138vh + clamp(0px, calc(192px - 10vw), 60px))); }

.information__panel--one { z-index: 1; left: 13.906vw; top: 27.315vh; width: 14.48vw; }
.information__panel--two { z-index: 2; left: 27.083vw; top: 27.13vh; width: 15.3125vw; }
.information__panel--three { z-index: 3; left: 43.229vw; top: 29.074vh; width: 15.156vw; }
.information__panel--four { z-index: 4; left: 55.781vw; top: 29.537vh; width: 15.3125vw; }
.information__panel--five { z-index: 5; left: 71.51vw; top: 29.537vh; width: 14.792vw; }

.information__action {
  left: 42.604vw;
  top: 85.685vh;
  width: 14.844vw;
  aspect-ratio: 285 / 62;
  color: var(--rave-black);
  font-size: 1.25vw;
  letter-spacing: 0.09em;
}

/* Community art stays as supplied raster; text and footer remain semantic. */
.community {
  color: var(--rave-black);
  background: var(--rave-light);
}

.community::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 2vh;
  right: 0;
  width: min(55vw, 75vh);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.675) 0%, rgba(0, 0, 0, 0.42) 34%, transparent 72%);
  pointer-events: none;
}

.community__paper {
  z-index: -3;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.community__top-edge {
  z-index: 3;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: auto;
}

.community__paint {
  z-index: -1;
  top: 0;
  left: 21.51vw;
  width: 53.594vw;
  height: auto;
}

.community__character {
  position: absolute;
  z-index: 2;
  top: auto;
  bottom: 30.28vh;
  right: 0;
  width: auto;
  max-width: 100%;
  height: calc(100% - 30.28vh);
  object-fit: contain;
  object-position: right bottom;
  filter: contrast(1.3);
  pointer-events: none;
}

.community__copy {
  position: absolute;
  z-index: 3;
  top: 21.67vh;
  left: 13.854vw;
}

.community__copy p {
  margin: 0 0 1.85vh;
  font-family: var(--title-font);
  font-size: 3.125vw;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.community__copy h2 {
  margin: 0;
  color: var(--rave-cyan);
  font-family: var(--title-font);
  font-size: 5.73vw;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.community__action {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  left: 0;
  top: auto;
  margin-top: 7vh;
  width: 18.8vw;
  aspect-ratio: 361 / 78;
  font-size: 1.67vw;
  letter-spacing: 0.09em;
}

.site-footer {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 30.28vh;
  background: var(--rave-footer);
}

.site-footer__inner {
  width: min(1404px, 73.125vw);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2vh;
}

.site-footer__brand { width: 11vw; flex: 0 0 auto; }

.site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__nav {
  width: 43vw;
  flex: 0 0 43vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5vw;
}

.site-footer__nav a {
  font-family: var(--body-font);
  font-size: 0.854vw;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.social-links--footer {
  width: 7.66vw;
  flex: 0 0 7.66vw;
  justify-content: space-between;
  gap: 0;
}

.social-links--footer a {
  width: auto;
  min-width: 0;
}

.action-notice {
  position: fixed;
  z-index: 20;
  right: 2rem;
  bottom: 1.5rem;
  max-width: min(30rem, calc(100vw - 4rem));
  margin: 0;
  padding: 0.85rem 1.15rem;
  color: var(--rave-light);
  background: var(--rave-footer);
  border: 1px solid var(--rave-teal);
  font: 500 0.875rem/1.4 var(--body-font);
}

.action-notice[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-motion: reduce) {
  .player-link:hover .button-hover-rays,
.hero__action:hover .button-hover-rays,
.community__action:hover .button-hover-rays {
    animation: none;
    opacity: 0;
  }
}

/* Ícones de redes sociais fornecidos no projeto. */
.social-icon { background: none; color: var(--rave-light); transition: color 160ms ease, transform 160ms ease; }
.social-icon svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.social-links a:hover .social-icon, .social-links a:focus-visible .social-icon { color: var(--rave-cyan); transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .social-icon { transition: none; } }

.news__centered { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3vh; }
.news__centered h2 { margin: 0; color: var(--rave-black); font: 400 4vw/1.1 var(--title-font); text-transform: uppercase; }
.news__banner-wrap { position: relative; display: flex; align-items: center; justify-content: center; width: min(82vw, 1410px); }
.news__centered .news__feature-art { top: auto; margin: 0; width: min(76.8vw, 1320px, 120vh); height: auto; aspect-ratio: 859.38 / 360.12; }
.news__banner-wrap .news__arrow { top: 50%; transform: translateY(-50%); }
.news__banner-wrap .news__arrow--left { left: 8%; }
.news__banner-wrap .news__arrow--right { right: 8%; }
.news__more { position: relative; width: 14.844vw; aspect-ratio: 285 / 62; font-size: 1.25vw; letter-spacing: 0.09em; }

.news__centered .news__feature-image { transition: transform 220ms ease; }
.news__centered .news__feature-art:hover .news__feature-image,
.news__centered .news__feature-art:focus-visible .news__feature-image { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .news__centered .news__feature-image { transition: none; } }

.news__feature-image-clip { position: absolute; inset: 0; display: block; overflow: hidden; }

.news__dots { position: absolute; z-index: 3; left: 50%; bottom: 8%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 0.55rem; }
.news__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #777; cursor: pointer; transition: background-color 160ms ease, transform 160ms ease; }
.news__dots button:hover, .news__dots button:focus-visible { transform: scale(1.2); }
.news__dots button.is-active { background: var(--rave-cyan); }

.news__feature-art--discord .news__feature-image-clip { background: #010101; }
.news__feature-art--discord .news__feature-image { object-fit: contain; }

.information__panel-caption { position: absolute; z-index: 2; inset: auto 0 0; display: flex; align-items: flex-end; justify-content: center; min-height: 38%; padding: 0 8% 19%; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.9), transparent); font: 400 clamp(14.4px, 1.305vw, 25.2px)/1.1 var(--title-font); text-align: center; opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.information__panel--five:hover .information__panel-caption, .information__panel--four:hover .information__panel-caption, .information__panel--three:hover .information__panel-caption, .information__panel--two:hover .information__panel-caption, .information__panel--one:hover .information__panel-caption { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .information__panel-caption { transition: none; } }

.information__panel-caption { flex-direction: column; align-items: center; justify-content: flex-end; }
.information__panel-caption-subtitle { display: block; margin-top: 0.35em; font: 400 clamp(9px, 0.65vw, 12px)/1.3 var(--body-font); }

.information__panel-caption-title, .information__panel-caption-subtitle { position: relative; left: -6%; }

.information__panel--four .information__panel-caption-title, .information__panel--four .information__panel-caption-subtitle { left: 11%; }

.information__panel--three .information__panel-caption-title, .information__panel--three .information__panel-caption-subtitle { left: -2%; top: -0.5em; }

.information__panel--three .information__panel-caption-subtitle { margin-top: 0; top: -0.7em; }

.information__panel--two .information__panel-caption-title, .information__panel--two .information__panel-caption-subtitle { left: 5%; top: -20%; }

/* Alinha as legendas verticalmente à posição do quinto painel. */
.information__panel { --caption-reference: calc(29.537vh + max(23.11390vw, 41.09138vh + clamp(0px, 192px - 10vw, 60px)) - 14.792vw * 0.19); }
.information__panel--one { --caption-current: calc(27.315vh + max(24.46891vw, 43.50028vh + clamp(0px, 192px - 10vw, 60px)) - 14.48vw * 0.19); }
.information__panel--two { --caption-current: calc(27.13vh + max(24.51521vw, 43.58260vh + clamp(0px, 192px - 10vw, 60px)) - 15.3125vw * 0.19); }
.information__panel--three { --caption-current: calc(29.074vh + max(24.18786vw, 43.00064vh + clamp(0px, 192px - 10vw, 60px)) - 15.156vw * 0.19); }
.information__panel--four { --caption-current: calc(29.537vh + max(23.00501vw, 40.89779vh + clamp(0px, 192px - 10vw, 60px)) - 15.3125vw * 0.19); }
.information__panel--five { --caption-current: var(--caption-reference); }
.information__panel .information__panel-caption-title, .information__panel .information__panel-caption-subtitle { top: calc(var(--caption-reference) - var(--caption-current)); }
.information__panel--three .information__panel-caption-subtitle { margin-top: 0.35em; }

.information__panel--four .information__panel-caption-title, .information__panel--four .information__panel-caption-subtitle { top: calc(var(--caption-reference) - var(--caption-current) - 5%); }

.information__panel--three .information__panel-caption-title, .information__panel--three .information__panel-caption-subtitle { top: calc(var(--caption-reference) - var(--caption-current) - max(0.2418786vw, 0.4300064vh + clamp(0px, 1.92px - 0.1vw, 0.6px))); }
