@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #1a1a1a;
  margin: 0;
  padding: 0;
  background-image: radial-gradient(#3f434d 1px, transparent 1px);
  background-size: 20px 20px;
  color: white;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 400px;
  margin: 0;
  padding: 30px;
  background-color: #272a30;
  border-radius: 15px;
  box-shadow: 0 0 12px rgba(0,0,0,0.1);
  text-align: center;
  background-image: radial-gradient(#3f434da8 1px, transparent 1px);
  background-size: 20px 20px;
}

input {
  width: 90%;
  margin: 12px 0;
  padding: 12px;
  background-color: #282c34;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 16px;
  color: white;
  transition: tranform 0.3s ease;
}

input:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

    button {
      position: relative;
      overflow: hidden;
      background-color: #4caf50;
      color: white;
      padding: 12px;
      width: 100%;
      border: none;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: transform 0.5s ease, box-shadow 0.3s ease;
    }

    button::before {
      content: '';
      position: absolute;
      top: 0;
      left: 125%;
      width: 50px;
      height: 100%;
      background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.616) 50%,
        rgba(255, 255, 255, 0) 100%
      );
      transform: skewX(-25deg);
      transition: all 1s ease;
    }

    button:hover::before {
      left: -125%;
    }

    button:hover {
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 10px 20px rgba(20, 20, 20, 0.76);
      background-color: #55c259;
    }

.logoutBtn {
  background-color: #ff00009c;
  color: white;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 80.9px;
}

.logoutBtn:hover {
  background-color: #ff3232c9;
}

.link-a {
  color: #4CAF50;
  text-decoration: none;
}

.sparkle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  background-color: #00adc459;
  animation: sparkle-fade 300ms ease-out forwards;
}

@keyframes sparkle-fade {
  0% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(4); }
}

.resources {
  margin-top: 50px;
}
.resources h2 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 20px;
}
.resources ul {
  list-style: none;
  padding: 0;
}
.resources li {
  opacity: 0;
  transform: translateY(20px);
  margin: 12px 0;
}
.resources a {
  text-decoration: none;
  color: #17cece;
  font-weight: 500;
  font-size: 1.0rem;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.online-counter {
  position: fixed;
  top: 10px;
  right: 15px;
  background: rgba(26, 26, 26, 0.7);
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 600;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 999;
  backdrop-filter: blur(6px);
}

.close {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
  cursor: pointer;
  width: 10%;
  background-color: transparent;
  border: none;
  color: gray;
  transform: scaleY(0.9);
  font-family: 'Orbitron', sans-serif;
}

.close:hover {
  color: darkgray;
  background-color: transparent;
}

.close_a {
  text-decoration: none;
  color: gray;
}

.close_a:hover {
  color: darkgray;
  background-color: transparent;
}

.dotted-hr {
  border: none;
  border-top: 2px dotted #ccc;
  margin: 20px 0;
}
