@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Orbitron:wght@600;700;800;900&display=swap");

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

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

html,
body {
    width: 100%;
    height: 100%;
}

html {
    background: #000;
}

body {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
input {
    font: inherit;
}


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

#background-video {
    position: fixed;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0;

    transform: scale(1.03);

    filter:
        brightness(.42)
        contrast(1.08)
        saturate(.85);

    transition: opacity .7s ease;
}

body.entered #background-video {
    opacity: 1;
}


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

.dark-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .12),
            rgba(0, 0, 0, .38)
        );
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 2;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 10%,
            rgba(0, 0, 0, .10) 40%,
            rgba(0, 0, 0, .78) 115%
        );
}


/* ================================
   GRAIN
================================ */

.grain {
    position: fixed;
    inset: 0;

    z-index: 3;

    pointer-events: none;

    opacity: .018;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.6'/%3E%3C/svg%3E");
}


/* ================================
   AMBIENT LIGHT
================================ */

.ambient {
    position: fixed;
    z-index: 2;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(150px);

    pointer-events: none;

    opacity: .06;
}

.ambient-one {
    top: -300px;
    left: -220px;

    background: white;
}

.ambient-two {
    right: -260px;
    bottom: -320px;

    background: #aaa;
}


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

#particles,
#floating-elements {
    position: fixed;
    inset: 0;

    z-index: 5;

    overflow: hidden;

    pointer-events: none;
}

.particle {
    position: absolute;

    bottom: -20px;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .75);

    opacity: 0;

    box-shadow:
        0 0 6px rgba(255, 255, 255, .4);

    animation:
        particleRise linear infinite;
}

@keyframes particleRise {

    0% {
        opacity: 0;

        transform:
            translate3d(0, 0, 0);
    }

    15% {
        opacity: .3;
    }

    80% {
        opacity: .12;
    }

    100% {
        opacity: 0;

        transform:
            translate3d(25px, -110vh, 0);
    }
}


/* ================================
   FLOATING SYMBOLS
================================ */

.floating-item {
    position: absolute;

    bottom: -80px;

    color:
        rgba(255, 255, 255, .065);

    font-weight: 700;

    user-select: none;

    animation:
        floatingRise linear infinite;
}

@keyframes floatingRise {

    0% {
        opacity: 0;

        transform:
            translate3d(0, 0, 0)
            rotate(0deg);
    }

    15% {
        opacity: .7;
    }

    80% {
        opacity: .35;
    }

    100% {
        opacity: 0;

        transform:
            translate3d(25px, -120vh, 0)
            rotate(150deg);
    }
}


/* ================================
   CURSOR GLOW
================================ */

#cursor-glow {
    position: fixed;

    z-index: 6;

    width: 380px;
    height: 380px;

    left: 0;
    top: 0;

    border-radius: 50%;

    pointer-events: none;

    opacity: 0;

    transform:
        translate3d(-50%, -50%, 0);

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .055),
            rgba(255, 255, 255, .015) 35%,
            transparent 70%
        );

    transition: opacity .4s ease;
}

body.entered #cursor-glow {
    opacity: 1;
}


/* ================================
   ENTER SCREEN
================================ */

#enter-screen {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: flex;

    justify-content: center;
    align-items: center;

    cursor: pointer;

    background:
        radial-gradient(
            circle at center,
            #111 0%,
            #050505 45%,
            #000 100%
        );

    transition:
        opacity .65s ease,
        visibility .65s ease;
}

#enter-screen::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .04),
            transparent 65%
        );
}

.enter-content {
    position: relative;

    z-index: 2;

    text-align: center;

    transition: transform .3s ease;
}

#enter-screen:hover .enter-content {
    transform: scale(1.035);
}

.enter-logo {
    position: relative;

    width: 82px;
    height: 82px;

    margin: 0 auto 22px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .15);

    background:
        rgba(255, 255, 255, .03);

    box-shadow:
        0 0 40px rgba(255, 255, 255, .07),
        inset 0 1px rgba(255, 255, 255, .1);
}

