/* =================================================================== */
/* 1. ESTILOS GERAIS E RESET                                           */
/* =================================================================== */
:root {
  --swiper-navigation-color: #ffffff;
  --swiper-pagination-color: #ffffff;
  --sidebar-width: 260px;
  --header-height: 55px;

  /* Paleta de cores futurista */
  --primary-cyan: #016e92;
  --primary-blue: #0099ff;
  --electric-blue: #0066ff;
  --dark-navy: #0a0f1c;
  --darker-navy: #050a14;
  --medium-dark: #1a2332;
  --accent-purple: #6600ff;
  --neon-green: #00ff88;
  --warning-orange: #ff6600;

  /* Gradientes */
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-cyan),
    var(--primary-blue)
  );
  --gradient-dark: linear-gradient(
    135deg,
    var(--dark-navy),
    var(--darker-navy)
  );
  --gradient-glow: linear-gradient(
    90deg,
    transparent,
    var(--primary-cyan),
    transparent
  );

  /* Sombras e efeitos */
  --glow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);
  --glow-blue: 0 0 15px rgba(0, 153, 255, 0.4);
  --shadow-deep: 0 10px 30px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
}

*,
.game-info-content {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Poppins, sans-serif;
  background-color: #030c16;
  color: #eaeaea;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-x: contain;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none;
}

.fundo-titulo {
  width: 100%;
  background: linear-gradient(to right, #016e92, #012d3700);
  border-radius: 5px;
  padding: 3px 0px;
  margin-bottom: 20px;
  margin-top: 30px;
  box-sizing: border-box;

  /* ADICIONADO */
  position: relative;
  overflow: hidden;
}

.fundo-titulo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(
    --gradient-glow
  ); /* Certifique-se que esta variável está definida */
  animation: shimmer 10s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.fundo-titulo h2 {
  font-size: 20px;
  font-weight: 600;
  margin-left: 2%;
  margin-top: 0; /* Remove a margem de cima do h2 */
  margin-bottom: 0; /* Remove a margem de baixo do h2 */
}

/* =================================================================== */
/* 2. LAYOUT PRINCIPAL (SIDEBAR + CONTEÚDO)                            */
/* =================================================================== */

.sidebar {
  display: none; /* Escondido por padrão */
}

.sidebar-nav ul {
  list-style: none;
  padding: 0; /* Adicionado para remover padding padrão */
}

.sidebar-nav li a {
  display: block;
  padding: 15px 20px;
  margin-bottom: 8px;
  border-radius: 8px;
  font-weight: 700px;
  font-size: 16px;
  color: #adb5bd;
  transition: background-color 0.3s, color 0.3s;
}
.sidebar-nav li span {
  font-weight: 700px;
  font-size: 16px;
}
.sidebar-nav li a:hover {
  color: #ffffff;
}
.sidebar-nav li a.active {
  background-color: #00bfff;
  color: #ffffff;
}

.content-wrapper {
  width: 100%;
  padding-top: var(--header-height);
}

.page-content-container {
  width: 100%;
  margin: 0 auto;
}

/* =================================================================== */
/* 3. CABEÇALHO (HEADER)                                               */
/* =================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  background: linear-gradient(to bottom, #223e4a, #00070e);
  height: var(--header-height);
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #ffffff00, #00bfff, #ffffff00) 1;
}

.logo img {
  height: 35px;
  margin: 0px;
  width: auto;
  display: block;
}
.logo img::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-glow);
  animation: shimmer 10s infinite;
}
@keyframes shimmer {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.main-nav .btn {
  padding: 7px 24px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 15px;
  transition: 0.5s;
  font-size: 15px;
}

.main-nav .btn-login {
  border: 1px solid #009acd;
}

.main-nav .btn-login:hover {
  background-color: #569afe65;
  color: #ffffff;
}

.main-nav .btn-register {
  background-color: #00bfff;
  border: 1px solid #00bfff;
  color: #fff;
}

.main-nav .btn-register:hover {
  background-color: #009acd;
  border-color: #009acd;
}

/* =================================================================== */
/* 4. CONTEÚDO PRINCIPAL (MAIN)                                        */
/* =================================================================== */
.main-content {
  align-items: center;
  flex: 1;
}

/* 4.1. Banner Principal (Swiper) */
.main-banner.swiper {
  width: 100%;
  max-width: 100vw;
  height: auto;
  border-radius: 10px;
  margin: 0 auto;
  margin-top: 20px;
  position: relative; /* Ou absolute, dependendo do seu layout */
  left: 50%;
  transform: translateX(-50%);
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Estiliza a ÁREA CLICÁVEL de ambos os botões */
.swiper-button-prev,
.swiper-button-next {
  width: 60px; /* Largura personalizada */
  height: 60px; /* Altura personalizada */
}
.swiper-button-prev {
  left: -5px; /* Ajustado */
}

.swiper-button-next {
  right: -5px; /* Ajustado */
}
/* Estiliza o ÍCONE DA SETA (que fica dentro do botão) */
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 25px; /* Tamanho do ícone */
  font-weight: bold; /* Opcional: deixa a seta mais "grossa" */
  color: #ffffff83; /* Exemplo: cor branca para a seta */
}

/* 4.2. Barra de Informações */
.info-bar {
  display: flex;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px 0 0 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 auto 0;
  width: 100%;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  background: transparent !important;
  box-shadow: none !important;
  flex: 1 1 calc(98% / 3 - 10px);
  max-width: calc(98% / 3 - 10px);
  border-radius: 9px;
  overflow: hidden;
}

.info-item img {
  width: 100%;
  height: auto;
  display: block;
}

.text-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 5px;
}

