/* WeiflyCC Shared Mobile Navbar */

.header{
  position:sticky;
  top:0;
  z-index:999;
  backdrop-filter:blur(20px);
  background:rgba(11,17,32,.92);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  color:white;
}

.brand img{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
}

.brand span{
  font-weight:700;
  font-size:1.2rem;
}

.brand small{
  opacity:.7;
  font-size:.8rem;
}

nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:16px;
}

nav a{
  white-space:nowrap;
  color:white;
  text-decoration:none;
  transition:.25s;
}

nav a:hover{
  color:var(--accent);
}

/* Tablet */

@media (max-width:1024px){

  .nav{
    flex-direction:column;
    align-items:flex-start;
  }

  nav{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-start;
    gap:12px;
  }

  nav a{
    padding:8px 12px;
    border-radius:12px;
    background:rgba(255,255,255,.04);
  }
}

/* Phone */

@media (max-width:768px){

  .header{
    position:relative;
  }

  .brand{
    width:100%;
  }

  .brand img{
    width:48px;
    height:48px;
  }

  .brand span{
    font-size:1rem;
  }

  nav{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }

  nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    min-height:44px;
    font-size:.9rem;
  }
}

/* Small Phone */

@media (max-width:480px){

  nav{
    grid-template-columns:1fr;
  }

  nav a{
    width:100%;
  }
}
