/* ================================
   RESET
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;

    min-height: 100vh;

    color: #ffffff;

    overflow-x: hidden;

    background: #080a0f;
}


/* ================================
   BACKGROUND
================================ */

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}


@keyframes backgroundZoom {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }

}


.background-overlay {

    position: fixed;

    inset: 0;

    z-index: -2;

    background:

        radial-gradient(
            circle at 50% 30%,
            rgba(35, 150, 255, 0.12),
            transparent 40%
        ),

        linear-gradient(
            135deg,
            rgba(5, 8, 15, 0.85),
            rgba(5, 8, 15, 0.96)
        );

}


/* ================================
   PARTICLES
================================ */

#particles {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -1;

    overflow: hidden;

}


.particle {

    position: absolute;

    width: 3px;

    height: 3px;

    background: rgba(
        255,
        255,
        255,
        0.65
    );

    border-radius: 50%;

    animation:
        particleFloat
        linear
        infinite;

}


@keyframes particleFloat {

    0% {

        transform:
            translateY(100vh)
            scale(0);

        opacity: 0;

    }

    10% {

        opacity: 1;

    }

    90% {

        opacity: 1;

    }

    100% {

        transform:
            translateY(-10vh)
            scale(1);

        opacity: 0;

    }

}


/* ================================
   CONTAINER
================================ */

.container {

    width: 100%;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 60px 20px;

}


/* ================================
   PROFILE CARD
================================ */

.profile-card {
    width: 100%;
    max-width: 560px;
    padding: 45px 35px;
    text-align: center;
    border-radius: 28px;
    background: rgba(31, 37, 51, 0.08); /* Đã giảm độ đậm để trong suốt hơn */
    border: 1px solid rgba(255, 255, 255, 0.12); /* Tăng viền sáng nhẹ cho nổi bật */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: cardAppear 0.8s ease forwards;
}

@keyframes cardAppear {

    from {

        opacity: 0;

        transform:
            translateY(30px)
            scale(0.97);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);

    }

}


/* ================================
   AVATAR
================================ */

.avatar-wrapper {

    position: relative;

    width: 125px;

    height: 125px;

    margin:
        0
        auto
        20px;

}


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


.avatar-glow {

    position: absolute;

    inset: -12px;

    border-radius: 50%;

    background:

        radial-gradient(
            circle,
            rgba(
                0,
                180,
                255,
                0.35
            ),
            transparent 70%
        );

    filter: blur(10px);

    animation:

        avatarGlow
        3s
        ease-in-out
        infinite
        alternate;

}


@keyframes avatarGlow {

    from {

        transform: scale(0.9);

        opacity: 0.5;

    }

    to {

        transform: scale(1.1);

        opacity: 1;

    }

}


/* ================================
   ONLINE
================================ */

.online-status {

    position: absolute;

    bottom: -5px;

    left: 50%;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 6px;

    padding:

        5px
        10px;

    border-radius: 20px;

    background:

        rgba(
            15,
            20,
            28,
            0.95
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    font-size: 11px;

    color: #bfc7d5;

    z-index: 5;

}


.online-status span {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #36e58b;

    box-shadow:

        0 0 10px
        rgba(
            54,
            229,
            139,
            0.8
        );

}


/* ================================
   NAME
================================ */

.profile-name {

    font-size: 30px;

    font-weight: 800;

    letter-spacing: -1px;

}


.verified {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    width: 20px;

    height: 20px;

    margin-left: 5px;

    border-radius: 50%;

    background: #238cff;

    font-size: 11px;

    vertical-align: middle;

}


.username {

    margin-top: 5px;

    color: #8993a4;

    font-size: 14px;

}


/* ================================
   BIO
================================ */

.bio {

    margin-top: 20px;

    color: #dce2ec;

    font-size: 14px;

    line-height: 1.7;

}


.bio-sub {

    margin-top: 7px;

    color: #858e9e;

    font-size: 13px;

    line-height: 1.6;

}


/* ================================
   SOCIAL
================================ */

.social-links {

    display: flex;

    justify-content: center;

    gap: 12px;

    margin-top: 25px;

}


.social-button {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 45px;

    height: 45px;

    border-radius: 14px;

    color: #ffffff;

    text-decoration: none;

    font-size: 18px;

    background:

        rgba(
            255,
            255,
            255,
            0.06
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.08
        );

    transition:

        transform 0.25s ease,

        background 0.25s ease,

        box-shadow 0.25s ease;

}


.social-button:hover {

    transform:
        translateY(-5px);

    background:

        rgba(
            255,
            255,
            255,
            0.12
        );

    box-shadow:

        0 10px 30px
        rgba(
            0,
            0,
            0,
            0.25
        );

}


.discord:hover {

    color: #5865f2;

}


.github:hover {

    color: #ffffff;

}


.facebook:hover {

    color: #1877f2;

}


.tiktok:hover {

    color: #ff0050;

}


/* ================================
   DIVIDER
================================ */

.divider {

    height: 1px;

    width: 100%;

    margin:

        30px
        0
        20px;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(
                255,
                255,
                255,
                0.12
            ),

            transparent

        );

}


