* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #00d9ff;
  --color-secondary: #7b2cbf;
  --color-accent: #ff006e;
  --color-bg: #0a0e27;
  --color-bg-light: #151b3d;
  --color-text: #ffffff;
  --color-text-muted: #a0a8c5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Firefox */
* {
  scrollbar-width: thin; /* barra fina */
  scrollbar-color: #00d9ff #0a0e27; /* thumb e track */
}

/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 12px; /* largura da barra */
}

*::-webkit-scrollbar-track {
  background: #0a0e27; /* fundo da barra */
}

*::-webkit-scrollbar-thumb {
  background-color: #00d9ff; /* cor da barra de rolagem */
  border-radius: 6px; /* borda arredondada */
  border: 3px solid #0a0e27; /* cria espaçamento */
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #00bfff; /* efeito hover */
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 39, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--color-text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.footer-column a {
  display: block;
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav-menu a:hover::after {
  width: 100%;
}

.btn-play {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

/* Hero section completamente redesenhada - centralizada e minimalista */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -3px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary), var(--color-text));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(20deg);
  }
}

.hero-description {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Botão de download redesenhado - maior e mais destacado */
.btn-download {
  background: linear-gradient(135deg, var(--color-primary), var(--color-bg));
  color: var(--color-text);
  border: none;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-download:hover::before {
  left: 100%;
}

.btn-download:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.5);
}

.btn-download:active {
  transform: translateY(-2px) scale(1.02);
}

.btn-download svg {
  width: 28px;
  height: 28px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spaceship-container {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.spaceship {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 0 50px rgba(0, 217, 255, 0.5));
  position: relative;
  z-index: 2;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.3) 0%, transparent 70%);
  filter: blur(60px);
  animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.section-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-card {
  background: rgba(21, 27, 61, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 44, 191, 0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* Gameplay Section */
.gameplay {
  padding: 8rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(21, 27, 61, 0.3) 50%, transparent 100%);
}

.gameplay-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.gameplay-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.gameplay-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.gameplay-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gameplay-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
}

.gameplay-list svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.gameplay-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.gameplay-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gameplay-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(123, 44, 191, 0.1));
  pointer-events: none;
}

/* CTA Section */
.cta {
  padding: 8rem 0;
  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(123, 44, 191, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.cta-description {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-cta {
  background: rgba(21, 27, 61, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn-cta:hover {
  background: rgba(21, 27, 61, 1);
  border-color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.btn-cta svg {
  width: 40px;
  height: 40px;
}

.btn-cta-small {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: left;
}

.btn-cta-large {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: left;
}

/* Footer */
.footer {
  background: rgba(21, 27, 61, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Fundo animado de estrelas e asteroides */
#stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

/* Mantém o texto por cima */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Adiciona um leve brilho ao título */
.hero-title {
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* === NAVE SUBINDO COM FREADA ÚNICA E IMPULSO === */
.spaceship-fly {
  position: absolute;
  left: 50%;
  bottom: -200px; /* começa fora da tela */
  width: 180px;
  height: auto;
  opacity: 1;

  transform: translateX(-50%);
  animation: flyImpulse 5s ease-in-out infinite, spaceshipFloat 4s ease-in-out infinite;
  z-index: 0; /* atrás do conteúdo */
  pointer-events: none;
  border: none;
}

/* Movimento tipo "impulso com freada única" */
@keyframes flyImpulse {
  0% {
    bottom: -200px;
    transform: translateX(-50%) rotate(0deg);
  }
  40% {
    bottom: 50%;
    transform: translateX(-50%) rotate(-5deg); /* leve freada */
  }
  50% {
    bottom: 55%;
    transform: translateX(-50%) rotate(2deg); /* leve ré */
  }
  100% {
    bottom: 110%;
    transform: translateX(-50%) rotate(0deg); /* acelera e some */
  }
}

/* Flutuação sutil enquanto sobe */
@keyframes spaceshipFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

/* Conteúdo na frente */
.hero-content {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .nav-menu {
    display: none;
  }

  .btn-download {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .btn-download {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
    justify-content: center;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.125rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .btn-download {
    font-size: 1.125rem;
  }
}
