body {
    background-image: url('./img/back2.avif'); /* Caminho para a sua imagem de fundo */
    background-size: cover; /* Faz a imagem cobrir todo o fundo */
    background-position: center; /* Centraliza a imagem de fundo */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
    color: #292786; /* Cor do texto */
    font-family: 'Press Start 2P', Arial, sans-serif; /* Define a fonte retro para todo o site */
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

a {
    color: rgb(83, 135, 15);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(0, 0, 0);
}

ul {
    list-style: none;
    padding: 10;
    margin: 0;
    width: 100%;
}

img {
    padding: 0px;
    width: 250px;
    height: auto;
    max-width: 100%;
}

@keyframes color-change {
    0% {
        color: #ff0000; /* Vermelho */
    }
    25% {
        color: #00ff00; /* Verde */
    }
    50% {
        color: #0000ff; /* Azul */
    }
    75% {
        color: #ffff00; /* Amarelo */
    }
    100% {
        color: #ff0000; /* Volta ao vermelho */
    }
}

h1, h2 ,h3 ,h4{
    font-family: 'Press Start 2P', sans-serif; /* Aplica a fonte retro aos títulos */
    animation: color-change 3s infinite; /* Aplica a animação com duração de 3 segundos e repetição infinita */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Adiciona sombra ao texto */
    color: rgb(28, 100, 159);
    margin: 10px 0;
    border: 2px solid rgb(41, 39, 134); /* Define uma borda sólida com cor */
    padding: 10px; /* Adiciona espaço interno entre o texto e a borda */
    border-radius: 10px; /* Adiciona cantos arredondados */
    text-align: center; /* Centraliza o texto */
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 20px; /* Espaço entre os itens */
    padding: 50px;
}

.center {
    text-align: center;
}

.center img {
    border-radius: 50%; /* Define bordas arredondadas */
    border: none; /* Adiciona uma borda ao redor da imagem (opcional) */
}

/* Estilo padrão para as imagens */
.center img {
    max-width: 100px; /* Define o tamanho máximo das imagens */
    height: auto;
    margin: 5px; /* Espaçamento entre as imagens */
}

/* Estilo responsivo para telas menores */
@media (max-width: 768px) {
    .center img {
        max-width: 80px; /* Reduz o tamanho das imagens em telas menores */
        margin: 5px; /* Mantém o espaçamento */
    }

    .center {
        display: flex;
        flex-wrap: wrap; /* Permite que as imagens fiquem lado a lado */
        justify-content: center; /* Centraliza as imagens horizontalmente */
    }
}

.audio-container {
    text-align: center;
}

.link-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espaço entre os links */
}

.link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 50px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    margin-bottom: 0px; /* Espaço entre a imagem e o texto */
}

.logo-container {
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center;
    margin-top: 20px; /* Espaçamento do topo */
}

.site-logo {
    max-width: 150px; /* Ajuste o tamanho da logo */
    height: auto;
}

.history-section {
    padding: 20px;
    background-color: rgba(248, 249, 250, 0.8); /* Fundo semi-transparente */
    border-radius: 10px;
    margin: 20px;
    color: black; /* Cor do texto na seção de história */
}

.history-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: darkblue; /* Cor do título */
}

.history-section p {
    text-align: justify;
    color: darkgreen; /* Cor dos parágrafos */
}

.video-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.promo-video {
    width: 80%; /* Ajuste o tamanho conforme necessário */
    height: auto;
    border: 2px solid black; /* Adiciona borda preta */
    border-radius: 10px; /* Adiciona cantos arredondados */
}

.gif-container {
    display: flex;
    justify-content: space-between; /* Garante que os GIFs fiquem espaçados */
    align-items: center; /* Alinha os GIFs verticalmente */
    width: 100%;
    padding: 20px;
}

.left-gif, .center-gif, .right-gif {
    width: 100px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    border: none; /* Remove borda */
    border-radius: 10px; /* Adiciona cantos arredondados */
}

.left-gif {
    margin-left: 20px;
}

.center-gif {
    width: 100px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    border: none; /* Remove borda */
    border-radius: 10px; /* Adiciona cantos arredondados */
    margin: 0 auto; /* Centraliza horizontalmente */
}

