* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background-color: #0a0a0a;
    color: #00ff41;
    line-height: 1.6;
    overflow-x: hidden;
}

/* EFEITO DE SCAN LINES (linhas de CRT) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}


/* ============================================
   HEADER - CABEÇALHO PRINCIPAL
============================================ */

.main-header {
    text-align: center;
    padding: 60px 20px 40px;
    border-bottom: 2px solid #00ff41;
    margin-bottom: 40px;
    position: relative;
}

.glitch-container {
    margin-bottom: 15px;
}

.glitch {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    text-shadow: 
        0 0 10px #00ff41,
        0 0 20px #00ff41,
        0 0 30px #00ff41;
}

/* Efeito Glitch no hover */
.glitch:hover {
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 
            -2px 0 #ff00ff,
            2px 0 #00ffff,
            0 0 10px #00ff41;
    }
    25% {
        text-shadow: 
            2px 0 #ff00ff,
            -2px 0 #00ffff,
            0 0 20px #00ff41;
    }
    50% {
        text-shadow: 
            -2px 0 #00ffff,
            2px 0 #ff00ff,
            0 0 30px #00ff41;
    }
    75% {
        text-shadow: 
            2px 0 #00ffff,
            -2px 0 #ff00ff,
            0 0 20px #00ff41;
    }
    100% {
        text-shadow: 
            -2px 0 #ff00ff,
            2px 0 #00ffff,
            0 0 10px #00ff41;
    }
}

.subtitle {
    font-size: 1rem;
    color: #00ff41;
    margin-bottom: 20px;
    opacity: 0.8;
}

.status-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.status-online {
    color: #00ff41;
    font-weight: bold;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

/* ============================================
   SEÇÕES GERAIS
============================================ */

section {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.section-title {
    font-size: 1.8rem;
    color: #00ff41;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #00ff41;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::before {
    content: "> ";
    color: #ff00ff;
}

/* ============================================
   SOBRE MIM
============================================ */

.about-section .text {
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.8;
    border-left: 3px solid #00ff41;
    padding-left: 20px;
    background: rgba(0, 255, 65, 0.03);
    padding: 20px;
    border-radius: 3px;
}

/* ============================================
   SKILLS - HABILIDADES
============================================ */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.skill-category {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #00ff41;
    padding: 20px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: rgba(0, 255, 65, 0.1);
    border-color: #ff00ff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 65, 0.3);
}

.category-title {
    color: #ff00ff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    color: #c0c0c0;
    padding: 5px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.skill-list li:hover {
    color: #00ff41;
    padding-left: 5px;
}

/* ============================================
   PROJETOS
============================================ */

.projects-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #00ff41;
    padding: 25px;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    background: rgba(0, 255, 65, 0.08);
    border-color: #ff00ff;
    transform: translateX(10px);
    box-shadow: -5px 5px 20px rgba(255, 0, 255, 0.3);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.project-title {
    color: #00ff41;
    font-size: 1.2rem;
    letter-spacing: 1px;
    flex: 1;
    min-width: 250px;
}

.project-status {
    color: #ff00ff;
    font-size: 0.85rem;
    padding: 5px 10px;
    border: 1px solid #ff00ff;
    border-radius: 3px;
}

.project-description {
    color: #c0c0c0;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: rgba(255, 0, 255, 0.1);
    color: #ff00ff;
    padding: 5px 12px;
    border: 1px solid #ff00ff;
    border-radius: 3px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.project-link {
    display: inline-block;
    color: #00ff41;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 1px solid #00ff41;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: #00ff41;
    color: #0a0a0a;
    box-shadow: 0 0 15px #00ff41;
}

/* ============================================
   CONTATO
============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid #00ff41;
    border-radius: 3px;
    text-decoration: none;
    color: #00ff41;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255, 0, 255, 0.1);
    border-color: #ff00ff;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.4);
}

.link-icon {
    color: #ff00ff;
    font-weight: bold;
    font-size: 1.2rem;
}

.link-text {
    flex: 1;
    text-align: center;
    font-size: 1rem;
}

.link-arrow {
    color: #00ff41;
    font-weight: bold;
}

/* ============================================
   FOOTER
============================================ */

.main-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 2px solid #00ff41;
    margin-top: 60px;
}

.footer-text {
    color: #00ff41;
    font-size: 1rem;
    margin-bottom: 10px;
}

.footer-subtext {
    color: #c0c0c0;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVIDADE MOBILE
============================================ */

@media (max-width: 768px) {
    .glitch {
        font-size: 1.8rem;
    }
    
    .status-bar {
        flex-direction: column;
        gap: 10px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOTO DE PERFIL
============================================ */

.profile-photo-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00ff41;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.5),
        0 0 40px rgba(0, 255, 65, 0.3);
    position: relative;
    z-index: 2;
}

.photo-border {
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    border-radius: 50%;
    border: 2px solid #ff00ff;
    animation: rotate-border 3s linear infinite;
    z-index: 1;
}

@keyframes rotate-border {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-photo:hover {
    border-color: #ff00ff;
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.5),
        0 0 40px rgba(255, 0, 255, 0.3);
}
