  body{
      -webkit-user-select: none;  /* Safari */
    -moz-user-select: none;     /* Firefox */
    -ms-user-select: none;      /* IE10+ */
    user-select: none;          /* Standard */
cursor: none; /* Hide the default cursor */

* {
  cursor: none !important;
}


  }
:root { --purple: #8b5cf6; }

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000000; font-family: 'Inter', sans-serif;}

#discordTag{
  background:#5865F2;
  color:white;
  font-size:12px;
  font-weight:700;
  padding:2px 8px;
  border-radius:6px;
  margin-left:6px;
  letter-spacing:0.5px;
  box-shadow:0 0 8px rgba(88,101,242,0.6);
}


.overlay {
  position: fixed;
  inset: 0;                /* cover the entire screen */
  z-index: 1;              /* above video but below content */
  background-color: rgba(0, 0, 0, 0.35); /* black with 35% opacity */
  pointer-events: none;    /* clicks pass through */
}



/* CLICK TO ENTER OVERLAY */
#enterOverlay {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  cursor: pointer;
  transition: opacity 0.8s ease;
}
.enter-card {
  background: transparent;
  font-family: "Merriweather", serif;
  font-weight: 400;
  border-radius: 60px;
  padding: 18px 50px;
  font-size: 32px;
  letter-spacing: 4px;
  color: white;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
  animation: gentleGlow 2.2s infinite alternate;
  backdrop-filter: blur(2px);
}
@keyframes gentleGlow { 0% { opacity: 0.8; text-shadow: 0 0 10px rgba(255,255,255,0.2); } 100% { opacity: 1; text-shadow: 0 0 25px white; } }

/* MAIN PAGE */
#mainPage { position: relative; width:100%; height:100%; z-index:1; opacity:0; pointer-events:none; transition: opacity 0.6s ease; }
#mainPage.visible { opacity:1; pointer-events:auto; }