.text-group span {
  font-weight: 700;
  font-size: 1rem;
}

.subtext {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 4px;
}

/* 4.3. Seção de Jogos */
.games-section,
#faq.info-section,
.info-container {
  width: 100%;
  max-width: none;
}

.games-section {
  margin: 5px auto;
  padding: 0 5px; /* Pequeno padding lateral para não colar nas bordas */
}

.games-section h2 {
  font-size: 20px;
  font-weight: 600;
}

.games-carousel .swiper-wrapper {
  padding: 15px 5px;
  box-sizing: border-box;
}
.games-carousel .swiper-slide {
  overflow: visible !important;
}
.contact-details p {
  margin-bottom: 10px;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  z-index: 1;
  display: block;
}
.games-carousel.swiper {
  padding: 10px;
  overflow: hidden;
}
.games-grid {
  margin-top: 20px;
}

/* Adicione estas propriedades */
.game-card {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 200px;
  overflow: hidden;
  position: relative;
  border-radius: 9px;
  border: 1px solid rgb(27, 54, 85);
  box-shadow: none;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  margin: 0 auto; /* Centraliza o card caso o espaço seja maior */
}

/* Modifique esta regra existente */
.game-card img {
  width: 100%;
  height: 100%; /* Garante que a imagem preencha a altura do card */
  object-fit: cover; /* Faz a imagem cobrir o espaço sem distorcer */
  display: block;
}

.game-card:hover {
  transform: scale(1.05);
  border-color: #00bfff;
  box-shadow: 0 0 2px #00bfff, 0 0 4px #00bfff;
  z-index: 10;
}

/* 4.4. Seção "Como Funciona" */
.how-it-works-section {
  width: 100%;
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  background-color: #1b283291;
}
.icone-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-subtitle {
  color: #ced4da;
  max-width: 600px;
  font-weight: 600;
  margin: 0 auto 40px;
  font-size: 16px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
}

.how-it-works-card {
  background-color: #1b2832;
  padding: 15px;
  border-radius: 12px;
}

