:root {
  --bg: #030712;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --purple: #8b5cf6;
  --pink: #ec4899;
  --orange: #f97316;
  --gold: #facc15;
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at 14% 16%, rgba(168, 85, 247, 0.30), transparent 25%),
    radial-gradient(circle at 86% 20%, rgba(249, 115, 22, 0.20), transparent 24%),
    radial-gradient(circle at 50% 86%, rgba(236, 72, 153, 0.18), transparent 26%),
    linear-gradient(180deg, #14002e 0%, #080014 45%, #030008 100%);
}

.dashboard-page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.dashboard-hero,
.panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(22, 8, 47, 0.92), rgba(8, 3, 23, 0.94));
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.38),
    0 0 70px rgba(168, 85, 247, 0.08);
  backdrop-filter: blur(14px);
}

.dashboard-hero {
  padding: 34px 30px 30px;
  margin-bottom: 20px;
  background:
    linear-gradient(135deg, rgba(168, 85, 247, 0.18), transparent 34%),
    linear-gradient(225deg, rgba(249, 115, 22, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(24, 10, 52, 0.96), rgba(7, 3, 20, 0.96));
}

.logo {
  margin: 0 0 22px;
  color: rgba(255, 235, 255, 0.88);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: lowercase;
}

.hero-copy {
  max-width: 820px;
}

.section-label {
  margin: 0 0 7px;
  color: #d2bdfc;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
}

.hero-copy p:last-child,
.panel p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy p:last-child {
  max-width: 780px;
  font-size: 1.14rem;
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.compass-nav {
  position: sticky;
  top: 12px;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 10px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(8, 3, 20, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.compass-nav a {
  min-width: 0;
  padding: 11px 12px;
  border-radius: 8px;
  color: #d2bdfc;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.compass-nav a:hover,
.compass-nav a:focus-visible {
  color: white;
  background: rgba(139, 92, 246, 0.18);
  outline: none;
}

.compass-nav span {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: white;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compass-reminder {
  max-width: 780px;
  margin: 16px auto 0;
  padding: 0 18px;
  color: var(--muted);
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.btn-primary {
  background:
    linear-gradient(90deg, var(--purple), var(--pink), var(--orange), var(--gold));
  box-shadow:
    0 14px 28px rgba(168, 85, 247, 0.24),
    0 0 34px rgba(236, 72, 153, 0.18);
}

.btn-secondary {
  color: #f8ecff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.compass-section {
  margin-top: 42px;
}

.compass-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 0 0 18px;
  padding: 0 6px;
}

.compass-heading .section-label {
  margin-bottom: 3px;
}

.section-number {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 1px 0 0;
  border: 1px solid rgba(210, 189, 252, 0.28);
  border-radius: 8px;
  color: #e9ddff;
  background: rgba(139, 92, 246, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.heading-copy {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--muted);
}

.panel {
  min-height: 220px;
  padding: 24px;
}

.snapshot-panel {
  min-height: 220px;
  border-color: rgba(34, 197, 94, 0.22);
}

.text-link {
  color: #f8ecff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 236, 255, 0.44);
}

.direction-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(210, 189, 252, 0.24);
  border-radius: 8px;
  color: #f8ecff;
  background: rgba(139, 92, 246, 0.1);
  font-weight: 800;
  text-decoration: none;
}

.direction-link:hover,
.direction-link:focus-visible {
  border-color: rgba(236, 72, 153, 0.5);
  background: rgba(236, 72, 153, 0.12);
  outline: none;
}

.keep-going {
  margin-top: 42px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(236, 72, 153, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(115deg, rgba(139, 92, 246, 0.16), transparent 38%),
    linear-gradient(245deg, rgba(249, 115, 22, 0.13), transparent 35%),
    rgba(8, 3, 23, 0.92);
}

.keep-going h2 {
  max-width: 760px;
}

.keep-going > p:last-of-type {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.65;
}

.explore-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.explore-list label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.explore-list input {
  margin-top: 4px;
}

textarea {
  width: 100%;
  min-height: 150px;
  resize: vertical;
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.05);
  font: inherit;
  line-height: 1.55;
}

textarea:focus {
  border-color: rgba(236, 72, 153, 0.45);
  box-shadow:
    0 0 0 4px rgba(236, 72, 153, 0.10),
    0 0 28px rgba(168, 85, 247, 0.10);
}

.notes-status {
  min-height: 20px;
  margin: 10px 0 0;
  color: #86efac;
  font-size: 0.9rem;
}

.next-list {
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 760px) {
  .dashboard-page {
    width: min(100% - 20px, 1120px);
    padding-top: 18px;
  }

  .dashboard-hero,
  .panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .compass-section {
    margin-top: 34px;
  }

  .compass-heading {
    padding: 0 2px;
  }

  .compass-nav {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    font-size: 2.5rem;
  }
}
