/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #0a0a0f;
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  z-index: 1000;
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: #0d0d18;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff2d55;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar ul li a:hover {
  color: #ff2d55;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(
      180deg,
      rgba(10, 10, 15, 0.8),
      rgba(10, 10, 20, 0.95)
    ),
    url("assets/hero-bg.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  color: #ff2d55;
  text-shadow: 0 0 10px #ff2d55;
}

.hero p {
  font-size: 1.3rem;
  margin-top: 1rem;
  color: #fff;
}

.buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn {
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.btn.play {
  background: #ff2d55;
}

.btn.trailer {
  border: 2px solid #ff2d55;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ff2d55;
}

/* CONTAINER PADRÃO */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  color: #ff2d55;
  margin-bottom: 1rem;
  text-shadow: 0 0 8px #ff2d55;
}

/* GAMEPLAY */
.gameplay p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.video-container iframe {
  width: 100%;
  max-width: 700px;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.5);
}

/* PERSONAGENS */
.personagens {
  background: linear-gradient(180deg, #0a0a0f, #111122);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #151525;
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(255, 45, 85, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 45, 85, 0.5);
}

.card img {
  width: 100%;
  border-radius: 12px;
}

.card h3 {
  color: #ff2d55;
  margin-top: 1rem;
}

.card p {
  color: #ddd;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* DESTAQUES */
.destaques {
  background: #0a0a0f;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background: #151525;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(255, 45, 85, 0.2);
  transition: 0.3s;
}

.feature:hover {
  box-shadow: 0 0 25px rgba(255, 45, 85, 0.4);
}

.feature h3 {
  color: #ff2d55;
  margin-top: 0.5rem;
}

.feature p {
  color: #ccc;
  margin-top: 0.3rem;
}

/* CONTATO */
.contato {
  background: linear-gradient(180deg, #111122, #0a0a0f);
}

.contato p {
  color: #ccc;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.contato a.btn {
  display: inline-block;
  margin-top: 1.5rem;
}

/* RODAPÉ */
.footer {
  background: #0a0a0f;
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
  color: #888;
  margin: 0.4rem 0;
  font-size: 0.9rem;
}

.footer a {
  color: #ff2d55;
  text-decoration: none;
  transition: 0.3s;
}

.footer a:hover {
  text-decoration: underline;
}

/* PÁGINA DE ATUALIZAÇÕES */
.updates-page {
  padding-top: 7rem;
  background: #0a0a0f;
  min-height: 100vh;
  text-align: center;
}

.updates-page h1 {
  color: #ff2d55;
  text-shadow: 0 0 8px #ff2d55;
  margin-bottom: 1rem;
}

.updates-page p {
  color: #ccc;
}

.update {
  background: #151525;
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.2);
  text-align: left;
}

.update h3 {
  color: #ff2d55;
}

.update p small {
  color: #888;
}

/* POLÍTICA DE PRIVACIDADE */
.privacidade {
  background: #0a0a0f;
  padding-top: 8rem;
  min-height: 100vh;
  color: #ddd;
}

.privacidade h1 {
  color: #ff2d55;
  text-shadow: 0 0 8px #ff2d55;
  margin-bottom: 1rem;
}

.privacidade h2 {
  color: #ff2d55;
  margin-top: 2rem;
  margin-bottom: 0.6rem;
}

.privacidade p,
.privacidade li {
  line-height: 1.6;
  font-size: 1rem;
}

.privacidade ul {
  margin-left: 1.2rem;
  list-style: disc;
}

.privacidade a {
  color: #ff2d55;
  text-decoration: none;
}

.privacidade a:hover {
  text-decoration: underline;
}

/* ===== NAVBAR SCROLL ===== */
.navbar.scrolled {
  background: rgba(10, 10, 20, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(255, 45, 85, 0.3);
  transition: all 0.4s ease;
}

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO TITLE PULSE ===== */
.pulse {
  text-shadow: 0 0 15px #ff2d55, 0 0 25px #ff2d55;
  transition: text-shadow 0.6s ease-in-out;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #ff2d55;
  border: none;
  color: white;
  font-size: 20px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #ff2d55;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px #ff2d55;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .navbar ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
