@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";

@custom-variant dark (&:is(.dark *));

:root {
  --background: #0a0a0b;
  --foreground: #f5f5f5;
  --card: #141416;
  --card-foreground: #f5f5f5;
  --popover: #141416;
  --popover-foreground: #f5f5f5;
  --primary: #c5a46e;
  --primary-foreground: #0a0a0b;
  --secondary: #1e1e22;
  --secondary-foreground: #f5f5f5;
  --muted: #1a1a1e;
  --muted-foreground: #a1a1aa;
  --accent: #d4af37;
  --accent-foreground: #0a0a0b;
  --destructive: #e63946;
  --border: #2a2a30;
  --input: #2a2a30;
  --ring: #c5a46e;
  --radius: 0.625rem;
  --gold: #c5a46e;
  --gold-bright: #d4af37;
  --neon: #e63946;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-gold: var(--gold);
  --color-gold-bright: var(--gold-bright);
  --color-neon: var(--neon);
  --font-sans: var(--font-noto-sans-tc);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  html {
    @apply scroll-smooth;
  }
  body {
    @apply bg-background text-foreground antialiased;
  }
}

@layer utilities {
  .text-gradient-gold {
    @apply bg-gradient-to-r from-[#c5a46e] to-[#d4af37] bg-clip-text text-transparent;
  }
  .glow-gold {
    box-shadow: 0 0 40px rgba(197, 164, 110, 0.15);
  }
  .glow-neon {
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.2);
  }
}