.enter-logo span {
    font-family: "Orbitron", sans-serif;

    font-size: 30px;
    font-weight: 800;

    text-shadow:
        0 0 10px rgba(255, 255, 255, .8),
        0 0 30px rgba(255, 255, 255, .25);
}

.enter-logo::after {
    content: "";

    position: absolute;

    inset: -9px;

    border:
        1px solid rgba(255, 255, 255, .055);

    border-radius: 50%;

    animation:
        logoRing 3s ease-out infinite;
}

@keyframes logoRing {

    0% {
        opacity: 0;
        transform: scale(.8);
    }

    45% {
        opacity: .8;
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

.enter-content h2 {
    margin-left: 8px;

    font-family: "Orbitron", sans-serif;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: 9px;

    text-shadow:
        0 0 20px rgba(255, 255, 255, .2);
}

.enter-content p {
    margin-top: 13px;

    color:
        rgba(255, 255, 255, .38);

    font-size: 10px;

    letter-spacing: 2px;
}


/* ================================
   ENTER FLASH
================================ */

#enter-flash {
    position: fixed;
    inset: 0;

    z-index: 10000;

    pointer-events: none;

    opacity: 0;

    background: #fff;
}

#enter-flash.flash {
    animation:
        enterFlash .55s ease-out;
}

@keyframes enterFlash {

    0% {
        opacity: 0;
    }

    8% {
        opacity: .28;
    }

    100% {
        opacity: 0;
    }
}


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

#profile {
    position: relative;

    z-index: 20;

    width: 100%;
    height: 100%;

    display: flex;

    justify-content: center;
    align-items: center;

    opacity: 0;

    transform:
        translate3d(0, 18px, 0)
        scale(.97);

    pointer-events: none;

    transition:
        opacity .75s ease,
        transform .75s cubic-bezier(.16, 1, .3, 1);
}

#profile.active {
    opacity: 1;

    transform:
        translate3d(0, 0, 0)
        scale(1);

    pointer-events: auto;
}


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

.card-wrapper {
    position: relative;

    width: 430px;

    max-width:
        calc(100vw - 28px);
}

.profile-card {
    --mouse-x: 50%;
    --mouse-y: 50%;

    position: relative;

    width: 100%;

    max-height: 92vh;

    overflow-x: hidden;
    overflow-y: auto;

    padding:
        34px
        36px
        24px;

    border:
        1px solid rgba(255, 255, 255, .11);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 20, 20, .67),
            rgba(5, 5, 5, .5)
        );

    -webkit-backdrop-filter:
        blur(12px);

    backdrop-filter:
        blur(12px);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .7),
        inset 0 1px rgba(255, 255, 255, .08);

    text-align: center;

    scrollbar-width: none;
}

.profile-card::-webkit-scrollbar {
    display: none;
}


/* CARD MOUSE LIGHT */

.profile-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    border-radius: inherit;

    pointer-events: none;

    opacity: 0;

    background:
        radial-gradient(
            400px circle
            at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, .075),
            transparent 42%
        );

    transition: opacity .25s ease;
}

.profile-card:hover::before {
    opacity: 1;
}

.profile-card > * {
    position: relative;

    z-index: 2;
}


/* ================================
   CARD SHINE
================================ */

.card-shine {
    position: absolute;

    z-index: 1;

    top: -60%;
    left: -60%;

    width: 90px;
    height: 220%;

    pointer-events: none;

    transform: rotate(20deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .01),
            rgba(255, 255, 255, .06),
            rgba(255, 255, 255, .01),
            transparent
        );

    animation:
        cardShine 10s ease-in-out infinite;
}

@keyframes cardShine {

    0%,
    75% {
        left: -60%;
    }

    100% {
        left: 150%;
    }
}


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

.avatar-wrapper {
    position: relative;

    width: 102px;
    height: 102px;

    margin:
        0 auto 14px;
}

