@import "tailwindcss";

@theme inline {
  --color-gold: #ffab01;
  --color-gold-rgb: 255, 171, 1;
  --color-surface-bg: #000;
  --color-card-bg: #111118;
  --color-card-border: #222233;
  --color-text-primary: #f4f7ff;
  --color-text-body: #e0d8c8;
  --color-text-muted: #9ca8c5;
  --color-text-dim: #505a79;
  --font-display: 'Friz Quadrata', 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

@font-face {
  font-family: 'Friz Quadrata';
  src: url('/fonts/FRIZQT__.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* MDX prose styles for blog posts */
.prose-peon {
  font-family: var(--font-body);
  color: var(--color-text-body);
  line-height: 1.75;
  font-size: 1rem;
}

.prose-peon h1 {
  font-family: var(--font-display);
  color: var(--color-gold);
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.prose-peon h2 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.prose-peon h3 {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-peon p {
  margin-bottom: 1.25rem;
}

.prose-peon strong {
  color: var(--color-text-primary);
  font-weight: 600;
}

.prose-peon em {
  color: var(--color-text-muted);
}

.prose-peon a {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose-peon a:hover {
  color: #ffc040;
}

.prose-peon ul, .prose-peon ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose-peon li {
  margin-bottom: 0.4rem;
}

.prose-peon ul > li {
  list-style-type: disc;
}

.prose-peon ol > li {
  list-style-type: decimal;
}

.prose-peon hr {
  border: none;
  border-top: 1px solid var(--color-card-border);
  margin: 2rem 0;
}

.prose-peon pre {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
}

.prose-peon code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--color-gold);
  background: var(--color-card-bg);
  padding: 0.15em 0.4em;
  border-radius: 0.25rem;
}

.prose-peon pre code {
  background: none;
  padding: 0;
  color: var(--color-text-body);
}

.prose-peon blockquote {
  border-left: 3px solid var(--color-gold);
  padding-left: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.prose-peon img {
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}
