body {
  background: #0f172a;
  color: white;
  font-family: Arial;
  text-align: center;
  margin: 0;
  padding: 20px;
  transition: 0.3s;
}

body.light {
  background: #f1f5f9;
  color: #0f172a;
}

.container {
  max-width: 500px;
  margin: auto;
  padding: 20px;
}

/* typing */
.typing {
  font-size: 24px;
  border-right: 2px solid;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s steps(30, end) forwards, blink 0.8s infinite;
}

@media (min-width: 768px) {
  .typing {
    font-size: 28px;
  }
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

/* loader */
.loader {
  margin: 20px auto;
  border: 4px solid #333;
  border-top: 4px solid #00ffcc;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* progress */
.progress-bar {
  width: 100%;
  background: #1e293b;
  border-radius: 10px;
  margin: 20px 0;
}

.progress {
  width: 70%;
  height: 8px;
  background: #00ffcc;
  border-radius: 10px;
  animation: load 3s infinite alternate;
}

@keyframes load {
  from { width: 30%; }
  to { width: 90%; }
}

.sub {
  color: #94a3b8;
  font-size: 14px;
}

.status {
  margin-top: 15px;
  color: #00ffcc;
  font-size: 14px;
}

.ping, .online {
  font-size: 12px;
  color: #64748b;
  word-break: break-word;
}

button {
  margin-top: 15px;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  max-width: 200px;
}
