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

/* Body Background */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #000000 50%, #FFB6C1 50%);
    font-family: 'Poppins', sans-serif;
    color: white;
    padding: 2rem;
}

/* Profile Card */
.profile-card {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(160deg, #FFD1DC, #FFB6C1); /* Soft pink gradient */
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    
    /* Dark shadow applied here */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.6); /* Dark shadow */
}

/* Hover Effect: Keep ombre and add black overlay and glow */
.profile-card:hover {
    transform: translateY(-5px);
    background: linear-gradient(160deg, #000000, #333333); /* Dark gradient to overlay black */
    box-shadow: 0px 15px 40px rgba(255, 255, 255, 0.6); /* Light glow on hover */
}

.profile-card:hover .profile-info {
    color: white;
}

/* Avatar Flip Effect */
.avatar-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    perspective: 1000px;
}

/* Flipping Animation */
.avatar-flip {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

/* Only Flip Avatar on Hover */
.avatar-wrapper:hover .avatar-flip {
    transform: rotateY(180deg);
}

/* Front & Back of Avatar */
.avatar {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: bold;
}

/* Front (Profile Picture) */
.avatar.front {
    background: white;
    overflow: hidden;
    border: 4px solid #FF69B4;
}

.avatar.front img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* Back (Message) */
.avatar.back {
    background: black;
    color: white;
    transform: rotateY(180deg);
}

/* Profile Info */
.profile-info {
    text-align: center;
}

.name {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #FF69B4, #FF1493);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    color: #ff85a2;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Bio Section */
.bio {
    color: transparent; /* Make text transparent to show the gradient */
    background: linear-gradient(to right, #000000, #FF69B4); /* Black to hot pink gradient */
    -webkit-background-clip: text; /* Clip the background to the text */
    line-height: 1.6;
    margin-bottom: 2rem;
    padding: 0 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease; /* Smooth transition */
}

/* Change gradient or text style on hover (optional) */
.profile-card:hover .bio {
    background: linear-gradient(to right, #FF69B4, #FF1493); /* Optional: More vibrant gradient on hover */
    -webkit-background-clip: text;
}

/* Social Media Buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    padding: 0.6rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.instagram {
    background: #E1306C;
}

.tiktok {
    background: #010101;
}

.youtube {
    background: #FF0000;
}

.social-btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Card Effects */
.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, #FF69B4, #FF1493);
    border-radius: 1.5rem;
    opacity: 0;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.profile-card:hover .card-glow {
    opacity: 0.2;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .avatar-wrapper {
        width: 100px;
        height: 100px;
    }

    .name {
        font-size: 1.5rem;
    }

    .social-buttons {
        flex-wrap: wrap;
    }
}