/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   BODY / FUNDO
========================= */
body {
    font-family: Arial, sans-serif;
    background: radial-gradient(circle at top, #0a0a0f, #000000);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
}

/* =========================
   HEADER
========================= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;

    background: rgba(10, 10, 20, 0.85); /* importante */
    backdrop-filter: blur(10px);        /* efeito glass */
    
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

/* Título + subtítulo */
.logo-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* =========================
   TEXTO NEON
========================= */
.neon-text {
    color: #0ff;
    font-size: 2rem;
    letter-spacing: 2px;
    text-shadow:
        0 0 1px #0ff,
        0 0 1px #0ff,
        0 0 2px #0ff,
        0 0 4px #00f7ff;
}

/* Subtítulo */
.subtitle {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 5px;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

/* =========================
   MENU
========================= */
nav {
    display: flex;
    gap: 25px; /* controla o espaçamento */
}

nav a {
    color: #ffffff;
    margin-left: 20px;
    text-decoration: none;
    position: relative;
    transition: 0.5s;
    font-size: 0.95rem;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #ff00ff;
    transition: 0.3s;
}

nav a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   MAIN
========================= */
main {
    flex: 1; /* ocupa o espaço restante */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
}

/* =========================
   DROPDOWN MENU
========================= */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Menu escondido */
.dropdown-menu {
    position: absolute;
    top: 100%; /* 👈 CORRETO */
    left: 0;

    background: rgba(10, 10, 20, 0.95);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;

    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.3),
        0 0 30px rgba(255, 0, 255, 0.2);

    display: none;
    flex-direction: column;
    min-width: 165px;
    padding: 10px 0;
    z-index: 999;
}

/* Links dentro do dropdown */
.dropdown-menu a {
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    display: block;
}

/* Hover nos itens */
.dropdown-menu a:hover {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* MOSTRAR AO PASSAR O MOUSE */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* =========================
   CARD CYBERPUNK
========================= */
.card-1 {
    padding: 10px;
    text-align: center;
    color: #0ff;
}

.card-2 {
    background: rgba(27, 27, 45, 0.85);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.1);
    text-align: center;
    width: 900px;
}

.card-3 {
    background: rgba(27, 27, 45, 0.85);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.1);
    text-align: center;
    width: 900px;
}

.card-3-p {
    text-align: left;
}

.card-img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    margin: 15px 0;

    box-shadow:
        0 0 5px rgba(0, 255, 255, 0.3),
        0 0 15px rgba(255, 0, 255, 0.2);
}

/* Título do card */
h3 {
    text-align: center;
}

/* Texto do card */
.card-1 p {
    color: #ccc;
    line-height: 1.5;
    
}

.card-2 h2 {
    margin-bottom: 15px;
    color: #0ff;
}

.card-2 p {
    color: #ccc;
    line-height: 1.5;
}

.card-3 h2 {
    margin-bottom: 15px;
    color: #0ff;
}

.card-3 p {
    color: #ccc;
    line-height: 1.5;
}

/* =========================
   BOTÃO NEON
========================= */
.neon-button {
    margin-top: 20px;
    padding: 10px 25px;
    border: none;
    color: #fff;
    background: transparent;
    border: 2px solid #ff00ff;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    text-shadow: 0 0 5px #ff00ff;
}

.neon-button:hover {
    background: #ff00ff;
    box-shadow:
        0 0 10px #ff00ff,
        0 0 40px #ff00ff;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 15px;
    border-top: 2px solid rgba(0, 255, 255, 0.2);
    font-size: 0.85em;
    color: #aaa;
}

/* =========================
   EFEITO LEVE DE BRILHO GLOBAL
========================= */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0,255,255,0.05));
    pointer-events: none;
}

/* =========================
   FUMAÇA CYBERPUNK ANIMADA (REALISTA)
========================= */
body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 550px;
    height: 550px;
    transform: translate(-50%, -50%);
    
    background:
        radial-gradient(circle at 30% 30%, rgba(0,255,255,0.15), transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255,0,255,0.15), transparent 60%),
        radial-gradient(circle at 50% 80%, rgba(0,150,255,0.1), transparent 70%);
    
    filter: blur(100px);
    opacity: 0.6;
    pointer-events: none;
    
    animation: smokeFlow 18s infinite ease-in-out;
}

/* Movimento da fumaça */
@keyframes smokeFlow {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(-45%, -55%) scale(1.2) rotate(10deg);
        opacity: 0.7;
    }
    50% {
        transform: translate(-55%, -45%) scale(1.1) rotate(-10deg);
        opacity: 0.5;
    }
    75% {
        transform: translate(-48%, -52%) scale(1.3) rotate(5deg);
        opacity: 0.8;
    }
    100% {
        transform: translate(-52%, -48%) scale(1.1) rotate(0deg);
        opacity: 0.4;
    }
}
