@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Inter, sans-serif;
    color: #fff;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0e;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* body */
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    overflow-y: auto;
    background-color: #0b0b0c;
}

/* background */
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
}

.background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.background-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(8px) brightness(0.4) grayscale(0.3);
    transform: scale(1.05);
}

/* main layout */
.layout {
    width: 100%;
    max-width: 640px;
    padding: 220px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* card thingys */
.card {
    width: 100%;
    background: rgba(18, 18, 20, 0.72);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: border-color 0.25s, transform 0.2s;
}

/* profile card */
.profile-card {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

/* pfp */
.pfp {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto;
    flex-shrink: 0;
}

.pfp img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

#status-dot,
.status-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    position: absolute;
    bottom: -2px;
    right: -2px;
    background-color: #121214;
    padding: 3.5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: default;
    user-select: none;
}

.status-dot.status-mobile {
    width: 22px;
    height: 28px;
    border-radius: 6px;
    padding: 3px;
    bottom: -2px;
    right: 1px;
}

.status-dot svg,
.status-dot .status-svg {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* activity bubble */
.activity-bubble {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 8px auto 14px;
    padding: 3px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-width: 280px;
    animation: fadeIn 0.25s ease;
}

.bubble-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bubble-text {
    font-size: 11px;
    font-weight: 700;
    color: #e4e4e7;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 10px;
    flex-shrink: 0;
}

.equalizer span {
    width: 2px;
    background: #1db954;
    border-radius: 1px;
    animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.equalizer span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.equalizer span:nth-child(2) { height: 10px; animation-delay: 0.3s; }
.equalizer span:nth-child(3) { height: 7px; animation-delay: 0.2s; }

@keyframes eqBounce {
    0% { height: 2px; }
    100% { height: 10px; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* username */
.username {
    margin-top: 0;
}

.username-text {
    font-size: 25px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* description */
.description {
    margin-top: 24px;
}

.description-text {
    font-size: 18px;
    font-weight: 700;
    color: #a1a1aa;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

/* social buttons */
.social-buttons {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-buttons a i {
    font-size: 30px;
    color: #a1a1aa;
    transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.social-buttons a i:hover {
    transform: scale(1.15);
    color: #ffffff;
    text-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

/* row container */
.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* small cards */
.small-card {
    padding: 0;
    height: 64px;
    overflow: hidden;
}

/* mini buttons */
.mini-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    height: 100%;
    width: 100%;
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.2s, transform 0.15s;
}

.mini-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.mini-button i {
    font-size: 24px;
    color: #a1a1aa;
    transition: transform 0.2s, color 0.2s;
}

.mini-button:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.mini-button span {
    font-size: 14px;
    font-weight: 800;
    color: #e4e4e7;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

/* big buttons */
.big-button {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, border-color 0.2s;
}

.big-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* big card gif */
.card-gif {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* big button text */
.card-text {
    font-size: 14px;
    font-weight: 800;
    color: #f4f4f5;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}


/* music player */
.music-player {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.music-player-left {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.track-cover {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
}

.track-left {
    font-size: 15px;
    font-weight: 700;
    color: #e4e4e7;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-player button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.music-player button:hover {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.25);
}

.music-player i {
    font-size: 18px;
    color: #e4e4e7;
}

/* enter screen */
#enter-screen {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(8, 8, 10, 0.75);
    z-index: 9999;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
}

#enter-text {
    font-size: 24px;
    font-weight: 800;
    color: #f4f4f5;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

/* mobile responsive */
@media (max-width: 480px) {
    .row {
        grid-template-columns: 1fr;
    }

    .username-text {
        font-size: 22px;
    }

    .description-text {
        font-size: 16px;
    }

    .layout {
        padding-top: 15px;
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 40px;
    }

    .social-buttons {
        margin-top: 40px;
    }
}
