:root {
  --color-bg-primary: #000212;
  --transparent: hsla(0, 0%, 100%, 0);
  --color-border: hsla(0, 0%, 100%, 0.1);
  --color-text-primary: #f7f8f8;
  --color-brand-bg: #fcff66;
  --color-brand-text: #000;
  --color-text: rgb(212, 212, 212);
}

body {
  width: 100%;
}

/* Navbar Container - Floating Pill Style on Desktop */
.navbar {
  position: fixed;
  top: 1.5em;
  /* Slightly more spacing from top */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  /* Fluid width */
  max-width: 1200px;
  /* Cap width for large screens */
  height: 64px;
  /* Slightly taller for better touch targets */
  padding: 0 2em;
  color: var(--color-text-primary);
  z-index: 100000;
  transition: all 0.3s ease;
}

/* Glassmorphism Effect */
.navbar:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background-color: rgba(0, 2, 18, 0.6);
  /* Slight dark tint */
  border: 1px solid var(--color-border);
  border-radius: 50px;
  /* Pill shape */
  z-index: -1;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 !important;
}

/* Logo Styling */
.navbar-logo {
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  z-index: 100002;
  /* Ensure above mobile menu */
}

.navbar-logo a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  color: #fff;
}

.navbar-logo i {
  font-size: 32px;
  color: #fcff66;
  /* Brand color accent */
}

/* Navigation Links - Desktop */
.navbar-items {
  display: flex;
  align-items: center;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-item a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-item a:hover {
  color: #fff;
}

/* CTA Button */
.navbar-items .btn {
  margin-left: 2em;
}

.navbar-items .btn a {
  padding: 10px 24px !important;
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navbar-items .btn a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(252, 255, 102, 0.3);
}

/* Hamburger Menu Toggle (Hidden on Desktop) */
.hamburger-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  z-index: 100002;
  user-select: none;
}

#hamburger-toggle {
  display: none;
}

/* Responsive Design - Tablet & Mobile */
@media screen and (max-width: 900px) {
  .navbar {
    width: 100%;
    top: 0;
    max-width: none;
    border-radius: 0;
    height: 60px;
    padding: 0 1.5em;
  }

  .navbar:before {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--color-border);
    background-color: rgba(0, 2, 18, 0.8);
  }

  .hamburger-icon {
    display: block;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen */
    width: 100%;
    /* Full screen width */
    height: 100vh;
    background: #00041b;
    flex-direction: column;
    justify-content: center;
    gap: 2.5em;
    padding: 2em;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100001;
  }

  /* When checkbox is checked, show menu */
  #hamburger-toggle:checked~.navbar-links {
    right: 0;
  }

  .navbar-item a {
    font-size: 24px;
    /* Larger font for mobile touch */
    font-family: "Chillax-Medium", sans-serif;
  }

  .navbar-items .btn {
    margin: 1em 0 0 0;
  }

  .navbar-items .btn a {
    font-size: 18px;
    padding: 14px 32px !important;
  }

  /* Prevent scroll when menu is open - note: this requires JS usually, 
     but CSS alone can handle visibility */
}