* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', sans-serif;
    height: 100vh;
    overflow: hidden;
    background-color: #0d1117;
    color: #c9d1d9;
    cursor: url(media/mmm.png) 5 5, auto!important;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.4); 
}

a, a:hover, button, button:hover, .mute-btn, .mute-btn:hover, .social-icon, .social-icon:hover {
    cursor: url(media/mmm.png) 5 5, auto!important;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: blur(0);
    -webkit-filter: blur(0);
}

#bg-music {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: -1;
}

.click-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(30px);
    background: rgba(0, 0, 0, .75);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, .6);
    z-index: 2000;
    cursor: pointer;
    transition: opacity .6s ease;
}

.click-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.mute-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 30%;
    width: 40px;
    height: 40px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    backdrop-filter: blur(10px);
    transition: all .3s ease;
    z-index: 1000;
}

.mute-btn:hover {
    background: rgba(0, 0, 0, .2);
    transform: scale(1.1);
    color: #fff;
}

@keyframes rotate-icon {
    0% { transform: rotate(0); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

.mute-btn.rotating i {
    animation: rotate-icon .4s ease-in-out;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 20px;
}

.bio-card {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 10px;
    width: 600px;
    max-width: 90vw;
    color: #c9d1d9;
    box-shadow: 0 4px 30px #0000;
    opacity: 0;
    transition: opacity 2s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.bio-card.visible {
    opacity: 1;
}

.profile-pic-container, .user-details, .discord-status-container, .card-divider, .card-footer, .location-info-wrapper {
    opacity: 0;
    transition: opacity .6s ease-in-out, transform .6s ease;
    transform: translateY(10px);
}

.show-item {
    opacity: 1;
    transform: translateY(0);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    justify-content: flex-start;
}

.profile-pic-container {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 15px 0 0;
    flex-shrink: 0;
}

.profile-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-details {
    flex-grow: 1;
    flex-shrink: 0;
    min-width: 130px;
    text-align: left;
    margin-right: 15px;
}

.name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 0 8px #fff, 0 0 15px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.5); 
}

.description {
    font-size: 14px;
    color: #c9d1d9;
    margin-bottom: 5px;
    min-height: 18px;
    text-shadow: 0 0 10px #c9d1d9; 
}

.joined-date {
    font-size: 12px;
    color: #c9d1d9;
    margin-top: 5px;
    text-shadow: 0 0 10px #c9d1d9; 
}

.discord-status-container {
    margin-left: auto;
    display: block;
    max-width: 300px;
    flex-shrink: 0;
    margin-top: 0;
}

#discord-activity-widget {
    background: rgba(0, 0, 0, 0.432);
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: 5px;
    padding: 12px;
    display: flex;
    align-items: flex-start;
    max-width: 100%;
    box-shadow: 0 2px 10px #0000;
    color: #c9d1d9;
    position: relative;
    justify-content: flex-start;
}

.avatar-frame {
    position: absolute;
    top: -9px;
    left: -9px;
    width: 73px;
    height: 73px;
    background-image: url(media/anger_frame.png);
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.discord-avatar-container {
    position: relative;
    width: 55px;
    height: 55px;
    border-radius: 0;
    margin-right: 12px;
    flex-shrink: 0;
}

.discord-avatar {
    width: 100%;
    height: 100%;
    border-radius: 15%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin: 0;
    border: 3px solid #0d1117;
    box-shadow: 0 0 3px rgba(0, 0, 0, .5);
    z-index: 11;
}

.discord-info-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
    margin-right: 55px;
    margin-top: -3px;
    max-width: none;
    text-align: left;
}

.discord-header-info {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
    line-height: 1;
    word-wrap: break-word;
    justify-content: flex-start;
}

.discord-username {
    font-weight: 700;
    color: #fff;
    font-size: 14px;
    margin-right: 6px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-shadow: 0 0 5px #fff, 0 0 10px rgba(255, 255, 255, 0.6); 
}

.discord-badges {
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-icon {
    font-size: 10px;
    color: #fff;
    padding: 1px 4px;
    border-radius: 3px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    background-color: #5865f2;
}

.activity-type {
    font-size: 11px;
    color: #c9d1d9;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    line-height: 1.1;
    text-shadow: 0 0 10px #c9d1d9;
}

.activity-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    max-height: 2.6em;
    text-shadow: 0 0 2px #c9d1d9; 
}

.activity-details, .activity-state {
    font-size: 12px;
    color: #c9d1d9;
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    max-height: 1.2em;
    text-shadow: 0 0 2px #c9d1d9; 
}

.activity-icon-container {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 55px;
    height: 55px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #30363d;
}

.activity-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-activity-placeholder {
    font-size: 12px;
    color: #c9d1d9;
    padding-top: 2px;
}

.card-divider {
    border: none;
    border-top: 1px solid #c9d1d9;
    margin: 15px 0;
}

.location-info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    margin-top: 5px;
    padding: 0;
    opacity: 0;
    transition: opacity .6s ease-in-out, transform .6s ease;
    transform: translateY(10px);
}

