/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* CORPO */
body {
    background: linear-gradient(135deg, #16222a, #3a6073);
    color: #fff;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 255, 200, 0.08);
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
    z-index: 1000;
}

.navbar h1 {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
    color: #00ffc8;
    text-shadow: 0 0 10px #00ffc8;
    animation: fadeInDown 1s ease-in-out;
}

.navbar ul {
    font-family: "Playfair Display", serif;
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar a {
    font-family: "Playfair Display", serif;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.navbar a:hover {
    color: #00ffc8;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 40px 60px;
    min-height: 100vh;
    position: relative;
}

.hero-content {
    max-width: 500px;
}

.hero h2 {
    font-family: "Playfair Display", serif;
    font-size: 2.5rem;
    color: #00ffc8;
    text-shadow: 0 0 10px #00ffc8;
    animation: fadeInDown 1s ease-in-out;
}

.hero p {
    margin: 15px 0 20px;
    font-size: 1.1rem;
    color: #c0f8f5;
    animation: fadeInUp 1.2s ease-in-out;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #00ffc8;
    color: #000;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #00ffc8;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00ffc8;
}

/* PERSONAGEM */
.character {
    max-width: 250px;
    animation: float 3s infinite ease-in-out;
    filter: drop-shadow(0 0 25px #00ffc8);
}

/* SEÇÕES */
.section {
    text-align: center;
    padding: 80px 40px;
    max-width: 900px;
    margin: auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

/* ATIVO PARA ANIMAÇÃO */
.section.active {
    opacity: 1;
    transform: translateY(0);
}

.section h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #00ffc8;
}

.section p {
    color: #d7fdf9;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* REFLEXÃO */
.reflection {
    /* background: rgba(0, 255, 200, 0.08); */
    border-radius: 20px;
    /* box-shadow: 0 0 25px rgba(0, 255, 200, 0.2); */
}

/* RODAPÉ */
footer {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    color: #a0e6de;
    margin-top: 40px;
}

/* ANIMAÇÕES */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .character {
        margin-top: 20px;
        max-width: 200px;
    }
}

/* Container dos brilhos */
#brilhos {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Para não bloquear cliques */
    overflow: hidden;
    z-index: 1;
}

/* Brilho individual */
.brilho {
    position: absolute;
    background: #00ffc8;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffc8, 0 0 20px #00ffc8;
    opacity: 0.8;
    animation: cair linear forwards;
}

/* Animação de queda */
@keyframes cair {
    0% {
        transform: translateY(-10px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) scale(0.3);
        opacity: 0;
    }
}

/* GIF fixo no canto inferior direito */
.gif-inveja {
    position: fixed;
    bottom: 15px;
    right: 20px;
    width: 140px;
    z-index: 999;
    opacity: 0;
    /* Inicialmente invisível */
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    animation: bounce 3s infinite ease-in-out;
    pointer-events: none;
    /* Não bloqueia cliques */
    filter: drop-shadow(0 0 12px #00ffc8);
}

/* Quando ativado */
.gif-inveja.show {
    opacity: 1;
    visibility: visible;
}

/* Animação de flutuação */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .gif-inveja {
        width: 100px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .gif-inveja {
        width: 80px;
        bottom: 5px;
        right: 5px;
    }
}

/* Seção compacta com o tema verde/azulado */
.suicide-awareness {
    /* background: rgba(0, 255, 200, 0.05); */
    padding: 25px;
    margin: 40px auto;
    max-width: 600px;
    text-align: center;
    border-radius: 15px;
    /* box-shadow: 0 0 15px rgba(0, 255, 200, 0.15); */
    backdrop-filter: blur(8px);
    animation: pulse 3s infinite ease-in-out;
}

/* Título */
.suicide-awareness h2 {
    font-family: "Playfair Display", serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #00ffc8;
    text-shadow: 0 0 8px #00ffc8;
}

/* Texto do contador */
.counter-label {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 5px;
}

/* Contador */
#suicide-counter {
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff4081;
    text-shadow: 0 0 12px rgba(255, 64, 129, 0.7);
    display: block;
    margin-bottom: 15px;
}

/* Texto de apoio */
.help-text {
    font-size: 0.95rem;
    color: #aafaff;
    line-height: 1.5;
}

/* Efeito de pulsação sutil */
/* @keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.15);
  }
  50% {
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.35);
  }
} */

.cvv-button {
    color: #00ffc8;
    text-shadow: 0 0 8px #00ffc8
}

.quiz {
    /* background-color: #f0f4f8; */
    padding: 50px 20px;
}

#quiz-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

#question {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fbfbfb;
}

#options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    background-color: #91ffe7;
    border: none;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    border-radius: 5px;
}

.option-btn:hover {
    background-color: #91ffe7;
}

#result {
    text-align: center;
    margin-top: 20px;
}

#result-text {
    font-size: 18px;
    margin-bottom: 20px;
}

#result-image {
    border-radius: 10px;
}