/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background */
body {
  font-family: Tahoma, sans-serif;
  background: url('images/bg1.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Welcome Box */
.welcome-box {
  background-color: rgba(0, 0, 0, 0.7);
  max-width: 600px;
  margin: 20px auto;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  width: 90%;
  box-shadow: 0 0 15px #000;
}

.welcome-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.welcome-box p {
  font-size: 16px;
  margin-bottom: 30px;
}

.welcome-box button {
  font-size: 16px;
  padding: 12px 24px;
  margin: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background-color: #3867d6;
  color: white;
  transition: background-color 0.3s ease;
}

.welcome-box button:hover {
  background-color: #45aaf2;
}

/* Form Container */
.form-container {
  background-color: rgba(0, 0, 0, 0.75);
  max-width: 500px;
  margin: 100px auto;
  padding: 30px;
  border-radius: 12px;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 24px;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container input[type="text"],
.form-container input[type="password"],
.form-container input[type="email"] {
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
}

/* reCAPTCHA and button centering */
.form-container .g-recaptcha,
.form-container button {
  align-self: center;
}

.form-container button {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  border: none;
  background-color: #3867d6;
  color: white;
  cursor: pointer;
  margin-top: 10px;
}

.form-container button:hover {
  background-color: #45aaf2;
}

/* Logo area */
.logo-container {
  text-align: center;
  margin: 20px 0;
}

.logo-container img {
  max-width: 300px;
  height: auto;
}

.logo-img {
  height: 60px;
  object-fit: contain;
}

/* Page content centered */
.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Navbar Container */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1c1c1c;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation Links */
.navbar a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:not(.logo-link):hover {
  color: #ffffff; /* Keeps text white */
  background-color: rgba(255, 255, 255, 0.1); /* Subtle grey background */
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

/* Flex Containers */
.nav-left,
.nav-center,
.nav-right {
  display: flex;
  align-items: center;
}

/* Center the logo */
.nav-center {
  flex: 1;
  justify-content: center;
}

/* Adjust left and right sections */
.nav-left,
.nav-right {
  flex: 1;
  justify-content: center;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

  .nav-left,
  .nav-center,
  .nav-right {
    justify-content: center;
    margin: 5px 0;
  }

  .navbar a {
    margin: 5px 10px;
  }
}

.server-status-bar {
  display: flex;
  align-items: center;
  background-color: #2c2c2c;
  color: #fff;
  height: 50px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}


.server-info {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  font-weight: bold;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
  padding-right: 35px;
}

.scrolling-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-text 15s linear infinite;
  padding-left: 100%;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scrolling-text span {
  margin-right: 100px;
}

@keyframes scroll-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.dynamic-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-size: 16px;
  white-space: nowrap;
}

.dynamic-stats span {
  display: inline-block;
}