.right-gif {
    margin-right: 20px;
}

.back-button {
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    z-index: 1000; /* Garante que o botão fique acima de outros elementos */
}

.back-button:hover {
    background-color: #0056b3;
}

.video-section {
    padding: 20px;
    background-color: rgba(248, 249, 250, 0.8); /* Fundo semi-transparente */
    border-radius: 10px;
    margin: 20px;
    width: 80%;
}

.video-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: darkblue; /* Cor do título */
}

.video-section ul {
    list-style-type: none;
    padding: 0;
}

.video-section li {
    margin: 10px 0;
}

.video-item {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 5px solid black; /* Adiciona borda preta */
    border-radius: 10px; /* Adiciona cantos arredondados */
}

.music-section {
    padding: 20px;
    background-color: rgba(248, 249, 250, 0.8); /* Fundo semi-transparente */
    border-radius: 10px;
    margin: 20px;
    width: 80%;
}

.music-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: darkblue; /* Cor do título */
}

.music-section ul {
    list-style-type: none;
    padding: 0;
}

.music-section li {
    margin: 20px 0;
}

audio {
    width: 80%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border: 5px solid black; /* Adiciona borda preta */
    border-radius: 10px; /* Adiciona cantos arredondados */
}

.carousel-inner img {
    width: 100%;
    height: auto;
    border: 5px solid black; /* Adiciona borda preta */
    border-radius: 10px; /* Adiciona cantos arredondados */
}

.sponsors {
    background-color: rgba(255, 255, 255, 0.9); /* Fundo branco semi-transparente */
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sponsors h2 {
    font-size: 24px;
    color: rgb(41, 39, 134); /* Cor do título */
    margin-bottom: 20px;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite que os ícones quebrem linha */
    gap: 20px; /* Espaçamento entre os ícones */
}

.sponsor-logo {
    width: 100px; /* Tamanho dos ícones */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

.supporters {
    background-color: rgba(255, 255, 255, 0.9); /* Fundo branco semi-transparente */
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 1200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.supporters h2 {
    font-size: 24px;
    color: rgb(41, 39, 134); /* Cor do título */
    margin-bottom: 20px;
}

.supporter-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite que os logos quebrem linha */
    gap: 20px; /* Espaçamento entre os logos */
}

.supporter-logo {
    width: 100px; /* Tamanho dos logos */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.supporter-logo:hover {
    transform: scale(1.1); /* Efeito de zoom ao passar o mouse */
}

.sponsor-logo, .supporter-logo {
    width: 100px; /* Define um tamanho fixo para todas as imagens */
    height: 100px; /* Define a altura fixa */
    object-fit: cover; /* Garante que a imagem se ajuste ao tamanho sem distorção */
    border-radius: 10px; /* Adiciona bordas arredondadas */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suaviza o movimento e a sombra */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adiciona uma sombra leve */
}

.sponsor-logo:hover, .supporter-logo:hover {
    transform: scale(1.1) translateY(-5px); /* Aumenta o tamanho e move a imagem para cima */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Aumenta a sombra ao passar o mouse */
}

.nav-menu a {
    text-decoration: none;
    color: rgb(141, 218, 247); /* Cor padrão */
    font-size: 12px;
    text-shadow: 1px 1px 2px rgb(161, 221, 241); /* Adiciona borda ao texto */
    transition: color 0.3s ease; /* Suaviza a transição de cor */
}

.nav-menu a:hover {
    color: rgb(128, 255, 105); /* Cor ao passar o mouse (rosa, por exemplo) */
}

#chat-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
}
#chat-messages {
    height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #1a1a1a; /* Fundo escuro */
    border-radius: 5px;
    color: white; /* Fonte branca */
    font-family: Arial, sans-serif;
}
#chat-messages div {
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
    background-color: #007bff; /* Fundo das mensagens */
    color: white; /* Texto branco */
    text-align: left;
}
#chat-messages .user-name {
    font-weight: bold;
    color: white; /* Cor padrão para o nome do usuário */
}
#chat-form {
    display: flex;
    gap: 10px;
}
#chat-input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}
#chat-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
#chat-form button:hover {
    background-color: #0056b3;
}


