* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  cursor: url('../cursor.png'), auto;
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: radial-gradient(ellipse at top,
      #1a1a2e 0%,
      #16213e 25%,
      #0f0f23 100%);
  color: #eee;
  box-sizing: border-box;
  padding-top: 120px;
}


button:hover,
a:hover ,
.join-btn:hover{
  cursor: url('../pointer.png'), pointer; /* still your custom image */
}

/*Bounce animation */
@keyframes bounce {
  0% {
    transform: translate(-50%, -2px);
  }

  50% {
    transform: translate(-50%, 0);
  }

  100% {
    transform: translate(-50%, -2px);
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  gap: 40px;

  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 1200px;
  z-index: 1000;
  animation: bounce 1s infinite;
}

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  background: linear-gradient(90deg, #00f, #9f49f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  white-space: nowrap;
  flex: 1;
  justify-content: flex-end;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  position: relative;
  text-decoration: none;
  color: #ccc;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #fff;
}

.hamburger {
  width: 30px;
  height: 20px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}


.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  padding: 60px 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
  z-index: 2000;
}

.sidebar.open {
  transform: translateX(0);
}

.sidebar a {
  display: block;
  text-decoration: none;
  color: #ccc;
  margin: 20px 0;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.sidebar a:hover {
  color: #fff;
}


.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #fff;
}


.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Sidebar fluid type openingg*/
.sidebar {
  transform: translateX(100%) scaleX(0.8) scaleY(1.2);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sidebar.open {
  transform: translateX(0) scaleX(1) scaleY(1);
}

/* fade-in */
.sidebar a {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.sidebar.open a {
  opacity: 1;
  transform: translateX(0);
}

.sidebar.open a:nth-child(2) { transition-delay: 0.1s; }
.sidebar.open a:nth-child(3) { transition-delay: 0.2s; }
.sidebar.open a:nth-child(4) { transition-delay: 0.3s; }
.sidebar.open a:nth-child(5) { transition-delay: 0.4s; }
.sidebar.open a:nth-child(6) { transition-delay: 0.5s; }

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .logo {
    margin-left: 15px;
  }

  .hamburger {
    display: flex;
    margin-right: 15px;
  }

  .header {
    width: 94%;
  }
}

body,
html {
  overflow-x: hidden;
}