@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800;900&display=swap');

#sparks {
    position: relative;
    width: 100%;
    padding: 3vw 3vw;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.9s ease;
    isolation: isolate;
    p{
        text-indent: 3%;
    }
}

#sparks {
    background:
        radial-gradient(ellipse 55% 45% at 18% 12%, rgba(var(--spark-color, 255,255,255), 0.16), transparent 60%),
        radial-gradient(ellipse 65% 55% at 82% 28%, rgba(var(--spark-color, 255,255,255), 0.12), transparent 65%),
        radial-gradient(ellipse 75% 60% at 30% 62%, rgba(var(--spark-color, 255,255,255), 0.14), transparent 68%),
        radial-gradient(ellipse 85% 70% at 78% 90%, rgba(var(--spark-color, 255,255,255), 0.10), transparent 72%),
        linear-gradient(to bottom, rgb(var(--cor-secao-neutra, 24,24,26)), rgb(var(--cor-secao-neutra-fundo, 8,8,10)));
    background-color: rgb(var(--cor-secao-neutra-fundo, 8, 8, 10));
    background-size: 260% 260%, 220% 220%, 300% 300%, 260% 260%, 100% 100%;
    background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    animation: sparks-ondear 26s ease-in-out infinite alternate;
}

@keyframes sparks-ondear {
    0%   { background-position: 0% 0%,   100% 10%, 20% 100%, 90% 90%, 0% 0%; }
    50%  { background-position: 30% 40%, 60% 60%,  70% 20%,  40% 30%, 0% 0%; }
    100% { background-position: 80% 90%, 10% 90%,  90% 10%,  10% 60%, 0% 0%; }
}

@media (prefers-reduced-motion: reduce) {
    #sparks { animation: none; }
}

.sparks-titulo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.sparks-titulo {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 9vw;
    line-height: 1;
    letter-spacing: 0.02em;
    color: white;
    mix-blend-mode: difference;
    text-transform: uppercase;
}
body.tema-branco .sparks-titulo { color: rgb(30, 30, 30); mix-blend-mode: normal; }

.sparks-subtitulo {
    margin: 0.4vw 0 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.6vw;
    letter-spacing: 0.08em;
    color: white;
    mix-blend-mode: difference;
}
body.tema-branco .sparks-subtitulo { color: rgb(30, 30, 30); mix-blend-mode: normal; }

.sparks-texto {
    max-width: 55vw;
    margin: 2.4vw auto;
    font-size: 1.1vw;
    line-height: 1.65;
    color: white;
    mix-blend-mode: difference;
    text-align: left;
}
body.tema-branco .sparks-texto { color: rgb(30, 30, 30); mix-blend-mode: normal; }

.sparks-posts {
    display: flex;
    gap: 1.6vw;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3vw;
}

.post-card {
    width: min(24vw, 300px);
    background: rgb(20, 20, 22);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-align: left;
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-6px);
}

.post-card img,
.post-card video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.post-card-corpo {
    padding: 0.9vw 1.1vw 1.2vw;
}

.post-card-usuario {
    display: flex;
    align-items: center;
    gap: 0.5vw;
    font-weight: bold;
    font-size: 0.95vw;
    color: white;
    margin-bottom: 0.5vw;
}

.post-card-usuario::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    flex-shrink: 0;
}

.post-card-legenda {
    font-size: 0.85vw;
    line-height: 1.5;
    color: rgb(210, 210, 210);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-ver {
    display: inline-block;
    margin-top: 0.6vw;
    font-size: 0.8vw;
    color: rgb(120, 170, 255);
}

@media (max-width: 900px) {
    .sparks-titulo { font-size: 16vw; }
    .sparks-subtitulo { font-size: 4vw; }
    .sparks-texto { max-width: 90vw; font-size: 3.6vw; }
    .post-card { width: 85vw; }
    .post-card-usuario { font-size: 3.6vw; }
    .post-card-legenda { font-size: 3.2vw; }
    .post-card-ver { font-size: 3vw; }
}