import type { Config } from 'tailwindcss';

const config: Config = {
  darkMode: ['class'],
  content: [
    './pages/**/*.{ts,tsx}',
    './components/**/*.{ts,tsx}',
    './app/**/*.{ts,tsx}',
  ],
  theme: {
    container: {
      center: true,
      padding: '1rem',
      screens: {
        '2xl': '1280px',
      },
    },
    extend: {
      colors: {
        // ten-sura-game.com Brand Colors - Dark Anime Strategy Portal
        'crimson-red': '#E60023',
        'hover-red': '#FF2A3D',
        'deep-black': '#0F0F12',
        'dark-gray': '#1A1A1F',
        'soft-dark': '#202026',
        'soft-gray-border': '#2A2A33',
        'text-white': '#FFFFFF',
        'text-light-gray': '#B8B8C0',
        
        // Shadcn/ui color system
        border: 'hsl(var(--border))',
        input: 'hsl(var(--input))',
        ring: 'hsl(var(--ring))',
        background: 'hsl(var(--background))',
        foreground: 'hsl(var(--foreground))',
        primary: {
          DEFAULT: '#E60023', // Crimson red
          foreground: '#ffffff',
        },
        secondary: {
          DEFAULT: '#202026', // Soft dark
          foreground: '#FFFFFF',
        },
        destructive: {
          DEFAULT: 'hsl(var(--destructive))',
          foreground: 'hsl(var(--destructive-foreground))',
        },
        muted: {
          DEFAULT: 'hsl(var(--muted))',
          foreground: 'hsl(var(--muted-foreground))',
        },
        accent: {
          DEFAULT: 'hsl(var(--accent))',
          foreground: 'hsl(var(--accent-foreground))',
        },
        popover: {
          DEFAULT: 'hsl(var(--popover))',
          foreground: 'hsl(var(--popover-foreground))',
        },
        card: {
          DEFAULT: 'hsl(var(--card))',
          foreground: 'hsl(var(--card-foreground))',
        },
      },
      fontFamily: {
        sans: ['var(--font-noto-sans-jp)', 'Noto Sans JP', 'sans-serif'],
      },
      borderRadius: {
        lg: '12px',
        md: '10px',
        sm: '0.25rem',
        'xl': '12px', // Standard 12px rounded corners
        full: '9999px',
      },
    },
  },
  plugins: [require('tailwindcss-animate')],
};

export default config;
