
/* ===========================
   RESET / BASE
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Roboto', sans-serif;
    background: radial-gradient(circle at center, #070b1e, #000814);
    color: #d8e9ff;
    line-height: 1.8;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
}

/* Evita highlight feio no Android */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ===========================
   ANIMAÇÕES DE TEXTO
=========================== */
@keyframes neonGlow {
    0% { text-shadow: 0 0 4px #00eaff66; }
    50% { text-shadow: 0 0 10px #00eaffaa; }
    100% { text-shadow: 0 0 4px #00eaff66; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes btnShine {
    from { left: -75%; }
    to   { left: 130%;  }
}

/* ===========================
   CONTAINER
=========================== */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
    animation: fadeIn 0.7s ease forwards;
}

/* ===========================
   CABEÇALHO / HERO
=========================== */
.cabecalho {
    padding: 4rem 0;
    text-align: center;
    background: rgba(7,16,46,0.45);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,255,255,0.2);
}

.foto-perfil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00eaff;
    box-shadow: 0 0 25px #00eaff99;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: 0.3s ease;
}

.foto-perfil:hover {
    transform: scale(1.05);
}

.cabecalho h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #e9faff;
    text-shadow: 0 0 12px #00eaff55;
}

.subtitulo {
    margin-top: 0.8rem;
    font-size: 1.2rem;
    color: #70d9ff;
    font-style: italic;
    white-space: normal;
}

/* ===========================
   LINKS
=========================== */
.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    text-decoration: none;
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    background: rgba(0,180,255,0.15);
    border: 1px solid rgba(0,180,255,0.4);
    color: #9ef2ff;
    font-weight: 600;
    margin: 0 0.3rem;
    display: inline-block;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    background: rgba(0,180,255,0.4);
    box-shadow: 0 0 15px #00eaffaa;
}

/* ===========================
   SEÇÕES
=========================== */
section {
    margin: 2rem 0;
    padding: 2.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #00eaff;
    margin-bottom: 1.4rem;
    text-shadow: 0 0 10px #00eaff55;
    position: relative;
}

h2:after {
    content: "";
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00eaff, #ff008c);
    display: block;
    margin-top: 6px;
    border-radius: 2px;
}

/* ===========================
   TEXTO
=========================== */
section p {
    font-size: 1.05rem;
    color: #c6e7ff;
    margin-bottom: 0.8rem;
}

/* ===========================
   LISTAS
=========================== */
ul {
    padding-left: 1.4rem;
}

ul li {
    margin: 0.6rem 0;
    font-size: 1.05rem;
    padding-left: 0.5rem;
    position: relative;
    color: #cceaff;
}

ul li::before {
    content: "◆";
    position: absolute;
    left: -1.2rem;
    top: 3px;
    color: #00eaff;
    font-size: 0.8rem;
}

ul li strong {
    color: #fff;
    text-shadow: 0 0 8px #00eaff55;
}

/* ===========================
   GRID DE PROJETOS
=========================== */
.grid-projetos {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    margin-top: 2rem;
}

/* ===========================
   CARD DE PROJETO
=========================== */
.projeto {
    padding: 1.4rem;
    border-radius: 14px;
    background: rgba(0,10,28,0.55);
    border: 1px solid rgba(0,234,255,0.25);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: 0.3s ease;
}

.projeto:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 22px #00eaff66;
}

.projeto h3 {
    font-size: 1.15rem;
    color: #00eaff;
    font-weight: 600;
    margin-top: 0.4rem;
    animation: neonGlow 2.4s infinite;
}

/* ===========================
   IMAGENS DOS PROJETOS
=========================== */
.projeto-imagem {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px #00eaffaa);
    transition: 0.3s ease;
}

.projeto-imagem:hover {
    transform: scale(1.08);
}

#img-game {
    filter: drop-shadow(0 0 12px #ff008caa);
}

/* ===========================
   BOTÃO ABRIR PROJETO
=========================== */
.btn-abrir {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding: 11px 26px;
    background: linear-gradient(135deg, #00c3ff 0%, #00eaff 50%, #0077ff 100%);
    background-size: 200% auto;
    color: #000d1a;
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    box-shadow:
        0 0 12px #00eaff88,
        0 4px 18px rgba(0, 200, 255, 0.35);
    transition:
        background-position 0.4s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Brilho deslizante */
.btn-abrir::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255, 255, 255, 0.22);
    transform: skewX(-20deg);
    transition: left 0.45s ease;
    pointer-events: none;
}

.btn-abrir:hover::before {
    left: 130%;
}

.btn-abrir:hover {
    background-position: right center;
    transform: translateY(-3px) scale(1.04);
    box-shadow:
        0 0 22px #00eaffcc,
        0 6px 24px rgba(0, 200, 255, 0.5);
    color: #000d1a;
    text-decoration: none;
}

.btn-abrir:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 0 10px #00eaff66;
}

/* Ícone de seta */
.btn-abrir svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.btn-abrir:hover svg {
    transform: translateX(5px);
}

/* ===========================
   DESCRIÇÃO DO PROJETO
=========================== */
.descricao {
    font-size: 0.95rem;
    color: #a0c8e8;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* ===========================
   RODAPÉ
=========================== */
.rodape {
    text-align: center;
    padding: 2rem 0;
    color: #95b9d6;
    background: #00050f;
    border-top: 1px solid rgba(0,234,255,0.2);
    font-size: 0.9rem;
}

/* ===========================
   RESPONSIVE — CELULARES
=========================== */
@media (max-width: 540px) {

    body {
        font-size: 15px;
        padding: 0 4px;
    }

    .cabecalho {
        padding: 2.5rem 0 2rem;
    }

    .cabecalho h1 {
        font-size: 2rem;
    }

    .subtitulo {
        font-size: 0.95rem;
    }

    .foto-perfil {
        width: 120px;
        height: 120px;
    }

    .social-links a {
        display: block;
        width: 85%;
        margin: 7px auto;
        font-size: 0.9rem;
    }

    section {
        padding: 1.5rem;
        margin: 1.2rem 0;
    }

    h2 {
        font-size: 1.5rem;
    }

    p, ul li {
        font-size: 0.95rem;
    }

    .grid-projetos {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .projeto-imagem {
        width: 110px;
        height: 110px;
    }

    #img-game {
        width: 120px;
        height: 120px;
    }

    .projeto h3 {
        font-size: 1rem;
    }

    .btn-abrir {
        font-size: 0.82rem;
        padding: 10px 22px;
    }

    .rodape {
        font-size: 0.85rem;
        padding: 1.5rem 0;
    }
}

/* ===========================
   RESPONSIVE — TABLETS
=========================== */
@media (min-width: 541px) and (max-width: 900px) {
    body { font-size: 16px; }

    .cabecalho h1 { font-size: 2.4rem; }

    .grid-projetos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .projeto-imagem {
        width: 125px;
        height: 125px;
    }

    #img-game {
        width: 135px;
        height: 135px;
    }
}
