/**
 * MU GG × Vortex — identidade fusion (relançamento)
 * Camada visual sobre style.css — não remove estilos legados.
 */
:root {
  --fx-gg-1: #e879f9;
  --fx-gg-2: #7c3aed;
  --fx-gg-3: #2d1b4e;
  --fx-vx-1: #4effeb;
  --fx-vx-2: #22d3ee;
  --fx-vx-3: #9fe15d;
  --fx-void: #05030f;
  --fx-glow: rgba(231, 121, 249, 0.35);
}

html.fusion-site {
  scroll-behavior: smooth;
}

html.fusion-site body {
  position: relative;
  cursor: url("../images/cursor/Cursor.png") 15 15, auto;
}

html.fusion-site a,
html.fusion-site button,
html.fusion-site .button,
html.fusion-site .fusion-hero__btn,
html.fusion-site .open_modal,
html.fusion-site input[type="submit"],
html.fusion-site select {
  cursor: url("../images/cursor/CursorGet.png"), auto;
}

/* Bruma animada — mistura as duas “almas” do layout */
html.fusion-site body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(126, 34, 206, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 45% at 85% 0%, rgba(34, 211, 238, 0.22), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(159, 225, 93, 0.08), transparent 45%);
  animation: fx-mist 18s ease-in-out infinite alternate;
}

@keyframes fx-mist {
  0% { opacity: 0.65; filter: hue-rotate(-6deg); }
  100% { opacity: 1; filter: hue-rotate(8deg); }
}

html.fusion-site section,
html.fusion-site .footer {
  position: relative;
  z-index: 1;
}

/* Header acima das sections no scroll (menu fixo fica dentro do header) */
html.fusion-site .header {
  position: relative;
  z-index: 100;
}

/* Menu superior: só ao rolar — pill translúcida no canto superior direito (não empurra layout) */
html.fusion-site .topPanel.js-topPanelFloat {
  position: fixed;
  top: 14px;
  right: 14px;
  left: auto;
  bottom: auto;
  width: auto !important;
  max-width: min(720px, calc(100vw - 28px));
  margin: 0;
  padding: 0;
  background: rgba(15, 12, 37, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  /* Acima do hero (.header__fusionGrid z-index 2) e do restante do header */
  z-index: 1000;
  transform: translate3d(0, -160%, 0);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0.35s;
}

html.fusion-site .topPanel.js-topPanelFloat.topPanel--visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

html.fusion-site .topPanel.js-topPanelFloat .topPanel__inner--float {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 0;
  padding: 8px 12px 8px 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px 12px;
}

html.fusion-site .topPanel.js-topPanelFloat .logo-brand-img {
  max-height: 44px;
  max-width: 130px;
}

html.fusion-site .topPanel.js-topPanelFloat .topPanel__menu {
  margin-left: 0;
}

html.fusion-site .topPanel.js-topPanelFloat .topPanel__menu li a {
  height: 48px;
  padding: 0 14px;
  font-size: 12px;
}

html.fusion-site .topPanel.js-topPanelFloat .topPanel__menu li a:after {
  bottom: 8px;
}

html.fusion-site .topPanel.js-topPanelFloat .topPanel__buttons a {
  margin-left: 8px;
  padding: 10px 18px;
  font-size: 11px;
}

/* BGM: compacto no topo esquerdo — sem backdrop-filter (evita glitch de GPU) */
html.fusion-site .bgm-controls--fixed {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 105;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 168px;
  padding: 5px 8px 5px 5px;
  border-radius: 12px;
  background: rgba(12, 10, 28, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

html.fusion-site .bgm-controls--fixed .bgm-mute-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 9px;
  background: rgba(126, 34, 206, 0);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: inherit;
  transition: background 0.2s ease, transform 0.15s ease;
}

html.fusion-site .bgm-controls--fixed .bgm-mute-btn:hover {
  background: rgba(126, 34, 206, 0.6);
}

html.fusion-site .bgm-controls--fixed .bgm-mute-btn:active {
  transform: scale(0.96);
}

/* Largura fixa: range não herda 100% / não estica o flex */
html.fusion-site .bgm-controls--fixed .bgm-vol {
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 28px;
  margin: 0;
  padding: 0;
  accent-color: var(--fx-gg-1);
  cursor: inherit;
  vertical-align: middle;
}

/* ——— Faixa fusion no header (home) ——— */
body.home .header {
  min-height: 820px;
  height: auto;
}

body.home .header .container--homeHero {
  margin-bottom: 100px;
  padding-top: 130px;
  position: relative;
  overflow: visible;
}

body.home .header__statusBlock {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Queda + amortecimento (pedra batendo no chão) — só home */
@keyframes fx-stone-land {
  0% {
    opacity: 0;
    transform: translate3d(0, -115vh, 0);
  }
  42% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  52% {
    transform: translate3d(0, -30px, 0);
  }
  66% {
    transform: translate3d(0, 0, 0);
  }
  74% {
    transform: translate3d(0, -14px, 0);
  }
  82% {
    transform: translate3d(0, 0, 0);
  }
  88% {
    transform: translate3d(0, -7px, 0);
  }
  93% {
    transform: translate3d(0, 0, 0);
  }
  96% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.header__fusionStrip {
  position: relative;
  padding: 28px 20px 32px;
  overflow: visible;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 24px 80px rgba(0, 0, 0, 0.45);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

body.home .header__fusionStrip {
  animation: fx-stone-land 1.65s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  will-change: transform, opacity;
}

body.home .header__fusionStrip.fx-stone-done {
  will-change: auto;
}

.header__fusionBackdrop {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  overflow: hidden;
  pointer-events: none;
}

.fusion-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(45, 27, 78, 0.92) 0%, rgba(5, 3, 15, 0.96) 42%, rgba(8, 40, 45, 0.9) 100%);
  z-index: 0;
}

.fusion-hero__mesh::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(78, 255, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231, 121, 249, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 88% 72% at 50% 38%, black 28%, transparent 78%);
  opacity: 0.85;
  animation: fx-grid-drift 24s linear infinite;
}

@keyframes fx-grid-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-48px, -48px); }
}

