* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   PAGE
========================= */

body {
    min-height: 100vh;
    background: #050505;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
}

.enter-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;

    cursor: pointer;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    color: #777;

    animation: enterFloat 3s ease-in-out infinite;
}

.enter-content p {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: lowercase;

    transition:
        color 0.3s ease,
        letter-spacing 0.3s ease;
}

.enter-screen:hover .enter-content p {
    color: #aaa;
    letter-spacing: 3.5px;
}

.enter-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.5);

    animation: enterPulse 2s ease-in-out infinite;
}

@keyframes enterPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes enterFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}


/* =========================
   MAIN CONTAINER
========================= */

.container {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 60px 30px;
}


/* =========================
   PROFILE
========================= */

.profile {

    display: flex;

    align-items: center;

    gap: 18px;

    animation: fadeIn 1s ease;
}


/* =================================
   STEP 14 — PROFILE INTERACTION
================================= */

.avatar-container {
    position: relative;

    width: 90px;
    height: 90px;

    perspective: 600px;

    transition:
        transform .15s ease;
}


/* AVATAR */

.avatar {
    width: 90px;
    height: 90px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid rgba(255,255,255,.15);

    box-shadow:
        0 0 25px rgba(255,255,255,.08);

    transition:
        transform .12s ease,
        box-shadow .3s ease;

    transform-style: preserve-3d;
}


/* CHROME REFLECTION */

.avatar-container::after {
    content: "";

    position: absolute;

    top: -20%;
    left: -80%;

    width: 35%;
    height: 140%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.45),
            transparent
        );

    transform: rotate(20deg);

    pointer-events: none;

    opacity: 0;

    border-radius: 50%;

    z-index: 2;
}


/* reflection activates on hover */

.avatar-container:hover::after {
    opacity: 1;

    animation: avatarChromeSweep .9s ease;
}


@keyframes avatarChromeSweep {

    from {
        left: -80%;
    }

    to {
        left: 140%;
    }

}


/* GLOW WHEN HOVERING */

.avatar-container:hover .avatar {
    box-shadow:
        0 0 25px rgba(255,255,255,.12),
        0 0 45px rgba(255,255,255,.06);
}


/* USERNAME SHINE */

.profile-info h1 {
    position: relative;

    width: fit-content;

    overflow: hidden;
}


/* subtle chrome sweep */

.profile-info h1::after {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 45%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform: skewX(-20deg);

    pointer-events: none;
}

.profile:hover .profile-info h1::after {
    animation: usernameShine 1s ease;
}


@keyframes usernameShine {

    from {
        left: -100%;
    }

    to {
        left: 150%;
    }

}





/* =========================
   PROFILE INFORMATION
========================= */

.profile-info h1 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.7px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.verified {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 18px;
    height: 18px;

    margin-left: 3px;

    background: #5aa9ff;

    border-radius: 50%;

    font-size: 11px;
}


.display-name {

    margin-top: 5px;

    color: #999;

    font-size: 12px;

    letter-spacing: 3px;
}

.bio {
    margin-top: 8px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.2px;
}


.status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #666;
    font-size: 11px;
}

.status-dot {

    width: 6px;
    height: 6px;

    background: #000000;

    border-radius: 50%;

    box-shadow:
        0 0 8px #000000;
}

.status-dot.dnd {
    background: #ff4f5e;
    box-shadow: 0 0 8px rgba(255, 79, 94, 0.8);
}

/* =========================
   SOCIAL BUTTONS
========================= */

.socials {

    display: flex;

    gap: 12px;

    margin-top: 28px;

    animation: fadeIn 1s ease 0.2s backwards;
}


.social-button {

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #777;

    background: rgba(255, 255, 255, 0.03);

    border: 1px solid rgba(255, 255, 255, 0.07);

    text-decoration: none;

    font-size: 15px;

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}
   .social-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.social-button:hover svg {
    transform: scale(1.08);
}

.social-button[aria-label="GitHub"] svg,
.social-button[aria-label="Discord"] svg {
    fill: currentColor;
    stroke: none;
}



.social-button:hover {

    transform: translateY(-5px);

    color: white;

    background: rgba(255, 255, 255, 0.10);
}


/* =========================
   ANIMATION
========================= */

