/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estrutura base */
html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Fundo global */
body {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
/* Overlay fixo para cobrir toda a tela */


/* Conteúdo principal acima do overlay */
.page-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}
  .main-content {
    animation: fadeIn 1.5s ease;
  }

  .main-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 0 20px #000;
    margin-bottom: 2rem;
  }

  /* Botão */
  .play-button {
    display: inline-block;
    padding: 18px 55px;
    background: linear-gradient(90deg, #ad48ff, #8e16ff);
    color: #fff;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 0 25px rgba(153, 0, 255, 0.4);
    transition: all 0.3s ease;
  }

  .play-button span {
    text-transform: none !important;
    display: inline-block;
  }

  .play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(140, 0, 255, 0.8);
  }

  footer {
    position: absolute;
    bottom: 20px;
    text-align: center;
    width: 100%;
    color: #ccc;
    font-size: 0.9rem;
    z-index: 2;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @media (max-width: 768px) {
    .main-content h1 {
      font-size: 2.2rem;
    }
    .play-button {
      padding: 14px 35px;
      font-size: 1.1rem;
    }
  }
  /* ===== Ajustes automáticos por página ===== */

/* ===== Página INDEX (centralizada, sem scroll) ===== */
body.index {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
  padding-top: 0;
}

/* ===== Outras páginas (scroll ativado) ===== */
/* ===== Comportamento padrão (todas as páginas com scroll) ===== */
body {
  display: block;
  overflow-y: auto;
  height: auto;
  min-height: 100vh;
  padding-top: 100px; /* ajusta abaixo do menu */
}

/* ===== Apenas a página inicial (index) centralizada sem scroll ===== */
body.index {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: 100vh;
  padding-top: 0;
}
