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

:root {
  --bg: #0b0e14;
  --surface: #1a1f2b;
  --surface-elevated: #242938;
  --accent: #008759;
  --accent-pink: #ed408c;
  --accent-blue: #2e87de;
  --accent-orange: #f58026;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.45);
  --radius: 20px;
  --radius-lg: 28px;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  line-height: 1.5;
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  text-align: center;
  gap: 16px;
}

.logo {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transform: rotate(-12deg);
}

.wordmark {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.tagline {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.card {
  background: var(--surface-elevated);
  border-radius: var(--radius);
  padding: 20px 24px;
  max-width: 320px;
  width: 100%;
}

.card h2 {
  font-size: 20px;
  font-weight: 800;
}

.inviter-name {
  color: var(--accent-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 280px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
}

.btn-blue {
  background: var(--accent-blue);
}

.btn-pink {
  background: var(--accent-pink);
}

.loading {
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}

.error {
  color: var(--accent-pink);
  font-size: 15px;
  font-weight: 600;
}
