@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: #000000;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

/* Global Custom Cursor */
html, body, a, button, .join-btn, .audio-btn, .social-icon-link, .badge-item, [role="button"] {
    cursor: url("https://r2.guns.lol/6e20aaa7-8466-48f1-a7fc-1f4c6db3805d.png") 16 16, auto !important;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.52);
    z-index: 1;
}

/* Entry Overlay Screen */
.entry-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    cursor: url("https://r2.guns.lol/6e20aaa7-8466-48f1-a7fc-1f4c6db3805d.png") 16 16, auto !important;
}

.entry-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.entry-text {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    animation: pulseGlow 2s infinite ease-in-out;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.98);
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
        color: #ffffff;
    }
}

.volume-controller {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(30, 30, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.volume-controller:hover {
    background: rgba(35, 35, 35, 0.85);
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
    padding: 12px 20px;
    gap: 16px;
}

.volume-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.volume-btn:hover {
    transform: scale(1.1);
}

.volume-btn svg {
    width: 28px;
    height: 28px;
}

/* Custom Volume Slider */
.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    opacity: 0;
    pointer-events: none;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    outline: none;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.volume-controller:hover .volume-slider {
    width: 140px;
    opacity: 1;
    pointer-events: auto;
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: url("https://r2.guns.lol/6e20aaa7-8466-48f1-a7fc-1f4c6db3805d.png") 16 16, auto !important;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: url("https://r2.guns.lol/6e20aaa7-8466-48f1-a7fc-1f4c6db3805d.png") 16 16, auto !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    cursor: url("https://r2.guns.lol/6e20aaa7-8466-48f1-a7fc-1f4c6db3805d.png") 16 16, auto !important;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.audio-btn svg {
    width: 18px;
    height: 18px;
}

.card-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 740px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.bio-card {
    width: 100%;
    border-radius: 22px;
    padding: 26px 28px;
    background: transparent;
    border: 1px solid rgba(248, 249, 250, 0.25);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 700ms cubic-bezier(0.03, 0.98, 0.52, 0.99);
    will-change: transform;
    min-height: 350px;
    height: auto;
    box-sizing: border-box;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    width: 100%;
    height: 110px;
}

.avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    margin-right: 14px;
}

.avatar-decoration {
    position: absolute;
    top: -11px;
    left: -11px;
    width: 132px;
    height: 132px;
    z-index: 2;
    pointer-events: none;
}

.main-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}

.header-text-column {
    display: flex;
    align-items: center;
    flex-grow: 1;
    height: 110px;
}

.header-text-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.username {
    font-weight: 600;
    font-size: 39.5px;
    line-height: 41px;
    color: #ffffff;
    text-shadow: 0px 0px 16.5px rgba(255, 255, 255, 0.7);
    margin: 0;
    background-image: url("https://assets.guns.lol/sparkle_white.gif");
    background-clip: border-box;
    background-repeat: repeat;
    display: block;
    width: fit-content;
}

.badges-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 14px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 4px 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.badge-item:hover {
    transform: scale(1.2);
}

.badge-item svg {
    color: #ffffff !important;
    filter: drop-shadow(0 0 3px #ffffff) !important;
    width: 17px;
    height: 17px;
}

.widgets-grid {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 0px;
    margin-bottom: 0px;
    height: 84px;
}

.widget-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 10px 16px;
    box-sizing: border-box;
    height: 84px;
    display: flex;
    align-items: center;
    position: relative;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.widget-card:hover {
    background-color: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.user-status-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-avatar-container {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background-color: #262630;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    padding: 2px;
    box-sizing: border-box;
    font-size: 0;
}

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

.status-badge-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.status-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.status-text-container {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.status-username {
    font-weight: 550;
    font-size: 18.5px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-sub {
    font-weight: 400;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-emoji {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.discord-widget {
    display: flex;
    align-items: center;
    gap: 12px;
}

.discord-header-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 11.3px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

.discord-header-tag svg {
    width: 14px;
    height: 14px;
}

.server-avatar-container {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.server-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.server-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.server-name-row {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 450;
    color: #ffffff;
}

.server-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 450;
}

.server-stats span {
    display: inline-flex;
    align-items: center;
}

.server-stats svg {
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

.join-btn {
    margin-left: 0;
    margin-top: 4px;
    width: fit-content;
    background-color: #23a55a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 3px 14px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.join-btn:hover {
    background-color: #1f924e;
    transform: scale(1.05);
}

.social-icons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 24px;
    width: 100%;
}

.social-icon-link {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    padding: 2px;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.social-icon-link:hover {
    transform: translateY(-3px) scale(1.15);
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 1)) drop-shadow(0 0 22px rgba(255, 255, 255, 0.8));
}

.social-icon-link svg {
    width: 26px;
    height: 26px;
}

.views-counter {
    position: absolute;
    bottom: 13px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 550;
}

.views-counter svg {
    width: 16px;
    height: 16px;
}

.custom-tooltip {
    position: fixed;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.5);
    transform: translate(-50%, -100%) translateY(-8px);
}

/* Responsive media queries for smooth layout scaling across mobile and tablets */
@media (max-width: 680px) {
    .card-wrapper {
        padding: 16px;
    }
    
    .bio-card {
        padding: 20px 16px;
        min-height: auto;
    }

    .card-header {
        flex-direction: column;
        height: auto;
        align-items: center;
        text-align: center;
        gap: 16px;
        margin-bottom: 20px;
    }

    .avatar-wrapper {
        margin-right: 0;
    }

    .header-text-column {
        height: auto;
        width: 100%;
        justify-content: center;
    }

    .header-text-inner {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .username {
        font-size: 28px;
        line-height: 32px;
    }

    .badges-wrapper {
        margin-left: 0;
        padding: 4px 10px;
    }

    .widgets-grid {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .widget-card {
        width: 100%;
        height: 80px;
        padding: 8px 14px;
    }
    
    .social-icons-row {
        gap: 8px;
        margin-top: 20px;
    }

    .social-icon-link svg {
        width: 24px;
        height: 24px;
    }
    
    .volume-controller {
        top: 10px;
        left: 10px;
        padding: 12px !important;
        gap: 0 !important;
        border-radius: 16px !important;
        width: 32px !important;
        height: 32px !important;
        justify-content: center;
    }

    .volume-controller:hover {
        padding: 12px !important;
        gap: 0 !important;
        transform: scale(1.05) !important;
    }

    .volume-slider {
        display: none !important;
    }
}

@media (max-width: 360px) {
    .username {
        font-size: 24px;
        line-height: 28px;
    }
    
    .entry-text {
        font-size: 16px;
        letter-spacing: 3px;
    }
}
