
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* Fundo da landing page */
body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #121619 0%, #212930 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

/* Conteúdo flexível */
.content {
    flex: 1;
}

/* ==================================================== */
/* HEADER SUPERIOR */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between; /* texto à esquerda, ícones à direita */
    align-items: center;
    padding: 15px 30px;
    position: absolute;
    top: 0;
    right: 0;
    gap: 20px;
    z-index: 10; /* acima do restante */
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* garante que o padding seja contabilizado na largura */
}

.site-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
}

/* Ícones no topo */
.social-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center; /* centraliza ícone dentro do link */
}

.social-icons a img {
    width: 30px;
    height: 30px;
    transition: transform 0.2s, filter 0.2s;
    filter: brightness(0) invert(1); /* transforma qualquer ícone em branco */
}

.social-icons a img:hover {
    transform: scale(1.1);
    filter: brightness(1.3) invert(1); /* brilho leve mantendo branco */
}

.left-header {
  display: flex;
  align-items: center;
  gap: 15px; /* espaço entre logo e texto */
}

.logo-header {
  max-width: 30px; /* ajuste conforme a necessidade */
}

/* Responsividade */
@media (max-width: 480px) {
  .header {
    padding: 10px 15px;
    gap: 10px;
  }
  .left-header {
    gap: 10px;
  }
  .site-title {
    font-size: 1.2rem;
  }
  .social-icons a img {
    width: 30px;
    height: 30px;
  }
}

/* Centralização do conteúdo */
.main-container {
    text-align: center;
}

/* Barra preta semi-transparente */
.barra {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 256px;
    min-height: 256px;
    background: linear-gradient(90deg, rgba(18,22,25,1), rgba(0,0,0,0.4));
    /* degradê invertido e sutil */
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.25); /* sombra suave para profundidade */
}

/* Botão reaproveitando o estilo three-slice */
.ninepatch-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 280px;
    height: 85px;
    transition: transform 0.15s ease-in-out;
    margin-bottom: 120px;
}

.ninepatch-btn:hover {
    transform: scale(1.05);
}

.ninepatch-btn:active {
    transform: scale(0.95);
}

.ninepatch-btn span {
    display: block;
    height: 100%;
}

.ninepatch-btn .left {
    width: 24px;
    background: url('bunnybunnypunch/images/buttons/button_left.png') no-repeat center;
    background-size: contain;
}

.ninepatch-btn .middle {
    flex: 1;
    background: url('bunnybunnypunch/images/buttons/button_middle.png') repeat-x center;
    background-size: auto 100%;
    font-family: 'Upheaval', sans-serif;
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ninepatch-btn .right {
    width: 24px;
    background: url('bunnybunnypunch/images/buttons/button_right.png') no-repeat center;
    background-size: contain;
}

/* Botão de imagem pixel art */
.image-button {
    background-image: url('images/game_logo_full.png');
    background-color: #e08e45;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    width: 340px;           /* Tamanho exato */
    height: 192px;          /* Ajuste conforme sua imagem */
    min-height: 192px;
    border: none;
    border-radius: 10px;
    cursor: pointer;

    /* Efeitos visuais */
    transition: transform 0.1s, box-shadow 0.3s, filter 0.2s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Hover: aumenta e acende */
.image-button:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    /* Glow colorido — altere a cor aqui! */
    box-shadow:
    0 0 20px rgba(255, 180, 80, 0.25),  /* brilho suave */
    0 0 40px rgba(255, 140, 0, 0.2);   /* brilho externo */
}

/* Clique */
.image-button:active {
    transform: scale(0.95);
    filter: brightness(0.9);
    box-shadow:
    0 0 15px rgba(255, 140, 0, 0.3),
    0 0 25px rgba(255, 100, 0, 0.2);
}

/* Responsividade */
@media (max-width: 480px) {
    .marquee-text {
        font-size: 1rem;
    }
    .barra {
        height: 120px;
    }
    .image-button {
        width: 340px;
        height: 192px;
    }
}

/* Rodapé */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
  position: absolute;
  bottom: 10px;
  right: 20px; /* agora no canto direito */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin: 0;
}

.footer-text a {
  color: #ff4b5c; /* cor de destaque para o link */
  text-decoration: none;
  transition: color 0.2s;
}

.footer-text a:hover {
  color: #ff8a7b; /* cor ao passar o mouse */
}

.footer-logo {
    max-width: 30px;
    display: block; /* remove espaço extra de linha */
}

.footer-logo:hover {
    opacity: 1;
}
