/* ===== Reset / base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: #000; color: #fff; font-family: 'Segoe UI', Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 1.5rem; }

/* ===== Header ===== */
.site-header {
  position: relative; /* barra própria acima do vídeo — não sobrepõe nada */
  z-index: 100; /* mantém o menu (e o dropdown mobile) acima do vídeo e de todo o conteúdo */
  display: flex; align-items: center; justify-content: flex-end;
  padding: 14px 40px; background: #000;
}
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-size: 1rem; font-weight: 600; transition: color .2s; }
.main-nav a:hover { color: #ff8c1a; }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; }

/* ===== Floating social ===== */
.floating-social {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; z-index: 90;
}
.floating-social img { width: 44px; height: 44px; transition: transform .2s; }
.floating-social img:hover { transform: scale(1.12); }

/* ===== Hero ===== */
.hero { position: relative; height: auto; min-height: 0; overflow: hidden; background: #000; }
.hero-video {
  position: relative; inset: auto; /* NO FLUXO da página: empurra o conteúdo, não sobrepõe nada */
  display: block; width: 100%; height: auto; /* largura total, altura proporcional ao vídeo */
}

/* ===== Get it ===== */
.get-it {
  background: url('../assets/img/estadio-bg.jpg') center/cover no-repeat;
  padding: 60px 0 80px;
}
.get-it-top { display: flex; justify-content: center; }
.get-it-stage {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; margin-top: 50px;
}
.get-it-gameplay {
  display: block;
  zoom: 0.7; /* gameplay 30% menor; os demais elementos mantêm tamanho e distâncias */
}
.get-it-right {
  display: flex; flex-direction: column; align-items: center;
  gap: 54px; /* distancia vertical Godot -> caixa azul */
}
.get-it-badges { display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Botão Join Beta: 50% maior que o botão do Google Play, reduzido 30% no desktop (1.5 -> 1.05) */
.join-beta-link { display: inline-block; line-height: 0; }
.join-beta-link img { zoom: 1.05; }

/* Logo Godot: 50% menor que o tamanho atual */
.godot-badge { zoom: 0.5; }

.get-it-blue { position: relative; }
.blue-bg { display: block; }
.get-it-tagline {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 5% 8%;
  color: #fff; font-size: 1.6rem; line-height: 1.45; text-align: left;
  /* Ajuste fino da posição do texto na base-azul: mexa em "padding" (1º valor = vertical, 2º = horizontal) */
}

/* ===== About ===== */
.about {
  background: url('../assets/img/fundo-azul.jpg') center/cover no-repeat;
  padding: 90px 20px; color: #fff;
}
.about-inner { max-width: 900px; margin: 0 auto; }
.about-inner h2, .about-inner h3 { color: #fff; }
.about-inner h3 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.about-inner p { margin-bottom: 1.2rem; font-size: 1.6rem; line-height: 1.45; }
.features { list-style: none; }
.features li { margin-bottom: 1rem; font-size: 1.6rem; line-height: 1.45; }
.features li::before { content: "- "; }

/* ===== Media ===== */
.media { padding: 40px 20px 0; max-width: none; margin: 0; background: #000; }
.media h2 { text-align: center; margin: 0 0 40px; }
.video-wrapper {
  position: relative;
  width: 100%;            /* ocupa a largura toda do navegador */
  aspect-ratio: 16 / 9;   /* proporção fixa: nada corta em cima nem embaixo */
  height: auto;
  margin: 0 auto 40px;
  overflow: hidden;
  border-radius: 12px;
}
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.carousel-wrap { position: relative; margin-bottom: 40px; }
.carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
  padding: 10px 4px; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel img { height: 459px; width: auto; border-radius: 10px; cursor: zoom-in; flex-shrink: 0; transition: transform .2s; }
.carousel img:hover { transform: scale(1.02); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,140,26,.9); color: #fff; font-size: 2rem; line-height: 1;
}
.carousel-arrow.prev { left: -8px; }
.carousel-arrow.next { right: -8px; }

/* ===== Press Kit ===== */
.presskit { background: #000; padding: 40px 20px 90px; text-align: center; }
.presskit h2 { text-align: center; margin: 0 0 40px; }
.presskit-buttons { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.presskit-buttons img { transition: transform .2s; zoom: 0.7; }
.presskit-buttons img:hover { transform: scale(1.07); }

/* ===== Footer ===== */
.site-footer {
  background: #14356e; display: flex; align-items: center; justify-content: space-between;
  padding: 40px 60px; gap: 20px;
}
.footer-contact { font-size: 1rem; }
.footer-contact a { color: #ff8c1a; }

/* ===== Lightbox ===== */
.lightbox { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(0,0,0,.92); }
.lightbox.open { display: block; }
.lightbox-scroll { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; }
.lightbox-scroll img { margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lightbox-close {
  position: fixed; top: 16px; right: 24px; z-index: 210;
  background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .carousel img { height: 360px; }
  .get-it-tagline { font-size: 1.25rem; }
  .about-inner p, .features li { font-size: 1.25rem; }
}

@media (max-width: 768px) {
  .site-header { padding: 10px 18px; justify-content: space-between; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(0,0,0,.97); padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 24px; border-top: 1px solid #1c1c1c; }
  .floating-social { right: 10px; }
  .floating-social img { width: 36px; height: 36px; }
  .get-it { padding: 40px 16px 60px; }
  .get-it-stage { flex-direction: column; align-items: center; gap: 24px; margin-top: 30px; }
  .get-it-gameplay { zoom: 1; max-width: 100%; height: auto; order: 1; }
  .get-it-right { width: 100%; gap: 24px; order: -1; }
  .get-it-badges { flex-direction: column; align-items: center; gap: 10px; }
  .join-beta-link { display: block; width: 100%; }
  .join-beta-link img { width: 100%; height: auto; zoom: 1; }
  .godot-badge { zoom: 0.5; }
  .get-it-blue { width: 100%; }
  .blue-bg { width: 100%; height: auto; }
  .get-it-tagline { font-size: 1rem; padding: 8% 10%; }
  .about { padding: 60px 18px; }
  .about-inner p, .features li { font-size: 1rem; }
  .media { padding: 30px 0 60px; }
  .media h2 { font-size: 1.5rem; margin-bottom: 24px; }
  .carousel img { height: 300px; }
  .carousel-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
  .presskit { padding: 30px 16px 60px; }
  .presskit h2 { margin-bottom: 24px; }
  .presskit-buttons { gap: 20px; }
  .site-footer { flex-direction: column; text-align: center; padding: 40px 20px; }
}