:root {
  --green: #2ecc5b;
  --green-dark: #25a449;
  --ink: #222222;
  --muted: #5b5b5b;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 24px;
}

main {
  max-width: 640px;
  width: 100%;
}

.logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 8px;
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

h1 .ai {
  color: var(--green);
}

.tagline {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
  margin: 12px auto 0;
  max-width: 480px;
}

.spotify {
  color: var(--green-dark);
  font-weight: 700;
}

.status {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid rgba(46, 204, 91, 0.25);
  border-top-color: var(--green);
  border-radius: 50%;
  margin: 24px auto 0;
  animation: spin 0.8s linear infinite;
}

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

footer {
  margin-top: 40px;
  font-size: 0.85rem;
  color: #9a9a9a;
}

footer a {
  color: var(--green-dark);
  text-decoration: none;
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.1rem;
  }
  .tagline {
    font-size: 1.1rem;
  }
}