.fusion-hero__bolt {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 130%;
  height: 320px;
  transform: translate(-50%, -50%) rotate(-8deg);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(231, 121, 249, 0.12) 45%,
    rgba(78, 255, 235, 0.18) 55%,
    transparent 100%
  );
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
  animation: fx-bolt-pulse 5s ease-in-out infinite;
}

@keyframes fx-bolt-pulse {
  0%, 100% { opacity: 0.45; transform: translate(-50%, -50%) rotate(-8deg) scaleX(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) rotate(-8deg) scaleX(1.05); }
}

/* Duas sessões: história (esq.) | countdown + CTAs + logo (dir.) */
.header__fusionGrid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 0 40px;
  align-items: start;
}

.header__fusionSession {
  min-width: 0;
}

.header__fusionSession--copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.header__fusionSession--action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 4px 0 8px 12px;
}

.header__fusionSession--action .fx-countdown {
  width: 100%;
  max-width: 100%;
}

.header__fusionSession--action .fusion-hero__fine--ctaNote {
  text-align: center;
  margin-bottom: 0;
}

.header__fusionLogo--hero {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 4px;
  margin: 0 0 4px;
}

.header__fusionLogoLink {
  display: block;
  line-height: 0;
  filter: drop-shadow(0 16px 48px rgba(0, 0, 0, 0.55));
  transition: filter 0.25s ease, transform 0.25s ease;
}

.header__fusionLogoLink:hover {
  filter: drop-shadow(0 20px 56px rgba(231, 121, 249, 0.25));
  transform: scale(1.02);
}

.header__fusionLogo--hero img {
  width: auto;
  max-width: min(260px, 88vw);
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

.header__fusionSession--copy .fusion-hero__eyebrow {
  justify-content: center;
  width: 100%;
}

.header__fusionSession--copy .fusion-hero__title--brand {
  text-align: center;
}

.header__fusionSession--copy .fusion-hero__pills {
  justify-content: center;
}

.header__fusionSession--copy .fusion-hero__fine--foot {
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.fusion-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  box-sizing: border-box;
}

.fusion-hero__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fx-vx-1);
  box-shadow: 0 0 14px var(--fx-vx-1), 0 0 28px var(--fx-gg-1);
  animation: fx-dot 1.8s ease-in-out infinite;
}

@keyframes fx-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.fusion-hero__title--brand {
  display: block;
  margin: 0 0 18px;
  text-align: center;
}

.fusion-hero__title-main {
  display: block;
  font-family: "Orbitron", "Roboto", sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(125deg, #ffffff 0%, var(--fx-gg-1) 38%, var(--fx-gg-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(231, 121, 249, 0.35));
}

.fusion-hero__title-sub {
  display: block;
  margin-top: 12px;
  font-family: "Orbitron", "Roboto", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.8vw, 28px);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.fusion-hero__title-meta {
  display: block;
  margin-top: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(78, 255, 235, 0.82);
}

.fusion-hero__tagline {
  font-family: "Roboto", sans-serif;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.65;
  color: rgba(236, 211, 254, 0.88);
  max-width: 52ch;
  margin: 0 auto 20px;
}

/* Countdown Open Beta */
.fx-countdown {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fx-countdown__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(78, 255, 235, 0.9);
  margin-bottom: 16px;
  font-family: "Orbitron", "Roboto", sans-serif;
  font-weight: 700;
  text-align: center;
}

.fx-countdown__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  justify-content: center;
  align-items: stretch;
}

