/**
 * SuperNetos - Estilos da Página Inicial
 * Estilos específicos para a tela inicial do jogo
 */

/* === CABEÇALHO === */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.header-right ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.header-right ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.header-right ul li a:hover,
.header-right ul li a.active {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* === PÁGINA INICIAL === */
#box.game-container {
  background: url("../recursos/imagens/interface/start_background.jpeg")
    no-repeat center/cover;
}

#content {
  flex-grow: 1;
  overflow-y: hidden;
  box-sizing: border-box;
  color: var(--text-light);
  position: relative;
}

/* === LAYOUT DA PÁGINA INICIAL === */
#inicio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  margin: 0;
  box-sizing: border-box;
  text-align: center;
  position: relative;
}

/* === LOGOS DAS INSTITUIÇÕES === */
.institution-logos {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column; /* coloca uma abaixo da outra */
  gap: 0.5rem; /* espaço vertical entre as logos */
  z-index: 100;
}

.institution-logo {
  width: 12em; /* define tamanho pequeno */
  border-radius: 8px;
  border: 0px solid transparent;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institution-logo:hover {
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* === CONTAINER DA LOGO === */
.home-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  margin-bottom: 2vh;
}

.home-placa-supernetos {
  display: block;
  max-width: 35vw;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* === BOTÃO INICIAR === */
.start-button-link {
  display: inline-block;
  transition: transform 0.3s ease;
  width: 25%;
  min-width: 200px;
  max-width: 300px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.start-button-link:hover {
  transform: scale(1.07);
}

.start-button-link:active {
  transform: scale(0.95);
}

.start-button-link img {
  border: none;
  display: block;
  width: 100%;
  height: auto;
}

/* === RESPONSIVIDADE === */
@media (max-width: 600px) {
  .home-placa-supernetos {
    max-width: 90vw;
  }

  .start-button-link {
    width: 60%;
  }

  .institution-logos {
    top: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .institution-logo {
    width: 45px;
    height: 45px;
  }
}

/* === SEÇÕES DE CONTEÚDO (CARDS) === */
.card {
  background: rgba(221, 181, 255, 0.4);
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  margin: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 800px;
  margin: 2rem auto;
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  box-sizing: border-box;
}

.card h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  text-align: center;
}

.card p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card ol,
.card ul {
  line-height: 1.8;
}

.card li {
  margin-bottom: 0.8rem;
}

/* Estilização do scrollbar dentro dos cards */
.card::-webkit-scrollbar {
  width: 8px;
}

.card::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.card::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* === BOTÃO FULLSCREEN === */
.fullscreen-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fullscreen-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.fullscreen-button:active {
  transform: scale(0.95);
}

.fullscreen-button .material-symbols-rounded {
  font-size: 24px;
}

/* === BOTÃO FULLSCREEN === */
.fullscreen-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.fullscreen-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.fullscreen-button:active {
  transform: scale(0.95);
}

.fullscreen-button .material-symbols-rounded {
  font-size: 24px;
}
