
:root {
    --bg: #080808;
    --panel: rgba(18, 18, 18, .82);
    --line: rgba(255, 255, 255, .12);
    --text: #f4f4f4;
    --muted: #999;
}

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

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(
            ellipse at 50% 15%,
            #555 0%,
            #303030 25%,
            #171717 55%,
            #080808 100%
        );
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

/* BACKGROUND */

.stars {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .25;
    background-image:
        radial-gradient(1px 1px at 10% 20%, #fff 99%, transparent),
        radial-gradient(1px 1px at 80% 30%, #fff 99%, transparent),
        radial-gradient(2px 2px at 55% 75%, #fff 99%, transparent),
        radial-gradient(1px 1px at 25% 85%, #fff 99%, transparent);
    background-size: 330px 280px;
    z-index: 0;
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    opacity: .12;
    z-index: 0;
}

.orb-one {
    width: 330px;
    height: 330px;
    background: #fff;
    top: 4%;
    left: -180px;
}

.orb-two {
    width: 360px;
    height: 360px;
    background: #bbb;
    right: -200px;
    bottom: 2%;
}

/* PAGE */

.page {
    width: min(100% - 36px, 760px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 30px 0 24px;
}

/* NAVBAR */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.brand {
    font: 700 18px "Space Grotesk", sans-serif;
    color: #fff;
    text-decoration: none;
    letter-spacing: -.5px;
}

.brand-mark,
.brand-dot {
    color: #fff;
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #eee;
    box-shadow: 0 0 12px #fff;
    margin-right: 7px;
}

.top-label {
    font-size: 10px;
    letter-spacing: 1.8px;
    color: #aaa;
    font-weight: 700;
}

/* PROFILE CARD */

.profile-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    box-shadow:
        0 24px 90px #000b,
        0 0 55px rgba(255, 255, 255, .04);
}

/* VIDEO BANNER */

.cover {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #171717;
}

.cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, .4)
    );
    pointer-events: none;
}

.cover-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* PROFILE CONTENT */

.profile-content {
    padding: 0 42px 28px;
    position: relative;
}

/* AVATAR */

.avatar-wrap {
    position: relative;
    width: 112px;
    height: 112px;
    margin-top: -57px;
    margin-bottom: 15px;
    z-index: 2;
}

.avatar-ring {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(140deg, #fff, #777, #222);
    box-shadow: 0 0 28px #fff4;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #171717;
    border: 4px solid #171717;
}

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

.status-indicator {
    position: absolute;
    right: 5px;
    bottom: 7px;
    width: 20px;
    height: 20px;
    border: 4px solid #171717;
    border-radius: 50%;
    background: #ddd;
}

/* IDENTITY */

.name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

h1 {
    font: 700 clamp(28px, 6vw, 38px) "Space Grotesk", sans-serif;
    letter-spacing: -1.5px;
    margin: 0;
}

.handle {
    color: #aaa;
    font-size: 13px;
    margin: 5px 0 15px;
}

.bio {
    font-size: 14px;
    line-height: 1.8;
    color: #eee;
    margin: 0 0 24px;
}

.bio span {
    color: #999;
}

.divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--line),
        transparent
    );
    margin: 0 0 20px;
}

/* SOCIAL MEDIA */

.socials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-decoration: none;
    color: #e8e8e8;
    font-size: 11px;
    background: #ffffff05;
    transition: .2s;
}

.social-link span {
    font-size: 16px;
    color: #fff;
}

.social-link:hover {
    border-color: #ffffff80;
    background: #ffffff12;
    transform: translateY(-3px);
    box-shadow: 0 0 20px #fff1;
}

/* BOTTOM */

.bottom-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 26px;
    color: #777;
    font-size: 8px;
    letter-spacing: 1.6px;
    font-weight: 700;
}

/* FOOTER */

footer {
    text-align: center;
    color: #666;
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 22px 0 0;
}

/* MUSIC BUTTON */

.music-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    background: rgba(20,20,20,.85);
    color: #fff;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    cursor: pointer;
    backdrop-filter: blur(15px);
    transition: .25s ease;
}

.music-button:hover {
    background: #333;
    border-color: rgba(255,255,255,.4);
    transform: translateY(-3px);
}

.music-icon {
    font-size: 17px;
}

.music-button.playing .music-icon {
    animation: musicPulse 1s ease-in-out infinite alternate;
}

@keyframes musicPulse {
    from {
        transform: scale(1);
        opacity: .6;
    }
    to {
        transform: scale(1.25);
        opacity: 1;
    }
}

/* MOBILE */

@media (max-width: 560px) {
    .page {
        width: min(100% - 22px, 760px);
        padding-top: 20px;
    }

    .cover {
        height: 155px;
    }

    .profile-content {
        padding: 0 20px 23px;
    }

    .avatar-wrap {
        width: 96px;
        height: 96px;
        margin-top: -49px;
    }

    .avatar-ring {
        width: 96px;
        height: 96px;
    }

    .bottom-row {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .top-label {
        font-size: 8px;
    }

    .music-button {
        right: 15px;
        bottom: 15px;
    }
}

#particles {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
/* INTRO SCREEN */

body.locked .page {
    filter: blur(12px);
    transform: scale(1.02);
    pointer-events: none;
    user-select: none;
}

.page {
    transition: filter 1s ease, transform 1s ease;
}

.intro-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(8px);
    transition: opacity .9s ease, visibility .9s ease;
}

.intro-screen.closing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    animation: introAppear 1.2s ease;
}

.intro-symbol {
    font-size: 35px;
    color: white;
    display: block;
    margin-bottom: 18px;
    animation: symbolGlow 2s infinite alternate;
}

.intro-content p {
    color: #999;
    font-size: 10px;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.intro-content h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(30px, 7vw, 55px);
    letter-spacing: 3px;
    color: white;
    margin-bottom: 35px;
}

#enter-button {
    padding: 15px 30px;
    border: 1px solid #777;
    border-radius: 40px;
    background: rgba(255,255,255,.06);
    color: white;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: .3s ease;
}

#enter-button:hover {
    background: white;
    color: black;
    transform: translateY(-4px);
    box-shadow: 0 0 30px #ffffff35;
}

#enter-button span {
    margin-left: 10px;
}

.intro-content small {
    display: block;
    margin-top: 25px;
    font-size: 9px;
    letter-spacing: 2px;
    color: #777;
}

@keyframes introAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes symbolGlow {
    from {
        text-shadow: 0 0 5px white;
    }
    to {
        text-shadow: 0 0 25px white;
    }
}
