* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0a192f;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
}

.progress-container {
  width: 100%;
  height: 10px;
  background-color: #1e3a8a;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  transition: width 5s linear;
}

.title {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.message {
  font-size: 1.2rem;
  color: #a0a0a0;
  margin-bottom: 1rem;
}

#countdown {
  font-weight: bold;
  color: #3b82f6;
}

.connection-message {
  opacity: 0;
  color: #888;
  margin-top: 1rem;
  transition: opacity 0.3s ease-in-out;
  font-size: 0.9rem;
}

.connection-message.visible {
  opacity: 1;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-cancel {
  background-color: #3b82f6;
  color: white;
}

.btn-cancel:hover {
  background-color: #2563eb;
}

.btn-home {
  background-color: #1e40af;
  color: white;
}

.btn-home:hover {
  background-color: #2563eb;
}

