/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #111;
  color: #fff;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #222;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-name {
  font-size: 1.5rem;
  color: #00ADB5;
  font-weight: bold;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #00ADB5;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-bar {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: none;
  width: 200px;
  outline: none;
  background: #333;
  color: #fff;
  cursor: pointer;
}
.search-icon {
  color: #ccc;
  cursor: pointer;
}

/* Banner */
.banner {
  height: 50vh;
  background: linear-gradient(to right, #222, #111);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.banner h1 {
  font-size: 2.5rem;
  color: #00ADB5;
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 10px;
}

/* Row + Lists */
.row {
  margin: 20px;
}
.row h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #00ADB5;
}
.list {
  display: flex;
  overflow-x: auto;
}
.list img {
  width: 150px;
  margin-right: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.list img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Modal */
.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;
  z-index: 1000;
}
.modal-content {
  background: #222;
  padding: 20px;
  max-width: 800px;
  width: 90%;
  border-radius: 10px;
  text-align: center;
  position: relative;
}
.modal-body {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.modal-body img {
  width: 30%;
  border-radius: 10px;
}
.modal-text {
  flex: 1;
  text-align: left;
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: red;
  font-size: 28px;
  cursor: pointer;
}
.server-selector {
  margin: 15px 0;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  background: #1e1e1e;
  padding: 30px;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 2000;
}
.search-modal.active {
  display: flex;
}
.search-modal input {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background: #333;
  color: white;
  width: 100%;
  margin-bottom: 20px;
}
.search-modal .results {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.search-modal .results img {
  width: 100px;
  border-radius: 5px;
  cursor: pointer;
}

/* Footer */
.footer {
  background: #222;
  color: #ccc;
  padding: 20px;
  text-align: center;
}
.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links a {
  color: #00ADB5;
  text-decoration: none;
}
.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .nav-search {
    margin-top: 10px;
    width: 100%;
  }
}