/* BACKGROUND VIDEO */
.video-bg { position: fixed; top:50%; left:50%; width:100vw; height:56.25vw; min-height:100vh; min-width:177.78vh; transform: translate(-50%, -50%); border:none; z-index:0; pointer-events:none; }
.fallback-bg { position:fixed; inset:0; z-index:0; background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(180,80,20,0.8) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 80% 60%, rgba(120,40,10,0.7) 0%, transparent 60%), radial-gradient(ellipse 100% 100% at 50% 50%, #1a0800 40%, #0d0500 100%); animation: bgPulse 8s infinite alternate; }
@keyframes bgPulse { to { filter: brightness(1.1) saturate(1.15); } }

.overlay { position: fixed; inset:0; z-index:1; background: rgba(0,0,0,0.28); }
.page { position: relative; z-index:5; width:100%; height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; padding:20px; }

/* AVATAR SECTION */
.avatar-section { display:flex; flex-direction:column; align-items:center; gap:20px; animation: fadeDown 0.7s both; }
@keyframes fadeDown { from{opacity:0; transform:translateY(-25px);} to{opacity:1; transform:translateY(0);} }
@keyframes fadeUp { from{opacity:0; transform:translateY(25px);} to{opacity:1; transform:translateY(0);} }
.avatar-wrap { position:relative; width:180px; height:180px; }
.avatar-ring { position:absolute; inset:-8px; border-radius:50%; background: conic-gradient(from 0deg, transparent 0%, var(--purple) 20%, #f0f 40%, #a855f7 55%, #6d28d9 70%, transparent 85%, var(--purple) 100%); animation: spinRing 3s linear infinite; filter:blur(4px); opacity:0.9; }
.avatar-ring2 { position:absolute; inset:-5px; border-radius:50%; background: conic-gradient(from 180deg, transparent 0%, rgba(255,100,255,0.7) 25%, transparent 50%, rgba(139,92,246,0.7) 75%, transparent 100%); animation: spinRing 2.5s linear infinite reverse; filter:blur(3px); opacity:0.8; }
@keyframes spinRing { to { transform:rotate(360deg); } }
.avatar-border { position:absolute; inset:0; border-radius:50%; background:rgba(0,0,0,0.5); z-index:1; box-shadow:0 0 30px rgba(139,92,246,0.7); }
.avatar-img { position:absolute; inset:6px; border-radius:50%; background:#2a1520; z-index:2; overflow:hidden; display:flex; align-items:center; justify-content:center; box-shadow: inset 0 0 20px rgba(0,0,0,0.8);}
.avatar-img img { width:100%; height:100%; object-fit:cover; border-radius:50%; transition: transform 0.3s ease; }
.avatar-img img:hover { transform: scale(1.05); }

/* USERNAME & TAGLINE */
.tagline { font-family:'Montserrat',sans-serif; font-weight:800; font-size:14px; letter-spacing:3px; color:#fff; text-transform:uppercase; text-align:center; text-shadow:0 0 15px #c084fc,0 0 30px #8b5cf6; margin-top:-6px; animation:fadeDown 0.8s 0.1s both; }
.location { display:flex; align-items:center; gap:5px; font-size:14px; color:rgba(255,255,255,0.9); margin-top:-2px; text-shadow:0 0 10px rgba(139,92,246,0.5); animation:fadeDown 0.8s 0.2s both; }

/* FRIEND CARD */
.friend-card {
  display:flex;
  align-items:center;
  gap:20px;
  background: rgba(10, 10, 10, 0.3);
  backdrop-filter:blur(16px);
  border:1.5px solid rgba(0, 0, 0, 0.6);
  border-radius:24px;
  padding:28px 30px 28px 22px;
  width:430px; /* bigger width */
  margin-top:16px;
  height: 90px;
  cursor:pointer;
  transition:all 0.25s;
  animation:fadeUp 0.8s 0.3s both;
}

.friend-card:hover {
  background: rgba(45,30,60,0.8);
  border-color:var(--purple);
  transform:translateY(-4px) scale(1.02);
  box-shadow:0 15px 35px rgba(139,92,246,0.5);
}

.friend-avatar {
  position:relative;
  width:70px;  /* bigger avatar */
  height:70px;
  flex-shrink:0;
}

.friend-avatar-img {
  width:70px;
  height:70px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid rgba(255,255,255,0.2);
}

.friend-status {
  position:absolute;
  bottom:2px;
  right:2px;
  width:16px;
  height:16px;
  border:2px solid #1f0f2f;
  border-radius:50%;
}

.friend-info {
  flex:1;
}

.friend-name {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:18px; /* bigger text */
  font-weight:700;
  color:white;
}

.friend-badges {
  display:flex;
  gap:6px;
}

.fbadge {
  font-size:16px;
}

.friend-bio {
  font-size:12px;
  color:rgba(255,255,255,0.7);
  margin-top:6px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-shadow:0 0 5px #aaa;
}


/* SOCIAL ICONS */
.socials { display:flex; gap:22px; margin-top:18px; animation:fadeUp 0.8s 0.4s both;}
.soc-icon { width:56px; height:56px; display:flex; align-items:center; justify-content:center; color:white; cursor:pointer; transition:0.25s; text-decoration:none; font-size:34px;}
.soc-icon:hover { transform:translateY(-6px) scale(1.2); }

/* MUSIC PLAYER */
.music-player{
  position:fixed;
  bottom:15%;
  left:50%;
  transform:translateX(-50%);
  width:min(530px,90%);
  display:flex;
  flex-direction:column;
  gap:12px;
  z-index:1000;
  padding:15px 20px;
}


.username-wrapper {
  display: inline-flex;       /* text + icon side by side */
  align-items: center;        /* vertical alignment */
  gap: 8px;                   /* space between text and icon */
  justify-content: center;
  position: relative;         /* keep relative for the glitch text */
}

/* Glitch text */
.username {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 38px;
  letter-spacing: 2px;
  color: #fff;
  position: relative;
  text-shadow: 0 0 20px var(--purple), 0 0 40px #a855f7;
}

/* Glitch layers */
.username::before,
.username::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip: rect(0, 9999px, 0, 0);
}

.username::before {
  left: 2px;
  text-shadow: -2px 0 red;
  animation: glitchTop 2s infinite linear alternate-reverse;
}

.username::after {
  left: -2px;
  text-shadow: -2px 0 cyan;
  animation: glitchBottom 2s infinite linear alternate-reverse;
}

/* Glitch keyframes remain the same */
@keyframes glitchTop {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(0, 9999px, 10px, 0); transform: translate(-2px, -2px); }
  20% { clip: rect(5px, 9999px, 15px, 0); transform: translate(2px, 2px); }
  30% { clip: rect(10px, 9999px, 20px, 0); transform: translate(-2px, 0); }
  40% { clip: rect(5px, 9999px, 15px, 0); transform: translate(2px, -2px); }
  50% { clip: rect(0, 9999px, 10px, 0); transform: translate(0, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

@keyframes glitchBottom {
  0% { clip: rect(0, 9999px, 0, 0); }
  10% { clip: rect(10px, 9999px, 20px, 0); transform: translate(2px, 2px); }
  20% { clip: rect(5px, 9999px, 15px, 0); transform: translate(-2px, -2px); }
  30% { clip: rect(0, 9999px, 10px, 0); transform: translate(2px, 0); }
  40% { clip: rect(5px, 9999px, 15px, 0); transform: translate(-2px, 2px); }
  50% { clip: rect(0, 9999px, 0, 0); transform: translate(0, 0); }
  100% { clip: rect(0, 9999px, 0, 0); }
}

/* Icon styling */
.username-icon {
  width: 32px;  /* adjust size */
  height: 32px;
}



.soc-icon{
  position:relative;
  display:inline-block;
}

/* message bubble */
.copy-msg{
  position:absolute;
  bottom:120%;
  left:50%;
  transform:translateX(-50%);
  background:#000;
  color:#fff;
  padding:4px 8px;
  font-size:12px;
  border-radius:6px;
  opacity:0;
  pointer-events:none;
  transition:0.3s;
  white-space:nowrap;
}

/* show message */
.copy-msg.show{
  opacity:1;
}






.music-top { display:flex; align-items:center; gap:18px; }
.music-art { width:80px; height:80px; border-radius:12px; background:#1a0d10; overflow:hidden; flex-shrink:0; }
.music-art img { width:100%; height:100%; object-fit:cover; display:block; }
.music-meta { flex:1; min-width:0; }
.music-title { font-size:18px; font-weight:700; color:rgba(255,255,255,0.95); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.music-time { font-size:13px; color:rgba(255,255,255,0.7); margin-top:4px; display:flex; align-items:center; gap:8px;}
.music-progress-wrap { flex:1; position:relative; height:6px; background:rgba(255,255,255,0.3); border-radius:99px; overflow:hidden; margin-top:10px;}
.music-progress-fill { position:absolute; left:0; top:0; bottom:0; background:rgba(255,255,255,0.9); border-radius:99px; width:0%; transition: width 0.1s linear; }
.music-controls { display:flex; align-items:center; gap:16px; color:white; flex-shrink:0; margin-top:10px; }
.music-controls button { background:none; border:none; color:white; cursor:pointer; transition:transform 0.2s; font-size:20px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; }
.music-controls button:hover { transform:scale(1.2); }
.ctrl-btn { background:none; border:none; cursor:pointer; color:white; transition:0.15s; }


.lk-flag {
  width: 30px;     /* small size */
  height: auto;    /* keep aspect ratio */
  object-fit: cover;
  border-radius: 2px;
}
.location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-top: -2px;
  text-shadow: 0 0 10px rgba(139,92,246,0.5);
  animation: fadeDown 0.8s 0.2s both;
}



  /* VISIT COUNTER */
  .visit-counter {
    position:fixed; bottom:20px; right:20px;
    display:flex; align-items:center; gap:10px;
    font-size:24px; padding:10px 20px; background:rgba(255,255,255,0.1);
    border-radius:15px; color:white; backdrop-filter:blur(8px); z-index:9000;
  }
  .visit-counter img { width:32px; height:32px; color: white;  }




/* Custom Cursor */
#customCursor{
  position:fixed;
  width:44px;
  height:44px;
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:9999;
}

/* Snow particles */
.snow{
  position:fixed;
  width:7px;
  height:7px;
  z-index: 9999;
  background:rgb(255, 255, 255);
  border-radius:50%;
  pointer-events:none;
  animation:fall 1s linear forwards;
}

@keyframes fall{
  0%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
  100%{
    opacity:80;
    transform:translateY(40px) scale(0.3);
  }
}



.bottom {
 margin-top: -60px;
}


@media (max-width: 768px) {
   .avatar-wrap { bottom: 30px; }
  .music-player {bottom: 70px;}
  .friend-card{width: 90%;}
  .friend-bio{width: 90%;}
   #customCursor{display: none;}

    .music-art {
    width: 50px;
    height: 50px;
  }
  .music-title {
    font-size: 14px;
  }
  .music-time {
    font-size: 11px;
  }
  .music-controls button {
    width: 24px;
    height: 24px;
    font-size: 16px;
  }
  .music-player {
    bottom: 8%;
    padding: 10px 12px;
  }
   .visit-counter {
    font-size: 16px;
    padding: 4px 10px;
    gap: 6px;
  }
  .visit-counter img {
    width: 20px;
    height: 20px;
  }
}




.bot{
  color: white;
  text-align: center;
  left: 50%;
  font-size: 20px;
}


@media (max-width: 768px) {
  .avatar-wrap { width: 140px; height: 140px; }
  .avatar-img img { width: 100%; height: 100%; }
  .username { font-size: 24px; }
  .tagline { font-size: 12px; }
  .friend-card { width: 90%; flex-direction: column; align-items: flex-start; padding: 20px; height: auto; gap:10px; }
  .friend-avatar { width: 60px; height: 60px; }
  .friend-avatar-img { width: 100%; height: 100%; }
  .music-player { width: 95%; bottom: 6%; padding: 10px; }
  .music-art { width: 50px; height: 50px; }
  .music-title { font-size: 14px; }
  .music-controls button { width: 28px; height: 28px; font-size: 16px; }
  .socials { gap: 15px; }
  .soc-icon { width: 44px; height: 44px; font-size: 28px; }
  .visit-counter { font-size: 16px; padding: 6px 12px; }
  #enterOverlay {text-align: center; font-size: 16px;}
}


.volume-container {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black */
  padding: 10px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Hide the slider by default */
#volSlider {
  width: 0;
  opacity: 0;
  margin-left: 0;
  transition: all 0.4s ease;
  cursor: pointer;
  accent-color: white; /* Makes the knob white */
}

/* Expand slider on hover */
.volume-container:hover #volSlider {
  width: 100px;
  opacity: 1;
  margin-left: 10px;
}

/* Style for the icon */
#volIcon {
  font-size: 1.2rem;
}