@font-face {
    font-family: 'Bold';
    src: url('../fonts/mainfont.ttf');
}

@font-face {
    font-family: 'Light';
    src: url('../fonts/miscfont.ttf');
}

.highlight {
    color: #ffffff;
    text-shadow:
    0 0 42px #ffffff,
    0 0 82px #ffffff;
}

/* font setup */

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* fadeIn & fadeOut setup */

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    background-color: #000;
    /* Remove pointer-events: none; */
}
.overlaybtn {
    background-color: transparent;
    color: #fff;
    border: transparent;
    font-family: 'Light';
    font-size: 6vh;
    text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #fff,
    0 0 82px #fff;
}

/* overlay setup */

body {
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* basic setup */

#user-page {
    display: none; /* none = click to enter | flex = no click to enter */
    animation: fadeIn 0.5s ease-in-out; /* fadeIn 0.5s ease-in-out = click to enter | none = no click to enter */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 98vh;
}

/* will show when clicking on overlay */

.background {
    z-index: -1;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    
    transform: translate(-50%, -50%);
    object-fit: cover; /* Ensures full coverage without distortion */
}


.main-container {
    width: 275px; /* change to 550px for wide template | 275px for normal template */
    max-width: 80%;
    padding: 20px;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.65);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    overflow: visible;
    perspective: 800px; /* tilt.js */
    transform-style: preserve-3d; /* tilt.js */
    transition: transform 0.2s ease-out; /* Move transition here */
    will-change: transform; /* tilt.js */
}
* {
    cursor: url('https://ibb.co/HTTVkSMh') 16 16, auto;
}





/* user page setup */

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* container for pp / username / badges */

.pp {
    object-fit: cover;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    box-shadow: 0 0 15px #000;
}

/* pp display setup */

