#experience {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, #0a0a0a, #1a001a 90%);
}

#experience::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,0,127,0.05) 0,
        rgba(255,0,127,0.05) 2px,
        transparent 2px,
        transparent 20px
    );
    animation: neonLines 20s linear infinite;
    z-index: 0;
}

@keyframes neonLines {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 100px) rotate(360deg); }
}

/* --- Títulos --- */
#experiencia h2,
.title .subtitle,
.title .p {
    position: relative;
    z-index: 2;
}

#experiencia h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif;
    text-align: center;
    color: #fff;
}

#experiencia p {
    font-size: 18px;
    margin-bottom: 50px;
    color: #ddd;
}

.title .subtitle {
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-top: -40px;
    line-height: 1.5;
}

.title .subtitle .highlight {
    font-size: 20px;
    color: #fc98ca;
    font-weight: 700;
    display: block;
    margin: 2px 0;
}

.title .p {
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin-top: -30px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* --- Cards de Experiência --- */
.experience-cards {
    position: relative;
    z-index: 2;
    padding: 0 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.experience-card {
    background: linear-gradient(180deg, #552a3f, #ff0783);
    color: white;
    padding: 40px;
    border-radius: 20px;
    width: 280px;
    height: 380px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.experience-card .emoji {
    font-size: 50px;
    display: inline-block;
    animation: floatEmoji 3s ease-in-out infinite;
}

@keyframes floatEmoji {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) rotate(-5deg); }
}

.experience-card h3 {
    font-size: 24px;
    margin-top: -35px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.experience-card h3::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 0;
    height: 3px;
    background: #ff66b2;
    border-radius: 3px;
    transition: width 0.4s ease, left 0.4s ease;
}

.experience-card:hover h3::after {
    width: 50%;
    left: 25%;
}

.experience-card p {
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Arial', sans-serif;
    margin-top: -20px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.experience-card::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 0, 127, 0.3), rgba(255, 0, 127, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.experience-card:hover {
    transform: translateY(-12px) rotate(-1deg);
    filter: brightness(1.15);
}

.experience-card:hover::before {
    opacity: 1;
}

/* --- Responsividade --- */
@media (max-width: 1050px) {
    .experience-cards {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 30px;
        padding: 0 20px;
    }

    .experience-card {
        width: 260px;
        height: 330px;
        padding: 35px;
    }

    .experience-card .emoji {
        font-size: 45px;
    }

    .experience-card h3 {
        font-size: 22px;
    }

    .experience-card p {
        font-size: 15px;
    }

    #experiencia h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    #experience {
        padding: 60px 20px;
    }

    .experience-cards {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .experience-card {
        width: 90%;
        max-width: 320px;
        height: auto;
        padding: 30px 25px;
    }

    .experience-card .emoji {
        font-size: 40px;
    }

    .experience-card h3 {
        font-size: 20px;
    }

    .experience-card p {
        font-size: 15px;
    }

    #experiencia h2 {
        font-size: 26px;
    }

    .title .subtitle {
        font-size: 15px;
        margin-top: -20px;
    }

    .title .p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #experience {
        padding: 50px 15px;
    }

    .experience-cards {
        gap: 20px;
    }

    .experience-card {
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 25px 20px;
    }

    .experience-card .emoji {
        font-size: 35px;
    }

    .experience-card h3 {
        font-size: 18px;
        margin-top: 10px;
    }

    .experience-card p {
        font-size: 14px;
        margin-top: 10px;
    }

    #experiencia h2 {
        font-size: 24px;
    }

    .title .subtitle {
        font-size: 14px;
    }

    .title .p {
        font-size: 13px;
    }
}
