ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333333;
  display: flex;
  border-bottom:3px solid;
  border-image: linear-gradient(to right,white,transparent)3;
  border-width: 0 0 0.5px 0;
  position: fixed;
  width: 100%;
  z-index: 1000;
  flex-wrap: nowrap;        
    overflow-x: auto;         
    white-space: nowrap; 
    -webkit-overflow-scrolling: touch;
}
ul::-webkit-scrollbar{
  display:none;
}

ul li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #111111;
}
ul li a.active {
  background-color: #04AA6D;
}
li{
  font-family:Lato;
  border-right:1px solid white;
}
body{
  margin:0;
  background-image: linear-gradient(135deg, #2c3e50, #000000);
}
#look {
  position: relative;
  text-decoration: none;
  width: fit-content;
  text-align: center;
  margin: 3%;
}
img{
  transition: transform 0.3s ease,box-shadow 0.3s ease;
}
#look::after {
  content: '';
  position: absolute;
  /* 1. Set full width permanently */
  width: 100%; 
  height: 2px;
  bottom: -2px;
  left: 0;
  background-image: linear-gradient(to right, white, gray);
  
  /* 2. Animate the transform property instead of width */
  transition: transform 0.3s ease; 
  
  /* 3. Start shrunk to 0, pivoting from the right */
  transform: scaleX(0);
  transform-origin: bottom right;
}

#look:hover::after {
  /* 4. Scale up to full width on hover, pivoting from the left */
  transform: scaleX(1); 
  transform-origin: bottom left;
}


#sus{
  width:50%;
}
#map{
  width:100%;
}
#money{
  text-align:center;
  font-family:'Courier New', Courier, monospace;
  padding:3%;
  border:2px solid transparent;
  border-image: linear-gradient(to bottom, #d1d1d1, #757575) 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color:white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#money:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
h1{
  text-decoration: underline;
  font-family:'Times New Roman', Times, serif;
  text-align: center;
  margin:5%;
  color:transparent;
  background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  background-clip: text;
  font-size:40px;
}
#look{
  margin:4%;
  color: transparent;
  background-image: linear-gradient(180deg,#f5f5f5 0%, #e0e0e0 100%);
  background-clip: text;
}
#current{
  text-align:center;
  text-decoration: underline;
  color: transparent;
  background-image: linear-gradient(#f5f5f5 0%, #e0e0e0 100%);
  background-clip: text;
}
#none{
  margin:1%;
  font-family:'Courier New', Courier, monospace;
  color:whitesmoke;
  text-align: center;
}
#rule{
  border: none;
  height: 3px;
  background-image: linear-gradient(to right, transparent, #ccc, transparent)
}
img:hover{
  transform: scale(1.2);
  box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}
#current {
  position: relative;
  text-decoration: none;
  width: fit-content;
  text-align: center;
  margin: 3%;
}

#current::after {
  content: '';
  position: absolute;
  /* 1. Set full width permanently */
  width: 100%; 
  height: 2px;
  bottom: -2px;
  left: 0;
  background-image: linear-gradient(to right, white, gray);
  
  /* 2. Animate the transform property instead of width */
  transition: transform 0.3s ease; 
  
  /* 3. Start shrunk to 0, pivoting from the right */
  transform: scaleX(0);
  transform-origin: bottom right;
}

#current:hover::after {
  /* 4. Scale up to full width on hover, pivoting from the left */
  transform: scaleX(1); 
  transform-origin: bottom left;
}