@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(15px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/* =========================
   MUSIC PLAYER
========================= */

.music-player {

    width: 440px;

    margin-top: 40px;

    padding: 28px;

    text-align: center;

    background: rgba(255, 255, 255, 0.025);

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 18px;

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.65);

    animation:
        fadeIn 1s ease 0.4s backwards;

    transition:
        transform 0.3s ease;
}

.music-player::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background: radial-gradient(
        250px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 255, 255, 0.06),
        transparent 70%
    );

    pointer-events: none;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.music-player:hover::before {
    opacity: 1;
}


.music-player:hover {

    transform: translateY(-3px);
}


/* =========================
   ALBUM
========================= */

.album-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: auto;

    overflow: hidden;
    border-radius: 14px;

    transition: transform 0.25s ease;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 255, 255, 0.04);
}


.album-cover {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.4s ease;
}


.music-player.playing
.album-cover {

    animation:
        albumPulse 3s infinite ease-in-out;
}


@keyframes albumPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

}


/* =========================
   SONG INFO
========================= */

.song-info {

    margin-top: 18px;
}


.song-info h2 {

    font-size: 18px;

    font-weight: 600;
}


.song-info p {

    margin-top: 6px;

    color: #777;

    font-size: 13px;
}


/* =========================
   PROGRESS
========================= */

.progress-container {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 22px;

    color: #777;

    font-size: 10px;
}


#progress {

    flex: 1;

    height: 3px;

    appearance: none;

    background: #333;

    border-radius: 10px;

    cursor: pointer;
}


#progress::-webkit-slider-thumb {

    appearance: none;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: white;

    cursor: pointer;
}


/* =========================
   CONTROLS
========================= */

.controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    margin-top: 22px;
}


.control-button {

    border: none;

    background: transparent;

    color: white;

    opacity: 0.45;

    cursor: pointer;

    font-size: 12px;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}


.control-button:hover {

    opacity: 1;

    transform: scale(1.2);
}


.play-button {

    width: 48px;
    height: 48px;

    border: none;

    border-radius: 50%;

    background: white;

    color: black;

    cursor: pointer;

    font-size: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        transform 0.2s ease;
}


.play-button:hover {

    transform: scale(1.08);
}


/* =========================
   VOLUME
========================= */

.volume-container {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    opacity: 0.45;
}


#volume {

    width: 80px;

    height: 3px;

    appearance: none;

    background: #333;

    border-radius: 10px;

    cursor: pointer;
}


#volume::-webkit-slider-thumb {

    appearance: none;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: white;
}

/* =========================
   ANIMATED BACKGROUND
========================= */

.cursor-glow {
    position: fixed;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    pointer-events: none;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.055) 0%,
        rgba(255, 255, 255, 0.025) 30%,
        transparent 70%
    );

    transform: translate(-50%, -50%);

    z-index: -5;

    opacity: 0;

    transition: opacity 0.3s ease;
}

.background {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;

    background-image: url("background2.gif");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    z-index: 0;
    pointer-events: none;

    /* Makes the GIF itself more visible */
    opacity: 0.85;
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;

    /* Very light dark overlay */
    background: rgba(0, 0, 0, 0.05);

    pointer-events: none;
}


.background .grid,
.background .orb,
.background .particles {
    display: none;
}

.container {
    position: relative;
    z-index: 2;
}

.enter-screen,
.boot-screen,
.social-modal {
    z-index: 1000;
}

/* =========================
   GRID
========================= */

.grid {

    position: absolute;

    inset: 0;

    opacity: 0.12;

    background-image:

        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 20%,
            black 80%,
            transparent
        );
}


/* =========================
   GLOWING ORBS
========================= */

.orb {

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.08;

    animation:
        floatOrb 12s infinite ease-in-out;
}


.orb-1 {

    background: cyan;

    top: 5%;

    left: 10%;
}


.orb-2 {

    background: purple;

    top: 40%;

    right: 5%;

    animation-delay: 3s;
}


.orb-3 {

    background: white;

    bottom: -10%;

    left: 40%;

    animation-delay: 6s;
}


/* =========================
   ORB ANIMATION
========================= */

@keyframes floatOrb {

    0% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(70px, -50px)
            scale(1.15);

    }

    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

}

/* =========================
   PARTICLES
========================= */

