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

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f0f0f;
  color: #f0f0f0;
  font-family: monospace;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 60vw;
  gap: 1rem;
  padding: 3vw;
}

.emoji {
  font-size: 4rem;
}

h1 {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

h1.loading {
  color: #444;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.15;
    transform: scaleY(0.6);
  }
  40% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.loader {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 1.2em;
}

.loader span {
  display: inline-block;
  width: 0.35em;
  height: 1em;
  background: #666;
  border-radius: 2px;
  animation: blink 1.2s ease-in-out infinite;
}

.loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.loader span:nth-child(3) {
  animation-delay: 0.4s;
}

p {
  font-size: 1rem;
  color: #ededed;
}

#reload-btn {
  background: none;
  border: 1px solid #444;
  color: #888;
  font-family: monospace;
  font-size: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  transition:
    color 0.2s,
    border-color 0.2s;
  align-self: center;
}

#reload-btn:hover:not(:disabled) {
  color: #f0f0f0;
  border-color: #f0f0f0;
  cursor: pointer;
}

#reload-btn:disabled {
  opacity: 0.3;
}
