:root {
  --bg-main: #000000;
  --bg-alt: #0b0b0c;
  --bg-elevated: #121416;
  --accent-red: #8ba73e;
  --accent-yellow: #d4d740;
  --accent-yellow-dark: #d4d740;
  --text-main: #ffffff;
  --text-muted: #d9d9d9;
  --text-soft: #a0a0a0;
  --glitch-cyan: #00f0ff;
  --border-soft: rgba(255, 255, 255, 0.08);
  --max-width: 1120px;
}

/* RESET SIMPLES */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* UTILITÁRIOS */

.lang-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
}

.lang-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.lang-links a:hover {
  color: var(--accent-yellow);
}

.lang-links .active {
  color: #d4d740 !important;
}
*/ body,
input,
button {
  font-size: 1.1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-size: 0.95rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  /* Diminuímos a opacidade para o vídeo "vazar" mais e criar o efeito de luz */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4)
  );
  backdrop-filter: blur(
    15px
  ); /* Aumentamos o blur para o efeito "frosted glass" */
  -webkit-backdrop-filter: blur(15px);

  /* Borda com opacidade baixa para não cortar o brilho */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  /* O "Bloom": uma sombra interna e externa sutil com sua cor principal */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 1px 15px rgba(212, 215, 64, 0.1); /* Brilho leve do accent-yellow */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

img.logo-official {
  max-width: 200px;
  width: 100%;
  display: block;
}

.banner-area img {
  max-width: 720px;
  width: 100%;
  padding: 60px 0;
}

.brand {
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand img {
  margin-left: -2px;
  margin-bottom: 2px;
}

.brand-logo {
  font-family: 'Oswald', system-ui, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
}

.brand-tagline {
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-soft);
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent-red));
  transition: width 0.2s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

/* MENU MOBILE */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--text-main);
}

/* RESPONSIVIDADE */

@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-columns {
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1rem;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/* HERO */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Conteúdo na parte de baixo */
  justify-content: center;
  background-color: var(--bg-main);
}

/* Background e Overlay */
.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    /* Totalmente transparente no topo */ rgba(0, 0, 0, 0.2) 40%,
    /* Começa a escurecer levemente antes do meio */ rgba(11, 11, 12, 0.8) 75%,
    /* Fica bem escuro aos 75% */ var(--bg-main) 100% /* Preto total na base */
  );
  z-index: 1;
}

.video-foreground iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Conteúdo */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-bottom: 90px; // ESPAÇO DA BASE
  max-width: var(--max-width);
  width: 55%;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-main);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Botão Estilizado com Degradê das Variáveis */
.steam-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 35px;
  background: linear-gradient(45deg, var(--accent-red), var(--accent-yellow));
  color: var(--bg-main); /* Texto escuro para contraste com amarelo */
  text-decoration: none;
  font-weight: 800;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  text-transform: uppercase;
}

.steam-button i {
  font-size: 1.4rem;
}

.steam-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(212, 215, 64, 0.3);
  filter: brightness(1.1);
}
/* HERO */

/* ABOUT */
section#about {
  background: #fff;
  color: #000;
  padding: 5rem 0;
}
section#about h2 {
  font-size: 2rem;
}
/* ABOUT */

/* GAMES */
#games {
  background-color: var(--bg-main);
  padding: 100px 0;
  color: var(--text-main);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header do Jogo */
