@font-face {
    font-family: 'Bold';
    src: url('../../src/fonts/mainfont.ttf');
}

@font-face {
    font-family: 'Light';
    src: url('../../src/fonts/miscfont.ttf');
}

.highlight {
    color: #C18be0;
    text-shadow:
    0 0 42px #C18be0,
    0 0 82px #C18be0;
}

/* 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(17, 17, 17, 0.65);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.541);
    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://r2.guns.lol/a5b43f72-1522-410f-b3f0-a70cbe891847.png') 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(#c18be0 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: url('https://r2.guns.lol/a5b43f72-1522-410f-b3f0-a70cbe891847.png') 16 16, auto;
    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: url('https://r2.guns.lol/a5b43f72-1522-410f-b3f0-a70cbe891847.png') 16 16, auto;
    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(#fff 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;
}
.badges svg path {
    fill: white !important;
}


/* 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(#5865f2 1px 0 7px) !important;
}

#rb {
    filter: drop-shadow(#f7f7f7 1px 0 7px)!important;
}
#ig {
    filter: drop-shadow(#d62976 1px 0 7px) !important;
}

#ig svg {
    transition: transform 0.3s ease-in-out; /* Smooth transition */
}

#ig:hover svg {
    transform: scale(1.2); /* Apply scaling only on hover */
}


#tt {
    filter: drop-shadow(#f7f7f7 1px 0 7px)!important;
}
#tele {
    filter: drop-shadow(#2aaaee 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 */

.volume-button {
    font-family: 'Light';
    color: #fff;
    position: fixed;
    bottom: 10px;
    right: 2vh;
    text-align: center;
    cursor: url('https://r2.guns.lol/a5b43f72-1522-410f-b3f0-a70cbe891847.png') 16 16, auto;
    transition: text-shadow 0.5s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-button svg {
    width: 32px;
    height: 32px;
    pointer-events: none; /* Prevents accidental slider interaction */
}

.volume-button:hover {
    text-shadow:
    0 0 7px #fff,
    0 0 10px #fff,
    0 0 21px #fff,
    0 0 42px #fff;
}

/* Hide slider by default */
.volume-slider {
    width: 100px;
    height: 5px;
    background: #fff;
    outline: none;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    cursor: url('https://r2.guns.lol/a5b43f72-1522-410f-b3f0-a70cbe891847.png') 16 16, auto;
}

/* Show slider when hovering over volume button */
.volume-button:hover .volume-slider {
    opacity: 1;
}

/* 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('../../../../hi/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('../../../../hi/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('../../../../hi/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;
}

#track {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.4); /* Spotify green glow */
    max-width: 300px;
    margin: 20px auto;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    transition: all 0.3s ease;
}

#track img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

#track a {
    color: #1DB954;
    font-weight: bold;
    text-decoration: none;
}

#track span {
    color: #ccc;
    font-size: 13px;
    display: block;
    margin-top: 4px;
}
#activity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #00c0fa;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 16px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    margin-top: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
}

#activity::before {
    content: '®'; /* controller emoji or change to 🎲/🕹 */
    font-size: 18px;
}
.avatar-frame {
    position: relative;
    width: 128px;
    height: 128px;
  }
  
  .avatar-frame .pp,
  .avatar-frame .custom-decoration {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
  }
  
  .avatar-frame .custom-decoration {
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
    mix-blend-mode: lighten; /* OR: screen, overlay, soft-light */
    animation: floatGlow 6s ease-in-out infinite;
  }
  
  @keyframes floatGlow {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 0.7; }
  }
  #view-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #00c3ff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 0 8px rgba(0, 217, 255, 0.644);
    width: fit-content;
    margin-left: 15px;
    margin-top: 15px;
    user-select: none;
  }
  .location-badge {
    color: #b441d5;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    display: inline-block;
    text-shadow: 0 0 5px rgba(180, 65, 213, 0.5);
  }
  
  .location-badge i {
    margin-right: 6px;
  }
  