.how-it-works-card svg {
  color: #00bfff;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}

.how-it-works-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.how-it-works-card p {
  font-size: 15px;
  color: #adb5bd;
  line-height: 1.6;
}

/* 4.5. Seções de Informação Genéricas (Container) */
.info-section {
  max-width: 100%;
  margin: 0 auto 20px auto;
  text-align: center;
}

.info-section h2 {
  font-size: 24px;
  color: #eaeaea;
  margin-bottom: 30px;
}

/* 4.6. Seção "Como Começar" */
#como-comecar .passos-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

#como-comecar .passo {
  background: linear-gradient(180deg, #223e4a, #00070e00);
  border-radius: 12px;
  padding: 10px;
  width: calc(100% / 3 - 15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#como-comecar .passo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#como-comecar .passo-numero {
  width: 40px;
  height: 40px;
  background-color: #00bfff;
  color: #eaeaea;
  font-size: 1.5em;
  font-weight: bold;
  border-radius: 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

#como-comecar .passo h3 {
  font-size: 16px;
  color: #eaeaea;
  margin-bottom: 10px;
}

#como-comecar .passo p {
  font-size: 15px;
  line-height: 1.5;
  color: #adb5bd;
}

/* 4.7. Seção "Sobre Nós" */
#sobre-nos.info-container-sobrenos {
  width: 100%;
  position: static;
  transform: none;
  margin: 0;
  box-sizing: border-box;
  border-radius: 15px;
  padding: 40px;
  background-color: #0c161e;
  color: #eaeaea;
  font-family: "Poppins", Arial, sans-serif;
}

#sobre-nos p {
  font-size: 17px;
  line-height: 1.7;
  text-align: left;
  color: #dadada;
}

/* 4.8. Seção de Perguntas Frequentes (FAQ) */
#faq {
  text-align: left;
}

#faq .faq-item {
  background-color: #1b2832;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#faq .faq-question {
  background: none;
  border: none;
  font: inherit;
  text-align: left;
  width: 100%;
  padding: 20px;
  font-size: 15px;
  font-weight: 600;
  color: #eaeaea;
  cursor: pointer;
  position: relative;
}

#faq .faq-question::after {
  content: "+";
  font-size: 1.5em;
  font-weight: bold;
  color: #00bfff;
  position: absolute;
  right: 10px;
  top: 30%;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

#faq .faq-question.active::after {
  content: "-";
  transform: translateY(-50%);
}

#faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 20px;
  line-height: 1.6;
  color: #adb5bd;
}

#faq .faq-question.active + .faq-answer {
  max-height: 300px;
  padding: 0 20px 20px 20px;
}

/* =================================================================== */
/* 5. RODAPÉ (FOOTER)                                                  */
/* =================================================================== */
.main-footer {
  background: linear-gradient(0deg, #223e4a, #00070e00);
  padding: 10px 40px;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
}

.age-rating {
  width: 48px;
  height: 48px;
  border: 2px solid #e03131;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  margin-right: 15px;
}

.responsibility-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: 600;
}

.footer-center {
  align-items: center;
  color: #868e96;
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.trust-seals {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 15px;
}

.trust-seals .seal {
  padding: 0px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 550;
  color: #c0c0c0;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 15px;
}

.footer-right a {
  color: #ced4da;
  margin-bottom: 5px;
  transition: color 0.3s;
}

.footer-right a:last-child {
  margin-bottom: 0;
}

.footer-right a:hover {
  color: #00bfff;
}

/* =================================================================== */
/* 6. MODAIS                                                           */
/* =================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 20, 30, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1200;
  opacity: 1;
  transition: opacity 0.3s;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-content {
  background-color: #1a1d23;
  padding: 15px 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  color: #eaeaea;
  text-align: left;
  max-height: 98vh;
  overflow-y: auto;
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
  text-align: center;
}
.modal-content p {
  margin-bottom: 10px;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  background: 0 0;
  border: none;
  font-size: 30px;
  color: #868e96;
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover {
  color: #eaeaea;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: #121418;
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: #3e4553;
  border-radius: 10px;
  border: 2px solid #121418;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background-color: #505866;
}

.input-group {
  margin-bottom: 15px;
}

.modal-content input[type="email"],
.modal-content input[type="password"],
.modal-content input[type="tel"],
.modal-content input[type="text"],
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 14px;
  background-color: #121418;
  border: 1px solid #3e4553;
  border-radius: 8px;
  color: #eaeaea;
  font-size: 16px;
  font-family: Poppins, sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input::placeholder {
  color: #868e96;
}

.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  outline: 0;
  border-color: #00bfff;
  box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
}

.btn-modal {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
}
.btn-modal:disabled,
.btn-entrar:disabled {
  background-color: #5a6375 !important; /* Adicionado !important para garantir */
  color: #a0a0a0 !important;
  cursor: not-allowed !important;
}
.btn-entrar {
  background-color: #00bfff;
  color: #fff;
}

