// ------------------------------------------------------------------------
//  calendar/2028.js - Cosmic & almanac events for 2028.
//  See ./2026.js for the shape of each array.
// ------------------------------------------------------------------------

export const cosmic = [
  // -- METEOR SHOWERS --------------------------------------------------
  {
    id: 'quadrantids-2028',
    emoji: '☄️',
    title: 'Quadrantid Meteor Shower',
    message: 'The Quadrantid meteor shower is active — up to 120 meteors/hour at a sharp peak. Best in the hours before dawn from a dark site.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-01-01', end: '2028-01-05', peak: '2028-01-04',
  },
  {
    id: 'lyrids-2028',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    message: 'The Lyrid meteor shower peaks — up to 20 meteors/hour after midnight from a dark sky.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-04-16', end: '2028-04-25', peak: '2028-04-22',
  },
  {
    id: 'eta-aquariids-2028',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    message: 'The Eta Aquariids peak — fragments of Halley\'s Comet, up to 50/hour in the hours before dawn.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-04-19', end: '2028-05-28', peak: '2028-05-05',
  },
  {
    id: 'perseids-2028',
    emoji: '☄️',
    title: 'Perseid Meteor Shower',
    message: 'The Perseids are active — one of the best showers of the year, up to 100 meteors/hour at peak around 12 Aug.',
    color: '#3a1a00', textColor: '#ffe8c0',
    type: 'cosmic', nightOnly: true,
    start: '2028-07-17', end: '2028-08-24', peak: '2028-08-12',
  },
  {
    id: 'orionids-2028',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    message: 'The Orionid shower peaks — fast, bright meteors from Halley\'s Comet debris. Up to 25/hour.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-10-02', end: '2028-11-07', peak: '2028-10-21',
  },
  {
    id: 'leonids-2028',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    message: 'The Leonid shower peaks — fast meteors from comet Tempel-Tuttle, up to 15/hour.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-11-06', end: '2028-11-30', peak: '2028-11-17',
  },
  {
    id: 'geminids-2028',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    message: 'The Geminids peak — the finest shower of the year, up to 150 meteors/hour, visible even before midnight.',
    color: '#3a1a00', textColor: '#ffe8c0',
    type: 'cosmic', nightOnly: true,
    start: '2028-12-04', end: '2028-12-20', peak: '2028-12-13',
  },
  {
    id: 'ursids-2028',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    message: 'The Ursid shower peaks near the winter solstice — circumpolar, best from northern latitudes.',
    color: '#2a1a5a', textColor: '#e8d8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-12-17', end: '2028-12-26', peak: '2028-12-22',
  },

  // -- ECLIPSES --------------------------------------------------------
  {
    id: 'annular-solar-eclipse-2028-jan',
    emoji: '🌑',
    title: 'Annular Solar Eclipse',
    message: 'An annular "ring of fire" eclipse today — the path crosses South America before ending over southern Spain, Portugal (Madeira) and northern Morocco. Partial eclipse across western Europe.',
    color: '#1a0a2a', textColor: '#d8c8f8',
    type: 'cosmic', nightOnly: false,
    start: '2028-01-26', end: '2028-01-26', peak: '2028-01-26',
  },
  {
    id: 'total-solar-eclipse-2028-jul',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    message: 'A total solar eclipse crosses Australia and New Zealand today — the path of totality runs directly over Sydney, with more than five minutes of darkness at its maximum.',
    color: '#1a0a2a', textColor: '#d8c8f8',
    type: 'cosmic', nightOnly: false,
    start: '2028-07-22', end: '2028-07-22', peak: '2028-07-22',
  },
  {
    id: 'lunar-eclipse-2028-dec',
    emoji: '🌕',
    title: 'Total Lunar Eclipse',
    message: 'A total lunar eclipse rings in the New Year — the Moon turns deep red (a "Blood Moon") as it passes through Earth\'s shadow. Visible across Europe, Africa, Asia and the Americas.',
    color: '#3a0a0a', textColor: '#ffd8d8',
    type: 'cosmic', nightOnly: true,
    start: '2028-12-31', end: '2028-12-31', peak: '2028-12-31',
  },

  // -- PLANETARY EVENTS ------------------------------------------------
  {
    id: 'jupiter-opposition-2028',
    emoji: '🪐',
    title: 'Jupiter at Opposition',
    message: 'Jupiter is at its closest and brightest — visible all night long. Its cloud bands and four Galilean moons show through binoculars.',
    color: '#1a2a3a', textColor: '#c8e8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-03-09', end: '2028-03-09', peak: '2028-03-09',
  },
  {
    id: 'saturn-opposition-2028',
    emoji: '🪐',
    title: 'Saturn at Opposition',
    message: 'Saturn is at its closest and brightest tonight — visible all night long, its rings a highlight in any small telescope.',
    color: '#1a2a3a', textColor: '#c8e8ff',
    type: 'cosmic', nightOnly: true,
    start: '2028-10-30', end: '2028-10-30', peak: '2028-10-30',
  },
];

