import 'package:flutter/material.dart';

class AppColors {
  AppColors._();

  // 主色调 - 金黄色系
  static const Color primary = Color(0xFFD4A84B);
  static const Color primaryLight = Color(0xFFF5E6C8);
  static const Color primaryDark = Color(0xFFB8923F);

  // 背景色
  static const Color background = Color(0xFFFAF8F5);
  static const Color cardBackground = Color(0xFFFFFDF8);
  static const Color surface = Color(0xFFFFFFFF);

  // 文字色
  static const Color textPrimary = Color(0xFF333333);
  static const Color textSecondary = Color(0xFF666666);
  static const Color textHint = Color(0xFF999999);
  static const Color textOnPrimary = Color(0xFFFFFFFF);

  // 功能色
  static const Color success = Color(0xFF52C41A);
  static const Color warning = Color(0xFFFFAA00);
  static const Color error = Color(0xFFFF4D4F);
  static const Color info = Color(0xFF1890FF);

  // 边框色
  static const Color border = Color(0xFFE8E8E8);
  static const Color divider = Color(0xFFF0F0F0);

  // 排行榜皇冠色
  static const Color crownGold = Color(0xFFFFD700);
  static const Color crownSilver = Color(0xFFC0C0C0);
  static const Color crownBronze = Color(0xFFCD7F32);

  // 渐变色
  static const LinearGradient primaryGradient = LinearGradient(
    colors: [primary, primaryDark],
    begin: Alignment.topLeft,
    end: Alignment.bottomRight,
  );

  static const LinearGradient goldGradient = LinearGradient(
    colors: [Color(0xFFFFD700), Color(0xFFD4A84B)],
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
  );
}
