@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========== CSS VARIABLES - CYBERPUNK ========== */
:root {
    --primary-color: #ff00ff;      /* Magenta neon */
    --secondary-color: #00ffff;    /* Ciano neon */
    --accent-color: #9d4edd;       /* Roxo vibrante */
    --dark-bg: #0a0a0f;            /* Preto azulado */
    --darker-bg: #050508;          /* Preto profundo */
    --text-light: #ffffff;
    --text-glow: #e0e0ff;
    --shadow-neon: rgba(255, 0, 255, 0.5);
    --shadow-cyan: rgba(0, 255, 255, 0.5);
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    color: var(--text-light);
    background: linear-gradient(135deg, #0a0a0f 0%, #1a0a1f 50%, #0f0a1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

/* ========== BACKGROUND EFFECTS ========== */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('./background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    pointer-events: none;
}

/* ========== CONTAINER PRINCIPAL ========== */
.container {
    position: relative;
    z-index: 1;
    max-width: 580px;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.3),
                0 0 80px rgba(0, 255, 255, 0.2),
                inset 0 0 60px rgba(157, 78, 221, 0.05);
    border: 1px solid rgba(255, 0, 255, 0.3);
    animation: fadeInUp 0.6s ease-out, subtleGlow 4s ease-in-out infinite;
}

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

@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 0 0 40px rgba(255, 0, 255, 0.3),
                    0 0 80px rgba(0, 255, 255, 0.2),
                    inset 0 0 60px rgba(157, 78, 221, 0.05);
    }
    50% {
        box-shadow: 0 0 50px rgba(255, 0, 255, 0.4),
                    0 0 90px rgba(0, 255, 255, 0.3),
                    inset 0 0 70px rgba(157, 78, 221, 0.08);
    }
}

/* ========== HEADER SECTION ========== */
header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 0, 255, 0.3);
}

.profile-wrapper {
    margin-bottom: 1.5rem;
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px var(--shadow-neon),
                0 0 50px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: profilePulse 3s ease-in-out infinite;
}

@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 0 30px var(--shadow-neon),
                    0 0 50px rgba(0, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px var(--shadow-neon),
                    0 0 60px rgba(0, 255, 255, 0.5);
    }
}

.profile-pic:hover {
    transform: scale(1.08);
    box-shadow: 0 0 50px var(--shadow-neon),
                0 0 80px rgba(0, 255, 255, 0.5);
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-shadow: 0 0 20px var(--shadow-neon),
                 0 0 40px rgba(157, 78, 221, 0.5);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.description {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-glow);
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    opacity: 0.9;
}

/* ========== SECTIONS ========== */
.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.section-title i {
    color: var(--secondary-color);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 10px var(--secondary-color));
}

/* ========== LINKS LISTS ========== */
.links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========== LINK BUTTONS BASE ========== */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

/* ========== PROJECT BUTTONS ========== */
.project-button {
    color: var(--text-light);
    padding: 1.3rem 1.5rem;
}

.project-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

.button-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.button-content i {
    font-size: 1.8rem;
    color: var(--text-light);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px currentColor);
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

.button-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-bottom: 0.2rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.button-desc {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

/* ========== SOCIAL BUTTONS ========== */
.social-button {
    color: var(--text-light);
    gap: 0.8rem;
    font-size: 1.05rem;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    filter: brightness(1.2);
}

.social-button i {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px currentColor);
}

/* ========== CORES ESPECÍFICAS - CYBERPUNK ========== */

/* Projetos */
.projects-links li:nth-child(1) .project-button {
    background: linear-gradient(135deg, #ff00ff 0%, #ff0080 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.projects-links li:nth-child(1) .project-button:hover {
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.5);
}

.projects-links li:nth-child(2) .project-button {
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.projects-links li:nth-child(2) .project-button:hover {
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
}

.projects-links li:nth-child(3) .project-button {
    background: linear-gradient(135deg, #9d4edd 0%, #c77dff 100%);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.projects-links li:nth-child(3) .project-button:hover {
    box-shadow: 0 8px 30px rgba(157, 78, 221, 0.5);
}

.projects-links li:nth-child(4) .project-button {
    background: linear-gradient(135deg, #ff006e 0%, #ff4895 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 110, 0.3);
}

.projects-links li:nth-child(4) .project-button:hover {
    box-shadow: 0 8px 30px rgba(255, 0, 110, 0.5);
}

.projects-links li:nth-child(5) .project-button {
    background: linear-gradient(135deg, #7209b7 0%, #9d4edd 100%);
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.3);
}

.projects-links li:nth-child(5) .project-button:hover {
    box-shadow: 0 8px 30px rgba(114, 9, 183, 0.5);
}

/* Redes Sociais */
.social-links li:nth-child(1) .social-button {
    background: linear-gradient(135deg, #0080ff 0%, #00ccff 100%);
    box-shadow: 0 4px 15px rgba(0, 128, 255, 0.3);
}

.social-links li:nth-child(1) .social-button:hover {
    box-shadow: 0 8px 30px rgba(0, 128, 255, 0.5);
}

.social-links li:nth-child(2) .social-button {
    background: linear-gradient(135deg, #1a1a1a 0%, #3d3d3d 100%);
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.2);
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.social-links li:nth-child(2) .social-button:hover {
    box-shadow: 0 8px 30px rgba(255, 0, 255, 0.4);
}

/* ========== FOOTER / CTA ========== */
footer {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 255, 255, 0.3);
}

.cta {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
}

.cta-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-glow);
    opacity: 0.9;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 640px) {
    body {
        padding: 1.5rem 1rem;
    }

    .container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .profile-pic {
        width: 110px;
        height: 110px;
    }

    h1 {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .description {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .button-content i {
        font-size: 1.5rem;
    }

    .button-title {
        font-size: 0.95rem;
    }

    .button-desc {
        font-size: 0.8rem;
    }

    .social-button {
        font-size: 0.95rem;
    }

    .cta {
        font-size: 1rem;
    }

    .cta-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .container {
        padding: 1.5rem 1rem;
    }

    .button-content {
        gap: 0.8rem;
    }

    .link-button {
        padding: 1rem;
    }

    .project-button {
        padding: 1.1rem 1rem;
    }
}