.avatar {
    position: relative;

    z-index: 3;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 50%;

    border:
        2px solid rgba(255, 255, 255, .72);

    background: #111;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, .55);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.avatar-wrapper:hover .avatar {
    transform: scale(1.04);

    box-shadow:
        0 15px 45px rgba(0, 0, 0, .65),
        0 0 28px rgba(255, 255, 255, .12);
}

.avatar-aura {
    position: absolute;

    inset: -14px;

    border-radius: 50%;

    pointer-events: none;

    opacity: .25;

    filter: blur(16px);

    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, .25),
            transparent 66%
        );
}


/* ================================
   DISCORD STATUS DOT
================================ */

.status-dot {
    position: absolute;

    z-index: 5;

    right: 2px;
    bottom: 6px;

    width: 18px;
    height: 18px;

    border:
        3px solid #111;

    border-radius: 50%;

    background: #80848e;

    transition:
        background .3s ease,
        box-shadow .3s ease;
}

.status-dot.online {
    background: #23a55a;

    box-shadow:
        0 0 14px rgba(35, 165, 90, .55);
}

.status-dot.idle {
    background: #f0b232;

    box-shadow:
        0 0 14px rgba(240, 178, 50, .55);
}

.status-dot.dnd {
    background: #f23f43;

    box-shadow:
        0 0 14px rgba(242, 63, 67, .55);
}

.status-dot.offline {
    background: #80848e;
}


/* ================================
   DISCORD CUSTOM STATUS
================================ */

.custom-status {
    position: relative;

    z-index: 20;

    width: fit-content;
    max-width: 90%;

    min-height: 27px;

    margin:
        -2px auto
        11px;

    padding:
        5px
        11px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 6px;

    border:
        1px solid rgba(255, 255, 255, .09);

    border-radius: 999px;

    background:
        rgba(0, 0, 0, .38);

    -webkit-backdrop-filter:
        blur(7px);

    backdrop-filter:
        blur(7px);

    box-shadow:
        0 7px 22px rgba(0, 0, 0, .28),
        inset 0 1px rgba(255, 255, 255, .04);

    color:
        rgba(255, 255, 255, .74);

    font-size: 10px;
    font-weight: 500;

    line-height: 1;

    transition:
        border-color .25s ease,
        background .25s ease;
}

.custom-status:hover {
    border-color:
        rgba(255, 255, 255, .16);

    background:
        rgba(255, 255, 255, .055);
}

.custom-status-emoji {
    display: block;

    width: 16px;
    height: 16px;

    flex-shrink: 0;

    object-fit: contain;
}

.custom-status span {
    overflow: hidden;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.custom-status.hidden {
    display: none !important;
}


/* ================================
   ZQUVIX USERNAME / LOGO
================================ */

.username {
    position: relative;

    display: inline-block;

    margin-top: 1px;

    font-family:
        "Orbitron",
        sans-serif;

    font-size: 36px;
    font-weight: 900;

    font-style: italic;

    letter-spacing: 5px;

    color: #fff;

    transform:
        skewX(-3deg);

    text-transform: none;

    text-shadow:
        0 0 4px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, .72),
        0 0 24px rgba(255, 255, 255, .36),
        0 0 52px rgba(255, 255, 255, .15);

    animation:
        zquvixGlow 3.2s ease-in-out infinite;
}

.username::before {
    content:
        attr(data-text);

    position: absolute;
    inset: 0;

    z-index: -1;

    color:
        rgba(255, 255, 255, .4);

    opacity: .65;

    filter: blur(18px);

    pointer-events: none;
}

.username::after {
    content:
        attr(data-text);

    position: absolute;
    inset: 0;

    color: transparent;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 15%,
            rgba(255, 255, 255, .12) 35%,
            #fff 50%,
            rgba(255, 255, 255, .12) 65%,
            transparent 85%
        );

    background-size:
        250% 100%;

    background-clip: text;

    -webkit-background-clip: text;

    animation:
        zquvixShine 5s linear infinite;
}

