import type {
  ClassroomTimerTip,
  PresetTimerOption,
  SensoryBackground,
  TimerSoundOption,
} from '@/shared/types/classroomTimer';

export const CLASSROOM_TIMER_BACKGROUNDS: readonly SensoryBackground[] = [
  {
    id: 'ocean',
    name: 'Ocean Calm',
    iconId: 'waves',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662475079_dabe421c.png',
    overlay: 'from-blue-950/40 via-blue-900/20 to-cyan-950/40',
    textColor: 'text-cyan-100',
    accentColor: 'text-cyan-300',
    ringColor: 'stroke-cyan-400',
    trackColor: 'stroke-cyan-900/50',
  },
  {
    id: 'aurora',
    name: 'Aurora Borealis',
    iconId: 'sparkles',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662490787_3aabfbd4.jpg',
    overlay: 'from-purple-950/40 via-emerald-950/20 to-indigo-950/40',
    textColor: 'text-emerald-100',
    accentColor: 'text-emerald-300',
    ringColor: 'stroke-emerald-400',
    trackColor: 'stroke-emerald-900/50',
  },
  {
    id: 'lava',
    name: 'Lava Lamp',
    iconId: 'sun',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662521371_be5368c4.png',
    overlay: 'from-orange-950/40 via-red-950/20 to-purple-950/40',
    textColor: 'text-orange-100',
    accentColor: 'text-orange-300',
    ringColor: 'stroke-orange-400',
    trackColor: 'stroke-orange-900/50',
  },
  {
    id: 'galaxy',
    name: 'Deep Galaxy',
    iconId: 'moon',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662574948_03baf94b.png',
    overlay: 'from-indigo-950/40 via-purple-950/20 to-blue-950/40',
    textColor: 'text-purple-100',
    accentColor: 'text-purple-300',
    ringColor: 'stroke-purple-400',
    trackColor: 'stroke-purple-900/50',
  },
  {
    id: 'forest',
    name: 'Enchanted Forest',
    iconId: 'tree-pine',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662588347_123efdd7.jpg',
    overlay: 'from-green-950/40 via-emerald-950/20 to-green-950/40',
    textColor: 'text-green-100',
    accentColor: 'text-green-300',
    ringColor: 'stroke-green-400',
    trackColor: 'stroke-green-900/50',
  },
  {
    id: 'rain',
    name: 'Rainy Day',
    iconId: 'cloud-rain',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662620449_93a5fbcd.png',
    overlay: 'from-slate-950/40 via-blue-950/20 to-slate-950/40',
    textColor: 'text-blue-100',
    accentColor: 'text-blue-300',
    ringColor: 'stroke-blue-400',
    trackColor: 'stroke-blue-900/50',
  },
  {
    id: 'coral',
    name: 'Coral Reef',
    iconId: 'fish',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662661000_e74a933f.png',
    overlay: 'from-teal-950/40 via-cyan-950/20 to-teal-950/40',
    textColor: 'text-teal-100',
    accentColor: 'text-teal-300',
    ringColor: 'stroke-teal-400',
    trackColor: 'stroke-teal-900/50',
  },
  {
    id: 'sunset',
    name: 'Sunset Sky',
    iconId: 'mountain',
    image: 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770662744948_e27daa4c.png',
    overlay: 'from-rose-950/40 via-amber-950/20 to-purple-950/40',
    textColor: 'text-rose-100',
    accentColor: 'text-rose-300',
    ringColor: 'stroke-rose-400',
    trackColor: 'stroke-rose-900/50',
  },
] as const;

export const CLASSROOM_TIMER_SOUNDS: readonly TimerSoundOption[] = [
  { id: 'gentle-chime', name: 'Gentle Chime', icon: '🔔', frequency: 523.25 },
  { id: 'soft-bell', name: 'Soft Bell', icon: '🛎', frequency: 440 },
  { id: 'xylophone', name: 'Xylophone', icon: '🎵', frequency: 659.25 },
  { id: 'singing-bowl', name: 'Singing Bowl', icon: '🎶', frequency: 256 },
  { id: 'nature-birds', name: 'Nature Birds', icon: '🐦', frequency: 880 },
  { id: 'ocean-wave', name: 'Ocean Wave', icon: '🌊', frequency: 200 },
  { id: 'rain-stick', name: 'Rain Stick', icon: '🌧', frequency: 300 },
  { id: 'harp-gliss', name: 'Harp Glissando', icon: '🎵', frequency: 392 },
] as const;

export const CLASSROOM_TIMER_PRESETS: readonly PresetTimerOption[] = [
  { label: '30s', seconds: 30 },
  { label: '1 min', seconds: 60 },
  { label: '2 min', seconds: 120 },
  { label: '3 min', seconds: 180 },
  { label: '5 min', seconds: 300 },
  { label: '10 min', seconds: 600 },
  { label: '15 min', seconds: 900 },
  { label: '20 min', seconds: 1200 },
  { label: '25 min', seconds: 1500 },
  { label: '30 min', seconds: 1800 },
] as const;

export const CLASSROOM_TIMER_TIPS: readonly ClassroomTimerTip[] = [
  {
    title: 'Transitions',
    body: 'Use 5-3-1 minute warnings before activity changes. The visual countdown reduces anxiety about unexpected transitions.',
  },
  {
    title: 'Sensory Backgrounds',
    body: 'Project calming backgrounds during work time or sensory breaks. Ocean and forest themes are great for de-escalation.',
  },
  {
    title: 'Sound Choices',
    body: 'Choose gentle sounds - avoid startling tones. Singing bowl and gentle chime work well for students sensitive to sudden sounds.',
  },
] as const;
