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

:root {
    --bg-dark: #1a1a1a;
    --bg-glass: rgba(42, 42, 42, 0.3);
    --purple-primary: #6a0dad;
    --purple-secondary: #ba55d3;
    --purple-light: #dda0dd;
    --text-light: #f0f0f0;
    --text-muted: #cccccc;
    --shadow: rgba(106, 13, 173, 0.3);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d2d2d 100%);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px var(--shadow);
    transition: all 0.3s ease;
}

.hero {
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(106, 13, 173, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.hero .profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--purple-primary);
    margin-bottom: 30px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 0 20px var(--purple-primary);
}

.hero .profile-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px var(--purple-secondary);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--purple-primary);
    background: linear-gradient(45deg, var(--purple-primary), var(--purple-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero h2 {
    font-size: 2.5rem;
    margin: 20px 0;
    color: var(--text-light);
    text-shadow: 0 0 10px var(--purple-light);
    animation: slideIn 1s ease-out;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px var(--purple-primary);
    }

    to {
        text-shadow: 0 0 20px var(--purple-secondary), 0 0 30px var(--purple-light);
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.section {
    margin: 50px 20px;
    padding: 30px;
}

.section h1 {
    color: var(--purple-secondary);
    margin-bottom: 20px;
    font-size: 2rem;
}

.section ul {
    list-style: none;
}

.section li {
    margin: 15px 0;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.section li:hover {
    transform: translateX(10px);
}

.section a {
    color: var(--purple-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.section a:hover {
    color: var(--purple-primary);
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

#contato {
    padding: 40px 20px;
    text-align: center;
}

#contato h2 {
    color: var(--purple-secondary);
    font-size: 2rem;
    margin-bottom: 10px;
}

#contato p {
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-link {
    color: var(--purple-light);
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--purple-primary);
    transform: scale(1.2) rotate(5deg);
    text-shadow: 0 0 10px var(--purple-secondary);
}

.contact-form {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: var(--bg-glass);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 10px var(--shadow);
}

.contact-form button {
    align-self: center;
    background: var(--purple-primary);
    color: var(--text-light);
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: var(--purple-secondary);
    transform: scale(1.05);
}

footer p {
    margin-bottom: 10px;
}

.contact-btn {
    display: inline-block;
    background: var(--purple-primary);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.contact-btn:hover {
    background: var(--purple-secondary);
    transform: scale(1.05);
}

.back-to-top {
    background: var(--purple-light);
    color: var(--bg-dark);
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 var(--purple-primary);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(106, 13, 173, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(106, 13, 173, 0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero .profile-img {
        width: 120px;
        height: 120px;
    }

    .section {
        margin: 30px 10px;
        padding: 20px;
    }

    .section h1 {
        font-size: 1.5rem;
    }

    .contact-icons {
        flex-wrap: wrap;
        gap: 15px;
    }

    .contact-link {
        font-size: 1.5rem;
    }

    .contact-form {
        max-width: 100%;
        padding: 0 10px;
    }
}
