export interface CamModel {
  id: string;
  username: string;
  age: number;
  country: string;
  flag: string;
  gender: "female" | "couple" | "trans";
  category: "french" | "women" | "couples" | "trans" | "teen" | "milf" | "vr";
  avatar: string;
  snapshot: string;
  streamVideo?: string;
  previewVideo?: string;
  viewers: number;
  topic: string;
  goalTitle: string;
  tokensGoal: number;
  tokensCurrent: number;
  toyConnected: boolean;
  toyName?: string;
  isHd: boolean;
  isNew?: boolean;
  tags: string[];
  affiliateUrl?: string;
}

export const CAM_MODELS: CamModel[] = [
  // ── Modèles Françaises 🇫🇷 ──
  {
    id: "cam_lea_paris",
    username: "Lea_Parisienne",
    age: 22,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "french",
    avatar: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=600&auto=format&fit=crop&q=80",
    viewers: 2840,
    topic: "Coucou ! Show huileux et danse sensuelle ❤️ Viens me parler en français",
    goalTitle: "Show string & huile",
    tokensGoal: 500,
    tokensCurrent: 395,
    toyConnected: true,
    toyName: "Lovense Lush 3",
    isHd: true,
    tags: ["Française", "Paris", "Naturelle", "Huile", "Lovense"]
  },
  {
    id: "cam_chloe_lyon",
    username: "Chloe_Douceur",
    age: 24,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "french",
    avatar: "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1508214751196-bcfd4ca60f91?w=600&auto=format&fit=crop&q=80",
    viewers: 1950,
    topic: "Direct de Lyon ! Mon Lush vibre à chaque pourboire ⚡ Privé ouvert",
    goalTitle: "Fessée & Squirt",
    tokensGoal: 800,
    tokensCurrent: 620,
    toyConnected: true,
    toyName: "Lovense Domi 2",
    isHd: true,
    tags: ["Française", "Lyon", "Blonde", "Lingerie", "Vibe"]
  },
  {
    id: "cam_manon_marseille",
    username: "Manon_Soleil",
    age: 21,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "french",
    avatar: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=600&auto=format&fit=crop&q=80",
    viewers: 3120,
    topic: "Marche à l'huile sur la terrasse privée ! Chaud sous le soleil du sud ☀️",
    goalTitle: "Bikini strip intégral",
    tokensGoal: 1000,
    tokensCurrent: 880,
    toyConnected: true,
    toyName: "Lovense Nora",
    isHd: true,
    tags: ["Marseille", "Brune", "Bikini", "Exhib"]
  },
  {
    id: "cam_ines_beurette",
    username: "Ines_Charmante",
    age: 23,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "french",
    avatar: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1514315384763-ba401779410f?w=600&auto=format&fit=crop&q=80",
    viewers: 4210,
    topic: "Beurette douce et coquine de banlieue parisienne, Lush à fond 🍑",
    goalTitle: "Gros plan cambre",
    tokensGoal: 600,
    tokensCurrent: 540,
    toyConnected: true,
    toyName: "Lovense Lush 3",
    isHd: true,
    tags: ["Beurette", "Paris", "Cambree", "Gros cul"]
  },

  // ── Couples en Direct 🔥 ──
  {
    id: "cam_couple_alex_emma",
    username: "Alex_Emma_Love",
    age: 25,
    country: "France",
    flag: "🇫🇷",
    gender: "couple",
    category: "couples",
    avatar: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?w=600&auto=format&fit=crop&q=80",
    viewers: 5890,
    topic: "Couple chaud du week-end ! Positions choisies par les viewers 💖",
    goalTitle: "Levrette Hardcore",
    tokensGoal: 1500,
    tokensCurrent: 1240,
    toyConnected: true,
    toyName: "Lovense Max 2 + Lush",
    isHd: true,
    tags: ["Couple", "Amateur", "Vrai couple", "Levrette", "Creampie"]
  },
  {
    id: "cam_couple_sensual",
    username: "Sweet_Couples_FR",
    age: 27,
    country: "Belgique",
    flag: "🇧🇪",
    gender: "couple",
    category: "couples",
    avatar: "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1534751516642-a171edd26cb0?w=600&auto=format&fit=crop&q=80",
    viewers: 3410,
    topic: "Séance massage tantrique puis sexe intense en direct ! Entrez dans le salon",
    goalTitle: "Pénétration sans tabou",
    tokensGoal: 900,
    tokensCurrent: 710,
    toyConnected: false,
    isHd: true,
    tags: ["Couple", "Belgique", "Sensuel", "Hardcore"]
  },

  // ── Femmes Internationales & Top Models 🌟 ──
  {
    id: "cam_elena_rus",
    username: "Elena_Wild",
    age: 21,
    country: "Russie",
    flag: "🇷🇺",
    gender: "female",
    category: "women",
    avatar: "https://images.unsplash.com/photo-1529626455594-4ff0802cfb7e?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1502823403499-6ccfcf4fb453?w=600&auto=format&fit=crop&q=80",
    viewers: 6420,
    topic: "Top Model 4K Cam ! Dildo show & Lovense interactif à fond 💋",
    goalTitle: "Deep Dildo Play",
    tokensGoal: 1200,
    tokensCurrent: 980,
    toyConnected: true,
    toyName: "Lovense Lush 3",
    isHd: true,
    tags: ["Top Model", "Blonde", "Squirt", "4K", "Dildo"]
  },
  {
    id: "cam_valeria_latina",
    username: "Valeria_Caliente",
    age: 22,
    country: "Colombie",
    flag: "🇨🇴",
    gender: "female",
    category: "women",
    avatar: "https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?w=600&auto=format&fit=crop&q=80",
    viewers: 4890,
    topic: "Latina caliente en live ! Twerk et fessée à chaque tip 🍑🔥",
    goalTitle: "Twerk nu & huilé",
    tokensGoal: 700,
    tokensCurrent: 590,
    toyConnected: true,
    toyName: "Lovense Ferri",
    isHd: true,
    tags: ["Latina", "Twerk", "Gros cul", "Danse"]
  },

  // ── Milf & Matures Expérimentées 👑 ──
  {
    id: "cam_sophie_milf",
    username: "Sophie_Milf_42",
    age: 41,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "milf",
    avatar: "https://images.unsplash.com/photo-1509967419530-da38b4704bc6?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1548142813-c348350df52b?w=600&auto=format&fit=crop&q=80",
    viewers: 3740,
    topic: "Femme mariée libérée de 41 ans. Gode XXL prêt pour le show spécial !",
    goalTitle: "Gode XXL en direct",
    tokensGoal: 1000,
    tokensCurrent: 850,
    toyConnected: true,
    toyName: "Lovense Lush 3",
    isHd: true,
    tags: ["Milf", "Française", "Mature", "Gode", "Mariée"]
  },
  {
    id: "cam_carla_cougar",
    username: "Carla_Cougar",
    age: 45,
    country: "Italie",
    flag: "🇮🇹",
    gender: "female",
    category: "milf",
    avatar: "https://images.unsplash.com/photo-1520813792240-56fc4a3765a7?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1539571696357-5a69c17a67c6?w=600&auto=format&fit=crop&q=80",
    viewers: 2980,
    topic: "Belle italienne insatiable. Show bas résille et talons hauts 👠",
    goalTitle: "Doigtée orgasme réel",
    tokensGoal: 800,
    tokensCurrent: 670,
    toyConnected: true,
    isHd: true,
    tags: ["Milf", "Italienne", "Bas résille", "Sensuelle"]
  },

  // ── Teens 18+ & Débutantes 🌸 ──
  {
    id: "cam_zoe_sweet",
    username: "Zoe_Petite18",
    age: 19,
    country: "France",
    flag: "🇫🇷",
    gender: "female",
    category: "teen",
    avatar: "https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=600&auto=format&fit=crop&q=80",
    viewers: 5120,
    topic: "Première semaine en live ! Timide mais prête à tout pour mes tips 💖",
    goalTitle: "Seins nus & caresses",
    tokensGoal: 450,
    tokensCurrent: 410,
    toyConnected: true,
    toyName: "Lovense Lush",
    isHd: true,
    isNew: true,
    tags: ["Teen", "19 ans", "Française", "Débutante", "Mignonne"]
  },
  {
    id: "cam_luna_star",
    username: "Luna_Cute19",
    age: 19,
    country: "Espagne",
    flag: "🇪🇸",
    gender: "female",
    category: "teen",
    avatar: "https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=600&auto=format&fit=crop&q=80",
    viewers: 3670,
    topic: "Danse sensuelle dans ma chambre d'étudiante ! Venez chatter gratuitement",
    goalTitle: "Show strip complet",
    tokensGoal: 650,
    tokensCurrent: 510,
    toyConnected: true,
    isHd: true,
    tags: ["Teen", "Étudiante", "Espagnole", "Danse"]
  },

  // ── Trans & Shemale ⚧️ ──
  {
    id: "cam_nikki_trans",
    username: "Nikki_Shemale_VIP",
    age: 24,
    country: "Brésil",
    flag: "🇧🇷",
    gender: "trans",
    category: "trans",
    avatar: "https://images.unsplash.com/photo-1544005313-94ddf0286df2?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1508214751196-bcfd4ca60f91?w=600&auto=format&fit=crop&q=80",
    viewers: 4150,
    topic: "Sublime trans brésilienne 20cm ! Gros show masturbation et éjaculation 💦",
    goalTitle: "Éjaculation explosive",
    tokensGoal: 1200,
    tokensCurrent: 990,
    toyConnected: true,
    toyName: "Lovense Max 2",
    isHd: true,
    tags: ["Trans", "Brésilienne", "Gros braquemart", "Éjaculation"]
  },
  {
    id: "cam_sarah_ts",
    username: "Sarah_TS_Paris",
    age: 25,
    country: "France",
    flag: "🇫🇷",
    gender: "trans",
    category: "trans",
    avatar: "https://images.unsplash.com/photo-1517841905240-472988babdf9?w=150&auto=format&fit=crop&q=80",
    snapshot: "https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=600&auto=format&fit=crop&q=80",
    viewers: 2890,
    topic: "Trans féminine et élégante de Paris. Show lingerie fine & jouets",
    goalTitle: "Lingerie strip & lube",
    tokensGoal: 700,
    tokensCurrent: 580,
    toyConnected: true,
    isHd: true,
    tags: ["Trans", "Française", "Paris", "Lingerie"]
  }
];

export const TRACKING_AFFILIATE_URL = "https://go.whitetrafsa.com?userId=0c0518b7091318962c8473e9fd3bb306a7d9f0694ec95d7b80fef8e0a310c9df";

export function getModelAffiliateUrl(username?: string): string {
  const base = "https://go.whitetrafsa.com?userId=0c0518b7091318962c8473e9fd3bb306a7d9f0694ec95d7b80fef8e0a310c9df";
  if (!username) return base;
  return `${base}&path=${encodeURIComponent(username)}`;
}
