:root {
  --body-bg: #080F1E;
  --card-bg: #0F1B2D;
  --card-border: rgba(255, 196, 74, 0.2);
  --text-primary: #F5F1E8;
  --text-secondary: #8B93A6;
  --text-muted: #5A6376;
  --input-bg: rgba(255, 255, 255, 0.03);
  --gold: #FFC44A;
  --gold-gradient: linear-gradient(160deg, #FFD77A, #C98F28);
  --button-text-on-gold: #080F1E;
}

[data-theme="light"] {
  --body-bg: #F8F6EF;
  --card-bg: #FFFFFF;
  --card-border: rgba(201, 143, 40, 0.3);
  --text-primary: #16233A;
  --text-secondary: #7A7566;
  --text-muted: #9A9280;
  --input-bg: #FFFFFF;
  --gold: #C98F28;
  --gold-gradient: linear-gradient(160deg, #E8B963, #C98F28);
  --button-text-on-gold: #16233A;
}

body {
  margin: 0;
  background: var(--body-bg);
  font-family: 'Inter', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen {
  text-align: center;
}

h1 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  font-size: 32px;
  margin-bottom: 8px;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* Sign-up card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 28px;
  width: 320px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.card h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}

.card label {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 6px;
}

.card input {
  width: 100%;
  box-sizing: border-box;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  margin-bottom: 16px;
}

.card input::placeholder {
  color: var(--text-muted);
}

.card button {
  width: 100%;
  background: var(--gold-gradient);
  color: var(--button-text-on-gold);
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-top: 4px;
}

.fine-print {
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
  margin: 16px 0 0;
}

.fine-print a {
  color: var(--gold);
  text-decoration: none;
}

/* Homepage buttons */
.button-stack {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 280px;
}

.btn-primary,
.btn-secondary {
  display: block;
  text-align: center;
  border-radius: 12px;
  padding: 13px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--button-text-on-gold);
}

.btn-secondary {
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

/* Dashboard page */
.dashboard-body {
  align-items: flex-start;
  padding: 24px 12px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

.pulse-dot {
  animation: pulse 2s ease-in-out infinite;
}

.spin-ring {
  animation: spin 14s linear infinite;
}