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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1a1a2e;
  background: #f5f5f7;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 640px;
  padding: 56px 40px;
}

.container--wide {
  max-width: 720px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

h1 {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.subtitle {
  font-size: 1.05rem;
  color: #5c5c6e;
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: #6750A4;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
}

button.cta {
  appearance: none;
  -webkit-appearance: none;
}

.cta:hover {
  background: #5a43a0;
}

.cta:focus-visible {
  outline: 2px solid #6750A4;
  outline-offset: 2px;
}

.secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6750A4;
  border: 1px solid #6750A4;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.secondary:hover {
  background: #f3f0ff;
}

.secondary:focus-visible {
  outline: 2px solid #6750A4;
  outline-offset: 2px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.links a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid #e0e0e5;
  color: #5c5c6e;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.links a:hover {
  background: #f5f5f7;
  border-color: #6750A4;
  color: #6750A4;
}

.entry {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.entry .primary {
  padding: 14px 28px;
}

.entry .secondary {
  padding: 14px 28px;
}

.placeholder {
  border: 1px dashed #c4b8e0;
  background: #faf8ff;
  border-radius: 12px;
  padding: 20px;
  color: #5c5c6e;
  margin-bottom: 32px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.play-thank-you {
  margin-top: 16px;
  padding: 16px 20px;
  background: #f3f0ff;
  border-radius: 10px;
  color: #5c5c6e;
  font-size: 1rem;
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.play-thank-you--visible {
  max-height: 120px;
  opacity: 1;
}

@media (max-width: 480px) {
  .container {
    padding: 40px 24px;
    margin: 16px;
  }

  h1 {
    font-size: 1.6rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}