/* Removed misplaced JavaScript code. Ensure JavaScript is moved to a separate file or script tag. */

.contador {
    text-align: center;
    margin: 20px 0;
}

.contador img {
    max-width: 100px; /* Ajusta o tamanho do contador */
    border-radius: 0px; /* Dá bordas arredondadas */
}
img {
  border-radius: 0px; /* Remove qualquer arredondamento */
  border: none; /* Remove borda */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Efeito de sombra */
}
.nav-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 30px 0;
}

.nav-buttons button {
    padding: 10px 20px;
    background-color: #007bff; /* Cor de fundo */
    color: white; /* Cor do texto */
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar os botões */
}

.nav-buttons button:hover {
    background-color: #0056b3; /* Cor ao passar o mouse */
    transform: scale(1.05); /* Efeito de zoom ao passar o mouse */
}

.nav-buttons button:active {
    transform: scale(0.95); /* Efeito ao clicar */
}

.arcade-btn {
    background: linear-gradient(90deg, #ff004f 0%, #ffb300 100%);
    color: #fff;
    font-family: 'Press Start 2P', Arial, sans-serif;
    font-size: 18px;
    padding: 16px 32px;
    border: 4px solid #fff700;
    border-radius: 20px;
    box-shadow:
        0 8px 0 #b30000,
        0 16px 32px rgba(0,0,0,0.35),
        0 0 16px #fff70088;
    text-shadow:
        2px 2px 0 #000,
        0 0 8px #fff700,
        0 0 2px #fff;
    cursor: pointer;
    transition:
        transform 0.1s,
        box-shadow 0.2s,
        background 0.3s,
        border-color 0.3s;
    outline: none;
    margin-bottom: 14px;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.arcade-btn::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(120deg, transparent 40%, #fff70055 50%, transparent 60%);
    transform: rotate(25deg);
    opacity: 0.8;
    pointer-events: none;
    animation: arcade-glow 2.5s linear infinite;
}

@keyframes arcade-glow {
    0% { left: -100%; }
    100% { left: 120%; }
}

.arcade-btn:hover, .arcade-btn:focus {
    background: linear-gradient(90deg, #ffb300 0%, #ff004f 100%);
    color: #fff700;
    transform: translateY(-6px) scale(1.07);
    box-shadow:
        0 16px 32px #ff004f80,
        0 4px 16px #000,
        0 0 24px #fff700cc;
    border-color: #ff004f;
}

.arcade-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 4px #b30000;
}

.arcade-image-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(90deg, #ff004f 0%, #ffb300 100%);
    color: #fff;
    font-family: 'Press Start 2P', 'Arial Black', Arial, sans-serif;
    font-size: 18px;
    padding: 18px 36px;
    border: 4px solid #fff700;
    border-radius: 24px;
    box-shadow: 0 8px 0 #b30000, 0 16px 32px rgba(0,0,0,0.35), 0 0 16px #fff70088;
    text-shadow: 2px 2px 0 #000, 0 0 8px #fff700, 0 0 2px #fff;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s, background 0.3s, border-color 0.3s;
    outline: none;
    margin: 20px auto;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.arcade-image-btn:hover, .arcade-image-btn:focus {
    background: linear-gradient(90deg, #ffb300 0%, #ff004f 100%);
    color: #fff700;
    transform: translateY(-6px) scale(1.07);
    box-shadow: 0 16px 32px #ff004f80, 0 4px 16px #000, 0 0 24px #fff700cc;
    border-color: #ff004f;
}

.arcade-image-btn:active {
    transform: scale(0.96);
    box-shadow: 0 2px 4px #b30000;
}

.arcade-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.arcade-photo-btn {
    position: relative;
    display: inline-block;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    outline: none;
    transition: transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 2px 8px #ffb300;
    border-radius: 24px;
    overflow: hidden;
}

.arcade-photo-btn:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 16px 32px #ff004f80, 0 4px 16px #000, 0 0 24px #fff700cc;
}

.arcade-photo-img {
    display: block;
    width: 260px; /* ajuste conforme necessário */
    height: auto;
    border-radius: 24px;
    filter: brightness(0.95) contrast(1.1);
}

.arcade-photo-title {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    color: #fff700;
    font-family: 'Press Start 2P', 'Arial Black', Arial, sans-serif;
    font-size: 20px;
    text-align: center;
    text-shadow:
        2px 2px 0 #000,
        0 0 8px #ff004f,
        0 0 2px #fff;
    letter-spacing: 1px;
    pointer-events: none;
    line-height: 1.2;
    background: rgba(0,0,0,0.25); /* leve fundo para destacar o texto */
    border-radius: 12px;
    padding: 8px 0;
}

.logout-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.evento-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
}

.evento-poster-img {
    width: 90vw;         /* ocupa 90% da largura da tela */
    max-width: 1200px;   /* limite máximo para não distorcer em telas grandes */
    height: auto;
    border-radius: 43px;
    box-shadow: 0 4px 16px #ff004f88, 0 2px 8px #fff70055;
    background: #fff;
    display: block;
    object-fit: contain;
    margin: 0 auto 16px auto;
}

.evento-album img {
    max-width: 120px;
    margin: 0 8px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.evento-info-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    margin: 40px auto;
    width: 100%;
    max-width: 1100px;
}

.evento-info-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 120px;
}

.evento-info-img {
    width: 100%;
    max-width: 120px;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 16px #ff004f88, 0 2px 8px #fff70055;
    background: #fff;
    display: block;
}

.evento-info-text {
    background: rgba(57, 157, 239, 0.732);
    border-radius: 18px;
    box-shadow: 0 4px 24px #b2b2b222, 0 2px 8px #ffb30033;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 260px;
    max-width: 420px;
    margin: 0 24px;
    text-align: center;
}

.evento-info-text h2 {
    margin-bottom: 16px;
    color: #672603;
    font-size: 1.3em;
    letter-spacing: 1px;
}

.evento-info-text h3 {
    margin-bottom: 12px;
    color: #ff004f;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.evento-info-text ul {
    list-style: disc inside;
    text-align: left;
    margin: 0 auto;
    padding-left: 10px;
    color: #34cb11;
    font-size: 1em;
    max-width: 340px;
}

.contador {
    text-align: center;
    margin: 24px auto;
    width: 100%;
}

.contador img {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
}

/* GIFs */
.gif-container {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.left-gif, .center-gif, .right-gif {
    width: 80px;
    height: auto;
    border-radius: 10px;
    margin: 0 8px;
}

@media (max-width: 700px) {
    .gif-container {
        gap: 6px;
        padding: 10px 0;
    }
    .left-gif, .center-gif, .right-gif {
        width: 48px;
    }
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    max-width: 98vw;
    margin: 24px auto 18px auto;
    padding: 12px 0;
}

.social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #292786;
    flex: 1 1 80px;
    min-width: 80px;
    max-width: 140px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.08);
    color: #ff004f;
}

