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

:root {
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.55);
    --soft: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.12);
    --pink: #ffb6d9;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow: hidden;

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

    color: var(--text);
    background: #08080c;
}

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

.background {
    position: fixed;
    inset: -20px;

    background:
        linear-gradient(
            rgba(5, 5, 9, 0.52),
            rgba(5, 5, 9, 0.72)
        ),
        url("background.gif");

    background-size: cover;
    background-position: center;

    filter: blur(1px);

    transform: scale(1.05);

    z-index: -5;
}

.background-blur {
    position: fixed;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 170, 210, 0.08),
            transparent 35%
        );

    backdrop-filter: blur(2px);

    z-index: -4;
}

.noise {
    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: 0.035;

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

    z-index: 20;
}

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

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

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

    background: rgba(5, 5, 8, 0.88);

    backdrop-filter: blur(20px);

    z-index: 100;

    cursor: pointer;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-box {
    text-align: center;

    animation: enterFloat 3s ease-in-out infinite;
}

.enter-symbol {
    width: 68px;
    height: 68px;

    margin: 0 auto 22px;

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

    border: 1px solid var(--border);
    border-radius: 50%;

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

    box-shadow:
        0 0 45px rgba(255, 170, 210, 0.12),
        inset 0 0 25px rgba(255, 255, 255, 0.04);

    font-size: 28px;

    color: var(--pink);
}

.enter-box h1 {
    font-size: 17px;
    font-weight: 600;

    letter-spacing: 0.5px;
}

.enter-box p {
    margin-top: 9px;

    font-size: 12px;

    color: var(--muted);
}

.enter-line {
    width: 55px;
    height: 1px;

    margin: 20px auto 12px;

    background: rgba(255, 255, 255, 0.2);
}

.enter-box span {
    font-size: 10px;

    text-transform: uppercase;

    letter-spacing: 3px;

    color: rgba(255, 255, 255, 0.38);
}

@keyframes enterFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

/* =========================
   PAGE
========================= */

.page {
    min-height: 100vh;

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

    padding: 25px;

    overflow-y: auto;
}

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

.profile-card {
    position: relative;

    width: min(440px, 100%);

    padding: 38px 30px 25px;

    text-align: center;

    border: 1px solid var(--border);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    backdrop-filter: blur(22px);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.55),
        inset 0 1px rgba(255, 255, 255, 0.08);

    overflow: hidden;

    animation: cardAppear 1s ease forwards;
}

.card-glow {
    position: absolute;

    width: 240px;
    height: 100px;

    left: 50%;
    top: -75px;

    transform: translateX(-50%);

    background: rgba(255, 170, 210, 0.15);

    filter: blur(45px);

    pointer-events: none;
}

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

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

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

.avatar-area {
    position: relative;

    width: 104px;
    height: 104px;

    margin: 0 auto 19px;
}

.avatar-ring {
    width: 104px;
    height: 104px;

    padding: 4px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.65),
            rgba(255,170,210,0.2),
            rgba(255,255,255,0.08)
        );

    box-shadow:
        0 0 35px rgba(255, 170, 210, 0.13);
}

.avatar {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;

    border: 3px solid rgba(8, 8, 12, 0.85);
}

.online-dot {
    position: absolute;

    right: 4px;
    bottom: 5px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: #8cffba;

    border: 4px solid #101015;

    box-shadow:
        0 0 12px rgba(140, 255, 186, 0.55);
}

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

.username {
    font-size: 22px;

    font-weight: 700;

    letter-spacing: -0.5px;

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

.handle {
    margin-top: 6px;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.38);
}

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

.bio {
    margin-top: 19px;

    font-size: 13px;

    line-height: 1.75;

    color: rgba(255, 255, 255, 0.72);
}

/* =========================
   LOCATION
========================= */

.location {
    display: flex;

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

    gap: 7px;

    margin-top: 14px;

    font-size: 11px;

    color: rgba(255, 255, 255, 0.4);
}

.location i {
    font-size: 10px;
}

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

.socials {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 9px;

    margin-top: 23px;
}

.social {
    min-height: 42px;

    display: flex;

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

    gap: 8px;

    padding: 0 10px;

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 12px;

    color: rgba(255,255,255,0.78);

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

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;

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

.social i {
    font-size: 14px;
}

.social:hover {
    transform: translateY(-3px);

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

    border-color: rgba(255,255,255,0.18);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.2);
}

.discord:hover {
    box-shadow:
        0 10px 30px rgba(88,101,242,0.18);
}

.roblox:hover {
    box-shadow:
        0 10px 30px rgba(255,255,255,0.1);
}

.github:hover {
    box-shadow:
        0 10px 30px rgba(255,255,255,0.1);
}

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

#discord-status {
    display: none;

    margin-top: 12px;

    font-size: 11px;

    color: rgba(255,255,255,0.48);

    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================
   WEBSITE LINK
========================= */

.website-link {
    display: flex;

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

    gap: 8px;

    margin-top: 14px;

    min-height: 38px;

    border-radius: 11px;

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

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

    color: rgba(255,255,255,0.48);

    text-decoration: none;

    font-size: 11px;

    transition: 0.25s ease;
}

.website-link:hover {
    color: white;

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

    border-color: rgba(255,255,255,0.15);

    transform: translateY(-2px);
}

/* =========================
   STATS
========================= */

.stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 23px;
}

.stat {
    position: relative;

    display: flex;

    flex-direction: column;

    gap: 5px;
}

.stat:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 4px;

    width: 1px;
    height: 27px;

    background: rgba(255,255,255,0.08);
}

.stat strong {
    font-size: 14px;

    font-weight: 600;
}

.stat span {
    font-size: 9px;

    color: rgba(255,255,255,0.35);

    text-transform: uppercase;

    letter-spacing: 1px;
}

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

.divider {
    height: 1px;

    margin: 23px 0 18px;

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

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

.footer {
    display: flex;

    justify-content: space-between;

    font-size: 9px;

    color: rgba(255,255,255,0.28);
}

.heart {
    color: var(--pink);

    text-shadow:
        0 0 10px rgba(255, 182, 217, 0.4);
}

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

.music-button {
    position: fixed;

    right: 22px;
    bottom: 22px;

    width: 42px;
    height: 42px;

    display: flex;

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

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;

    background: rgba(10,10,14,0.6);

    backdrop-filter: blur(15px);

    color: white;

    cursor: pointer;

    z-index: 30;

    transition: 0.25s ease;
}

.music-button:hover {
    transform: scale(1.08);

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

    box-shadow:
        0 0 25px rgba(255,170,210,0.15);
}

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

#particles {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: 1;
}

.particle {
    position: absolute;

    width: 2px;
    height: 2px;

    border-radius: 50%;

    background: white;

    opacity: 0.35;

    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    from {
        transform: translateY(110vh);
    }

    to {
        transform: translateY(-10vh);
    }
}

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

@media (max-width: 500px) {

    .page {
        padding: 15px;
    }

    .profile-card {
        padding: 32px 20px 22px;

        border-radius: 21px;
    }

    .username {
        font-size: 20px;
    }

    .socials {
        gap: 7px;
    }

    .social {
        font-size: 10px;
    }

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

@media (max-height: 650px) {

    .page {
        align-items: flex-start;

        padding-top: 20px;
        padding-bottom: 20px;
    }
}
