.waitlist-page {
  min-height: calc(100vh - 200px);
  padding: 6rem 0;
  display: flex;
  align-items: center;
}
.wl-container {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.waitlist-content {
  text-align: center;
}
.waitlist-content[hidden] {
  display: none;
}
.page-heading {
  font-family: Chalet, sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--paper);
}
.page-description {
  font-size: 1.1rem;
  color: #f0ede680;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.6;
}
.waitlist-container {
  margin: 0 auto 3rem;
  > div {
    margin: 0 auto;
  }
}
.features-preview {
  text-align: left;
  background: #f0ede60a;
  border: 1px solid rgba(240, 237, 230, 0.1);
  padding: 1.5rem;
}
.features-heading {
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: #f0ede699;
}
.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f0ede680;
  font-size: 0.9rem;
}
.feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--blue);
}
.dashboard-header {
  text-align: center;
}
.dashboard-content[hidden] {
  display: none;
}
.loading-state {
  padding: 4rem 0;
}
.loading-state .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(240, 237, 230, 0.1);
  border-top-color: var(--blue);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-state p {
  color: #f0ede680;
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.8rem;
}
.loading-state[hidden],
.error-state[hidden] {
  display: none;
}
.error-state {
  padding: 4rem 0;
}
.error-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  color: var(--blue);
}
.error-icon svg {
  width: 100%;
  height: 100%;
}
.error-heading {
  font-family: Chalet, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--paper);
}
.error-message {
  color: #f0ede680;
}
.success-state[hidden] {
  display: none;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ed462d1a;
  color: var(--blue);
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.dashboard-heading {
  font-family: Chalet, sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--paper);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: #f0ede60a;
  border: 1px solid rgba(240, 237, 230, 0.1);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}
.stat-label {
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0ede666;
}
.stat-value {
  font-family: Chalet, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}
.referral-section {
  background: #f0ede60a;
  border: 1px solid rgba(240, 237, 230, 0.1);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.referral-heading {
  font-family: Chalet, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--paper);
}
.referral-description {
  color: #f0ede680;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.referral-link-container {
  margin-bottom: 1.25rem;
}
.referral-link-label {
  display: block;
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #f0ede666;
}
.referral-link-row {
  display: flex;
  gap: 0.5rem;
}
.referral-link-input {
  flex: 1;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(240, 237, 230, 0.1);
  background: #f0ede60a;
  color: var(--paper);
  font-size: 0.8rem;
  font-family:
    Chivo Mono,
    monospace;
}
.copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(240, 237, 230, 0.1);
  background: #f0ede60a;
  color: #f0ede680;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.copy-button:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.copy-button svg {
  width: 18px;
  height: 18px;
}
.copy-button svg[hidden] {
  display: none;
}
.copy-button .check-icon {
  color: var(--blue);
}
.share-buttons {
  display: flex;
  gap: 0.5rem;
}
.share-button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-family:
    Chivo Mono,
    monospace;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity 0.2s;
}
.share-button:hover {
  opacity: 0.9;
}
.share-button svg {
  width: 16px;
  height: 16px;
}
.share-twitter {
  background: #000;
  border: 1px solid rgba(240, 237, 230, 0.1);
}
.share-linkedin {
  background: #0077b5;
}
.joined-date {
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.75rem;
  color: #f0ede64d;
}
#joined-date {
  color: #f0ede680;
}
.dev-reset-button {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px dashed rgba(240, 237, 230, 0.2);
  color: #f0ede64d;
  font-family:
    Chivo Mono,
    monospace;
  font-size: 0.7rem;
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.dev-reset-button:hover {
  color: var(--blue);
  border-color: var(--blue);
}
.dev-reset-button[hidden] {
  display: none;
}
@media (max-width: 480px) {
  .page-heading {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .share-buttons {
    flex-direction: column;
  }
  .stat-value {
    font-size: 2rem;
  }
}
