/* BODY */
body {
  margin: 0;
  background: #0b0b0d;
  font-family: Arial, sans-serif;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 10px;
  z-index: 999;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1200px;
  margin: 30px auto;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-sizing: border-box;
  transition: margin 0.25s ease;
}

/* LOGO */
.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #00aaff;
}

.logo-area img {
  width: 28px;
}

/* DESKTOP NAV */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #e3c9ff;
  transition: .2s;
}

.nav-item:hover {
  color: white;
}

/* RIGHT BUTTONS */
.right-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  background: transparent;
  padding: 8px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  cursor: pointer;
  transition: .2s;
}

.btn-login:hover {
  background: rgba(255,255,255,0.1);
}

.btn-register {
  background: linear-gradient(90deg, #b06cff, #e578ff);
  padding: 8px 22px;
  border-radius: 10px;
  color: white;
  border: none;
  cursor: pointer;
  transition: .2s;
}

.btn-register:hover {
  opacity: 0.9;
}

/* MOBILE MENU (HIDDEN BY DEFAULT FOR DESKTOP) */
.mobile-menu {
  display: none;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: #00aaff;
  border-radius: 5px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 950px) {

  .navbar {
    width: 90%;
    padding: 15px 20px;
  }

  /* hide desktop items */
  .nav-links,
  .right-buttons {
    display: none;
  }

  /* show hamburger */
  .hamburger {
    display: flex;
  }

  /* FULLSCREEN MOBILE MENU SLIDE-IN */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;                /* full width */
    height: 100vh;
    background: rgba(20,20,25,0.98);
    backdrop-filter: blur(12px);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-sizing: border-box;

    /* SLIDE IN FROM RIGHT */
    transform: translateX(100%);
    transition: transform 0.35s ease;

    z-index: 99999;
  }

  .mobile-menu.open {
    transform: translateX(0);
  }

  .mobile-menu .nav-item {
    font-size: 18px;
  }

  .mobile-menu .btn-login,
  .mobile-menu .btn-register {
    width: 100%;
    text-align: center;
  }
  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 100000;
    user-select: none;
}
.close-menu:hover {
    opacity: 0.6;
}
}
