/* =========================
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);
backdrop-filter: blur(10px);

border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.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;
}

.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;
}

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;

display: flex;
flex-direction: column;

align-items: flex-start;

padding: 40px 80px;
gap: 10px;
}

/* =========================
DROPDOWN MENU
========================= */
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-menu {
position: absolute;
top: 100%;
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;

}

.dropdown-menu a {
padding: 10px 15px;
color: #fff;
text-decoration: none;
transition: 0.3s;
display: block;
}

.dropdown-menu a:hover {
background: rgba(255, 0, 255, 0.2);
color: #ff00ff;
text-shadow: 0 0 10px #ff00ff;
}

.dropdown:hover .dropdown-menu {
display: flex;
}

/* =========================
CARD CYBERPUNK
========================= */
.card {
background: rgba(27, 27, 45, 0.85);
padding: 40px;
border-radius: 15px;
border: 1px solid rgba(0, 255, 255, 0.3);
text-align: left;
width: 1750px;
}

.card-img {
width: 100%;
max-width: 550px;
border-radius: 10px;
margin: 15px 0;

box-shadow:
    0 0 10px rgba(0, 255, 255, 0.3),
    0 0 30px rgba(255, 0, 255, 0.2);

}

/* TÍTULO */
.card h2 {
margin-bottom: 15px;
color: #0ff;
position: relative;
padding-bottom: 10px;
}

.card h2 a {
    color: #0ff;
    text-decoration: none;
    transition: 0.3s;
}

/* Hover bonito */
.card h2 a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* LINHA NEON */
.card h2::after {
content: "";
position: absolute;
left: 0;
bottom: 0;

width: 0;
height: 2px;

background: linear-gradient(90deg, #ff00ff, #0ff);
transition: 0.4s;
}

/* ANIMAÇÃO */
.card:hover h2::after {
width: 60px;
}

/* TEXTO */
.card p {
color: #ccc;
line-height: 1.5;
text-align: left;
}

/* =========================
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 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;
}

/* =========================
SUB MENU
========================= */
.sub-menu {
position: sticky;
top: 100px;

z-index: 999;

width: 100%;
padding: 15px 40px;

background: rgba(10, 10, 20, 0.95);
backdrop-filter: blur(10px);

border-bottom: 1px solid rgba(0, 255, 255, 0.2);

display: flex;
justify-content: center;
}

/* INPUT */
#searchInput {
width: 630px;
padding: 10px 15px;

background: transparent;
border: 2px solid #0ff;
border-radius: 10px;

color: #fff;
outline: none;

box-shadow: 0 0 10px rgba(0,255,255,0.3);
}

#searchInput:focus {
border-color: #ff00ff;
box-shadow:
0 0 10px #ff00ff,
0 0 30px rgba(255,0,255,0.3);
}

.tag-filter {
    margin-left: 20px;
}

.tags {
    margin-top: 20px;
    padding-top: 15px;

    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

#tagSelect {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #0ff;
    background: transparent;
    color: #fff;
    outline: none;
}

#tagSelect option {
    background: #000;
}

/* =========================
CODE BOX (VISUALIZADOR DE CÓDIGO)
========================= */

.code-box {
    background: #000;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;

    border: 1px solid rgba(0, 255, 255, 0.2);

    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.8),
        0 0 5px rgba(0,255,255,0.2);

    overflow-x: auto;

}

/* TEXTO DO CÓDIGO */
.code-box code {
    color: #ffffff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    line-height: 1.6;
}

/* REMOVE ESPAÇAMENTO EXTRA */
.code-box pre {
    margin: 0;
}

/* COMENTÁRIOS */
.comment {
    color: #777;
    font-style: italic;
}

/* =========================
BARRA DE PROGRESSO (DEV LEVEL)
========================= */

.dev-level {
    margin: 20px 0;
}

.dev-level span {
    font-size: 0.9rem;
    color: #aaa;
    display: block;
    margin-bottom: 8px;
}

/* FUNDO DA BARRA */
.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;

    border: 1px solid rgba(0, 255, 255, 0.3);
}

/* PREENCHIMENTO */
.progress-fill {
    height: 100%;
    width: 0; /* começa zerado */
    
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    border-radius: 10px;

    box-shadow:
        0 0 10px #00ffff,
        0 0 20px rgba(255, 0, 255, 0.5);

    transition: width 1.5s ease-in-out;
}

/* =========================
DOWNLOAD BOX
========================= */

.download-box {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* ITEM */
.download-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    align-items: center;

    padding: 15px 20px;
    border-radius: 10px;

    text-decoration: none;
    color: #fff;

    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 255, 0.2);

    transition: 0.3s;
}

/* HOVER */
.download-item:hover {
    border-color: #ff00ff;

    box-shadow:
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 25px rgba(0, 255, 255, 0.3);

    transform: scale(1.02);
}

/* COLUNAS */
.file-name {
    font-weight: bold;
    color: #0ff;
}

.file-size,
.file-version,
.file-date {
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
}