import 'package:flutter/material.dart';
import 'app_colors.dart';

class AppGradients {
  AppGradients._();

  static const LinearGradient primaryButton = LinearGradient(
    colors: [AppColors.accent, Color(0xFFA855F7)],
    begin: Alignment.centerLeft,
    end: Alignment.centerRight,
  );

  static const LinearGradient akinatorButton = LinearGradient(
    colors: [AppColors.purple, AppColors.pink],
    begin: Alignment.centerLeft,
    end: Alignment.centerRight,
  );

  static const LinearGradient akinatorBanner = LinearGradient(
    colors: [
      Color(0x268B5CF6),
      Color(0x1FEC4899),
      Color(0x1AF59E0B),
    ],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );

  static const LinearGradient textAccent = LinearGradient(
    colors: [AppColors.accentLight, Color(0xFFA78BFA)],
  );

  static const LinearGradient scoreGood = LinearGradient(
    colors: [AppColors.success, Color(0xFF06B6D4)],
  );

  static const LinearGradient scoreOk = LinearGradient(
    colors: [AppColors.warning, Color(0xFFF97316)],
  );

  static const LinearGradient scoreBad = LinearGradient(
    colors: [AppColors.error, Color(0xFFDC2626)],
  );

  static const LinearGradient rateLimitBg = LinearGradient(
    colors: [
      Color(0x1AF59E0B),
      Color(0x14EF4444),
    ],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );
}