.social-icons .logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #007bff33;
    margin-bottom: 6px;
    background: #fff;
    transition: box-shadow 0.2s, background 0.2s;
}

.social-icons a:hover .logo {
    box-shadow: 0 6px 24px #ff004f44, 0 2px 8px #ffb30033;
    background: #f7f7fa;
}

.social-icons p {
    margin: 0;
    font-size: 0.95em;
    font-family: 'Press Start 2P', Arial, sans-serif;
    letter-spacing: 1px;
    color: #1c649f;
    text-shadow: 1px 1px 8px #fff70033;
}

/* Patrocinadores e Apoios */
.sponsors, .supporters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 98vw;
    margin: 32px auto 32px auto;   /* Mais espaçamento acima e abaixo */
    padding: 24px 0 18px 0;        /* Espaço interno superior e inferior */
    text-align: center;
    box-sizing: border-box;
}

.sponsor-logos, .supporter-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;                     /* Espaço maior entre os logos */
    justify-content: center;
    align-items: center;
    margin: 18px auto 0 auto;      /* Espaço acima dos logos */
    width: 100%;
    max-width: 900px;
    padding: 0;
}

.sponsor-logo, .supporter-logo {
    width: 100px; /* Define um tamanho fixo para todas as imagens */
    height: 100px; /* Define a altura fixa */
    object-fit: cover; /* Garante que a imagem se ajuste ao tamanho sem distorção */
    border-radius: 10px; /* Adiciona bordas arredondadas */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suaviza o movimento e a sombra */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adiciona uma sombra leve */
}

