@import "tailwindcss";

:root {
  /* DnDBeyond-inspired dark fantasy palette */
  --background: #1a1a1e;
  --surface: #242429;
  --surface-raised: #2e2e35;
  --foreground: #e8e6df;
  --foreground-muted: #9a9589;
  --accent: #c53131;        /* crimson red */
  --accent-hover: #e03535;
  --accent-gold: #c9a84c;   /* parchment gold */
  --border: #3a3a44;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-surface: var(--surface);
  --color-surface-raised: var(--surface-raised);
  --color-accent: var(--accent);
  --color-accent-gold: var(--accent-gold);
  --color-border: var(--border);
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
}

html {
  color-scheme: dark;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans), system-ui, sans-serif;
}

/* Utility classes for interactive elements in Server Components */
.nav-link {
  color: var(--foreground-muted);
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--accent-gold);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  transition: background 0.15s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-gold {
  background: var(--accent-gold);
  color: #1a1a1e;
  transition: opacity 0.15s ease;
}
.btn-gold:hover {
  opacity: 0.88;
}
