/* Base Styles */
.container {
    margin-top: 50px;
    padding-top: 80px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.profile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Profile Image Styles */
.about-profile-unique-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffe066 0%, #ff00cc 50%, #a78bfa 100%);
    box-shadow: 0 8px 40px 0 #ffe06655, 0 1.5px 0 #ff00cc33;
    position: relative;
    animation: floaty 3.5s ease-in-out infinite;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-profile-unique-img {
    width: 88%;
    height: 88%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    background: rgba(255,255,255,0.08);
    box-shadow: 0 4px 24px #ff00cc33, 0 0 0 8px rgba(255,224,102,0.12);
    position: relative;
    z-index: 2;
    animation: morphy 4.5s ease-in-out infinite;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.4s;
}

.profile h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
    padding: 0 15px;
}

.profile p {
    color: #a78bfa;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0 15px;
}

/* Social Icons Styles */
.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 15px;
}

.social-icons a {
    color: #fff;
    font-size: 30px;
    background: rgba(40,30,60,0.85);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 24px 0 #a78bfa44, 0 1.5px 0 #ff00cc33;
    transition: transform 0.3s, color 0.3s, background 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2) rotate(-8deg);
    color: #ffe066;
    background: linear-gradient(90deg, #ff00cc 0%, #a78bfa 100%);
}

/* Links Section Styles */
.links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 15px;
}

.link, .links a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    margin: 10px 0;
    font-size: 1.1rem;
    text-decoration: none;
    color: #fff;
    background: rgba(40,30,60,0.7);
    border-radius: 30px;
    transition: all 0.3s;
    box-shadow: 2px 2px 10px #a78bfa33;
    border: 1.5px solid rgba(255,255,255,0.08);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.link i, .links a i {
    font-size: 24px;
    margin-right: 15px;
    color: #a78bfa;
    transition: color 0.3s;
}

.link:hover, .links a:hover {
    background: linear-gradient(90deg, #a78bfa 0%, #ff00cc 100%);
    color: #181028;
    transform: scale(1.05);
    box-shadow: 0 8px 32px 0 #ff00cc55, 0 0 24px #a78bfa55;
}

.link:hover i, .links a:hover i {
    color: #ffe066;
}

/* Custom colors for different platforms */
.links a:hover i.bi-facebook { color: #1877F2; }
.links a:hover i.bi-instagram { color: #E4405F; }
.links a:hover i.bi-whatsapp { color: #25D366; }
.links a:hover i.bi-linkedin { color: #0077B5; }
.links a:hover i.bi-twitter-x { color: #fff; }
.links a:hover i.bi-github { color: #fff; }
.links a:hover i.bi-youtube { color: #FF0000; }

/* Footer Styles */
footer {
    margin-top: 50px;
    padding: 15px;
    background: rgba(10, 10, 10, 0.85);
    font-size: 14px;
    font-weight: bold;
    border-radius: 10px;
    color: #a78bfa;
    box-shadow: 0 2px 12px 0 #a78bfa33;
    text-align: center;
    width: calc(100% - 30px);
    margin-left: 15px;
    margin-right: 15px;
}

/* Animations */
@keyframes floaty {
    0%, 100% { 
        transform: translateY(0) scale(1); 
        box-shadow: 0 8px 40px 0 #ffe06655, 0 1.5px 0 #ff00cc33; 
    }
    50% { 
        transform: translateY(-15px) scale(1.05); 
        box-shadow: 0 24px 60px 0 #ff00cc88, 0 1.5px 0 #ffe06655; 
    }
}

@keyframes morphy {
    0% { border-radius: 50%; }
    20% { border-radius: 46% 54% 48% 52% / 52% 48% 54% 46%; }
    40% { border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; }
    60% { border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%; }
    80% { border-radius: 54% 46% 52% 48% / 48% 52% 46% 54%; }
    100% { border-radius: 50%; }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding-top: 60px;
    }

    .about-profile-unique-wrapper {
        width: 180px;
        height: 180px;
    }

    .profile h2 {
        font-size: 2rem;
    }

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

    .social-icons {
        gap: 15px;
    }

    .social-icons a {
        font-size: 24px;
        padding: 8px;
    }

    .link, .links a {
        padding: 12px 15px;
        font-size: 0.95rem;
        margin: 8px 0;
    }

    .link i, .links a i {
        font-size: 20px;
        margin-right: 12px;
    }

    footer {
        font-size: 12px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding-top: 50px;
    }

    .about-profile-unique-wrapper {
        width: 150px;
        height: 150px;
    }

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

    .profile p {
        font-size: 1rem;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        font-size: 20px;
        padding: 6px;
    }

    .link, .links a {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin: 6px 0;
    }

    .link i, .links a i {
        font-size: 18px;
        margin-right: 10px;
    }

    footer {
        font-size: 11px;
        padding: 10px;
    }
}

/* Optimize touch targets */
@media (hover: none) {
    .social-icons a,
    .link, 
    .links a {
        min-height: 44px;
        min-width: 44px;
    }

    .social-icons a:hover,
    .link:hover, 
    .links a:hover {
        transform: none;
    }
}

/* Reduce motion for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .about-profile-unique-wrapper,
    .about-profile-unique-img,
    .social-icons a,
    .link,
    .links a {
        animation: none;
        transition: none;
    }
}
