/* === Mobile Nav Slideout === */

@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .mobile-nav {
    position: fixed;
    top: 64px;
    right: -260px; /* slide in from the right */
    width: 240px;
    height: 100vh;
    background: #0f0f0f;
    flex-direction: column;
    padding: 1rem;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    transition: right 0.3s ease;
    border-left: 2px solid #222;
  }

  .mobile-nav.active {
    right: 0;
  }

  .mobile-nav a,
  .mobile-nav button {
    color: #74e4a3;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    text-align: left;
    border-bottom: 1px solid #333;
    background: none;
    border: none;
    display: block;
    width: 100%;
    text-align: left;
  }
  
.mobile-nav a,
.mobile-nav button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

/* Also for hamburger if you have it here */
.hamburger {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}

  .mobile-nav a:hover,
  .mobile-nav button:hover {
    color: #a8f2cb;
  }
}

.mobile-nav .close-btn:hover {
  color: #a8f2cb;
}