.btn-entrar:hover {
  background-color: #009acd;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #555;
  margin: 25px 0;
}

.separator::after,
.separator::before {
  content: "";
  flex: 1;
  border-bottom: 1px solid #3e4553;
}

.separator span {
  padding: 0 15px;
}

.google-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* Mantém um espaçamento similar ao botão original */
}

.btn-google:hover {
  background-color: #505866;
}

.btn-google img {
  height: 20px;
  width: auto;
}

.error-message {
  color: #e03131;
  margin-top: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.password-group {
  position: relative;
}

.password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23868E96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'%3e%3c/path%3e%3ccircle cx='12' cy='12' r='3'%3e%3c/circle%3e%3c/svg%3e")
    0 0 / contain no-repeat;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  padding: 0;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #adb5bd;
  cursor: pointer;
}

.signup-link {
  margin-top: 25px;
  font-size: 14px;
  color: #868e96;
}

.signup-link a {
  color: #00bfff;
  font-weight: 600;
}

.terms-group {
  display: flex;
  align-items: flex-start;
  text-align: justify;
  gap: 10px;
  margin: 20px 0;
}

.terms-group label {
  font-size: 13px;
  color: #ced4da;
}

.terms-group label a {
  color: #00bfff;
  text-decoration: underline;
}

#register-submit-btn:disabled {
  background-color: #3e4553;
  cursor: not-allowed;
}

.modal-content select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23868E96' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 1em;
}

.modal-content textarea {
  resize: vertical;
  min-height: 120px;
}

