/* ===== RESET E BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(145deg, #f5ede4 0%, #e8dccc 40%, #dccfc0 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.main-h1 {
    font-family: "Alex Brush", cursive;
}

/* ===== CARD PRINCIPAL ===== */
.profile-card {
    background: rgba(255, 248, 240, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 2.5rem 2rem;
    box-shadow: 
        0 30px 60px rgba(120, 90, 70, 0.20),
        inset 0 1px 0 rgba(255, 248, 240, 0.6);
    border: 1px solid rgba(255, 248, 240, 0.4);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho sutil no card */
.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 20%, rgba(255, 248, 240, 0.3) 0%, transparent 60%);
    pointer-events: none;
}

.profile-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 40px 80px rgba(120, 90, 70, 0.25);
}

/* ===== AVATAR ===== */
.avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid rgba(255, 248, 240, 0.9);
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(120, 90, 70, 0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.avatar:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 20px 45px rgba(120, 90, 70, 0.25);
}

/* ===== TÍTULO E BIO ===== */
.profile-card h1 {
    font-family: "Alex Brush", cursive;
    font-weight: 700;
    color: #4a3729;
    text-shadow: 0 2px 10px rgba(255, 248, 240, 0.3);
    letter-spacing: -0.5px;
}

.profile-card .bio-text {
    font-size: 1.05rem;
    color: #6b5344;
    font-weight: 400;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

/* ===== BOTÕES DE LINKS (PADRÃO) ===== */
.btn-link-custom {
    background: rgba(255, 248, 240, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 248, 240, 0.6);
    color: #4a3729;
    padding: 14px 24px;
    border-radius: 60px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

/* Efeito de brilho ao passar o mouse */
.btn-link-custom::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 248, 240, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-link-custom:hover::after {
    opacity: 1;
}

.btn-link-custom:hover {
    background: rgba(255, 248, 240, 0.8);
    transform: translateY(-3px) scale(1.02);
    color: #3a2a1e;
    box-shadow: 0 12px 30px rgba(120, 90, 70, 0.15);
    border-color: rgba(255, 248, 240, 0.9);
}

.btn-link-custom i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    color: #6b5344;
}

.btn-link-custom:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: #4a3729;
}

/* ===== BOTÃO DROPDOWN ===== */
.dropdown-btn {
    background: rgba(255, 248, 240, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 248, 240, 0.6);
    color: #4a3729;
    padding: 14px 24px;
    border-radius: 60px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
    position: relative;
}

.dropdown-btn:hover {
    background: rgba(255, 248, 240, 0.8);
    transform: translateY(-3px) scale(1.02);
    color: #3a2a1e;
    box-shadow: 0 12px 30px rgba(120, 90, 70, 0.15);
    border-color: rgba(255, 248, 240, 0.9);
}

.dropdown-btn i:first-child {
    font-size: 1.3rem;
    color: #6b5344;
}

.dropdown-btn:hover i:first-child {
    color: #4a3729;
}

.dropdown-btn .chevron {
    transition: transform 0.4s ease;
    font-size: 0.9rem;
    margin-left: auto;
    color: #6b5344;
}

.dropdown-btn[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

/* ===== MENU DROPDOWN ===== */
.dropdown-menu-custom {
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 248, 240, 0.5);
    border-radius: 24px;
    padding: 8px;
    margin-top: 10px;
    box-shadow: 0 20px 50px rgba(120, 90, 70, 0.15);
    animation: slideDown 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform-origin: top center;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: scaleY(0.8) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scaleY(1) translateY(0);
    }
}

.dropdown-menu-custom .dropdown-item {
    color: #4a3729;
    padding: 12px 20px;
    border-radius: 16px;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    text-decoration: none;
}

.dropdown-menu-custom .dropdown-item:hover {
    background: rgba(200, 170, 150, 0.25);
    transform: translateX(5px);
    color: #3a2a1e;
}

.dropdown-menu-custom .dropdown-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    color: #6b5344;
}

/* ===== ÍCONES SOCIAIS ===== */
.social-icon {
    color: rgba(74, 55, 41, 0.6);
    font-size: 2rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.social-icon:hover {
    color: #4a3729;
    transform: translateY(-6px) scale(1.15);
    text-shadow: 0 8px 25px rgba(120, 90, 70, 0.2);
}

/* Tooltip flutuante nos ícones */
.social-icon::after {
    content: attr(data-label);
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(74, 55, 41, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.6rem;
    padding: 2px 10px;
    border-radius: 20px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    font-weight: 400;
}

.social-icon:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ===== RODAPÉ ===== */
.footer-credit {
    color: rgba(74, 55, 41, 0.5);
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-credit a {
    color: rgba(74, 55, 41, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #4a3729;
    text-decoration: underline;
}

/* ===== ANIMAÇÕES DE ENTRADA ===== */
.fade-in {
    animation: fadeInUp 0.7s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.12s; }
.delay-3 { animation-delay: 0.19s; }
.delay-4 { animation-delay: 0.26s; }
.delay-5 { animation-delay: 0.33s; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 576px) {
    .profile-card {
        padding: 1.8rem 1.2rem;
        border-radius: 28px;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .profile-card h1 {
        font-size: 1.6rem;
    }

    .btn-link-custom,
    .dropdown-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .social-icon {
        font-size: 1.6rem;
    }
}

@media (max-width: 400px) {
    .profile-card {
        padding: 1.2rem 0.8rem;
    }

    .btn-link-custom,
    .dropdown-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 8px;
    }

    .btn-link-custom i,
    .dropdown-btn i:first-child {
        font-size: 1rem;
    }
}