.particles {

    position: absolute;

    inset: 0;

    pointer-events: none;
}


.particle {

    position: absolute;

    display: block;

    border-radius: 50%;

    background: white;

    opacity: 0;

    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.5);

    animation:
        particleFloat infinite ease-in-out;
}


@keyframes particleFloat {

    0% {

        opacity: 0;

        transform:
            translateY(20px);

    }

    20% {

        opacity: 0.4;

    }

    50% {

        opacity: 0.15;

        transform:
            translateY(-40px);

    }

    80% {

        opacity: 0.35;

    }

    100% {

        opacity: 0;

        transform:
            translateY(-80px);

    }

}

@media (max-width: 600px) {

    .container {
        padding: 20px;
    }

    .music-player {
        width: 100%;
        max-width: 440px;
        padding: 22px;
    }

    .profile {
        gap: 14px;
    }

    .avatar-container,
    .avatar {
        width: 75px;
        height: 75px;
    }

    .profile-info h1 {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.8px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

    .display-name {
        font-size: 10px;
    }

    .album-container {
        width: 130px;
        height: 130px;
    }
}

/* =========================
   CHROME CROSS CURSOR
========================= */

body {
    cursor: none;
}

.chrome-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    pointer-events: none;
    z-index: 10001;

    transform: translate(-50%, -50%);
    transition:
        transform 0.15s ease,
        filter 0.2s ease;
}

/* CROSS */

.cross {
    position: absolute;
    width: 24px;
    height: 24px;
    left: 5px;
    top: 5px;

    transform: rotate(45deg);
    filter:
        drop-shadow(0 0 3px rgba(255,255,255,.7))
        drop-shadow(0 0 8px rgba(255,255,255,.25));

    transition: transform .25s ease;
}

/* horizontal + vertical pieces */

.cross-horizontal,
.cross-vertical {
    position: absolute;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #bdbdbd 25%,
        #444 50%,
        #eeeeee 70%,
        #777 100%
    );

    box-shadow:
        inset 1px 1px 1px rgba(255,255,255,.8),
        inset -1px -1px 2px rgba(0,0,0,.8);
}

/* horizontal */

.cross-horizontal {
    width: 24px;
    height: 8px;
    top: 8px;
    left: 0;
}

/* vertical */

.cross-vertical {
    width: 8px;
    height: 24px;
    top: 0;
    left: 8px;
}

/* black center */

.cross::after {
    content: "";
    position: absolute;

    width: 6px;
    height: 6px;

    left: 9px;
    top: 9px;

    background: #050505;
    box-shadow:
        0 0 4px rgba(255,255,255,.3);
}

/* LITTLE STAR */

.cursor-star {
    position: absolute;

    top: -8px;
    right: -8px;

    color: white;
    font-size: 9px;

    text-shadow:
        0 0 5px white,
        0 0 12px rgba(255,255,255,.7);

    animation:
        starSpin 2s linear infinite,
        starPulse 1.5s ease-in-out infinite;
}

/* RING */

.cursor-ring {
    position: absolute;

    width: 34px;
    height: 34px;

    left: 0;
    top: 0;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    animation: ringSpin 5s linear infinite;
}

/* TRAIL */

