* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
  background-image: url('https://i.postimg.cc/W4DrkjrP/2026-05-13-07-29-06.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  line-height: 1.5;
}

/* Navbar - full width, edge to edge, dark background, no border */
.navbar {
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Container for content inside navbar (logo + nav links) to keep alignment */
.navbar-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo img {
  max-height: 85px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Navigation buttons */
.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

.nav-btn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.25);
}

/* Main content wrapper (centered, but navbar is separate) */
.site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* Primary buttons (rounded square, brown-purple gradient, pop-up hover) */
.btn-primary {
  background: linear-gradient(135deg, #8B5A2B 0%, #7B3F1A 40%, #9B4FDF 100%);
  border: none;
  padding: 0.85rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.buttons-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
}

/* Welcome fade-in */
.welcome-section {
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-title {
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, #e0c3ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.welcome-sub {
  font-size: 1.3rem;
  max-width: 850px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  padding: 1rem 1.5rem;
  border-radius: 28px;
  font-weight: 400;
  line-height: 1.5;
}

/* Server status widget (home page) */
.status-card {
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 1.5rem 2rem;
  margin: 2rem 0 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Status page specific card */
.status-page-card {
  background: rgba(20, 20, 30, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 28px;
  padding: 2rem;
  margin: 1.5rem 0;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.status-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  font-size: 1.2rem;
  margin-top: 0.8rem;
}

.status-item {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
}

.online-badge {
  background: #2e7d32;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
}

.offline-badge {
  background: #9a2e2e;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-weight: bold;
}

/* Player list styles */
.player-list-section {
  margin-top: 2rem;
  text-align: left;
}

.player-list-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.player-list {
  list-style: none;
  padding: 0;
  max-width: 400px;
  margin: 0 auto;
}

.player-list li {
  background: rgba(0, 0, 0, 0.5);
  padding: 0.6rem 1rem;
  margin: 0.5rem 0;
  border-radius: 12px;
  font-family: monospace;
  font-size: 1.1rem;
  text-align: center;
  border-left: 3px solid #9B4FDF;
}

.no-players {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 1rem;
}

/* Join page card */
.info-card {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 32px;
  padding: 2rem;
  margin: 1.5rem 0;
  text-align: center;
}

.info-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.server-address {
  background: #1e1a2f;
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 60px;
  font-family: monospace;
  font-size: 1.3rem;
  margin: 0.8rem 0;
  border: 1px solid #aa6eff;
}

.version-chip {
  background: #2c1a3a;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  display: inline-block;
  margin: 0.5rem;
}

.cracked-note {
  background: #2b1b38;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  display: inline-block;
  margin: 1rem auto;
}

/* Media gallery */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 2rem 0;
}

.media-item {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease;
}

.media-item:hover {
  transform: scale(1.01);
}

.media-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px;
  object-position: center;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
  backdrop-filter: blur(3px);
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.4rem;
  color: white;
  letter-spacing: 1px;
  border-radius: 0 0 28px 28px;
}

/* Copyright footer */
.copyright {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 700px) {
  .site-wrapper {
    padding: 0 1.2rem 3rem;
  }
  .welcome-title {
    font-size: 2.2rem;
  }
  .welcome-sub {
    font-size: 1rem;
  }
  .nav-links {
    gap: 0.7rem;
  }
  .nav-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  .btn-primary {
    padding: 0.6rem 1.3rem;
    font-size: 1rem;
  }
  .status-details {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
  .info-title {
    font-size: 1.6rem;
  }
  .server-address {
    font-size: 1rem;
    word-break: break-all;
  }
  .logo img {
    max-height: 65px;
  }
  .navbar {
    padding: 1rem 1.2rem;
  }
}