@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  min-height: 100vh;
  background: #010101;
  color: #fff;
  overflow-x: hidden;
}

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

body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  z-index: -1;
}

/* Navbar */
.header {
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  z-index: 100;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo i {
  font-size: 28px;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  margin-left: 30px;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  transition: color 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links a i {
  font-size: 20px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: #00e6e6;
  border-radius: 5px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.nav-links a:hover {
  color: #00e6e6;
  transform: scale(1.05);
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Leaderboard Box------------------------------------------------------------------- */
.leaderboard-container {
  margin-top: 120px;
  margin-bottom: 50px;
  padding: 40px 20px;
  width: 90%;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  background: transparent;
  backdrop-filter: blur(30px);
  border-radius: 15px;
  color: white;
  text-align: center;
  box-shadow: 0 0 10px #00e6e6;
}

.leaderboard-container h1 {
  margin-bottom: 20px;
  font-size: 32px;
  color: #00e6e6;
}

.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.leaderboard-list li {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.01);
}


.name {
  text-align: left;
}

.score {
  color: #00e6e6;
  font-weight: 600;
}

/* Buttons - Sign In & Sign Up with glow, border & hover effect */
.btn {
  position: relative;
  display: inline-flex; 
  justify-content: center; 
  align-items: center;     
  width: 200px;
  height: 45px;
  background: transparent;
  color: #00e6e6;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #00e6e6;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s, transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}


.btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: #00e6e6;
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.btn:hover {
  color:white;
  box-shadow: 0 0 8px #00e6e6, 0 0 8px #00e6e6;
  transform: scale(1.01);
}

.btn:hover::before {
  opacity: 0.05;
}