/* =================================
   RESET SEGURO
================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

/* =================================
   VARIÁVEIS
================================= */
:root {
  --bg-main: #020617;
  --bg-secondary: #0b1220;
  --bg-card: #111827;
  --primary: #0d6efd;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --highlight: #f59e0b;
}

/* =================================
   BODY
================================= */
body {
  background: linear-gradient(180deg, #020617, #020617);
  color: var(--text-main);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-top: 70px; /* navbar fixa */
  overflow-x: hidden;
}

/* =================================
   NAVBAR
================================= */
.navbar {
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(6px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: auto;
}

#brand-text {
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-link {
  font-weight: 500;
}

.nav-link.active {
  color: var(--primary) !important;
}

/* =================================
   HERO
================================= */
#games-hero {
  background: linear-gradient(180deg, #0b1220, #020617);
  padding: 80px 0 60px;
  text-align: center;
}

#games-title {
  font-size: 3rem;
}

#games-subtitle {
  color: var(--text-muted);
}

/* animação simples */
.fade-in {
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================
   GRID DE JOGOS
================================= */
#games-grid {
  justify-content: center;
}

/* =================================
   CARD DE JOGO (BOOTSTRAP .col)
================================= */
.game-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
}

/* imagem do card */
.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.game-card .card-body {
  background-color: #020617;
  padding: 16px;
}

/* título */
.game-card .card-title {
  color: #33ff00;
  font-weight: 700;
}

/* descrição */
.game-card .card-text {
  color: #e5e7eb;
  font-size: 0.9rem;
}



/* botão */
.btn-jogar {
  width: 100%;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
}

.btn-jogar:hover {
  background: #0b5ed7;
}

/* selo destaque */
.selo-destaque {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--highlight);
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

/* =================================
   FOOTER
================================= */
footer {
  background: #020617;
  padding: 40px 15px 30px;
  text-align: center;
  color: var(--text-muted);
}

.footer-actions a:hover {
  opacity: 0.8;
}

/* botão topo */
.btn-top {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
}

.btn-top:hover {
  background: #0b5ed7;
}

/* =================================
   NEVE ❄
================================= */
.snowflake {
  position: fixed;
  top: -20px;
  color: #fff;
  pointer-events: none;
  z-index: 9999;
  animation-name: snowFall;
  animation-timing-function: linear;
}

@keyframes snowFall {
  to {
    transform: translateY(110vh);
  }
}

/* =================================
   RESPONSIVO
================================= */
@media (max-width: 768px) {
  #games-title {
    font-size: 2.2rem;
  }

  .brand-logo {
    width: 32px;
  }
}

.game-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}


