/* =============================
   RESET BÁSICO E FONTES
   ============================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #0F0F1A; /* fundo quase preto */
  color: #E0E0E0;            /* texto claro */
  line-height: 1.6;
}

/* LINKS */
a {
  text-decoration: none;
  color: inherit;
}

/* BOTÕES GERAIS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* BOTÃO VERMELHO NÉBULA (PRIMÁRIO) */
.btn-nebula-primary {
  background-color: #E63946; /* vermelho vivo */
  color: #FFFFFF;
  border: none;
}
.btn-nebula-primary:hover {
  background-color: #C02939; /* vermelho mais escuro */
}

/* BOTÃO CONTOUR (SECUNDÁRIO) */
.btn-nebula-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn-nebula-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* CONTAINER CENTRAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ÍCONES COMUNS */
.icon {
  font-size: 1.5rem;
  color: #E63946; /* ícones em vermelho */
}

/* =======================
   NAVBAR (CABEÇALHO)
   ======================= */
.nebula-navbar {
  background-color: #1A0A0D; /* cor original do cabeçalho */
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nebula-navbar .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1rem;
}

.nav-container {
  display: flex;
  align-items: center;
}

.logo,
.nav-links,
.dropdown-lang {
  display: flex;
  align-items: center;
}

.logo {
  margin-right: 2rem;
}
.logo img {
  height: 32px;
  width: 32px;
}
.logo span {
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
}

.nav-links {
  gap: 1.5rem;
}
.nav-links a {
  font-size: 0.95rem;
  color: #FFFFFF;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: #0F0F1A;
}

.dropdown-lang {
  position: relative;
  margin-left: 1rem;
}
.lang-btn-pill {
  background-color: transparent;
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.lang-btn-pill:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.lang-btn-pill i {
  font-size: 1.3rem;
  transition: transform 0.2s ease;
}
.lang-btn-pill.active i {
  transform: rotate(180deg);
}

.lang-menu-pill {
  position: absolute;
  top: 120%;
  right: 0;
  background-color: #1A0A0D;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  list-style: none;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 10;
  min-width: 140px;
}
.lang-menu-pill.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu-pill li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  color: #CCCCCC;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.lang-menu-pill li a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}

.btn-nebula-primary.nav-download {
  background-color: #E63946;
  color: #FFFFFF;
  padding: 0.65rem 1.2rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
  margin-left: auto;
}
.btn-nebula-primary.nav-download:hover {
  background-color: #C02939;
}

/* =======================
   HERO (FUNDO ESCURO + 3D)
   ======================= */
.nebula-hero {
  background-color: #1A0A0D;
  padding: 4rem 0 6rem;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.hero-label {
  width: 100%;
  font-size: 0.95rem;
  color: #E63946;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.hero-label i {
  font-size: 1rem;
}

.hero-text {
  flex: 1 1 350px;
}
.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 1rem;
}
.highlight-nebula {
  color: #E63946;
}
.hero-subtitle {
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 1.5rem;
  max-width: 520px;
  line-height: 1.5;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.hero-players {
  font-size: 0.9rem;
  color: #BBBBBB;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-players i {
  color: #E63946;
  font-size: 1rem;
}

.hero-image {
  flex: 1 1 350px;
  text-align: center;
  perspective: 900px;
}
.hero-image img {
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(0deg);
  transition: transform 0.3s ease;
}
.hero-image img:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
}

/* =======================
   RECURSOS (ESC URO + VERMELHO)
   ======================= */
.nebula-features {
  background-color: #1A0E11;
  padding: 4rem 0;
}
.nebula-features .section-title {
  text-align: center;
  font-size: 2rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.nebula-features .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 2rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-card {
  background-color: #12090C;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: left;
}
.feature-card .icon {
  margin-bottom: 1rem;
  color: #E63946;
}
.feature-card h3 {
  font-size: 1.25rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}
.feature-card p {
  color: #CCCCCC;
  font-size: 0.95rem;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================
   GAMEPLAY (ESC URO + VERMELHO + 3D)
   ======================= */
.nebula-gameplay {
  background-color: #12090C;
  padding: 4rem 0;
}

.nebula-gameplay .gameplay-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  /* FOTO À ESQUERDA, TEXTO À DIREITA */
  flex-direction: row;
}

/* 3D PARA GAMEPLAY IMAGE */
.nebula-gameplay .gameplay-image {
  flex: 1 1 300px;
  perspective: 900px;
}

.nebula-gameplay .gameplay-image img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transform: rotateY(15deg) rotateX(0deg);
  transition: transform 0.3s ease;
}

.nebula-gameplay .gameplay-image img:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.nebula-gameplay .gameplay-text {
  flex: 1 1 300px;
}
.nebula-gameplay .gameplay-text .section-title {
  font-size: 2rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.nebula-gameplay .gameplay-text .section-subtitle {
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 1.5rem;
}
.nebula-gameplay .gameplay-features {
  list-style: none;
}
.nebula-gameplay .gameplay-features li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.nebula-gameplay .gameplay-features li h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}
.nebula-gameplay .gameplay-features li p {
  color: #CCCCCC;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .nebula-gameplay .gameplay-container {
    flex-direction: column;
  }
}

