@media (max-width: 768px) {
  .menu-toggle {
    display: block; 
  }

  .TopBarLinks {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background: rgba(15, 15, 37, 0.95); 
    padding: 20px;
    gap: 15px;
    text-align: center;
    border-bottom: 2px solid #ff00ff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }

  .TopBarLinks.active {
    display: flex;
  }

  .TopBarHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; 
  }
  
  h1 {
    font-size: 2.5rem; 
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem; 
  }
  
  .gallery img {
    width: 45%; 
    aspect-ratio: 1 / 1; 
  }
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.7;
  animation: bounce 2s infinite;
  z-index: 15;
}

.scroll-hint span {
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
  40% {transform: translateX(-50%) translateY(-10px);}
  60% {transform: translateX(-50%) translateY(-5px);}
}