.location-info {
    font-size: 11px;
    color: #c9d1d9;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
    order: 1;
    text-shadow: 0 0 10px #c9d1d9; 
}

.location-info i, .location-info span:first-child { 
    text-shadow: 0 0 10px #c9d1d9; 
}

.hit-counter {
    text-align: right;
    margin-top: 0;
    order: 2;
}

.hit-counter img {
    height: 18px;
    vertical-align: middle;
}

.show-item.location-info-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.hit-counter-container {
    display: flex!important;
    align-items: center;
    gap: 6px;
    color: #c9d1d9;
    font-size: 11px;
    height: 18px;
    margin-top: 0;
    margin-left: auto;
    order: 2;
}

.hit-counter-icon {
    font-size: 14px;
    color: #c9d1d9;
    text-shadow: 0 0 5px #c9d1d9; 
}

#count {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #c9d1d9;
    padding: 0;
    margin: 0;
    text-shadow: 0 0 4px #c9d1d9, 0 0 8px #c9d1d9; 
}

.hit-counter-number img {
    height: 0!important;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    background: transparent;
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 2.2em;
    color: #c9d1d9;
    opacity: 0;
    transition: all .3s ease, opacity .6s ease, transform .6s ease;
    
    text-shadow: 0 0 4px #ffffff52, 0 0 8px rgba(255, 255, 255, 0.089); 
}

.social-icon.show-item {
    opacity: 1;
    transform: translateY(0);
}

.social-icon:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff, 0 0 25px rgba(255, 255, 255, .9), 0 0 40px rgba(255, 255, 255, .7);
    transform: scale(1.15); 
    box-shadow: none;
}

@media (max-width: 768px) {
    body {
        cursor: auto!important;
    }
    a, a:hover, button, button:hover, .mute-btn, .mute-btn:hover, .social-icon, .social-icon:hover {
        cursor: auto!important;
    }
    .bio-card {
        min-width: 90%;
        padding: 20px;
    }
    .name {
        font-size: 22px;
    }
    .description, .joined-date {
        font-size: 12px;
    }
    .card-header {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-bottom: 15px;
        justify-content: flex-start;
    }
    .profile-pic-container {
        margin: 0 0 15px 0;
    }
    .user-details {
        margin-bottom: 15px;
        margin-right: 0;
        text-align: left;
        width: 100%;
    }
    .name, .description, .joined-date {
        text-align: left;
        width: 100%;
    }
    .discord-status-container {
        display: block;
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        max-width: 100%;
    }
    #discord-activity-widget {
        padding: 10px;
        justify-content: flex-start;
    }
    .location-info-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .location-info {
        justify-content: flex-start;
        width: 100%;
    }
    .hit-counter {
        justify-content: flex-start;
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }
    .card-footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 0;
    }
    .social-icons {
        margin-top: 0;
        width: auto;
        justify-content: center;
        gap: 10px;
    }
    .social-icon {
        width: auto;
        height: auto;
    }
    .location-info-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .hit-counter-container {
        justify-content: flex-start;
        margin-left: 0!important;
        margin-top: 5px;
        display: flex!important;
    }
    .online-status-fixed {
        bottom: unset;
        top: 10px;
    }
}

#footer-credit {
    position: fixed;
    left: 1vw;
    bottom: 1vh;
    font-size: 5px;
    color: rgba(255, 255, 255, .5);
    opacity: .4;
    z-index: 1000;
    font-family: 'Orbitron', sans-serif;
    pointer-events: none;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translate(-50%, -50px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes glow-flicker {
    0% { box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14; opacity: .8; }
    50% { box-shadow: 0 0 8px #39ff14, 0 0 15px rgba(57, 255, 20, 0.7), 0 0 20px rgba(57, 255, 20, 0.5); opacity: 1; }
    100% { box-shadow: 0 0 5px #39ff14, 0 0 10px #39ff14; opacity: .8; }
}

.online-status-fixed {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .815); 
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
    z-index: 900;
    animation: slideDown 1s ease-out forwards;
    opacity: 0;
}

.online-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #39ff14; 
    border-radius: 50%;
    border: 2px solid rgba(21, 255, 0, 0.5); 
    box-shadow: 0 0 5px #39ff14, 0 0 12px #39ff14, 0 0 20px rgba(57, 255, 20, 0.8); 
    animation: glow-flicker 2s infinite alternate ease-in-out;
}

