/* ===============================
   SERVER LIST PAGE (Velocity)
================================ */

/* ---------- Connect section ---------- */
.server-connect-section {
  padding: 40px 8% 60px;
}

.server-connect-container {
  max-width: 640px;
  margin: 0 auto;
}

.network-status-card {
  background: rgba(18, 20, 40, 0.9);
  border: 1px solid rgba(123, 92, 255, 0.3);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3fb7ff;
  box-shadow: 0 0 12px rgba(63, 183, 255, 0.8);
  flex-shrink: 0;
}

.status-dot.offline {
  background: #ff4d6d;
  box-shadow: 0 0 12px rgba(255, 77, 109, 0.6);
}

.status-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.connect-instruction {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.connect-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.connect-ip {
  font-size: 1.25rem;
  font-weight: 600;
  color: #7b5cff;
  background: rgba(123, 92, 255, 0.15);
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(123, 92, 255, 0.35);
}

.connect-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.connect-note code {
  background: rgba(123, 92, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.9em;
}

/* ---------- Server cards (Hub, PvP, SMP) ---------- */
.server-section {
  padding: 60px 8%;
  background: rgba(255, 255, 255, 0.02);
}

.server-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.server-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.server-card {
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(18, 20, 40, 0.85);
  border: 1px solid rgba(123, 92, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.server-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(123, 92, 255, 0.25);
  border-color: rgba(123, 92, 255, 0.5);
}

.server-card.coming-soon {
  opacity: 0.7;
  cursor: default;
  position: relative;
}

.server-card.coming-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(123, 92, 255, 0.25);
}

.coming-soon-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  background: rgba(123, 92, 255, 0.2);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.server-card.coming-soon .server-card-icon,
.server-card.coming-soon h3,
.server-card.coming-soon p {
  opacity: 0.9;
}

.server-card-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.server-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #7b5cff, #5f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.server-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Network info section ---------- */
.server-info-section {
  padding: 80px 8%;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.server-info-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.info-card {
  padding: 28px 22px;
  border-radius: 16px;
  background: rgba(18, 20, 40, 0.85);
  border: 1px solid rgba(123, 92, 255, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(123, 92, 255, 0.3);
  border-color: rgba(123, 92, 255, 0.5);
}

.info-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #7b5cff, #5f8cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .server-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .server-connect-section,
  .server-section {
    padding-left: 4%;
    padding-right: 4%;
  }

  .connect-box {
    flex-direction: column;
  }

  .connect-ip {
    font-size: 1.1rem;
  }
}