.sponsor-logo:hover, .supporter-logo:hover {
    transform: scale(1.1) translateY(-5px); /* Aumenta o tamanho e move a imagem para cima */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Aumenta a sombra ao passar o mouse */
}

@media (max-width: 700px) {
    .sponsor-logo, .supporter-logo {
        width: 48px;
        height: 48px;
    }
    .sponsor-logos, .supporter-logos {
        gap: 8px;
    }
    .sponsors, .supporters {
        margin-bottom: 12px;
    }
}

/* Footer */
.footer {
    width: 100%;
    max-width: 98vw;
    margin: 0 auto;
    padding: 18px 0 8px 0;
    background: rgba(255,255,255,0.95);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 12px #007bff22;
    text-align: center;
    font-size: 0.95em;
}

.footer p {
    margin: 8px 0 0 0;
    color: #292786;
    font-size: 0.95em;
}

@media (max-width: 700px) {
    .footer {
        padding: 10px 0 4px 0;
        font-size: 0.85em;
    }
    .footer p {
        font-size: 0.85em;
    }
}

/* Melhore a experiência mobile para index.html */
/* filepath: d:\galz games\galz games site\index.css */

/* Layout geral */
body {
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', Arial, sans-serif;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #292786;
}

/* Centraliza e ajusta nav-buttons */
.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 24px auto 0 auto;
    width: 100%;
    max-width: 98vw;
}

.arcade-btn {
    padding: 12px 18px;
    font-size: 1em;
    border-radius: 10px;
    margin: 4px 0;
    background: #1c649f;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 120px;
    max-width: 180px;
    text-align: center;
}

.arcade-btn:hover {
    background: #ff004f;
}

/* Evento YouTube Box */
.evento-youtube-box {
    max-width: 98vw;
    margin: 32px auto 24px auto;
    background: linear-gradient(120deg, #e3eaff 70%, #b3d1ff 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px #007bff22, 0 2px 8px #ffb30033;
    padding: 24px 8vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 3px solid #1c649f;
    border-image: linear-gradient(90deg, #ff004f 0%, #1c649f 100%);
    border-image-slice: 1;
}

.evento-youtube-video iframe {
    width: 100%;
    max-width: 420px;
    height: 236px;
    border-radius: 14px;
    border: 2px solid #1c649f33;
    box-shadow: 0 2px 8px #007bff22;
    background: #000;
}

@media (max-width: 700px) {
    .evento-youtube-box {
        padding: 12px 2vw;
    }
    .evento-youtube-video iframe {
        max-width: 98vw;
        height: 38vw;
        min-height: 180px;
    }
}

/* Poster e header */
.evento-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px auto;
    width: 100%;
}

.evento-poster-img {
    width: 96vw;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px #ff004f88, 0 2px 8px #fff70055;
    background: #fff;
    display: block;
    object-fit: contain;
    margin: 0 auto 16px auto;
}

.evento-album {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 12px;
}

.evento-album img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

/* Main sections */
main {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2vw;
}

.evento-info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    align-items: flex-start;
    margin: 32px 0;
}

.evento-info-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex: 1 1 180px;
}

.evento-info-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 8px #007bff22;
}

.evento-info-text {
    flex: 2 1 320px;
    min-width: 220px;
    max-width: 98vw;
    text-align: center;
    margin: 0 auto;
}

.evento-info-text ul {
    padding-left: 0;
    list-style: none;
    text-align: left;
    margin: 0 auto;
    max-width: 98vw;
}

.evento-info-text li {
    margin-bottom: 8px;
}

/* Carrossel mobile */
.carrossel-mobile-row {
    display: flex;
    flex-direction: column;    /* Agora as imagens ficam em coluna (vertical) */
    align-items: center;       /* Centraliza as imagens na vertical */
    gap: 18px;                 /* Espaço entre as imagens */
    margin: 18px 0;
}