@keyframes zquvixGlow {

    0%,
    100% {
        text-shadow:
            0 0 4px #fff,
            0 0 10px rgba(255, 255, 255, .55),
            0 0 22px rgba(255, 255, 255, .28);
    }

    50% {
        text-shadow:
            0 0 6px #fff,
            0 0 16px rgba(255, 255, 255, .82),
            0 0 35px rgba(255, 255, 255, .4),
            0 0 65px rgba(255, 255, 255, .16);
    }
}

@keyframes zquvixShine {

    from {
        background-position:
            200% center;
    }

    to {
        background-position:
            -100% center;
    }
}


/* ================================
   ONLINE / IDLE TEXT
================================ */

.status-text {
    margin-top: 7px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 6px;

    color:
        rgba(255, 255, 255, .38);

    font-size: 9px;

    letter-spacing: 1.2px;

    text-transform: uppercase;
}

.status-small-dot {
    width: 3px;
    height: 3px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .4);
}


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

.bio {
    margin:
        11px
        0
        22px;

    color:
        rgba(255, 255, 255, .5);

    font-size: 12px;
}


/* ================================
   SOCIALS
================================ */

.socials {
    position: relative;

    z-index: 100;

    display: flex;

    justify-content: center;

    gap: 11px;

    pointer-events: auto;
}

.social-link {
    position: relative;

    z-index: 101;

    width: 44px;
    height: 44px;

    display: flex;

    justify-content: center;
    align-items: center;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, .035);

    color:
        rgba(255, 255, 255, .7);

    text-decoration: none;

    font-size: 18px;

    cursor: pointer;

    pointer-events: auto;

    transition:
        transform .22s ease,
        color .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.social-link i {
    pointer-events: none;
}

.social-link:hover {
    color: #fff;

    transform:
        translateY(-4px)
        scale(1.05);

    border-color:
        rgba(255, 255, 255, .18);

    background:
        rgba(255, 255, 255, .09);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .3),
        0 0 18px rgba(255, 255, 255, .06);
}


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

.social-link::after {
    content:
        attr(data-tooltip);

    position: absolute;

    z-index: 1000;

    bottom: 54px;
    left: 50%;

    padding:
        6px
        8px;

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 7px;

    background:
        rgba(5, 5, 5, .9);

    color:
        rgba(255, 255, 255, .75);

    font-size: 9px;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    transform:
        translateX(-50%)
        translateY(5px);

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.social-link:hover::after {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0);
}


/* ================================
   PRESENCE / ACTIVITY CARDS
================================ */

.presence-card {
    width: 100%;

    margin-top: 18px;

    padding: 11px;

    display: flex;

    align-items: center;

    gap: 11px;

    border:
        1px solid rgba(255, 255, 255, .065);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, .032);

    text-align: left;

    transition:
        background .22s ease,
        border-color .22s ease;
}

.presence-card:hover {
    border-color:
        rgba(255, 255, 255, .11);

    background:
        rgba(255, 255, 255, .05);
}

.hidden {
    display: none !important;
}

.presence-image-box {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, .04);
}

.presence-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.spotify-cover {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    object-fit: cover;

    border-radius: 10px;
}

.presence-info {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 3px;
}

.presence-label {
    color:
        rgba(255, 255, 255, .29);

    font-size: 7px;

    letter-spacing: 1.2px;
}

.presence-info strong {
    overflow: hidden;

    color:
        rgba(255, 255, 255, .88);

    font-size: 11px;

    white-space: nowrap;

    text-overflow: ellipsis;
}

.presence-info > span:not(.presence-label) {
    overflow: hidden;

    color:
        rgba(255, 255, 255, .38);

    font-size: 9px;

    white-space: nowrap;

    text-overflow: ellipsis;
}


/* ================================
   SPOTIFY
================================ */

.spotify-label i {
    margin-right: 4px;
}

.spotify-progress {
    width: 100%;
    height: 2px;

    margin-top: 5px;

    overflow: hidden;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, .09);
}

