export type GuideSlug =
  | 'ai-sports-news'
  | 'nba-game-previews'
  | 'nhl-matchup-analysis';

export interface GuidePage {
  slug: GuideSlug;
  title: string;
  description: string;
  eyebrow: string;
  intro: string;
  sections: Array<{ heading: string; body: string }>;
  links: Array<{ href: string; label: string }>;
}

export const GUIDE_PAGES: GuidePage[] = [
  {
    slug: 'ai-sports-news',
    title: 'AI Sports News That Actually Explains the Slate',
    description: 'How Rainmaker Sports approaches AI sports news: game context, market movement, roster volatility, and fast editorial analysis that is readable by humans and machines.',
    eyebrow: 'AI Sports News',
    intro: 'Most AI sports news is either generic recap text or thin aggregation. Rainmaker Sports treats AI as an editorial accelerator: we turn injury shifts, market pressure, matchup geometry, and schedule context into usable previews that can be searched, cited, and acted on quickly.',
    sections: [
      {
        heading: 'What makes AI sports news useful',
        body: 'Useful AI coverage does more than summarize. It explains what changed, why the market cares, and how a matchup environment is shifting before the game starts.',
      },
      {
        heading: 'Why Rain Wire is different',
        body: 'Rain Wire is organized around live sports intent: previews, matchup analysis, market context, and sport-specific framing rather than filler commentary.',
      },
      {
        heading: 'Where to start',
        body: 'Use Rain Wire for article-level analysis, performance pages for proof, and pricing/forecast pages when you want deeper locked forecast access.',
      },
    ],
    links: [
      { href: '/rain-wire', label: 'Browse Rain Wire' },
      { href: '/performance', label: 'See performance' },
      { href: '/pricing', label: 'Explore forecasts' },
    ],
  },
  {
    slug: 'nba-game-previews',
    title: 'NBA Game Previews With Matchup and Market Context',
    description: 'A guide to NBA game previews from Rainmaker Sports, focused on rotation pressure, rebounding environments, pace, usage, and the market signals that shape the slate.',
    eyebrow: 'NBA Previews',
    intro: 'Strong NBA game previews need more than injuries and standings. They need pace environment, rebound opportunity, usage concentration, depth risk, and the market context around the number.',
    sections: [
      {
        heading: 'Rotation pressure matters',
        body: 'NBA edges often start with who can absorb usage, rebounding, or ball-handling when roles move under injury pressure.',
      },
      {
        heading: 'Market context is part of the preview',
        body: 'A preview becomes more useful when it recognizes whether the spread or total is stable, steaming, or vulnerable to late news.',
      },
      {
        heading: 'How Rainmaker frames NBA slates',
        body: 'Rainmaker blends matchup environment, lineup volatility, and slate-level context so previews are usable both for searchers and repeat readers.',
      },
    ],
    links: [
      { href: '/rain-wire/nba', label: 'Read NBA Rain Wire' },
      { href: '/performance', label: 'View results' },
      { href: '/pricing', label: 'Unlock forecasts' },
    ],
  },
  {
    slug: 'nhl-matchup-analysis',
    title: 'NHL Matchup Analysis Beyond Surface Trends',
    description: 'A guide to NHL matchup analysis from Rainmaker Sports, including goaltending uncertainty, travel drag, shot environment, and game-state leverage.',
    eyebrow: 'NHL Matchups',
    intro: 'The best NHL matchup analysis isolates what actually moves the game: goalie quality, schedule pressure, special teams, shot quality, and how the game is likely to be played at even strength.',
    sections: [
      {
        heading: 'Goaltending changes everything',
        body: 'A clean NHL preview needs to center netminder quality and uncertainty before it starts talking about totals or side value.',
      },
      {
        heading: 'Travel and rest are not side notes',
        body: 'Back-to-backs, road swings, and emotional spots change shot environment and pace more than generic team-form blurbs.',
      },
      {
        heading: 'Why structured matchup analysis wins',
        body: 'When previews connect goaltending, travel, special teams, and scoring environment, they become more useful to both readers and retrieval systems.',
      },
    ],
    links: [
      { href: '/rain-wire/nhl', label: 'Read NHL Rain Wire' },
      { href: '/performance', label: 'See performance' },
      { href: '/pricing', label: 'Explore forecast access' },
    ],
  },
];

export function getGuide(slug: string): GuidePage | null {
  return GUIDE_PAGES.find((guide) => guide.slug === slug) || null;
}
