.profile-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 60px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 182, 193, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    min-width: 360px;
}

.profile-card.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.avatar-container {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 18px;
}

.avatar-video {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.8), rgba(200, 150, 255, 0.8), rgba(150, 200, 255, 0.8)) border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    box-shadow: 
        0 0 15px rgba(255, 182, 193, 0.5),
        0 0 30px rgba(200, 150, 255, 0.3);
    z-index: 1;
}

.avatar-frame {
    position: absolute;
    top: -20px;
    left: -25px;
    right: -25px;
    bottom: -20px;
    pointer-events: none;
    z-index: 3;
}

.frame-branch {
    position: absolute;
    top: -8px;
    right: -10px;
    width: 60px;
    height: 8px;
    background: linear-gradient(90deg, 
        rgba(101, 67, 33, 0.9) 0%,
        rgba(139, 90, 43, 0.95) 30%,
        rgba(160, 110, 60, 0.9) 50%,
        rgba(139, 90, 43, 0.95) 70%,
        rgba(101, 67, 33, 0.85) 100%);
    border-radius: 4px;
    transform: rotate(-25deg);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.frame-branch::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 35px;
    width: 30px;
    height: 5px;
    background: linear-gradient(90deg, 
        rgba(139, 90, 43, 0.9) 0%,
        rgba(101, 67, 33, 0.85) 100%);
    border-radius: 3px;
    transform: rotate(35deg);
    box-shadow: 
        0 2px 3px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.frame-sakura {
    position: absolute;
    width: 14px;
    height: 14px;
    background: radial-gradient(ellipse at 30% 30%,
        rgba(255, 240, 245, 0.98) 0%,
        rgba(255, 192, 203, 0.95) 35%,
        rgba(255, 150, 180, 0.9) 100%);
    border-radius: 100% 0 100% 0;
    box-shadow: 
        0 0 8px rgba(255, 182, 193, 0.6),
        0 0 16px rgba(255, 150, 180, 0.3),
        inset 0 0 4px rgba(255, 255, 255, 0.5);
}

.frame-sakura::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, 
        rgba(255, 220, 100, 0.9) 0%,
        rgba(255, 180, 50, 0.8) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 3px rgba(255, 200, 100, 0.5);
}

.frame-sakura-1 {
    top: -12px;
    right: 8px;
    transform: rotate(15deg);
}

.frame-sakura-2 {
    top: -5px;
    right: -8px;
    width: 12px;
    height: 12px;
    transform: rotate(-30deg);
}

.frame-sakura-3 {
    top: 8px;
    right: -15px;
    width: 11px;
    height: 11px;
    transform: rotate(45deg);
}

.frame-sakura-4 {
    top: -8px;
    right: 25px;
    width: 10px;
    height: 10px;
    transform: rotate(-15deg);
}

.frame-sakura-5 {
    top: 2px;
    right: -2px;
    width: 9px;
    height: 9px;
    transform: rotate(60deg);
    opacity: 0.85;
}

.profile-name-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px 0;
}

.profile-name {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: white;
    margin: 0;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 182, 193, 0.3);
    letter-spacing: 0.05em;
}

.sakura-container {
    position: absolute;
    right: -35px;
    top: -10px;
    width: 40px;
    height: 60px;
    pointer-events: none;
    overflow: visible;
}

.sakura-petal {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(ellipse at 30% 30%, 
        rgba(255, 220, 230, 0.95) 0%,
        rgba(255, 182, 193, 0.9) 40%,
        rgba(255, 150, 170, 0.85) 100%);
    border-radius: 100% 0 100% 0;
    box-shadow: 
        0 0 6px rgba(255, 182, 193, 0.6),
        inset 0 0 3px rgba(255, 255, 255, 0.4);
    opacity: 0;
    animation: sakuraFall 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.5s);
    transform-origin: center center;
}

.sakura-petal:nth-child(odd) {
    width: 8px;
    height: 8px;
    animation-duration: 4.5s;
}

.sakura-petal:nth-child(3n) {
    width: 12px;
    height: 12px;
    animation-duration: 3.5s;
}

.sakura-petal:nth-child(4n+1) {
    background: radial-gradient(ellipse at 30% 30%, 
        rgba(255, 230, 240, 0.95) 0%,
        rgba(255, 200, 210, 0.9) 40%,
        rgba(255, 170, 190, 0.85) 100%);
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.location-text {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.4),
        0 0 16px rgba(255, 255, 255, 0.2);
}

.location-icon {
    width: 18px;
    height: 18px;
    color: white;
    filter: 
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.6))
        drop-shadow(0 0 8px rgba(255, 255, 255, 0.3))
        drop-shadow(0 0 12px rgba(255, 182, 193, 0.4));
}

.bio-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bio-avatar-container {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 182, 193, 0.5);
    box-shadow: 0 0 10px rgba(255, 182, 193, 0.3);
}

.bio-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bio-username-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bio-username {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: white;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.8),
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 30px rgba(255, 255, 255, 0.3),
        0 0 40px rgba(255, 200, 220, 0.3);
    letter-spacing: 0.02em;
}

.bio-badge {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(255, 200, 150, 0.5));
}

.bio-text {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-shadow: 
        0 0 6px rgba(255, 255, 255, 0.3),
        0 0 12px rgba(255, 255, 255, 0.15);
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 12px rgba(255, 182, 193, 0.35),
        0 0 20px rgba(200, 150, 255, 0.2),
        inset 0 0 8px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, 
        rgba(255, 182, 193, 0.5) 0%,
        rgba(200, 150, 255, 0.4) 50%,
        rgba(150, 200, 255, 0.5) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    filter: blur(6px);
}

button.social-link {
    font-family: inherit;
    font-size: inherit;
    padding: 0;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px) scale(1.08);
    border-color: rgba(255, 200, 220, 0.4);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 182, 193, 0.6),
        0 0 35px rgba(200, 150, 255, 0.4),
        0 0 50px rgba(150, 200, 255, 0.25),
        inset 0 0 12px rgba(255, 255, 255, 0.1);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:active {
    transform: translateY(-1px) scale(1);
}

.social-link svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
    transition: filter 0.3s ease;
}

.social-link:hover svg {
    filter: 
        drop-shadow(0 0 6px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 12px rgba(255, 182, 193, 0.5));
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: white;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.2);
}

.social-link:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.social-link.copied .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.view-counter {
    position: absolute;
    bottom: 12px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: default;
}

.view-eye {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px rgba(255, 182, 193, 0.6));
}

.view-count {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 15px rgba(255, 200, 220, 0.4);
    letter-spacing: 0.05em;
}

.view-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: white;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.view-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(255, 255, 255, 0.2);
}

.view-counter:hover .view-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
