*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,Helvetica,sans-serif}

body{
  background:#000;
  color:#fff;
  min-height:100vh;

  /* CORREÇÃO DO BUG: layout em coluna */
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* LOGO TOPO */
.site-header{
  width:100%;
  text-align:center;
  padding:26px 20px 10px;
}

.site-logo{
  max-width:220px;
  width:100%;
  height:auto;
  opacity:0.95;
}

/* CONTEÚDO */
.container{
  text-align:center;
  width:100%;
  max-width:1400px;
  padding:24px;
}

h1{font-size:2.6rem;margin-bottom:10px}
p{opacity:.8;margin-bottom:36px;font-size:1.05rem}

/* CARDS */
.games{
  display:flex;
  justify-content:center;
  gap:40px;
  flex-wrap:wrap;
}

.game-card{
  width:520px;
  max-width:92vw;
}

.game-link{
  display:block;
  background:#0d0d0d;
  border-radius:16px;
  padding:20px;
  text-decoration:none;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 0 0 rgba(255,255,255,0);
  transform:translateY(0);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative;
  overflow:hidden;
}

.game-link:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,.18);
  box-shadow:0 14px 50px rgba(0,0,0,.60);
}

/* IMAGEM RETANGULAR + SWAP */
.img-swap{
  display:block;
  width:100%;
  aspect-ratio: 700 / 367;
  border-radius:14px;
  overflow:hidden;
  position:relative;
  margin-bottom:18px;
  background:#111;
}

.img-swap img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .35s ease, transform .35s ease, filter .35s ease;
}

.img-bw{
  opacity:1;
  filter:grayscale(1) contrast(1.05);
}

.img-color{ opacity:0; }

.game-link:hover .img-color{
  opacity:1;
  transform:scale(1.02);
}
.game-link:hover .img-bw{
  opacity:0;
  transform:scale(1.02);
}

/* TEXTO */
h2{
  font-size:1.35rem;
  margin:10px 0 6px;
  letter-spacing:.2px;
}

.game-version{
  font-size:0.85rem;
  color:rgba(255,255,255,0.65);
  margin:0 0 16px;
  letter-spacing:0.3px;
}

/* BOTÃO */
.btn{
  display:inline-block;
  width:100%;
  padding:15px 16px;
  border-radius:12px;
  background:#fff;
  color:#000;
  font-weight:900;
  font-size:1.02rem;
  letter-spacing:.4px;
  transition:transform .15s ease, opacity .2s ease;
}

.game-link:hover .btn{
  transform:scale(1.02);
}

/* Clique: pop */
.game-link.clicked{ animation:clickPop .22s ease; }
@keyframes clickPop{
  0%{transform:translateY(-6px) scale(1)}
  50%{transform:translateY(-6px) scale(.98)}
  100%{transform:translateY(-6px) scale(1)}
}

/* Ripple */
.ripple{
  position:absolute;
  border-radius:999px;
  transform:translate(-50%, -50%);
  pointer-events:none;
  animation:ripple .6s ease-out forwards;
  background:rgba(255,255,255,.25);
}
@keyframes ripple{
  from{width:0;height:0;opacity:.8}
  to{width:620px;height:620px;opacity:0}
}

.site-footer{
  width:100%;
  text-align:center;
  padding:18px 15px 20px;
  font-size:0.85rem;
  color:rgba(255,255,255,0.6);

  margin-top:60px;   /* <<< CONTROLA O QUANTO SOBE */
}
/* Responsivo */
@media (max-width: 1100px){
  .game-card{ width:min(92vw, 700px); }
}

@media (max-width: 700px){
  h1{font-size:2rem}
  .game-card{ width:min(92vw, 520px); }
}

/* ================================
   SOCIAL BUTTONS (FINAL / AJUSTADO)
   ================================ */

.server-social{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:14px;
}

/* Botão base */
.server-social a{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:9px 16px !important;
  border-radius:12px !important;
  font-size:.86rem !important;
  font-weight:800 !important;
  text-decoration:none !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.28) !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease !important;
  user-select:none !important;
}

.server-social a:hover{
  transform: translateY(-1px) !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.35) !important;
}

/* ================================
   NORMALIZAÇÃO DOS ÍCONES (CHAVE)
   ================================ */

.server-social svg{
  display:inline-block !important;
  vertical-align: middle !important;
  fill: currentColor !important;
  opacity:1 !important;
  visibility:visible !important;
}

/* WhatsApp — ícone cheio (menor) */
.server-social .btn-whatsapp svg{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  min-height:18px !important;
}

/* Discord — ícone vazado (precisa compensar) */
.server-social .btn-discord svg{
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  min-height:26px !important;
  transform: translateY(1px) scale(1.05) !important;
}

/* ================================
   CORES OFICIAIS
   ================================ */

.server-social .btn-whatsapp{
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
}

.server-social .btn-discord{
  background: linear-gradient(135deg, #5865F2, #3B49DF) !important;
}