/* =================================================================== */
/* 7. ELEMENTOS FLUTUANTES E ANIMAÇÕES                                 */
/* =================================================================== */
.activity-feed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 191, 255, 0.95);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: fadeInOut 8s ease-in-out forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  10% {
    opacity: 1;
    transform: translateY(0);
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* =================================================================== */
/* 8. MEDIA QUERIES (DESIGN RESPONSIVO)                                */
/* =================================================================== */

@media (min-width: 993px) {
  .sidebar {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--header-height));
    padding: 0 20px 0px 20px;
    z-index: 999;
    background: linear-gradient(360deg, #223e4a, #00070e);
    border-right: 1px solid;
    border-image: linear-gradient(to bottom, #ffffff00, #00bfff6b, #ffffff00) 1;
  }
  .sidebar-nav li a {
    display: flex; /* Para alinhar o ícone e o texto */
    align-items: center; /* Para centralizar verticalmente */
    gap: 15px; /* Espaço entre o ícone e o texto */

    /* ...outras propriedades de estilo do link... */
    padding: 15px 0px 0px 0px;
    margin-bottom: 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #adb5bd;
    transition: background-color 0.3s, color 0.3s;
  }
  .sidebar-nav li a svg {
    width: 22px; /* Largura do ícone */
    height: 22px; /* Altura do ícone */
    stroke: currentColor; /* Faz o ícone ter a mesma cor do texto */
    flex-shrink: 0; /* Impede que o ícone seja esmagado pelo texto */
  }
  .content-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
  }

  .page-content-container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 50px;
  }

  .main-header {
    padding: 0 15px;
  }

  .logo img {
    height: 30px;
    margin: 0px;
  }

  .main-nav .btn {
    padding: 7px 15px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 5px;
    font-size: 14px;
  }
  .main-banner.swiper {
    width: 100%;
    height: auto;
    border-radius: 0px;
    margin: 0 auto;
    margin-top: 0px;
  }
  /* Estiliza a ÁREA CLICÁVEL de ambos os botões */
  .swiper-button-prev,
  .swiper-button-next {
    width: 60px; /* Largura personalizada */
    height: 60px; /* Altura personalizada */
  }
  .swiper-button-prev {
    left: -15px; /* Ajustado */
  }

  .swiper-button-next {
    right: -15px; /* Ajustado */
  }
  /* Estiliza o ÍCONE DA SETA (que fica dentro do botão) */
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 25px; /* Tamanho do ícone */
    font-weight: bold; /* Opcional: deixa a seta mais "grossa" */
    color: #ffffff83; /* Exemplo: cor branca para a seta */
  }
  .info-item {
    border-radius: 0px;
  }
  .info-bar {
    padding: 10px 0 0 0;
    gap: 10px;
    border-radius: 0px;
  }

  .fundo-titulo {
    width: 100vw;
    background: linear-gradient(to right, #016e92, #012d3700);
    border-radius: 0px; /* ajuste o valor como preferir */
    padding: 3px;
    margin: 20px 0 15px;
  }

  .fundo-titulo::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(
      --gradient-glow
    ); /* Certifique-se que esta variável está definida */
    animation: shimmer 10s infinite;
  }

  @keyframes shimmer {
    0% {
      left: -100%;
    }
    20% {
      left: 100%;
    }
    100% {
      left: 100%;
    }
  }
  .fundo-titulo h2 {
    font-size: 16px;
    margin-left: 4%;
    font-weight: 800px;
    margin-top: 3px;
    margin-bottom: 3px;
  }
  .how-it-works-section {
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section-subtitle {
    font-size: 14px;
    margin: 0 auto 20px;
    font-weight: 600;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .icone-titulo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .how-it-works-card {
    background-color: #1b2832;
    padding: 15px;
    border-radius: 12px;
  }
  .how-it-works-card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .how-it-works-card h3 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  .how-it-works-card p {
    font-size: 13px;
  }
  /* Seções de Informação Genéricas Responsivas */
  .info-section h2,
  #sobre-nos h2,
  #faq h2 {
    font-size: 20px;
    text-align: center;
  }
  .info-container {
    padding: 0px 0px;
  }
  /* Seção "Como Começar" Responsiva */
  #como-comecar .passos-wrapper {
    flex-direction: column;
    align-items: center;
  }
  #como-comecar .passo {
    background: linear-gradient(90deg, #223e4a, #00070e00);
    width: 100%;
    border-radius: 0;
  }
  .passo-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
  }
  #como-comecar .passo-numero {
    width: 25px;
    height: 25px;
    font-size: 15px;
    margin: 0;
    flex-shrink: 0;
  }
  #como-comecar .passo h3 {
    font-size: 15px;
    margin-bottom: 0;
  }
  #como-comecar .passo p,
  #sobre-nos p,
  #faq .faq-answer p {
    font-size: 13px;
    line-height: 1.6;
  }

  /* Seção "Sobre Nós" Responsiva */
  #sobre-nos.info-container-sobrenos {
    padding: 20px;
  }

  /* Seção FAQ Responsiva */
  #faq.info-section {
    width: 100%;
  }

  /* 7.3. Rodapé Responsivo */
  .footer-content {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-left {
    justify-content: center;
  }
  .responsibility-text {
    text-align: left;
  }
  .footer-center {
    order: 3; /* Muda a ordem visual */
  }
  .footer-right {
    align-items: center; /* Centraliza os links no mobile */
  }

  /* 7.4. Modais Responsivos */
  .modal-content h2 {
    font-size: 20px;
  }
  .signup-link {
    font-size: 13px;
  }

  .game-info-content {
    width: 95%;
    height: 95%;
    padding: 10px;
  }
  #modal-game-description {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 13px;
  }
}

/* =================================================================== */
/* 9. MODAL DE INFORMAÇÕES DO JOGO (NOVO)                              */
/* =================================================================== */
.game-info-content {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centraliza tudo horizontalmente */
  text-align: center;
  padding: 20px;
  max-width: 800px; /* Um pouco mais estreito para focar no conteúdo */
}

.modal-image {
  width: 100%;
  max-width: 250px; /* Define um tamanho máximo para a imagem não ficar gigante */
  height: auto;
  border-radius: 12px;
  margin-bottom: 25px; /* Espaço entre a imagem e o título */
  border: 2px solid #3e4553;
}

#modal-game-title {
  font-size: 26px; /* Aumenta um pouco o título */
  font-weight: 700;
  margin-bottom: 15px; /* Espaço entre o título e a descrição */
  text-align: center; /* Garante a centralização */
}

#modal-game-description {
  font-size: 15px;
  color: #adb5bd; /* Um cinza mais claro para melhor leitura */
  line-height: 1.6;
  margin-bottom: 20px; /* Mais espaço antes do botão */
  text-align: left; /* Garante a centralização */
}