.username {
    font-family: 'Bold';
    font-size: 22px;
    color: #fff;
    position: relative;
    display: inline-block;
    margin-top: 2vh;
    margin-bottom: 1vh;
    filter: drop-shadow(#000000 1px 0 7px)!important;
}

.username::after {
    content: attr(data-tooltip);
    font-family: 'Light';
    font-size: 17px;
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    padding: 5px;
    background-color: rgba(17, 17, 17, 0.6);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    color: #fff;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    -webkit-text-fill-color: #fff;
}

.username:hover::after {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

/* username display setup */

.badges-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: default;
    position: relative;
    gap: 15px;
    background-color: #00000070;
    border-radius: 50px;
    padding: 14px 30px;
    margin-bottom: 2vh;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: default;
    position: relative;
}

.badges {
    position: relative;
    width: 22px;
    height: 22px;
    background-size: 100%;
    display: inline-block;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(#000000 1px 0 7px)!important;
}

.badges::after {
    content: attr(data-tooltip);
    font-family: 'Light';
    position: absolute;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%) scaleY(0);
    padding: 6px;
    background-color: rgba(17, 17, 17, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    color: #fff;
    border-radius: 6px;
    white-space: nowrap;
    z-index: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.badges:hover::after {
    transform: translateX(-50%) scaleY(1);
    opacity: 1;
}

/* badge display setup */

.bio-container {
    text-align: center;
    width: 92%;
    padding: 15px;
    background-color: rgba(22, 22, 22, 0.178);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 14px;
    max-width: 100%;
    overflow-wrap: break-word;
    margin-bottom: 1.5vh;
    min-height: 30px;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.bio {
    font-family: 'Light';
    font-size: 2vh;
    color: #fff;
    line-height: 1.5;
    text-align: center;
    filter: drop-shadow(#ffffff 1px 0 7px)!important;
}

/* bio setup */

.bioline {
    background-color: rgba(10, 10, 10, 0.61);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    height: 2px;
    border-radius: 10px;
}

.linksline {
    background-color: rgba(10, 10, 10, 0.61);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 80%;
    height: 2px;
    border-radius: 10px;
    
}

/* separation line setup */

.links-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 1.5vh;
    max-height: 280px;
    align-items: center;
    width: 370px; /* 560px for wide, 300px for normal */
   /* padding-top: 1vh; */
    
}

.links-container::-webkit-scrollbar {
    display: none;
    align-items: center;
    justify-content: center;
}

.links {
    border-radius: 15px;
    height: 45px;
    width: 45px;
    padding: 15px;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
}

#btc {
    filter: drop-shadow(#ffffff 1px 0 7px)!important;
}
#rb {
    filter: drop-shadow(#000000 1px 0 7px)!important;
}
#tt {
    filter: drop-shadow(#ffffff 1px 0 7px)!important;
}


.logo {
    fill: var(--logo-color);
    height: 70px;
    width: 70px;
}

.links:hover {
    transform: scale(1.2);
}

/* socials container setup */

.views-container {
    font-family: 'Light';
    font-size: 20px;
    color: #fff;
    fill: #C18be0;
    margin-top: 2vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; 
}

.views-container svg {
    padding-bottom: 6px;
    height: 25px; 
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    filter: drop-shadow(#c18be0 1px 0 7px)!important;
}
#view-count {
    filter: drop-shadow(#ffffff 1px 0 7px)!important;
}




/* views container setup */

.pic-badge {
    background-size: 100%;
    background-repeat: no-repeat; 
    background-position: center center;
}

/* badge setup */

.mutebutton {
    font-family: 'Light';
    color: #fff;
    position: fixed;
    bottom: 0;
    right: 2vh;
    text-align: center;
    transition: text-shadow 0.5s ease-in-out;
}

.mutebutton:hover {
    text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #fff;
}

/* mute button setup */

.breathing {
    background: linear-gradient(90deg, transparent 30%, #fff 50%, transparent 70%);
    background-size: 200%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: breathing 2s linear infinite;
}

@keyframes breathing {
    0% {
        background-position: 150%;
    }
    100% {
        background-position: -50%;
    }
}

/* breath effect setup */

.pulsing {
    color: #fff;
    text-align: center;
    animation: pulse 2s ease-in-out infinite alternate;
    backface-visibility: hidden;
}
    
@keyframes pulse {
    from {
    text-shadow: 0 0 10px #fff,
           0 0 20px #fff,
           0 0 30px #fff,
           0 0 40px #C18be0,
    }
    to {
    text-shadow: 0 0 5px #fff,
           0 0 10px #fff,
           0 0 15px #fff,
           0 0 20px #C18be0,
           0 0 35px #C18be0,
           0 0 40px #C18be0;
    }
}

/* pulsing effect setup */

.sparkles::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/sparkle.gif');
    z-index: 1;
    pointer-events: none;
}

.sparkles {
    position: relative;
    z-index: 1;
}

/* sparkles effect setup */

.leaves::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/leaves1.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.leaves {
    position: relative;
    z-index: 1;
}

/* leaves effect setup */

.sakura::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../images/sakura2.gif');
    background-size: 100%;
    z-index: 1;
    pointer-events: none;
}

.sakura {
    position: relative;
    z-index: 1;
}

.gunslol-icon {
    width: 40px;  /* Match other icons */
    height: 40px;
    object-fit: contain;
}

/* extras */
/* Main div */
#mainDiv{
    width:375px;
   }
   
   /* Image */
   #mainDiv .bio img{
    padding-top:14px;
   }
   
   @media (max-width:576px){
   
    /* Main div */
    #mainDiv{
     width:275px;
    }
    .pre-container img {
        transform: scale(0.725); 
        height: auto; 
        display: block;
    }
}
/* pre div */
.pre-container {
    text-align: center;
    padding-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-wrap: break-word;
}

.pre {
    font-family: 'Light';
    font-size: 2vh;
    color: #fff;
    line-height: 1.5;
}

/* fixing mobile rpc view */
