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

body {
    background: whitesmoke;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    user-select: none;
    font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

main {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    width: 100%;
    min-height: 100vh;
}

.top-banner {
    width: 100%;
    height: 180px;
    background-image: url('background-img.png');
    background-size: cover;
    background-position: center;
    clip-path: ellipse(80% 80% at 50% 0);
}

.profile-pic {
    aspect-ratio: 1;
    width: clamp(130px, 35vw, 150px);
    border-radius: 50%;
    border: 4px solid #ffffff;
    margin-top: -120px;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.bio-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    width: 100%;
}

.bio-card__share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: fixed;
    top: 0;
    right: 0;
    margin: 1.5rem;
    z-index: 20;
}

.bio-card__share-btn i {
    font-size: 1rem;
}

.bio-card__share-btn:hover {
    transform: scale(1.08);
}

.bio-card__user-info {
    width: 90%;
}

.bio-card__title {
    display: inline-block;
    position: relative;
    font-size: 1.8rem;
    margin: 0 auto;
    color: #ac2424;
    font-weight: 700;
}

.bio-card__verified-icon {
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 6px;
}

.sub-info {
    display: grid;
    gap: 0.4rem;
}

.bio-card__handle {
    color: #a3a3a3;
    font-size: 1rem;
}

.bio-card__tag {
    color: #787878;
    font-weight: 600;
}

.bio-card__desc {
    font-size: 0.95rem;
    color: #484848;
}

.bio-card__links {
    margin-top: 0.5rem;
    display: grid;
    gap: 1rem;
    width: 100%;
    padding-inline: 1.1rem;
}

.bio-card__link-item {
    text-decoration: none;
    background: #ac2424;
    color: whitesmoke;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.8rem;
    box-shadow: 0 2px 6px #b3b3b3;
    transition: 0.3s ease;
}

.bio-card__link-item:hover {
    transform: scale(1.02);
}

.bio-card__socials {
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bio-card__social-icon {
    font-size: 24px;
    color: #888888;
    transition: 0.3s;
    cursor: pointer;
}

.bio-card__social-icon:hover {
    transform: scale(1.1);
}

.fa-instagram:hover { color: #ff00ee; }
.fa-facebook:hover { color: #1877f2; }
.fa-youtube:hover { color: #ff0000; }

.bio-card__disclosure {
    margin-top: auto;
    font-size: 0.7rem;
    color: #8d8b8b;
    padding-inline: 1rem;
}

.bio-card__footer {
    background: #e7e7e7;
    color: #454545;
    font-size: 0.80rem;
    font-weight: 500;
    min-height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsive Desktop Rules */
@media (min-width: 450px) {
    main {
        margin-top: 2rem;
        margin-bottom: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        border-radius: 1rem;
        border: 1px solid #ddd;
        overflow: hidden;
        min-height: auto;
    }

    .bio-card__share-btn {
        position: absolute;
    }
}
