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

:root {
  --navy: #1a1a2e;
  --navy-deep: #0d0d1f;
  --navy-warm: #221c3d;
  --violet: #7c3aed;
  --violet-light: #a78bfa;
  --violet-soft: #c4b5fd;
  --lavender: #faf9ff;
  --lavender-deep: #f5f3ff;
  --cream: #f5d4a4;
  --gold: #c9a84c;
  --ink: #1a1a2e;
  --muted: #5b5b6b;
  --muted-soft: #8a8a99;
}

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--lavender);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

.nav-bar {
  background:
    radial-gradient(80% 60% at 75% 25%, rgba(167, 139, 250, 0.20), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-warm) 100%);
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1080px; margin: 0 auto; padding: 1.4rem 1.5rem;
  position: relative; z-index: 2;
}
.nav-logo {
  font-family: "Instrument Serif", serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo em {
  font-style: italic;
  color: var(--cream);
  font-weight: 400;
}
.logo-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe5b8, var(--gold) 65%);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.5);
  flex-shrink: 0;
}
.nav-links a {
  margin-left: 1.5rem; font-size: 1rem;
  color: rgba(255,255,255,0.72);
  font-family: "Geist", sans-serif;
  font-weight: 400;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: var(--cream); font-size: 1.5rem; line-height: 1;
}

.footer {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  font-size: 1rem;
  color: var(--muted);
  background: var(--lavender);
}
.footer-links { margin-bottom: 0.85rem; }
.footer-links a {
  margin: 0 0.85rem;
  color: var(--muted);
  font-size: 1rem;
  text-decoration: none;
}
.footer-links a:hover { color: var(--violet); }
.footer p { color: var(--muted-soft); font-size: 1rem; }
.footer-built-by { font-size: 0.85rem; margin-top: 0.25rem; }
.footer-built-by a { color: var(--muted); }
.footer-built-by a:hover { color: var(--violet); }

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; right: 1rem;
    background: var(--navy);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.6rem 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    min-width: 180px; z-index: 100;
  }
  .nav-links.open { display: block; }
  .nav-links a {
    display: block; margin: 0; padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.85);
  }
  .nav-links a:hover { background: rgba(124, 58, 237, 0.2); color: #fff; }
  .nav { position: relative; }
}