.cursor-trail {
    position: fixed;

    width: 90px;
    height: 90px;

    pointer-events: none;

    z-index: 9998;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.12) 0%,
            rgba(255,255,255,.05) 25%,
            transparent 70%
        );

    filter: blur(8px);

    opacity: 0;

    transition:
        opacity .3s ease,
        width .3s ease,
        height .3s ease;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes starSpin {
    from {
        transform: rotate(0deg) scale(.8);
    }

    to {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes starPulse {
    0%,100% {
        opacity: .3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes ringSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}


/* =========================
   HOVER EFFECT
========================= */

.chrome-cursor.hover {
    transform:
        translate(-50%, -50%)
        scale(1.45);

    filter:
        drop-shadow(0 0 8px rgba(255,255,255,.6));
}

.chrome-cursor.hover .cross {
    transform:
        rotate(45deg)
        scale(1.1);
}

.chrome-cursor.hover .cursor-ring {
    border-color: rgba(255,255,255,.4);
}


/* =========================
   CLICK EFFECT
========================= */

.chrome-cursor.click {
    transform:
        translate(-50%, -50%)
        scale(.75);
}

.chrome-cursor.click .cursor-ring {
    width: 50px;
    height: 50px;
    left: -8px;
    top: -8px;

    border-color: rgba(255,255,255,.7);
}


/* MOBILE */

@media (hover: none), (pointer: coarse) {

    body {
        cursor: auto;
    }

    .chrome-cursor,
    .cursor-trail,
    .cursor-glow {
        display: none;
    }
}

@keyframes cursorSparkle {

    0%, 100% {
        opacity: 0.2;
        transform: scale(0.7) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: scale(1.2) rotate(90deg);
    }

}

body {
    cursor: none;
}

@media (hover: none), (pointer: coarse) {

    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-ring,
    .cursor-glow {
        display: none;
    }

}

/* =================================
   CHROME HEARTS SOCIAL MODAL
================================= */

.social-modal {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    z-index: 9000;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


/* OPEN STATE */

.social-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =================================
   MODAL CARD
================================= */

.social-modal-card {
    position: relative;

    width: 360px;
    max-width: 100%;

    padding: 42px 32px 32px;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(255,255,255,.16);

    border-radius: 18px;

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        0 30px 100px rgba(0,0,0,.85),
        inset 0 1px 0 rgba(255,255,255,.12);

    transform:
        translateY(20px)
        scale(.94);

    transition:
        transform .4s cubic-bezier(.16,1,.3,1);

    overflow: hidden;
}


/* metallic glow */

.social-modal-card::before {
    content: "";

    position: absolute;

    inset: -2px;

    border-radius: inherit;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255,255,255,.12),
            transparent 80%
        );

    opacity: .5;

    pointer-events: none;
}


/* subtle scanline */

.social-modal-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            transparent 3px,
            rgba(255,255,255,.012) 4px
        );

    pointer-events: none;
}


/* OPEN ANIMATION */

.social-modal.active .social-modal-card {
    transform:
        translateY(0)
        scale(1);
}


/* =================================
   CLOSE BUTTON
================================= */

.modal-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    background: rgba(255,255,255,.035);

    color: #777;

    font-size: 20px;
    line-height: 1;

    cursor: none;

    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.modal-close:hover {
    color: white;

    background: rgba(255,255,255,.1);

    transform: rotate(90deg);
}


/* =================================
   CHROME CROSS
================================= */

.modal-cross {
    position: absolute;

    top: 15px;
    left: 18px;

    color: #777;

    font-size: 13px;

    text-shadow:
        0 0 5px rgba(255,255,255,.3);

    opacity: .7;
}


/* =================================
   SOCIAL ICON
================================= */

.modal-icon {
    width: 72px;
    height: 72px;

    margin: 5px auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #ddd;

    font-size: 28px;

    background:
        radial-gradient(
            circle at 35% 25%,
            #555,
            #171717 55%,
            #050505
        );

    border: 1px solid rgba(255,255,255,.2);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.2),
        0 10px 35px rgba(0,0,0,.7),
        0 0 20px rgba(255,255,255,.05);
}


/* =================================
   TEXT
================================= */

.modal-platform {
    color: #666;

    font-size: 9px;

    letter-spacing: 4px;

    margin-bottom: 8px;
}

.modal-username {
    color: #eee;

    font-size: 21px;

    font-weight: 600;

    letter-spacing: -.3px;
}

.modal-description {
    margin-top: 8px;

    color: #777;

    font-size: 12px;

    letter-spacing: .3px;
}


/* =================================
   DIVIDER
================================= */

.modal-divider {
    width: 100%;

    height: 1px;

    margin: 24px 0;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.15),
            transparent
        );
}


/* =================================
   OPEN PROFILE BUTTON
================================= */

.modal-open {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    padding: 13px;

    color: #111;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #a9a9a9
        );

    border: 1px solid rgba(255,255,255,.5);

    border-radius: 8px;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    cursor: none;

    box-shadow:
        0 8px 25px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.8);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.modal-open:hover {
    transform: translateY(-2px);

    filter: brightness(1.12);

    box-shadow:
        0 12px 35px rgba(255,255,255,.12),
        inset 0 1px 0 white;
}

.modal-open span {
    font-size: 15px;

    transition: transform .2s ease;
}

