 { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: Arial, sans-serif; background: #111; color: #fff;
           scroll-behavior: smooth;}

.site-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ff004f, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 20px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.site-title:hover {
  transform: scale(1.05);
  text-shadow: 2px 2px 12px rgba(255, 0, 79, 0.8);
}

    .navbar {
      display: flex; justify-content: space-between; align-items: center;
      padding: 15px 20px; background: linear-gradient(90deg, #141e30, #243b55);
      box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }

.nav-home {
  font-weight: bold;
  color: #ff004f;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s, color 0.3s, transform 0.3s;
  position: relative;
}

.nav-home::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ff004f;
  transition: width 0.3s;
}

.nav-home:hover {
  color: #fff;
  background: rgba(255, 0, 79, 0.2);
  transform: translateY(-2px);
}

.nav-home:hover::after {
  width: 100%;
}

.logo {
    font-size: 36px;
  font-weight: 800;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  text-align: left;
  padding: 10px 25px;
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  display: inline-block;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px #00000050;
  transition: all 0.3s ease-in-out;
}

.logo:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #ff4b2b, #ff416c);
  color: #f1faee;
}

    .navbar img { height: 40px; }
    .nav-links { display: flex; align-items: center; gap: 20px; }
    .nav-links a { color: white; text-decoration: none; margin: 0 5px; }

    .nav-links a:hover {
  color: #00f0ff;
}

    .search-bar {
      padding: 5px; border-radius: 5px; border: none;
    }

    .banner {
      height: 60vh;
      background-size: cover;
      display: flex;
      align-items: center;
      padding: 20px;
    }

    .banner h1 {
  background: rgba(0,0,0,0.7);
  padding: 10px;
  font-size: 2rem;
    }

    .row {
      margin: 20px;
    }

    .row h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;  
    }

    .list {
      display: flex;
      gap: 15px;  
      overflow-x: auto;
      padding-bottom: 10px;  
    }

    .list img {
      min-width: 100px;
      width: 160px;
      margin-right: 10px;
      cursor: pointer;
      border-radius: 10px;
      transition: transform 0.3s ease, filter 0.3s ease;
      box-shadow: 0 4px 8px rgba(0,0,0,0.3);  
    }

    .list img:hover {
      transform: scale(1.05);
      filter: brightness(1.2);
      z-index: 2;
    }

    .modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.8);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 10;
    }

    .modal-content {
      background: #222;
      padding: 20px;
      width: 100%;
      max-width: 800px;
      max-height: 90vh;
      overflow-y: auto;
      position: relative;
      text-align: center;
      border-radius: 10px;
    }

    .modal-body {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      margin-bottom: 20px;
    }

    .modal-body img {
      width: 30%;
      border-radius: 5px;
    }

    .modal-text {
      flex: 1;
      text-align: left;
    }

    .modal img {
      width: 25%;
      border-radius: 5px;
    }

    .stars { color: gold; }
    .close {
      position: absolute;
      top: 10px; right: 20px;
      cursor: pointer;
      font-size: 24px;
    }

    .server-selector {
      margin: 15px 0;
      text-align: left;
    }


    .search-modal {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 15;
    }

    .search-modal input {
      width: 300px;
      padding: 10px;
      border-radius: 5px;
      border: none;
      margin-bottom: 20px;
    }

    .search-modal .results {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    .search-modal img {
      width: 120px;
      border-radius: 5px;
      cursor: pointer;
      min-width: 100px;
    }

    .search-modal .close {
      position: absolute;
      top: 20px;
      right: 30px;
      font-size: 30px;
    }

/* MOBILE DISPLAY START */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 15px;
  }

 @media (max-width: 480px) {
  .site-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
}

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
  }

  .nav-links a {
    flex: 1 1 45%;
    width: 100%;
    text-align: left;
  }
}

  .search-bar {
    width: 100%;
    margin-top: 10px;
  }

  .banner {
      height: 30vh;
  }
    
  @media (max-width: 380px) {
  .modal-body {
    align-items: center;
  }

  .modal-body img {
    width: 40%;
  }

  .modal-text {
    text-align: center;
  }

  .list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .list img {
    width: 120px;
    scroll-snap-align: start;
  }

  .search-modal input {
    margin-top: 50px;
    width: 90%;
  }

  .search-modal .results {
    justify-content: center;
    grid-template-columns: repeat(auto-fill, minmax(45%, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .banner h1 {
    font-size: 20px;
    padding: 5px;
  }

  .row h2 {
    font-size: 18px;
    margin: 10px;
  }

  .modal-content {
    width: 95%;
    padding: 15px;
  }

  .modal-body img {
    width: 40%;
  }

  .search-modal .close {
    font-size: 24px;
    top: 10px;
    right: 20px;

   @media (max-width: 400px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
  }
}
/* MOBILE DISPLAY END */

.footer {
  background: #222;
  color: #ccc;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  color: #00f0ff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    padding-top: 10px;
  }

  .banner h1 {
    font-size: 1.5rem;
  }

  .list img {
    width: 130px;
  }
}

@media (max-width: 480px) {
  .banner {
    height: 40vh;
  }

  .banner h1 {
    font-size: 1.2rem;
    padding: 10px;
  }

  .row h2 {
    font-size: 1.2rem;
  }

  .footer-content {
    font-size: 14px;
  }
}
  .footer-content {
    font-size: 14px;
  }

  .footer-links {
    flex-direction: row;
    gap: 8px;
  }
}

 html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


