@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* Color and Font Variables */

:root {
  --bg-color: #0f172a;
  --green-color: #0da326;
  --blue-color: #2901bb;
  --red-color: #ac0505;
  --silver-color: #5c5c5c;
  --orange-color: #ffa100;
}

.jersey-10-regular {
  font-family: "Jersey 10", serif;
  font-weight: 100;
  font-style: normal;
}

.jersey-20-regular {
  font-family: "Poppins", serif;
  font-weight: 100;
  font-style: normal;
}

/* Dynamic Island Community Styles */

.social-media {
  position: fixed;
  bottom: 10px;
  right: 10px;
  opacity: 0.7;
  font-weight: 200;
  font-style: normal;
  width: auto;
  background-color: var(--bg-color);
  border: 0.7px solid var(--bg-color);
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  text-align: left;
  z-index: 1000;
  font-family: "Poppins", serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInKanan 1s ease-in-out;
}

.social-media > * {
  margin: 7px;
}

.social-media a {
  display: flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-media a img {
  transition: transform 0.3s, box-shadow 0.3s;
  width: 35px;
  height: 35px;
}

.social-media a:hover img {
  transform: scale(1.1);
}
/* Dynamic Island Styles */

.dynamic-island {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  font-size: 14px;
  background-color: var(--bg-color);
  border: 1px solid var(--bg-color);
  border-radius: 22px;
  opacity: 0.7;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding-left: 5px;
  padding-right: 5px;
  padding: 15px;
  text-align: left;
  z-index: 1000;
  font-family: "Poppins", serif;
  font-weight: 500;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInAtas 1s ease-in-out;
}

.dynamic-island:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(62, 62, 62, 0.7);
}

.dynamic-island > * {
  margin-right: 20px;
  margin-left: 20px;
}
.dynamic-island p {
  opacity: 0.5;
}
.online-counter {
  font-size: 24px;
  font-weight: bold;
}

.status-online {
  color: var(--green-color);
  color: rgba(255, 253, 253, 1);
}

.status-offline {
  color: rgba(255, 253, 253, 1);
  opacity: 0.8;
}

.status-maintenance {
  color: rgba(255, 253, 253, 1);
}

.status-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 5px;
}

.status-online .status-indicator {
  background-color: rgb(46, 242, 46);
  box-shadow: 0 2px 7px var(--green-color);
  opacity: 1;
}

.status-offline .status-indicator {
  background-color: var(--red-color);
  box-shadow: 0 2px 7px var(--red-color);
  opacity: 0.8;
}

.status-maintenance .status-indicator {
  background-color: var(--orange-color);
  opacity: 1;
}

/* Register Button Styles */
.register-button a {
  animation: buttonPulse 2s infinite;
}

.register-button a {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 220px;
  font-size: 18px;
  background-color: var(--red-color);
  text-decoration: none;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 22px;
  text-align: left;
  z-index: 1000;
  font-weight: 500;
  font-family: "Poppins", serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  opacity: 0.4;

  transition: transform 0.3s, box-shadow 0.3s;
}

.register-button a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
  box-shadow: 0 2px 2px rgba(255, 0, 0, 0.7);
}

.register-button > * {
  margin-left: 10px;
}

/* Support Button Styles */

.support-button a {
  position: fixed;
  bottom: 10px;
  left: 15px;
  width: auto;
  font-size: 20px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  text-decoration: none;
  border-radius: 22px;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: left;
  z-index: 1000;
  font-family: "Poppins", serif;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  opacity: 0.7;
  animation: fadeInBawah 1s ease-in-out;
}

.support-button img {
  margin-left: 5px;
}

.support-button a:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 5px rgba(62, 62, 62, 0.7);
}

@keyframes HoverAnimation {
  0% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-3px);
  }
  100% {
    transform: translateY(2px);
  }
}

@keyframes RegAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-2px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeInBawah {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.5;
    transform: translateY(0);
  }
}

@keyframes fadeInAtas {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

@keyframes fadeInKanan {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

@keyframes buttonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(var(--red-color), 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(var(--red-color), 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(var(--red-color), 0);
  }
}