.modal-open:hover span {
    transform: translate(2px,-2px);
}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .social-modal-card {
        width: 100%;
        max-width: 340px;

        padding: 38px 24px 26px;
    }

}

/* =================================
   Y2K / CHROME MUSIC PLAYER
================================= */

.music-player {
    overflow: hidden;
}

/* PLAYER HEADER */

.player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;

    color: #555;

    font-size: 8px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.stereo-label {
    color: #888;

    padding: 4px 7px;

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 3px;

    font-size: 7px;

    letter-spacing: 1.5px;
}


/* ALBUM SHINE */

.album-container {
    overflow: hidden;
}

.album-shine {
    position: absolute;

    top: -100%;
    left: -70%;

    width: 45%;
    height: 250%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.18),
            transparent
        );

    transform: rotate(25deg);

    pointer-events: none;

    opacity: 0;

    transition: opacity .3s ease;
}

.album-container:hover .album-shine {
    opacity: 1;

    animation: albumShine 1s ease;
}

@keyframes albumShine {

    from {
        transform:
            translateX(-120%)
            rotate(25deg);
    }

    to {
        transform:
            translateX(500%)
            rotate(25deg);
    }

}


/* NOW PLAYING */

.now-playing {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-bottom: 8px;

    color: #555;

    font-size: 8px;

    letter-spacing: 2.5px;
}

.now-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #777;

    box-shadow:
        0 0 5px rgba(255,255,255,.4);
}

.music-player.playing .now-dot {
    background: #fff;

    box-shadow:
        0 0 8px white;

    animation: nowDotPulse 1.2s infinite;
}

@keyframes nowDotPulse {

    0%,100% {
        opacity: .35;
    }

    50% {
        opacity: 1;
    }

}


/* PROGRESS */

.progress-wrapper {
    position: relative;

    flex: 1;

    height: 4px;

    display: flex;
    align-items: center;
}

#progress {
    width: 100%;

    height: 3px;

    background: #242424;

    border-radius: 10px;

    cursor: none;
}

#progress::-webkit-slider-runnable-track {
    height: 3px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #eee,
            #555
        );
}

#progress::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 9px;
    height: 9px;

    margin-top: -3px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid #777;

    box-shadow:
        0 0 8px rgba(255,255,255,.5);

    cursor: none;
}


/* PLAY BUTTON */

.play-button {
    position: relative;

    background:
        linear-gradient(
            145deg,
            #fff,
            #aaa
        );

    border: 1px solid rgba(255,255,255,.6);

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.9),
        0 8px 25px rgba(0,0,0,.5);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.play-button:hover {
    transform: scale(1.1);

    box-shadow:
        inset 0 1px 2px white,
        0 0 25px rgba(255,255,255,.15);
}


/* CONTROL BUTTONS */

.control-button {
    font-family: Arial, sans-serif;

    font-size: 11px;

    letter-spacing: -1px;

    color: #777;

    transition:
        color .2s ease,
        transform .2s ease;
}

.control-button:hover {
    color: white;

    transform: scale(1.2);
}


/* EQUALIZER */

.equalizer {
    display: flex;

    align-items: flex-end;
    justify-content: center;

    gap: 3px;

    height: 18px;

    margin-top: 18px;

    opacity: .25;
}

.equalizer span {
    display: block;

    width: 3px;

    height: 5px;

    background: #fff;

    box-shadow:
        0 0 5px rgba(255,255,255,.4);

    transform-origin: bottom;
}

.music-player.playing .equalizer {
    opacity: .7;
}

.music-player.playing .equalizer span:nth-child(1) {
    animation: equalizer 0.8s infinite ease-in-out;
}

.music-player.playing .equalizer span:nth-child(2) {
    animation: equalizer 1.1s infinite ease-in-out .1s;
}

.music-player.playing .equalizer span:nth-child(3) {
    animation: equalizer .7s infinite ease-in-out .2s;
}

.music-player.playing .equalizer span:nth-child(4) {
    animation: equalizer 1s infinite ease-in-out .15s;
}

.music-player.playing .equalizer span:nth-child(5) {
    animation: equalizer .6s infinite ease-in-out .25s;
}

.music-player.playing .equalizer span:nth-child(6) {
    animation: equalizer .9s infinite ease-in-out .1s;
}

