body {
    margin: 0;
    font-family: Arial;
    background: #050d12;
    color: white;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

header {
    text-align: center;
    padding: 60px;
}

.card {
    background: rgba(255,255,255,0.05);
    margin: 30px auto;
    padding: 30px;
    width: 80%;
    border-radius: 15px;
}

.cta {
    text-align: center;
    margin: 40px;
}

.cta a {
    padding: 15px;
    background: #00ffcc;
    color: black;
    text-decoration: none;
}

/* 🔥 GRID DA ATIVIDADE */

#grid {
    display: grid;
    grid-template-columns: repeat(5, 60px);
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.pixel {
    width: 60px;
    height: 60px;
    background: #1e3a47;
    border-radius: 8px;
    cursor: pointer;
}

.pixel.active {
    background: #00ffcc;
}
img {
    max-width: 220px;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,255,200,0.3);
}

ul {
    text-align: left;
    max-width: 500px;
    margin: 20px auto;
}

.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.02);
}
.destaque-texto {
    font-size: 1.2rem;
    margin-top: 15px;
}

.highlight {
    color: #00ffcc;
    font-weight: bold;
}

.pipeline {
    font-size: 1.2rem;
    margin: 20px;
    color: #00ffcc;
}

.frase-final {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 20px;
}

.final {
    border: 2px solid #00ffcc;
}
/* estado inicial (invisível) */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

/* quando aparece */
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* efeito suave nos cards */
.card {
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.02);
}
.grid-imagens {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.grid-imagens img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,255,200,0.3);
}

.destaque-texto {
    font-size: 1.2rem;
    margin-top: 15px;
}

.highlight {
    color: #00ffcc;
    font-weight: bold;
}

.pipeline {
    font-size: 1.2rem;
    margin: 20px;
    color: #00ffcc;
}

.frase-final {
    font-size: 1.3rem;
    font-weight: bold;
}

.final {
    border: 2px solid #00ffcc;
}
a {
    color: #00ffcc;
    text-decoration: none;
    text-align: center;
}
h2 {
    color: #00ffcc;
    font-size: 1.5rem;
    text-align: center;
}
#grid {
    display: grid;
    grid-template-columns: repeat(5, 60px);
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.pixel {
    width: 60px;
    height: 60px;
    background: #1e3a47;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.pixel.active {
    background: #00ffcc;
}

.pixel.highlight {
    border: 2px solid yellow;
}

.controls {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
.atividade{
    text-align: center;
    margin-top: 40px;
}
.numeros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.numeros button {
    width: 50px;
    height: 50px;
    font-size: 18px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background: #1e3a47;
    color: white;
    transition: 0.2s;
}

.numeros button:hover {
    background: #00ffcc;
    color: black;
}
.usuario {
    text-align: center;
    margin: 20px;
}

.usuario input {
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.usuario button {
    padding: 10px;
    border-radius: 8px;
    background: #00ffcc;
    border: none;
    cursor: pointer;
}

.quiz {
    max-width: 600px;
    margin: auto;
    text-align: left;
}

.quiz p {
    margin-top: 20px;
}

.quiz button {
    display: block;
    margin: 5px 0;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    border: none;
    background: #1e3a47;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.quiz button:hover {
    background: #00ffcc;
    color: black;
}

#resultadoFinal {
    text-align: center;
    margin-top: 20px;
}
#respostas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
    margin: auto;
}

#respostas button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #1e3a47;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

#respostas button:hover {
    background: #00ffcc;
    color: black;
}

#feedback {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
}
.titulo {
    text-align: center;
    margin-top: 20px;
}

#feedback {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
}

#finalContainer button {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: #00ffcc;
    cursor: pointer;
    margin-top: 15px;
}