@font-face {
    font-family: 'Sakura';
    src: url('/assets/Sakura.woff2') format('woff2');
    font-display: swap;
}

* {
    font-family: 'Sakura', 'Poppins', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    box-sizing: border-box;
}

::selection {
    background-color: #E5E5E5;
    color: #1a1a1a;
}

.tippy-content {
    font-size: 11px;
}

/* shine effect */
.text_effect_3 {
    overflow: hidden;
    background: linear-gradient(90deg, #000, var(--nameColor, #E5E5E5), var(--nameColor, #E5E5E5), #000);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: shine_effect 2s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(0, 0, 0, 0);
}

.text_effect_5 {
    color: var(--nameColor, #f8f8f8);
    background: linear-gradient(90deg, transparent, var(--nameColor, #f8f8f8), transparent);
    background-repeat: no-repeat;
    background-size: 80%;
    animation: shine_effect 2s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--nameColor25, rgba(248, 248, 248, 0.25));
    background-clip: text;
}

@keyframes shine_effect {
    0% {
        background-position: -500%;
    }
    100% {
        background-position: 500%;
    }
}

/* Wave char styling for description */
.wave-word {
    display: inline-block;
    white-space: nowrap;
}

.wave-char {
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease, text-shadow 0.2s ease;
}

/* 3D tilt smoothness */
.bio-container {
    transition: transform 0.12s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* ========================================================
   1. Round Avatar with Decorative Frame (Ảnh đại diện tròn với khung)
   ======================================================== */
.profile-body-1 .bio-container .bio_content_container .content-container .content .top .img_container {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
}

.profile-body-1 .bio-container .bio_content_container .content-container .content .top .img_container .img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

.profile-body-1 .bio-container .bio_content_container .content-container .content .top .img_container .img_effect {
    position: absolute !important;
    width: 120% !important;
    height: 120% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
    display: block !important;
}

/* ========================================================
   2. Glowing Music Lyrics (Chữ theo nhạc dịu mắt, sắc nét)
   ======================================================== */
.audio_container .audio_lyrics_display {
    overflow: hidden !important;
}

.audio_container .audio_lyrics_display .lyrics_line {
    font-family: 'Sakura', 'Poppins', sans-serif !important;
    font-size: 1.4rem !important;
    color: #9e9e9e !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    will-change: transform, opacity !important;
    letter-spacing: 0.3px;
}

.audio_container .audio_lyrics_display .lyrics_line.is-near {
    opacity: 0.4 !important;
    color: #888888 !important;
    font-weight: 400 !important;
    font-size: 1.35rem !important;
    text-shadow: none !important;
    transform: scale(0.97) !important;
}

.audio_container .audio_lyrics_display .lyrics_line.is-active {
    opacity: 1 !important;
    color: #f5f5f5 !important;
    font-size: 1.5rem !important;
    font-weight: 500 !important;
    transform: scale(1.02) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75) !important;
    filter: none !important;
    animation: none !important;
}

/* ========================================================
   3. Social Icons (Telegram, Zalo, Spotify, TikTok)
   ======================================================== */
.svg_item #telegramSvg,
.svg_item #zaloSvg,
.svg_item #spotifySvg,
.svg_item #tiktokSvg {
    width: 1em;
    height: 1em;
    display: inline-block;
}

#zaloSvg mask rect {
    fill: white !important;
}

#zaloSvg mask path {
    fill: black !important;
}

.svg_item:hover #telegramSvg,
.svg_item:hover #zaloSvg,
.svg_item:hover #spotifySvg,
.svg_item:hover #tiktokSvg {
    transform: scale(1.15);
    transition: transform 0.2s ease;
}