#spotify-progress-bar {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background: #fff;

    transition:
        width 1s linear;
}


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

.divider {
    width: 100%;
    height: 1px;

    margin:
        21px
        0
        17px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .13),
            transparent
        );
}


/* ================================
   MUSIC PLAYER
================================ */

.music-player {
    display: flex;

    align-items: center;

    gap: 11px;

    text-align: left;
}

.music-cover {
    position: relative;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius: 11px;

    background:
        rgba(255, 255, 255, .045);

    font-size: 12px;
}

.music-ring {
    position: absolute;

    inset: -5px;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 14px;

    pointer-events: none;
}

.music-info {
    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 2px;
}

.music-info > span {
    color:
        rgba(255, 255, 255, .27);

    font-size: 7px;

    letter-spacing: 1.1px;
}

.music-info strong {
    font-size: 11px;
}

.music-info small {
    color:
        rgba(255, 255, 255, .36);

    font-size: 9px;
}

#music-toggle {
    position: relative;

    z-index: 150;

    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;

    justify-content: center;
    align-items: center;

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius: 50%;

    outline: none;

    background:
        rgba(255, 255, 255, .05);

    color: #fff;

    cursor: pointer;

    pointer-events: auto;

    transition:
        transform .22s ease,
        background .22s ease;
}

#music-toggle:hover {
    transform: scale(1.08);

    background:
        rgba(255, 255, 255, .1);
}


/* ================================
   VOLUME
================================ */

.volume-row {
    position: relative;

    z-index: 150;

    margin-top: 14px;

    display: flex;

    align-items: center;

    gap: 9px;

    color:
        rgba(255, 255, 255, .26);

    font-size: 8px;
}

#volume {
    width: 100%;
    height: 3px;

    appearance: none;
    -webkit-appearance: none;

    border: none;

    border-radius: 20px;

    outline: none;

    background:
        rgba(255, 255, 255, .11);

    cursor: pointer;

    pointer-events: auto;
}

#volume::-webkit-slider-thumb {
    width: 9px;
    height: 9px;

    appearance: none;
    -webkit-appearance: none;

    border-radius: 50%;

    background: #fff;

    cursor: pointer;

    box-shadow:
        0 0 10px rgba(255, 255, 255, .35);
}

#volume::-moz-range-thumb {
    width: 9px;
    height: 9px;

    border: none;

    border-radius: 50%;

    background: #fff;

    cursor: pointer;
}


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

.card-footer {
    margin-top: 19px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color:
        rgba(255, 255, 255, .22);
}

.views {
    display: flex;

    align-items: center;

    gap: 5px;

    font-size: 9px;
}

.signature {
    font-family:
        "Orbitron",
        sans-serif;

    font-size: 7px;

    letter-spacing: 2px;
}


/* ================================
   CLICK WAVE
================================ */

.click-wave {
    position: fixed;

    z-index: 500;

    width: 8px;
    height: 8px;

    border:
        1px solid rgba(255, 255, 255, .55);

    border-radius: 50%;

    pointer-events: none;

    transform:
        translate3d(-50%, -50%, 0);

    animation:
        clickWave .55s ease-out forwards;
}

@keyframes clickWave {

    to {
        width: 100px;
        height: 100px;

        opacity: 0;
    }
}


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

@media (max-width: 520px) {

    .card-wrapper {
        width:
            calc(100vw - 26px);
    }

    .profile-card {
        max-height: 94vh;

        padding:
            28px
            22px
            21px;
    }

    .avatar-wrapper {
        width: 90px;
        height: 90px;
    }

    .username {
        font-size: 28px;

        letter-spacing: 3.5px;
    }

    .custom-status {
        max-width: 95%;

        font-size: 9px;
    }

    #cursor-glow {
        display: none;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }
}


/* ================================
   REDUCED MOTION
================================ */

@media (prefers-reduced-motion: reduce) {

    .particle,
    .floating-item,
    .enter-logo::after,
    .card-shine,
    .username,
    .username::after {
        animation: none !important;
    }
}