:root {
    --bg-ink: #101721;
    --bg-deep: #06090f;
    --text-main: #f4f7ff;
    --text-soft: #c2d0ea;
    --glass: rgba(18, 28, 44, 0.52);
    --glass-border: rgba(182, 146, 255, 0.3);
    --accent: #9a5dff;
    --accent-warm: #ff5f8a;
    --accent-soft: #4f7dff;
    --shadow: 0 18px 45px rgba(2, 8, 20, 0.45);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    padding: 0;
    margin: 0;
    color: var(--text-main);
    font-family: "Outfit", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 8% 20%, #3d2a72 0%, transparent 38%),
        radial-gradient(circle at 90% 10%, #4f2246 0%, transparent 32%),
        linear-gradient(145deg, var(--bg-ink), var(--bg-deep));
    overflow-x: hidden;
}

a {
    color: #d3b8ff;
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #ffe1ee;
}

.bg {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(9, 16, 26, 0.6)), url("./Assets/bg.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur(4px) saturate(0.9) brightness(0.80);
    transform: scale(1.08);
    animation: bgDrift 26s ease-in-out infinite alternate;
    overflow: hidden;
}

.bg::before,
.bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: none;
}

.container {
    width: min(1080px, 100% - 1.2rem);
    min-height: 100vh;
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 0;
    margin-inline: auto;
}

.card {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background: linear-gradient(132deg, rgba(17, 25, 40, 0.7), var(--glass));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 0.28rem 0;
    overflow: hidden;
    animation: cardIn 560ms cubic-bezier(0.17, 0.67, 0.21, 1) both;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), transparent 36%);
}

.card:nth-child(2) {
    animation-delay: 80ms;
}

.card:nth-child(3) {
    animation-delay: 130ms;
}

.card:nth-child(4) {
    animation-delay: 180ms;
}

.card:hover {
    border-color: rgba(182, 146, 255, 0.6);
    transform: translateY(-2px);
}

.pdp {
    position: relative;
}

.pdpimg {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.55);
    object-fit: cover;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 1;
}

.avatar-decoration {
    position: absolute;
    width: 172px;
    height: 172px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: contain;
    z-index: 2;
}

.status {
    position: absolute;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    background-color: #fff;
    bottom: -14px;
    right: 14px;
    transform: translate(50%, -50%);
    border: 2px solid rgba(11, 18, 28, 0.8);
    box-shadow: 0 0 0 5px rgba(4, 10, 18, 0.45);
    z-index: 3;
}

.pfpstatus {
    position: relative;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    margin: 1.1rem;
}

.infos {
    width: 100%;
    padding-right: 0.9rem;
}

.name {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.tagdiv {
    display: flex;
    flex-direction: row;
    margin-left: 0.65rem;
    margin-top: 1.2rem;
    border-radius: 999px;
    background: linear-gradient(160deg, rgba(10, 22, 40, 0.95), rgba(28, 45, 63, 0.9));
    border: 1px solid rgba(186, 150, 255, 0.32);
    align-items: center;
}

.tagimg {
    width: 24px;
    height: 24px;
    margin-left: 0.45rem;
}

.tag {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    padding: 0;
    margin: 0.28rem 0.65rem 0.28rem 0.38rem;
}

.vtuber {
    width: 20%;
    position: absolute;
    z-index: 0;
    bottom: 0;
    right: 0;
}

.username {
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: 0.01em;
    padding: 0;
    margin-top: 1.1rem;
    margin-bottom: 0;
    margin-right: 0;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.34);
}

.cstatus {
    color: var(--text-soft);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: "Outfit", "Segoe UI", sans-serif;
    padding: 0;
    margin: 0;
}

.cstatusdiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 0.55rem;
    min-height: 2.1rem;
}

.emote {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.5rem;
}

.title {
    color: #f3fbff;
    font-size: 1.7rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    letter-spacing: 0.02em;
    padding: 0;
    margin-top: 0.75rem;
    margin-left: 1.3rem;
    margin-bottom: 0;
}

.about {
    color: #d4e6ff;
    font-size: 1.03rem;
    line-height: 1.62;
    font-family: "Outfit", "Segoe UI", sans-serif;
    padding: 0;
    margin-top: 0.35rem;
    margin-bottom: 0.9rem;
    margin-left: 1.3rem;
    margin-right: 1.3rem;
}

