:root {
  --bg: #09020f;
  --bg-deep: #12031d;
  --bg-soft: #1a052b;
  --panel: rgba(24, 4, 40, 0.82);
  --panel-strong: rgba(33, 5, 56, 0.92);

  --text: #f7f2ff;
  --muted: #ccb9ef;
  --muted-2: #a88ed1;

  --line: rgba(150, 86, 255, 0.35);
  --line-strong: #9c63ff;
  --primary: #b56cff;
  --primary-2: #8e49eb;
  --primary-hover: #c486ff;

  --secondary: rgba(43, 13, 75, 0.7);
  --secondary-border: rgba(164, 107, 255, 0.35);

  --shadow-glow: 0 0 24px rgba(151, 86, 255, 0.16);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background-color: #05010a; /* Fundo base escuro */
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}


.video-backgrounds {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0; /* Fica no fundo absoluto da página */
  background-color: #070010;
  pointer-events: none; /* Impede clique na imagem */
}

.bg-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0; /* Invisível por padrão */
  transition: opacity 1s ease-in-out; /* Transição de Fade */
}

.bg-gif.active-bg {
  opacity: 1.0; 
}



/* topo */
.imgtitle {
  width: 150px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  background: rgba(8, 2, 14, 0.85);
  border-bottom: 1px solid rgba(140, 73, 235, 0.18);
  z-index: 30;
  backdrop-filter: blur(10px);
}

.topbar-inner {
  width: min(1400px, 92%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #f2eaff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  flex: 1;
  justify-content: flex-end;
}

.main-nav a {
  color: #d8c6f7;
  font-size: 14px;
  transition: 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #ffffff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.menu-btn {
  border: 1px solid var(--secondary-border);
  background: rgba(42, 10, 68, 0.6);
  color: #f4ecff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  display: none;
}

/* hero */
.hero {
  position: relative;
  z-index: 1; /* Acima dos GIFs */
  min-height: 100vh;
  padding: 130px 20px 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Fundo semitransparente para o GIF aparecer por trás do efeito neon */
  background:
    radial-gradient(circle at 50% 38%, rgba(185, 111, 255, 0.12), transparent 16%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.72)),
    linear-gradient(120deg, rgba(10, 1, 16, 0.8) 0%, rgba(18, 3, 31, 0.8) 28%, rgba(24, 4, 40, 0.8) 60%, rgba(10, 2, 20, 0.8) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.45),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.45)
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.12) 28%,
      rgba(0, 0, 0, 0.62)
    );
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
  border: 1px solid rgba(113, 53, 209, 0.2);
  background: rgba(14, 3, 27, 0.22);
  box-shadow: inset 0 0 60px rgba(117, 51, 224, 0.05);
}

.shape-1 {
  width: 260px;
  height: 360px;
  left: 14%;
  top: 20%;
  transform: skew(-8deg);
}

.shape-2 {
  width: 180px;
  height: 260px;
  left: 29%;
  top: 24%;
  transform: skew(6deg);
}

.shape-3 {
  width: 220px;
  height: 320px;
  right: 24%;
  top: 24%;
  transform: skew(-6deg);
}

.shape-4 {
  width: 280px;
  height: 390px;
  right: 10%;
  top: 18%;
  transform: skew(8deg);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  text-align: center;
}

.panel {
  display: none;
  padding: 34px 34px 28px;
  border-radius: 22px;
  
  background: linear-gradient(
    180deg,
    rgba(42, 5, 68, 0.2), 
    rgba(18, 3, 29, 0.3)
  );
  border: 1px solid rgba(151, 86, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.05),
    0 20px 60px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(6px);
}

.panel.active {
  display: block;
}

.icon-placeholder {
  width: 86px;
  height: 86px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow:
    0 0 30px rgba(181, 108, 255, 0.2),
    inset 0 2px 8px rgba(255, 255, 255, 0.12);
  position: relative;
}

.icon-placeholder::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 3px solid rgba(19, 3, 29, 0.8);
  border-radius: 50%;
}

.icon-placeholder.small {
  width: 74px;
  height: 74px;
}

.eyebrow {
  color: #d39bff;
  letter-spacing: 9px;
  font-size: 17px;
  margin-bottom: 8px;
}

.panel h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.panel h2 {
  font-size: clamp(1.25rem, 2.4vw, 2.3rem);
  line-height: 1.3;
  font-weight: 300;
  margin-bottom: 20px;
}

.description {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.cta.primary {
  color: #fff;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 18px rgba(181, 108, 255, 0.22);
}

.cta.primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--primary-hover), #9b59f0);
}

.cta.secondary {
  color: #f3eaff;
  background: rgba(43, 13, 75, 0.62);
  border-color: rgba(181, 108, 255, 0.26);
}

.cta.secondary:hover {
  transform: translateY(-1px);
  background: rgba(58, 17, 99, 0.8);
}

.platforms {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 14px;
}

.splash-wrap {
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.splash-image {
  width: min(400px, 100%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(181, 108, 255, 0.16));
}

.download-card,
.contact-box {
  width: min(760px, 100%);
  margin: 0 auto 28px;
  border-radius: 18px;
  border: 1px solid rgba(151, 86, 255, 0.25);
  background: linear-gradient(
    180deg,
    rgba(26, 5, 43, 0.85),
    rgba(14, 2, 29, 0.95)
  );
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.logo {
  width: 350px;
}

.download-item,
.contact-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(151, 86, 255, 0.14);
}

.download-item:last-child,
.contact-line:last-child {
  border-bottom: none;
}

.download-label,
.contact-line span {
  color: var(--muted-2);
}

.download-item strong,
.contact-line strong {
  color: #fff;
  text-align: right;
}

.slider-indicator {
  position: absolute;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  z-index: 2;
}

.slider-indicator span {
  display: block;
  width: 38px;
  height: 100%;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #7bb2ff, #b56cff);
}

/* responsivo */
@media (max-width: 920px) {
  .main-nav {
    gap: 20px;
  }

  .panel {
    padding: 26px 20px 22px;
  }

  .description {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 56px;
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 3, 22, 0.98);
    border: 1px solid rgba(151, 86, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid rgba(151, 86, 255, 0.12);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .main-nav a.active::after {
    display: none;
  }

  .hero {
    padding-top: 140px;
  }

  .shape-1,
  .shape-2,
  .shape-3,
  .shape-4 {
    opacity: 0.45;
  }

  .download-item,
  .contact-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-item strong,
  .contact-line strong {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    width: 94%;
  }

  .brand-text {
    font-size: 11px;
  }

  .panel h1 {
    font-size: 2.1rem;
  }

  .panel h2 {
    font-size: 1.1rem;
  }

  .cta {
    width: 100%;
  }

  .splash-wrap {
    margin-top: 28px;
  }
}