/* browse-servers.css */

/* ========== HERO SECTION ========== */
.servers-hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(67, 97, 238, 0.1),
    rgba(58, 12, 163, 0.1)
  );
}

.servers-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.servers-hero p {
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 20px;
}

.servers-search {
  display: inline-flex;
  gap: 10px;
}
.servers-search input {
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 10px 15px;
  width: 250px;
}
.servers-search select {
  border: 1px solid #ccc;
  border-radius: 30px;
  padding: 10px;
}

/* ========== SERVERS LIST ========== */
.servers-list {
  margin: 40px 0;
}

.servers-list h2 {
  font-size: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.server-categories {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.server-categories li a {
  background: var(--card-bg);
  padding: 8px 15px;
  border-radius: 20px;
  transition: background 0.3s;
}
.server-categories li a:hover {
  background: rgba(67,97,238,0.1);
}

/* ========== SERVERS GRID ========== */
.servers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.server-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  padding: 20px;
  flex: 1 1 300px;
  max-width: 350px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s;
}
.server-card:hover {
  transform: translateY(-5px);
}
.server-info h3 {
  font-size: 1.3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}
.server-info p {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.server-action {
  text-align: right;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.badge.free {
  background: rgba(60,179,113,0.1);
  color: #3cb371;
}
.badge.paid {
  background: rgba(248,90,90,0.1);
  color: #ec4141;
}

@media (max-width: 768px) {
  .servers-hero h1 {
    font-size: 2rem;
  }
  .server-card {
    max-width: 100%;
  }
}