#spoli {
    position: relative;
    width: 1.4rem;
    height: 1.4rem;
    margin: 0.55rem 0 0 0.75rem;
    display: flex;
    flex-shrink: 0;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
}

.mini {
    position: static;
    display: block;
    width: 1.4rem;
    height: 1.4rem;
    opacity: 0.92;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mini:hover {
    transform: translateY(-1px) scale(1.05);
    opacity: 1;
}

.spot {
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    margin: 1.2rem;
    gap: 0.45rem;
}

.albumart {
    width: 132px;
    height: 132px;
    border-radius: 14px;
    object-fit: cover;
}

.songtitle {
    color: #f2f8ff;
    font-size: 1.45rem;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    line-height: 1.2;
    padding: 0;
    margin-top: 0.2rem;
    margin-left: 0.25rem;
    margin-bottom: 0;
}

.songartist {
    color: #bfcee4;
    font-size: 1rem;
    font-family: "Outfit", "Segoe UI", sans-serif;
    padding: 0;
    margin-top: 0.5rem;
    margin-left: 0.25rem;
    margin-bottom: 0;
}

.progressbar {
    height: 10px;
    width: 100%;
    margin-top: 0.7rem;
    margin-left: 0.25rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    box-shadow: 0 0 20px rgba(154, 93, 255, 0.58);
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    border-radius: 999px;
    transition: width 0.18s linear;
}

.songinfo {
    padding-left: 0.5rem;
    width: 100%;
}

.time {
    display: flex;
    flex-direction: row;
    margin-top: 0.35rem;
}

.songtime,
.songtime2 {
    color: #cfddf4;
    font-size: 0.92rem;
    font-family: "Outfit", "Segoe UI", sans-serif;
    padding: 0;
    margin-bottom: 0;
}

.songtime {
    margin-left: 0.25rem;
    margin-top: 0;
}

.songtime2 {
    margin-top: 0;
    right: 0;
    position: absolute;
}

.links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.4rem 1rem 0.8rem;
    width: 100%;
}

.linksgroup {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.col {
    display: flex;
    padding: 0.22rem;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(182, 146, 255, 0.34);
    background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), rgba(13, 23, 36, 0.66));
    box-shadow: 0 8px 22px rgba(2, 8, 20, 0.3);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.slink {
    width: 58px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(182, 146, 255, 0.34);
    box-shadow: 0 8px 22px rgba(2, 8, 20, 0.3);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.slink:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 95, 138, 0.82);
    box-shadow: 0 12px 24px rgba(154, 93, 255, 0.34);
}

.slink-icon {
    color: #e8f4ff;
    font-size: 1.55rem;
    line-height: 1;
    transition: transform 0.22s ease, color 0.22s ease;
}

.col:hover {
    transform: translateY(-2px) scale(1.05);
    border-color: rgba(255, 95, 138, 0.82);
    box-shadow: 0 12px 24px rgba(154, 93, 255, 0.34);
}

.col:hover .slink-icon {
    transform: scale(1.06);
    color: #ffffff;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes bgDrift {
    from {
        transform: scale(1.08) translate3d(-0.4%, -0.3%, 0);
    }

    to {
        transform: scale(1.12) translate3d(0.5%, 0.4%, 0);
    }
}

@keyframes auraFloat {
    from {
        transform: translate3d(-2%, 1.5%, 0) scale(1.07);
    }

    to {
        transform: translate3d(2%, -1.5%, 0) scale(1.11);
    }
}