.game-featured {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.game-cover img {
  width: 350px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.status-tag {
  background-color: var(--accent-red); /* Cor oliva que você definiu */
  color: var(--text-main);
  padding: 4px 10px; /* Um pouco mais de espaço lateral */
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
  letter-spacing: 1px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-title {
  font-size: 2.5rem;
  margin: 10px 0;
  letter-spacing: 1px;
}

.game-description {
  color: var(--text-muted);
  margin-bottom: 25px;
  max-width: 675px;
}

/* Galeria Estilo Slider da imagem */
.game-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas como no seu print */
  gap: 15px;
  margin-top: 40px;
}

.gallery-item {
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s;
}

.gallery-item img,
.gallery-item iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:hover {
  transform: scale(1.05);
  border-color: var(--accent-yellow);
}

/* Legenda e Linha de Progresso */
.gallery-caption {
  margin-top: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--text-main);
}

.progress-line {
  height: 3px;
  width: 150px; /* Ajuste conforme o slide ativo */
  background: linear-gradient(
    to right,
    var(--accent-red),
    var(--accent-yellow)
  );
  margin-top: 8px;
}

.progress-line-divisor {
  height: 1px;
  width: 75%; /* Ajuste conforme o slide ativo */
  background: #2c2c2c;
  margin: 60px auto;
}

/* Responsividade */
@media (max-width: 768px) {
  .game-featured {
    flex-direction: column;
    text-align: center;
  }
  .game-gallery {
    grid-template-columns: 1fr 1fr;
  }
}
/* GAMES */

/* WORK */
section#work {
  background: #fff;
  color: #000;
  padding: 5rem 0;
}
section#work a {
  color: #000;
}
section#work h2 {
  font-size: 2rem;
}
.careers-box {
  line-height: 1.8;
}

.highlight-yellow {
  font-weight: bold;
}

.email-instruction small {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
}
/* WORK */

/* FOOTER */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 0 2rem;
  text-align: center; /* Centraliza tudo como na Pulsatrix */
  color: var(--text-main);
}

.footer-logo img {
  max-width: 250px; /* Ajuste conforme seu logo */
  margin-bottom: 2rem;
  filter: brightness(0) invert(1); /* Deixa o logo branco se necessário */
}

/* Divisória elegante estilo Pulsatrix */
.footer-divider {
  width: 100%;
  max-width: var(--max-width);
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto 3rem;
}

.footer-contact h3 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-email {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-email:hover {
  color: var(--accent-yellow);
}

.footer-address {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

/* Ícones Sociais Estilizados */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.footer-social a {
  color: white;
  background: rgba(255, 255, 255, 0.05);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent-yellow);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 215, 64, 0.3);
}

/* Rodapé Inferior */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-disclaimer {
  margin-top: 0.5rem;
  font-size: 0.65rem;
  opacity: 0.6;
}

/* DISCORD CTA */
section#discord-cta {
  padding: 5rem 0;
}

#discord-cta {
  background-color: var(--bg-main); /* Fundo totalmente preto */
  padding: 120px 0;
  text-align: center;
}

.discord-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Tamanho responsivo */
  letter-spacing: 4px;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Cor diferenciada para a palavra COMMUNITY */
.highlight-alt {
  background: linear-gradient(
    to right,
    var(--accent-red),
    var(--accent-yellow)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  color: var(--text-soft);
  font-size: 1.15rem;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Botão padrão PearFall Studios */
.discord-btn {
  background: linear-gradient(45deg, var(--accent-red), var(--accent-yellow));
  color: var(--bg-main);
  padding: 18px 45px;
  border-radius: 4px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.discord-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 215, 64, 0.3);
  filter: brightness(1.1);
}

/* BTN PLATFORMS */
.game-platforms {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 20px;
}

/* Botão Steam (Mantendo seu estilo degradê ou sólido) */
.steam-button {
  background: linear-gradient(45deg, var(--accent-red), var(--accent-yellow));
  color: #000;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

/* Botão Saiba Mais (Mais elegante e discreto) */
.btn-secondary {
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  background: transparent;
  text-decoration: none;
}
.btn-secondary i {
  margin-top: 4px;
}

.btn-secondary:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary i {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.btn-secondary:hover i {
  transform: translateX(4px); /* A seta dá um pulinho para a direita */
}

/* YT VIDEO GALLERY */
.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.placeholder-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* Espaço entre o ícone e o texto */
}

.video-placeholder i {
  font-size: 4.5rem;
  color: #ff0000;
  transition: transform 0.3s ease;
}

.coming-soon-text {
  color: var(--text-main);
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Efeito de Hover */
.video-placeholder:hover i {
  transform: scale(1.1);
  /* color: var(--accent-yellow); */
}

.video-placeholder:hover .coming-soon-text {
  /* color: var(--accent-yellow); */
  opacity: 1;
}