/* =======================
   INFORMAÇÕES (ESC URO + VERMELHO)
   ======================= */
.nebula-info {
  background-color: #1A0E11;
  padding: 4rem 0;
}
.information-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.info-text {
  flex: 1 1 350px;
}
.info-text .section-title {
  font-size: 2rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.info-text .section-subtitle {
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 1rem;
}
.info-text p {
  color: #DDDDDD;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.info-image {
  flex: 1 1 350px;
  perspective: 900px;
}
.info-image img.img-3d {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.3s ease;
}
.info-image img.img-3d:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

@media (max-width: 768px) {
  .information-container {
    flex-direction: column;
  }
}

/* =======================
   FAQ (ESC URO + VERMELHO)
   ======================= */
.nebula-faq {
  background-color: #12090C;
  padding: 4rem 0;
}
.nebula-faq .section-title {
  text-align: center;
  font-size: 2rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.nebula-faq .section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 2rem;
}
.accordion {
  max-width: 800px;
  margin: 0 auto;
}
.accordion-item {
  background-color: #1A0E11;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.accordion-header {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}
.accordion-header i {
  transition: transform 0.3s ease;
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-body p {
  padding: 1rem 0;
  color: #CCCCCC;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =======================
   DOWNLOAD CTA (ESC URO + VERMELHO)
   ======================= */
.nebula-download {
  background-color: #1A0E11;
  padding: 4rem 0;
  text-align: center;
}
.nebula-download .section-title {
  font-size: 2rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.nebula-download .section-subtitle {
  font-size: 1rem;
  color: #CCCCCC;
  margin-bottom: 1.5rem;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  position: relative;
}

/* =======================
   FOOTER (ESC URO + VERMELHO)
   ======================= */
.nebula-footer {
  background-color: #12090C;
  color: #CCCCCC;
  padding: 3rem 0 1rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.footer-about {
  flex: 1 1 250px;
}
.footer-about h3 {
  font-size: 1.5rem;
  color: #E63946;
  margin-bottom: 0.75rem;
}
.footer-about p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.social-icons a {
  margin-right: 0.75rem;
  color: #CCCCCC;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}
.social-icons a:hover {
  color: #E63946;
}
.footer-links {
  flex: 2 1 450px;
  display: flex;
  justify-content: space-between;
}
.footer-links div h4 {
  font-size: 1.1rem;
  color: #E63946;
  margin-bottom: 0.5rem;
}
.footer-links div ul {
  list-style: none;
}
.footer-links div ul li {
  margin-bottom: 0.5rem;
}
.footer-links div ul li a {
  font-size: 0.95rem;
  color: #CCCCCC;
  transition: color 0.2s ease;
}
.footer-links div ul li a:hover {
  color: #E63946;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #777777;
  line-height: 1.4;
}

/* RESPONSIVIDADE GERAL */
@media (max-width: 1024px) {
  .nav-links a {
    margin-left: 1rem;
  }
}
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }
  .nebula-gameplay .gameplay-container,
  .information-container {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .nav-links {
    display: none; /* possível menu mobile */
  }
}