@keyframes auraPulse {
    0% {
        opacity: 0.56;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.03);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

@media screen and (max-width: 860px) {
    .container {
        width: min(1080px, 100% - 1rem);
        padding: 0.6rem 0 0.9rem;
    }

    .card {
        border-radius: 16px;
    }

    .spot {
        margin: 0.8rem;
    }
}

@media screen and (max-width: 685px) {
    .title {
        font-size: 1.35rem;
        margin-left: 1rem;
        margin-top: 0.95rem;
    }

    .about {
        font-size: 0.9rem;
        margin-left: 0.8rem;
        margin-right: 0.8rem;
    }

    .card {
        margin: 0.24rem 0;
    }

    .slink {
        width: 46px;
    }

    .col {
        width: 50px;
        height: 50px;
    }

    .slink-icon {
        font-size: 1.2rem;
    }

    .songtitle {
        margin-top: 0;
        font-size: 1.1rem;
    }

    .songartist,
    .songtime,
    .songtime2 {
        font-size: 0.78rem;
    }

    .pdpimg {
        width: 78px;
        height: 78px;
    }

    .avatar-decoration {
        width: 102px;
        height: 102px;
    }

    .status {
        width: 19px;
        height: 19px;
        bottom: -8px;
        right: 7px;
    }

    .pfpstatus {
        width: 78px;
        height: 78px;
        margin: 0.7rem;
    }

    .username {
        font-size: 1.55rem;
        margin-top: 0.95rem;
    }

    .tagdiv {
        margin-top: 1rem;
    }

    .cstatus {
        font-size: 0.95rem;
        margin-top: 0.18rem;
    }

    .spot {
        margin: 0.7rem;
        gap: 0.45rem;
    }

    .albumart {
        width: 84px;
        height: 84px;
        border-radius: 10px;
    }

    .songinfo {
        padding-left: 0.4rem;
    }

    .links {
        gap: 0.2rem;
        padding: 0.2rem 0.55rem 0.55rem;
        justify-content: center;
    }
}

@media screen and (max-width: 560px) {
    .card:first-child {
        flex-direction: column;
        align-items: flex-start;
    }

    .pfpstatus {
        margin: 0.75rem 0.75rem 0.25rem;
    }

    .infos {
        padding: 0 0.8rem 0.8rem;
    }

    .name {
        gap: 0.35rem;
    }

    .username {
        margin-top: 0.2rem;
        font-size: 1.4rem;
    }

    .tagdiv {
        margin-left: 0;
        margin-top: 0;
    }

    .cstatusdiv {
        margin-top: 0.35rem;
        min-height: 1.55rem;
    }

    .card:nth-child(3) {
        flex-direction: column;
        align-items: stretch;
    }

    #spoli {
        margin: 0.55rem 0.65rem 0 auto;
    }

    .spot {
        margin: 0 0.7rem 0.7rem;
        width: auto;
    }

    .songtitle {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .time {
        justify-content: space-between;
        align-items: center;
    }

    .songtime2 {
        position: static;
        right: auto;
    }
}

@media screen and (max-width: 465px) {
    .infos {
        padding-right: 0.6rem;
    }

    .tag {
        font-size: 0.84rem;
    }

    .songtime2 {
        right: 0.2rem;
    }
}

@media screen and (max-height: 500px) {
    .container {
        padding-top: 7%;
        padding-bottom: 7%;
    }
}

@media screen and (max-height: 300px) {
    .container {
        padding-top: 12%;
        padding-bottom: 12%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bg,
    .bg::before,
    .bg::after,
    .card,
    .loader {
        animation: none !important;
    }
}

/* Loader */
.loadinganim {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #000;
    position: fixed;
    z-index: 9999;
    transition-duration: 1s;
}

.loader {
    width: 10vh;
    aspect-ratio: 1;
    border: 1vh solid #000;
    box-sizing: border-box;
    background:
        radial-gradient(farthest-side, #fff 98%, #0000) top,
        radial-gradient(farthest-side, #fff 98%, #0000) top,
        radial-gradient(farthest-side, #fff 98%, #0000) left,
        radial-gradient(farthest-side, #fff 98%, #0000) right,
        radial-gradient(farthest-side, #fff 98%, #0000) bottom,
        #000;
    background-size: 2vh 2vh;
    background-repeat: no-repeat;
    filter: blur(4px) contrast(10);
    animation: l19 2s infinite;
}

@keyframes l19 {
    0% {
        background-position: top, top, left, right, bottom;
    }

    25% {
        background-position: right, top, left, right, bottom;
    }

    50% {
        background-position: bottom, top, left, right, bottom;
    }

    75% {
        background-position: left, top, left, right, bottom;
    }

    100% {
        background-position: top, top, left, right, bottom;
    }
}

/* End of loader */