/* Estilos tecnológicos para a aba de Créditos */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Estilo geral do corpo */
body {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background: linear-gradient(90deg, #000428, #004e92);
    color: white;
    overflow-x: hidden;
}

/* Header */
header {
    background: rgba(0, 0, 0, 0.9);
    color: #00ffcc;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

/* Navegação */
nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: #00ffcc;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    transition: 0.3s;
    border-radius: 5px;
}

nav a:hover {
    background: #00ffcc;
    color: #000428;
}

/* Título */
h2 {
    background: rgba(0, 0, 0, 0.7); /* Fundo escuro com opacidade */
    color: #00ffcc;
    max-width: 720px;
    margin: auto;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }
    to { box-shadow: 0 0 20px rgba(0, 255, 255, 0.9); }
}

/* Parágrafo com fundo e animação */
.paragrafo {
    background: rgba(0, 0, 0, 0.7);
    font-family: 'Roboto', sans-serif;
    color: #ddd;
    max-width: 720px;
    margin: auto;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s;
}

.paragrafo:hover {
    transform: scale(1.05);
}

/* Container dos créditos */
.creditos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

/* Créditos */
.creditos {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    transition: transform 0.3s;
    max-width: 300px;
    text-align: center; 
}

.creditos:hover {
    transform: scale(1.05);
}

.creditos h3 {
    color: #00ffcc;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.creditos ul {
    list-style: none;
    padding: 0;
}

.creditos li {
    padding: 5px 0;
    color: #ddd;
    transition: 0.3s;
}

.creditos li:hover {
    color: #00ffcc;
}

.foto-criadores {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.foto-criadores img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* Botões */
button {
    background: #00ffcc;
    color: #000428;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    margin-top: 20px;
}

button:hover {
    background-color: #000428;
    color: #00ffcc;
    transform: scale(1.1);
}

/* Botões específicos */
#baixar-jogo {
    background: #ff6347; /* Cor laranja para "Baixar Jogo" */
}

#jogar-online {
    background: #32cd32; /* Cor verde para "Jogar Online" */
}

/* Carrossel */
.carousel-container {
    width: 90%;
    max-width: 720px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}

.carousel {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img, .slide video {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Botões de navegação do carrossel */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsividade */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    header {
        padding: 10px;
    }
    nav {
        flex-direction: column;
        align-items: center;
    }
    nav a {
        display: block;
        margin: 5px 0;
    }
    .carousel-container {
        width: 100%;
        max-width: 100%;
    }
    .prev, .next {
        font-size: 12px;
        padding: 8px;
    }
}

footer {
    background: rgba(0, 0, 0, 0.8);
    color: #00ffcc;
    padding: 15px;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0, 255, 255, 0.3);
    position: relative;
    bottom: 0;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
}

footer p {
    margin: 0;
    font-size: 16px;
}

footer a {
    color: #00ffcc;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.personagem {
    display: inline-block;
    margin: 20px;
    text-align: center;
}

.personagem img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.descricao {
    margin-top: 10px;
    font-size: 16px;
    color: #ddd;
    font-family: 'Roboto', sans-serif;
    background: rgba(0, 0, 0, 0.7); /* Fundo semitransparente para a descrição */
    padding: 10px;
    border-radius: 8px;
}