.game-info-content .btn-modal {
  width: auto; /* Botão com largura baseada no texto */
  padding: 12px 60px; /* Ajusta o padding do botão */
  font-size: 18px;
}

/* =================================================================== */
/* 10. ESTILOS DO MODAL DE PRÉ-LANÇAMENTO (NOVO)                      */
/* =================================================================== */

.modal-content.prelaunch-content {
  max-width: 800px; /* Largura máxima do modal */
  text-align: center; /* Centraliza o texto por padrão */
  padding: 15px 50px;

  /* 1. O 'background-color' é o fallback, caso a imagem falhe */
  background-color: var(--dark-navy, #0a0f1c);

  /* 2. O 'linear-gradient' cria a camada escura (overlay) */
  /* 3. O 'url()' é a sua imagem. Ajuste o '0.8' para mais ou menos transparente */
  background-image: linear-gradient(
      rgba(10, 15, 28, 0.8),
      rgba(10, 15, 28, 0.5)
    ),
    url("Imagens/fundolancamento3.jpg"); /* <-- TROQUE O CAMINHO DA IMAGEM AQUI */

  /* 4. Faz a imagem cobrir todo o modal sem repetir */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  /* Opcional: Adiciona uma borda para destacar o modal */
  border: 1px solid var(--primary-blue, #0099ff);
}

.logo-prelaunch {
  height: 40px;
  width: auto;
  margin-bottom: 25px;
}

.prelaunch-content h1 {
  font-size: 2.2rem; /* 2.5rem no original, ajustado para modal */
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0;
  margin-bottom: 5px;
}

.prelaunch-content .subtitle {
  font-size: 1.15rem; /* 1.25rem no original */
  color: var(--primary-blue, #0099ff);
  font-weight: 600;
  margin-bottom: 30px;
}

/* Estilos do Contador */
#countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--dark-navy, #0a0f1c);
  padding: 10px; /* Reduzido de 15px */
  border-radius: 8px;
  min-width: 65px; /* Reduzido de 80px */
  border: 1px solid #3e4553;
}

.time-unit span {
  font-size: 2rem; /* Reduzido de 2.5rem */
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.time-unit small {
  font-size: 0.8rem; /* Reduzido de 0.9rem */
  color: #adb5bd;
  margin-top: 5px;
  text-transform: uppercase;
}

/* Estilos do Formulário */
#prelaunch-form {
  width: 100%;
  text-align: left;
}

#prelaunch-form input {
  /* Os estilos de input[type=email/tel] do .modal-content já se aplicam */
  /* Esta regra garante a fonte caso ela seja diferente */
  font-family: Poppins, sans-serif;
}

#prelaunch-form button {
  /* O estilo .btn-modal já se aplica */
  margin-top: 5px; /* Reduzido de 20px */
}

/* Feedback do formulário */
.feedback-message {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
}
.feedback-message.success {
  color: var(--neon-green, #00ff88);
}
.feedback-message.error {
  color: #e03131;
}
.feedback-message.hidden {
  display: none;
}

/* Estilos dos Links Sociais */
.social-links {
  margin-top: 30px;
  color: #adb5bd;
  font-size: 15px;
}

.social-links .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
  gap: 10px;
  color: #fff;
}

.social-btn img {
  width: 20px;
  height: 20px;
}

.social-btn.telegram {
  background-color: #26a5e4;
}
.social-btn.telegram:hover {
  background-color: #2294cc;
}

.social-btn.instagram {
  background: linear-gradient(
    45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}
.social-btn.instagram:hover {
  opacity: 0.9;
}

/* Responsividade para o modal */
@media (max-width: 480px) {
  .modal-content.prelaunch-content {
    padding: 10px;
    max-width: 97%;
  }
  .prelaunch-content h1 {
    font-size: 1.8rem;
  }
  .prelaunch-content .subtitle {
    font-size: 1.2rem;
    font-weight: 600;
  }
  #countdown {
    gap: 10px;
  }
  .time-unit {
    padding: 8px;
    min-width: 60px;
  }
  .time-unit span {
    font-size: 1.6rem;
  }
  .time-unit small {
    font-size: 0.7rem;
  }
  .social-links {
    margin-top: 25px;
    font-size: 14px;
  }
}