/* ================================
   PROJECT CARD
================================ */

.project-card {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 15px;

    border-radius: 18px;

    text-align: left;

    background:

        linear-gradient(

            135deg,

            rgba(
                35,
                140,
                255,
                0.13
            ),

            rgba(
                20,
                25,
                35,
                0.5
            )

        );

    border:

        1px solid
        rgba(
            70,
            160,
            255,
            0.15
        );

    transition:

        transform 0.25s ease,

        border-color 0.25s ease;

}


.project-card:hover {

    transform:
        translateY(-3px);

    border-color:

        rgba(
            70,
            160,
            255,
            0.4
        );

}


.project-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-size: 24px;

    background:

        rgba(
            255,
            255,
            255,
            0.07
        );

}


.project-info {

    flex: 1;

}


.project-info h2 {

    font-size: 15px;

}


.project-info p {

    margin-top: 4px;

    font-size: 12px;

    color: #8993a4;

}


.project-button {

    padding:

        9px
        13px;

    border-radius: 10px;

    text-decoration: none;

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    background:

        rgba(
            35,
            140,
            255,
            0.8
        );

    transition:

        background 0.2s ease;

}


.project-button:hover {

    background:

        rgba(
            35,
            140,
            255,
            1
        );

}


/* ================================
   LINK LIST
================================ */

.link-list {

    display: flex;

    flex-direction: column;

    gap: 10px;

    margin-top: 15px;

}


.link-item {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 14px;

    text-decoration: none;

    color: #ffffff;

    border-radius: 16px;

    background:

        rgba(
            255,
            255,
            255,
            0.04
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    transition:

        transform 0.25s ease,

        background 0.25s ease,

        border-color 0.25s ease;

}


.link-item:hover {

    transform:
        translateX(5px);

    background:

        rgba(
            255,
            255,
            255,
            0.08
        );

    border-color:

        rgba(
            255,
            255,
            255,
            0.12
        );

}


.link-icon {

    width: 42px;

    height: 42px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 12px;

    background:

        rgba(
            255,
            255,
            255,
            0.06
        );

    font-size: 18px;

}


.link-text {

    display: flex;

    flex-direction: column;

    gap: 4px;

    flex: 1;

    text-align: left;

}


.link-text strong {

    font-size: 14px;

}


.link-text span {

    font-size: 11px;

    color: #858e9e;

}


.arrow {

    color: #697386;

    font-size: 12px;

    transition:

        transform 0.2s ease;

}


.link-item:hover .arrow {

    transform:
        translateX(4px);

    color: #ffffff;

}


/* ================================
   FOOTER
================================ */

footer {

    margin-top: 30px;

    color: #697386;

    font-size: 11px;

}


.heart {

    color: #ff5577;

}


.copyright {

    display: block;

    margin-top: 7px;

    opacity: 0.7;

}


/* ================================
   MUSIC BUTTON
================================ */

.music-button {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 48px;

    height: 48px;

    border-radius: 50%;

    border: none;

    color: #ffffff;

    background:

        rgba(
            15,
            20,
            30,
            0.85
        );

    border:

        1px solid
        rgba(
            255,
            255,
            255,
            0.1
        );

    backdrop-filter:
        blur(10px);

    cursor: pointer;

    z-index: 100;

    transition:

        transform 0.25s ease,

        background 0.25s ease;

}


.music-button:hover {

    transform:
        scale(1.1);

    background:

        rgba(
            35,
            140,
            255,
            0.8
        );

}


.music-button.playing {

    animation:

        musicPulse
        1.5s
        ease-in-out
        infinite;

}


@keyframes musicPulse {

    0%,
    100% {

        box-shadow:
            0 0 0
            rgba(
                35,
                140,
                255,
                0.5
            );

    }

    50% {

        box-shadow:

            0 0 25px
            rgba(
                35,
                140,
                255,
                0.5
            );

    }

}


/* ================================
   MOBILE
================================ */

@media
(max-width: 600px) {

    .container {

        padding:

            25px
            15px;

    }


    .profile-card {

        padding:

            35px
            20px;

        border-radius: 22px;

    }


    .profile-name {

        font-size: 25px;

    }


    .bio {

        font-size: 13px;

    }


    .project-card {

        padding: 12px;

    }


    .project-button {

        padding:

            8px
            10px;

    }


    .music-button {

        right: 15px;

        bottom: 15px;

    }

}


/* ================================
   MUSIC PLAYER CARD (Guns.lol Style chuẩn)
================================ */
.music-player-card {
    margin-top: 15px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(18, 22, 33, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.music-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-icon-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 14px;
}

.music-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

.music-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 11px;
    color: #94a3b8;
}

/* Thanh tiến trình chuẩn */
.music-progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.music-progress-bar {
    width: 0%;
    height: 100%;
    background: #ffffff;
    border-radius: 4px;
    transition: width 0.05s linear;
}

/* Hàng điều khiển bên dưới */
.music-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.music-time {
    font-size: 11px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.player-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s, transform 0.2s;
}

.player-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

.player-btn.main-play {
    color: #ffffff;
    font-size: 13px;
}