import type { Config } from "tailwindcss";

const config: Config = {
  content: [
    "./app/**/*.{ts,tsx}",
    "./components/**/*.{ts,tsx}",
    "./lib/**/*.{ts,tsx}",
  ],
  theme: {
    extend: {
      colors: {
        brand: {
          50:  "#fef2f2",
          500: "#e63946",
          600: "#c1121f",
          900: "#0a0a0a",
        },
        navy: {
          800: "#1a1a2e",
          900: "#0f0f1a",
        },
        category: {
          sports:       "#f4a261",
          entertainment:"#a855f7",
          technology:   "#06b6d4",
          news:         "#ef4444",
          politics:     "#10b981",
        },
      },
      fontFamily: {
        sans:    ["Inter", "system-ui", "sans-serif"],
        display: ["Georgia", "serif"],
      },
      animation: {
        ticker: "ticker 30s linear infinite",
        fadeIn: "fadeIn 0.4s ease-in-out",
      },
      keyframes: {
        ticker: {
          "0%":   { transform: "translateX(100%)" },
          "100%": { transform: "translateX(-100%)" },
        },
        fadeIn: {
          "0%":   { opacity: "0", transform: "translateY(8px)" },
          "100%": { opacity: "1", transform: "translateY(0)" },
        },
      },
    },
  },
  plugins: [],
};

export default config;
