@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

:root {
  --font-main: 'Playfair Display', serif;

  --accent: #ffffff;
  --text-color: #f5b0ff;
  --background: rgba(255,255,255,0.15);
  --icon-color: #f5b0ff;
  --primary: #ff00b5;
  --secondary: #f6d0f7;

  --profile-opacity: 0.25;
  --profile-blur: 15px;
  --profile-glow: 25px;
}

/* RESET */
* { margin:0; padding:0; box-sizing:border-box; }

body {
  overflow:hidden;
  font-family:var(--font-main);
  color:var(--text-color);
}

/* VIDEO FULLSCREEN */
#bgVideo {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  object-fit:cover;
  z-index:-2;
}
#bgOverlay {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  background: rgba(0,0,0,0.2);
  z-index:-1;
}

/* CLICK TO CONTINUE */
#landingOverlay {
  position:fixed;
  top:0;
  left:0;
  width:100vw;
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index:999;
  cursor:pointer;
  color: var(--accent);
  text-align:center;
}
#landingOverlay h1 {font-size:2rem; text-shadow:0 0 8px var(--primary);}
#landingOverlay p {font-size:1rem;}

/* PROFILE CARD */
.profile-card {
  position:relative;
  max-width:320px;
  margin:120px auto;
  padding:1.8rem;
  background: var(--background);
  border-radius:20px;
  backdrop-filter: blur(var(--profile-blur));
  text-align:center;
  box-shadow:0 0 var(--profile-glow) rgba(255,110,199,0.2);
  transition: transform 0.1s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.profile-pic {
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:1rem;
}
.username {
  font-family: var(--font-main);
  font-size:2.8rem;
  font-weight:600;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--text-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255,0,181,0.5);
  opacity: 0.9;
}
.badges { margin: 0.5rem 0; }
.badge {
  background:none;
  font-size: 1rem;
  font-weight:600;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--text-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* SOCIALS (no glow) */
.socials {
  margin-top:1rem;
  display:flex;
  justify-content:center;
  gap:15px;
}
.socials a {
  display:inline-block;
  border-radius:50%;
  padding:4px;
  transition: transform 0.3s ease;
}
.socials img {
  width:28px;
  height:28px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 0 2px rgba(0,0,0,0.3));
}
.socials a:hover img { transform:scale(1.2); }

/* CONTROLS */
#controls {
  position:fixed;
  bottom:20px;
  left:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  z-index:20;
}

#volumeControl {
  display:flex;
  align-items:center;
  gap:6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding:6px 8px;
  border-radius:12px;
  opacity:0.3;
  width:40px;
  transition: opacity 0.3s ease, width 0.4s ease;
  overflow:hidden;
}
#volumeControl:hover { opacity:1; width:120px; }
#muteBtn {
  background:none;
  border:none;
  font-size:1.1rem;
  cursor:pointer;
  color: var(--text-color);
}
#volumeSlider {
  appearance:none;
  width:70px;
  height:4px;
  border-radius:4px;
  background: var(--secondary);
  outline:none;
  cursor:pointer;
  opacity:0;
  transition: opacity 0.3s ease;
}
#volumeControl:hover #volumeSlider { opacity:1; }
#volumeSlider::-webkit-slider-thumb {
  appearance:none;
  width:12px;
  height:12px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--text-color));
  cursor:pointer;
}

#toggleUI {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding:4px 8px;
  border:none;
  border-radius:10px;
  font-size:0.8rem;
  color: var(--text-color);
  cursor:pointer;
  opacity:0.3;
  transition: opacity 0.3s ease;
}
#toggleUI:hover { opacity:1; }

/* SPARKLES */
.card-sparkle {
  position: absolute;
  pointer-events: none;
  animation: sparkleFloat 4s infinite ease-in-out;
  opacity: 0.35;
}
@keyframes sparkleFloat {
  0% { transform: translateY(0) translateX(0) scale(1);}
  50% { transform: translateY(-10px) translateX(5px) scale(1.2);}
  100% { transform: translateY(0) translateX(0) scale(1);}
}
/* Hide default cursor */
body {
  cursor: none;
}

/* Custom cursor image */
.custom-cursor {
  position: fixed;
  width: 32px; /* adjust size */
  height: 32px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* Sparkle trail */
.sparkle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5b0ff;
  pointer-events: none;
  opacity: 0.8;
  filter: blur(2px);
  animation: sparkleFade 0.6s linear forwards;
}

@keyframes sparkleFade {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.3); }
}
/* Force hide system cursor on all elements */
*,
button,
a,
input,
textarea,
select {
  cursor: none !important;
}
/* Hide system cursor everywhere */
*,
button,
a,
input,
textarea,
select {
  cursor: none !important;
}

/* Custom styling for slider thumb to prevent native cursor from showing */
input[type="range"]::-webkit-slider-thumb {
  cursor: none;
}
input[type="range"]::-moz-range-thumb {
  cursor: none;
}
input[type="range"]::-ms-thumb {
  cursor: none;
}