.music-player.playing .equalizer span:nth-child(7) {
    animation: equalizer .7s infinite ease-in-out .3s;
}

.music-player.playing .equalizer span:nth-child(8) {
    animation: equalizer 1s infinite ease-in-out .2s;
}

.music-player.playing .equalizer span:nth-child(9) {
    animation: equalizer .8s infinite ease-in-out .35s;
}

@keyframes equalizer {

    0%,100% {
        height: 4px;
    }

    50% {
        height: 17px;
    }

}


/* VOLUME */

.volume-container {
    margin-top: 15px;

    opacity: .5;

    transition: opacity .2s ease;
}

.volume-container:hover {
    opacity: 1;
}

.volume-icon {
    color: #aaa;

    font-size: 12px;
}

#volume {
    height: 3px;

    background: #292929;

    cursor: none;
}

#volume::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #ddd;

    box-shadow:
        0 0 7px rgba(255,255,255,.4);

    cursor: none;
}

/* =================================
   STEP 15 — SOCIAL BUTTON EFFECTS
================================= */

.social-button {
    position: relative;
    overflow: hidden;

    isolation: isolate;

    transition:
        transform .25s cubic-bezier(.16,1,.3,1),
        color .25s ease,
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}


/* CHROME LIGHT SWEEP */

.social-button::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -100%;

    width: 55%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.25),
            transparent
        );

    transform: rotate(25deg);

    pointer-events: none;

    opacity: 0;

    z-index: -1;
}

.social-button:hover::before {
    opacity: 1;

    animation: socialChromeSweep .7s ease;
}

@keyframes socialChromeSweep {

    from {
        left: -100%;
    }

    to {
        left: 160%;
    }

}


/* GENERAL HOVER */

.social-button:hover {
    transform:
        translateY(-6px)
        scale(1.08);

    color: white;

    background:
        rgba(255,255,255,.08);

    border-color:
        rgba(255,255,255,.2);

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 18px rgba(255,255,255,.05);
}


/* ICON */

.social-button svg {
    position: relative;

    z-index: 2;

    transition:
        transform .25s ease,
        filter .25s ease;
}

.social-button:hover svg {
    transform: scale(1.15);

    filter:
        drop-shadow(0 0 5px rgba(255,255,255,.5));
}


/* =================================
   PLATFORM-SPECIFIC EFFECTS
================================= */


/* INSTAGRAM */

.social-button[aria-label="Instagram"]:hover {
    border-color:
        rgba(220,120,200,.35);

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 20px rgba(220,120,200,.08);
}


/* GITHUB */

.social-button[aria-label="GitHub"]:hover {
    border-color:
        rgba(255,255,255,.3);

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 22px rgba(255,255,255,.1);
}


/* DISCORD */

.social-button[aria-label="Discord"]:hover {
    border-color:
        rgba(150,120,255,.3);

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 20px rgba(130,100,255,.1);
}


/* SPOTIFY */

.social-button[aria-label="Spotify"]:hover {
    border-color:
        rgba(100,220,140,.3);

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 20px rgba(80,220,130,.08);
}


/* =================================
   ACTIVE / CLICK
================================= */

.social-button:active {
    transform:
        translateY(-2px)
        scale(.96);
}


/* =================================
   REDUCE EFFECTS ON TOUCH
================================= */

@media (hover: none), (pointer: coarse) {

    .social-button:hover {
        transform: none;
        box-shadow: none;
    }

    .social-button::before {
        display: none;
    }

}

/* =================================
   STEP 16 — CHROME CLICK BURST
================================= */

.click-burst {
    position: fixed;

    width: 10px;
    height: 10px;

    pointer-events: none;

    z-index: 10002;

    transform:
        translate(-50%, -50%)
        scale(.2);

    opacity: 1;
}


/* CENTER CROSS */

.click-burst::before {
    content: "✦";

    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    color: white;

    font-size: 18px;

    text-shadow:
        0 0 5px white,
        0 0 12px rgba(255,255,255,.7);
}


/* OUTER RING */

.click-burst::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 14px;
    height: 14px;

    transform:
        translate(-50%, -50%);

    border: 1px solid rgba(255,255,255,.7);

    border-radius: 50%;

    box-shadow:
        0 0 8px rgba(255,255,255,.25);
}