export const almanac = [
  {
    id: 'quadrantids-2028',
    emoji: '☄️',
    title: 'Quadrantid Meteor Shower',
    desc: 'Up to 120 meteors/hour at a very sharp peak. Best in the hours before dawn on 4 Jan from a dark site.',
    start: '2028-01-01', peak: '2028-01-04',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'annular-solar-eclipse-2028-jan',
    emoji: '🌑',
    title: 'Annular Solar Eclipse',
    desc: 'A "ring of fire" eclipse. The path crosses Ecuador, Peru, Brazil and French Guiana, then southern Spain, Madeira and northern Morocco. Partial across western Europe.',
    start: '2028-01-26', peak: '2028-01-26',
    color: '#1a0a2a', textColor: '#d8c8f8',
    latHint: 'path:S. America → S. Spain, Madeira, Morocco — partial across W. Europe',
    type: 'eclipse',
  },
  {
    id: 'jupiter-opposition-2028',
    emoji: '🪐',
    title: 'Jupiter at Opposition',
    desc: 'Jupiter at its closest and brightest — cloud bands and the four Galilean moons visible through binoculars. Well placed all night.',
    start: '2028-03-09', peak: '2028-03-09',
    color: '#1a2a3a', textColor: '#c8e8ff',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'lyrids-2028',
    emoji: '☄️',
    title: 'Lyrid Meteor Shower',
    desc: 'Up to 20 meteors/hour at peak. Active Apr 16–25, best after midnight from a dark site.',
    start: '2028-04-16', peak: '2028-04-22',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'eta-aquariids-2028',
    emoji: '☄️',
    title: 'Eta Aquariid Meteor Shower',
    desc: 'Debris from Halley\'s Comet — up to 50/hour before dawn. Best from southern latitudes but visible worldwide.',
    start: '2028-04-19', peak: '2028-05-05',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'south',
    type: 'meteor',
  },
  {
    id: 'total-solar-eclipse-2028-jul',
    emoji: '🌑',
    title: 'Total Solar Eclipse',
    desc: 'The path of totality crosses the Cocos and Christmas Islands, then Australia — directly over Sydney — and Queenstown, New Zealand. Over five minutes of totality at maximum.',
    start: '2028-07-22', peak: '2028-07-22',
    color: '#1a0a2a', textColor: '#d8c8f8',
    latHint: 'path:Australia (Sydney), New Zealand (Queenstown)',
    type: 'eclipse',
  },
  {
    id: 'perseids-2028',
    emoji: '☄️',
    title: 'Perseid Meteor Shower',
    desc: 'One of the best showers of the year — up to 100/hour at peak, no telescope needed. Active Jul 17 – Aug 24.',
    start: '2028-07-17', peak: '2028-08-12',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'orionids-2028',
    emoji: '☄️',
    title: 'Orionid Meteor Shower',
    desc: 'Fast, bright meteors from Halley\'s Comet debris — up to 25/hour. Active Oct 2 – Nov 7.',
    start: '2028-10-02', peak: '2028-10-21',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'saturn-opposition-2028',
    emoji: '🪐',
    title: 'Saturn at Opposition',
    desc: 'Saturn at its closest and brightest — visible all night, its rings a highlight in any small telescope.',
    start: '2028-10-30', peak: '2028-10-30',
    color: '#1a2a3a', textColor: '#c8e8ff',
    latHint: null,
    type: 'planetary',
  },
  {
    id: 'leonids-2028',
    emoji: '☄️',
    title: 'Leonid Meteor Shower',
    desc: 'Fast meteors from comet Tempel-Tuttle. Up to 15/hour at peak. Active Nov 6–30.',
    start: '2028-11-06', peak: '2028-11-17',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: null,
    type: 'meteor',
  },
  {
    id: 'geminids-2028',
    emoji: '☄️',
    title: 'Geminid Meteor Shower',
    desc: 'The finest shower of the year — up to 150 meteors/hour, visible even before midnight. Active Dec 4–20.',
    start: '2028-12-04', peak: '2028-12-13',
    color: '#3a1a00', textColor: '#ffe8c0',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'ursids-2028',
    emoji: '☄️',
    title: 'Ursid Meteor Shower',
    desc: 'A quieter shower near the winter solstice — circumpolar, best from northern latitudes. Active Dec 17–26.',
    start: '2028-12-17', peak: '2028-12-22',
    color: '#2a1a5a', textColor: '#e8d8ff',
    latHint: 'north',
    type: 'meteor',
  },
  {
    id: 'lunar-eclipse-2028-dec',
    emoji: '🌕',
    title: 'Total Lunar Eclipse',
    desc: 'A New Year\'s Eve "Blood Moon" — the Moon turns deep red in Earth\'s shadow. Visible from Europe, Africa, Asia and the Americas.',
    start: '2028-12-31', peak: '2028-12-31',
    color: '#3a0a0a', textColor: '#ffd8d8',
    latHint: null,
    type: 'eclipse',
  },
];