.fx-countdown__unit {
  flex: 0 0 108px;
  width: 108px;
  min-width: 108px;
  max-width: 108px;
  padding: 16px 8px 18px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(231, 121, 249, 0.28);
  box-shadow: inset 0 0 28px rgba(124, 58, 237, 0.18);
  text-align: center;
}

.fx-countdown__num {
  display: block;
  font-family: "Orbitron", "Roboto", sans-serif;
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 24px rgba(231, 121, 249, 0.55);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  min-height: 1.15em;
}

.fx-countdown__cap {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.fx-countdown__live {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--fx-vx-1);
  text-shadow: 0 0 18px rgba(78, 255, 235, 0.5);
  letter-spacing: 0.06em;
  text-align: center;
}

.fusion-hero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.fusion-hero__pill {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
}

.fusion-hero__pill--gg {
  border-color: rgba(231, 121, 249, 0.35);
  box-shadow: 0 0 20px rgba(231, 121, 249, 0.12);
}

.fusion-hero__pill--vx {
  border-color: rgba(78, 255, 235, 0.35);
  box-shadow: 0 0 20px rgba(78, 255, 235, 0.1);
}

.fusion-hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 18px;
  margin-top: 0;
  margin-bottom: 4px;
}

.fusion-hero__btn {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fusion-hero__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.fusion-hero__btn:hover {
  transform: translateY(-2px);
}

.fusion-hero__btn--gg {
  color: #fff;
  background: linear-gradient(145deg, #7c3aed, #4c1d95);
  border: 1px solid rgba(231, 121, 249, 0.5);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.35);
}

.fusion-hero__btn--gg::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.fusion-hero__btn--gg:hover::before {
  opacity: 1;
}

.fusion-hero__btn--vx {
  color: #041016;
  background: linear-gradient(145deg, var(--fx-vx-1), var(--fx-vx-2));
  border: 1px solid rgba(159, 225, 93, 0.45);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.28);
}

.fusion-hero__btn--vx:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.fusion-hero__fine {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.08em;
}

.fusion-hero__fine strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.fusion-hero__fine--ctaNote {
  margin-top: -4px;
  margin-bottom: 12px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  color: rgba(236, 211, 254, 0.65);
  max-width: 32ch;
  text-align: center;
}

.fusion-hero__fine--foot {
  margin-top: 18px;
}

/* Scanline sutil — “arte sinistra” */
.fusion-hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.13) 2px,
    rgba(0, 0, 0, 0.13) 3px
  );
  opacity: 0.35;
  mix-blend-mode: overlay;
}

/* Seções internas — títulos com gradiente opcional */
html.fusion-site .gallery > .container > h2 > span {
  background: linear-gradient(90deg, var(--fx-gg-1), var(--fx-vx-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 1100px) {
  .header__fusionGrid {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }

  .header__fusionSession--copy {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 28px;
    text-align: center;
  }

  .header__fusionSession--copy .fusion-hero__eyebrow {
    justify-content: center;
    width: 100%;
  }

  .header__fusionSession--copy .fusion-hero__title--brand,
  .header__fusionSession--copy .fusion-hero__fine--foot {
    text-align: center;
  }

  .header__fusionSession--copy .fusion-hero__pills {
    justify-content: center;
  }

  .header__fusionSession--copy .fusion-hero__tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .header__fusionSession--action {
    padding-left: 0;
  }

  .fusion-hero__pills,
  .fusion-hero__cta {
    justify-content: center;
  }

  .fx-countdown__grid {
    justify-content: center;
  }

  .header__fusionLogo--hero img {
    max-width: min(240px, 72vw);
  }
}

@media (max-width: 900px) {
  .fusion-hero__eyebrow {
    letter-spacing: 0.2em;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .header__fusionStrip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
  }

  html.fusion-site .topPanel.js-topPanelFloat {
    transition: none;
  }
}

@media (max-width: 560px) {
  html.fusion-site .bgm-controls--fixed {
    top: 8px;
    left: 8px;
    max-width: 156px;
    padding: 4px 6px 4px 4px;
  }

  html.fusion-site .bgm-controls--fixed .bgm-vol {
    flex-basis: 64px;
    width: 64px;
    min-width: 64px;
    max-width: 64px;
  }

  .fx-countdown__unit {
    flex: 0 0 86px;
    width: 86px;
    min-width: 86px;
    max-width: 86px;
    padding: 12px 6px 14px;
  }

  .fx-countdown__num {
    font-size: clamp(22px, 6vw, 32px);
  }

  html.fusion-site .topPanel.js-topPanelFloat {
    right: 8px;
    top: 8px;
    max-width: calc(100vw - 16px);
  }

  html.fusion-site .topPanel.js-topPanelFloat .topPanel__menu li a {
    padding: 0 8px;
    font-size: 11px;
  }

  html.fusion-site .topPanel.js-topPanelFloat .topPanel__buttons a {
    padding: 8px 12px;
    font-size: 10px;
  }
}