/* LITTLE PARTICLES */

.burst-particle {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 3px;
    height: 3px;

    background: white;

    border-radius: 50%;

    box-shadow:
        0 0 6px white;

    transform:
        translate(-50%, -50%);

    animation:
        burstParticle .45s ease-out forwards;
}


/* ANIMATION */

.click-burst.animate {
    animation:
        clickBurst .45s cubic-bezier(.16,1,.3,1)
        forwards;
}


@keyframes clickBurst {

    0% {
        transform:
            translate(-50%, -50%)
            scale(.2);

        opacity: 1;
    }

    35% {
        transform:
            translate(-50%, -50%)
            scale(1.1);

        opacity: 1;
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(2.2);

        opacity: 0;
    }

}


@keyframes burstParticle {

    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;

        transform:
            translate(
                calc(-50% + var(--x)),
                calc(-50% + var(--y))
            )
            scale(.3);
    }

}

/* =================================
   STEP 17 — BOOT / LOADING SEQUENCE
================================= */

.boot-screen {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #050505;

    transition:
        opacity .8s ease,
        visibility .8s ease;
}

.boot-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.boot-content {
    width: 320px;
    max-width: 80%;

    text-align: center;

    animation: bootFadeIn .8s ease;
}

.boot-logo {
    font-size: 22px;
    color: white;

    text-shadow:
        0 0 8px white,
        0 0 20px rgba(255,255,255,.4);

    animation: bootLogoPulse 1.5s ease-in-out infinite;
}

.boot-title {
    margin-top: 14px;

    color: #ddd;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 5px;
}

.boot-line {
    margin-top: 18px;

    color: #666;

    font-size: 9px;
    letter-spacing: 2px;

    text-transform: uppercase;
}

.boot-cursor {
    color: #aaa;

    animation: bootCursorBlink .7s infinite;
}

.boot-progress {
    width: 100%;
    height: 2px;

    margin-top: 18px;

    background: #191919;

    overflow: hidden;
}

.boot-progress-bar {
    width: 0%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #555,
        #fff,
        #777
    );

    box-shadow:
        0 0 8px rgba(255,255,255,.5);

    transition: width .12s linear;
}

.boot-percentage {
    margin-top: 10px;

    color: #444;

    font-size: 8px;
    letter-spacing: 2px;
}

@keyframes bootFadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes bootLogoPulse {

    0%,100% {
        opacity: .35;
        transform: scale(.9);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}

@keyframes bootCursorBlink {

    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

}

/* =================================
   STEP 18 — MOBILE OPTIMIZATION
================================= */

@media (max-width: 600px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        min-height: 100vh;
        padding: 40px 18px;
    }

    /* PROFILE */

    .profile {
        gap: 14px;
    }

    .avatar-container,
    .avatar {
        width: 75px;
        height: 75px;
    }

    .profile-info h1 {
        font-size: 22px;
    }

    .display-name {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .bio {
        font-size: 11px;
    }

    /* SOCIAL BUTTONS */

    .socials {
        gap: 10px;
        margin-top: 24px;
    }

    .social-button {
        width: 40px;
        height: 40px;
    }

    /* MUSIC PLAYER */

    .music-player {
        width: 100%;
        max-width: 440px;
        padding: 24px 18px;
        margin-top: 32px;
    }

    .album-container {
        width: 145px;
        height: 145px;
    }

    .controls {
        gap: 20px;
    }

    .play-button {
        width: 48px;
        height: 48px;
    }

    /* VOLUME */

    #volume {
        width: 70px;
    }

    /* BOOT SCREEN */

    .boot-content {
        width: 280px;
        max-width: 85%;
    }

    .boot-title {
        font-size: 10px;
        letter-spacing: 4px;
    }

}

@media (hover: none), (pointer: coarse) {

    body {
        cursor: auto;
    }

    .chrome-cursor,
    .cursor-trail,
    .cursor-glow {
        display: none;
    }

}

.view-counter {
    margin-top: 18px;
    font-size: 9px;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
}

.view-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f2f1f1;
    box-shadow: 0 0 8px rgba(255, 254, 255, 0.8);
    animation: viewPulse 1.8s infinite;
}

@keyframes viewPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}
