* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  /* Page background image */
  background-image: url('repowarp-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  /* subtle fallback color while image loads or if it fails */
  background-color: #f8fafc;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.logo {
  margin-bottom: 40px;
}

.pixel {
  width: 40px;
  height: 40px;
  margin: 0 auto 8px;
}

.logo h1 {
  font-weight: 700;
  font-size: 2rem;
  color: #000;
}

.logo p {
  color: #555;
  font-size: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.avatars {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -10px;
}

.avatars .count {
  background: #f2f2f2;
  border-radius: 20px;
  font-size: 0.85rem;
  padding: 4px 10px;
  margin-left: 6px;
}

h2 {
  font-size: 1.4rem;
  margin: 8px 0 4px;
}

.sub {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.form {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.form input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  outline: none;
}

.form button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  position: relative;
  min-width: 130px;
}

.form button:hover {
  opacity: 0.85;
}

.loader {
  border: 2px solid transparent;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  animation: spin 0.7s linear infinite;
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.status {
  margin-top: 12px;
  font-size: 0.9rem;
}

footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.follow, .credit {
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.credit b {
  font-weight: 600;
}

.footer .credit a {
  text-decoration: none;
  color: inherit;
}

@media (max-width: 480px) {
  .form {
    flex-direction: column;
  }
  .form button {
    width: 100%;
  }
}