.boardgames-mobile-row {
    display: flex;
    flex-direction: column;   /* Imagens em coluna (vertical) */
    align-items: center;      /* Centraliza as imagens */
    gap: 18px;                /* Espaço entre as imagens */
    margin: 18px 0;
}

@media (max-width: 900px) {
    .evento-info-flex {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .evento-info-col {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    .evento-info-img {
        width: 80px;
        height: 80px;
    }
    .evento-info-text {
        font-size: 0.95em;
        padding: 0 2vw;
    }
}

/* Contador */
.contador {
    text-align: center;
    margin: 24px auto;
    width: 100%;
}

.contador img {
    width: 120px;
    height: auto;
    margin-bottom: 8px;
}

/* GIFs */
.gif-container {
    width: 100%;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.left-gif, .center-gif, .right-gif {
    width: 80px;
    height: auto;
    border-radius: 10px;
    margin: 0 8px;
}

@media (max-width: 700px) {
    .gif-container {
        gap: 6px;
        padding: 10px 0;
    }
    .left-gif, .center-gif, .right-gif {
        width: 48px;
    }
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    max-width: 98vw;
    margin: 24px auto 18px auto;
    padding: 12px 0;
}

.social-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #292786;
    flex: 1 1 80px;
    min-width: 80px;
    max-width: 140px;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.08);
    color: #ff004f;
}

.social-icons .logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 2px 8px #007bff33;
    margin-bottom: 6px;
    background: #fff;
    transition: box-shadow 0.2s, background 0.2s;
}

.social-icons a:hover .logo {
    box-shadow: 0 6px 24px #ff004f44, 0 2px 8px #ffb30033;
    background: #f7f7fa;
}

.social-icons p {
    margin: 0;
    font-size: 0.95em;
    font-family: 'Press Start 2P', Arial, sans-serif;
    letter-spacing: 1px;
    color: #1c649f;
    text-shadow: 1px 1px 8px #fff70033;
}

/* Patrocinadores e Apoios */
.sponsors, .supporters {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 98vw;
    margin: 32px auto 32px auto;   /* Mais espaçamento acima e abaixo */
    padding: 24px 0 18px 0;        /* Espaço interno superior e inferior */
    text-align: center;
    box-sizing: border-box;
}

.sponsor-logos, .supporter-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;                     /* Espaço maior entre os logos */
    justify-content: center;
    align-items: center;
    margin: 18px auto 0 auto;      /* Espaço acima dos logos */
    width: 100%;
    max-width: 900px;
    padding: 0;
}

.sponsor-logo, .supporter-logo {
    width: 100px; /* Define um tamanho fixo para todas as imagens */
    height: 100px; /* Define a altura fixa */
    object-fit: cover; /* Garante que a imagem se ajuste ao tamanho sem distorção */
    border-radius: 10px; /* Adiciona bordas arredondadas */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Suaviza o movimento e a sombra */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Adiciona uma sombra leve */
}

.sponsor-logo:hover, .supporter-logo:hover {
    transform: scale(1.1) translateY(-5px); /* Aumenta o tamanho e move a imagem para cima */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); /* Aumenta a sombra ao passar o mouse */
}

@media (max-width: 700px) {
    .sponsor-logo, .supporter-logo {
        width: 48px;
        height: 48px;
    }
    .sponsor-logos, .supporter-logos {
        gap: 8px;
    }
    .sponsors, .supporters {
        margin-bottom: 12px;
    }
}

/* Footer */
.footer {
    width: 100%;
    max-width: 98vw;
    margin: 0 auto;
    padding: 18px 0 8px 0;
    background: rgba(255,255,255,0.95);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -2px 12px #007bff22;
    text-align: center;
    font-size: 0.95em;
}

.footer p {
    margin: 8px 0 0 0;
    color: #292786;
    font-size: 0.95em;
}

@media (max-width: 700px) {
    .footer {
        padding: 10px 0 4px 0;
        font-size: 0.85em;
    }
    .footer p {
        font-size: 0.85em;
    }
}
