// All mock content. Names are inventive Türk Minecraft-creator-flavored.

// Episode 3 elimination: ~5 hours out, so the countdown reads with real urgency.
const ELIM_TARGET = Date.now() + (4 * 3600 + 51 * 60 + 18) * 1000;

const EPISODE = {
  number: 3,
  title: 'Kırık Kablo',
  runtime: '47:12',
  airDate: '21 Mayıs Perşembe',
  synopsis: 'Köyün ana fiber hattı geçen gece sabote edildi. Pelinsu bağlantı kulesinin altında bir taş yığını buluyor. Berkcan herkesi şüpheli ilan ediyor. GigaMan kanalda 11 saniyelik bir sinyal sızdırıyor.',
  viewers: 184320,
  votes: 12847,
};

const SUSPECTS = [
  { name: 'EnderKaan',    handle: '@enderkaan',    pct: 28.4, vibe: 'Lider rolüne fazla soyundu, kameraya az bakıyor.', face: 'assets/skins/face-01.png', body: 'assets/skins/body-01.png' },
  { name: 'KömürcüReis',  handle: '@komurcureis',  pct: 19.1, vibe: 'Tek başına dolaşıyor, gece 03:14 ormanda görüldü.', face: 'assets/skins/face-03.png', body: 'assets/skins/body-03.png' },
  { name: 'ZeplinMC',     handle: '@zeplinmc',     pct: 14.7, vibe: 'İlk sabotaj anında konumu sayılmıyor.', face: 'assets/skins/face-04.png', body: 'assets/skins/body-04.png' },
];

// img = real Minecraft skin render (placeholder). Swap any path later with a real cast skin.
const VILLAGERS = [
  { name: 'EnderKaan',    role: 'Sözcü',     status: 'suspect',                img: 'assets/skins/body-01.png' },
  { name: 'PixelEfe',     role: 'Kaşif',     status: 'active',                 img: 'assets/skins/body-02.png' },
  { name: 'KömürcüReis',  role: 'Avcı',      status: 'suspect',                img: 'assets/skins/body-03.png' },
  { name: 'ZeplinMC',     role: 'Mühendis',  status: 'suspect',                img: 'assets/skins/body-04.png' },
  { name: 'VoidZeyno',    role: 'Belge',     status: 'active',                 img: 'assets/skins/body-05.png' },
  { name: 'CreeperMert',  role: 'Tarımcı',   status: 'active',                 img: 'assets/skins/body-06.png' },
  { name: 'GlowAbla',     role: 'Şifa',      status: 'active',                 img: 'assets/skins/body-07.png' },
  { name: 'ObsidyenBey',  role: 'Gözlemci',  status: 'eliminated', elimEp: 2,  img: 'assets/skins/body-08.png' },
  { name: 'TNTcan',       role: 'Tahkimat',  status: 'active',                 img: 'assets/skins/body-09.png' },
  { name: 'KovanKralı',   role: 'Haritacı',  status: 'active',                 img: 'assets/skins/body-10.png' },
  { name: 'RedstoneReis', role: 'Sinyalci',  status: 'eliminated', elimEp: 1,  img: 'assets/skins/body-11.png' },
  { name: 'NetherŞaman',  role: 'Aşçı',      status: 'active',                 img: 'assets/skins/body-12.png' },
];

const CLANS = [
  { rank: 1, name: 'PixelKurt',  cities: 14, members: 38, trend: +3, color: '#f5a623' },
  { rank: 2, name: 'DerinKurum', cities: 12, members: 41, trend: +1, color: '#8a3cb8' },
  { rank: 3, name: 'FibreNet',   cities: 11, members: 27, trend: -1, color: '#ff9028' },
  { rank: 4, name: 'BlockAvcı',  cities:  9, members: 33, trend: +2, color: '#9cffb0' },
  { rank: 5, name: 'GigaYoldas', cities:  8, members: 22, trend:  0, color: '#ffd17a' },
];

// Connected cities (Faz 2 progress). 8 of 81 connected. Positioned over the rendered map (1000x558 overlay).
const CITIES_CONNECTED = [
  { id: 'IST', name: 'İstanbul', x: 170, y: 180, la: 'l' },
  { id: 'KOC', name: 'Kocaeli',  x: 210, y: 188 },
  { id: 'BUR', name: 'Bursa',    x: 175, y: 222 },
  { id: 'ESK', name: 'Eskişehir',x: 250, y: 246 },
  { id: 'IZM', name: 'İzmir',    x:  72, y: 312 },
  { id: 'ANK', name: 'Ankara',   x: 412, y: 214 },
  { id: 'KON', name: 'Konya',    x: 388, y: 360 },
  { id: 'ANT', name: 'Antalya',  x: 250, y: 428 },
];
// A handful of "next up" pulsing cities (not yet connected)
const CITIES_PENDING = [
  { id: 'SAM', name: 'Samsun',   x: 528, y: 150 },
  { id: 'TRA', name: 'Trabzon',  x: 700, y: 166 },
  { id: 'ERZ', name: 'Erzurum',  x: 775, y: 236 },
  { id: 'VAN', name: 'Van',      x: 880, y: 280 },
  { id: 'MAL', name: 'Malatya',  x: 630, y: 330 },
  { id: 'DIY', name: 'Diyarbakır',x:725, y: 362 },
  { id: 'ADA', name: 'Adana',    x: 478, y: 420 },
  { id: 'GAZ', name: 'Gaziantep',x: 585, y: 406 },
  { id: 'SAN', name: 'Şanlıurfa',x: 668, y: 428 },
];

const GIGAMAN_LINES = [
  '> sinyal_kaynagi: bilinmiyor',
  '> konum: 41.0082°N, 28.9784°E [sapma 4.2km]',
  '> mesaj_basliyor //',
  '',
  'İçinizden biri köyü bırakmadı.',
  'O hep oradaydı. Kabloyu kesen el,',
  'sabah çorbayı karıştıran elle aynı.',
  '',
  'Bu hafta bir isim daha düşecek.',
  'Yanlış ismi söylerseniz,',
  'köy bir hafta daha karanlıkta uyur.',
  '',
  '> imza: G̷I̷G̷A̷M̷A̷N̷',
  '> baglanti_kesildi',
];

Object.assign(window, {
  ELIM_TARGET, EPISODE, SUSPECTS, VILLAGERS, CLANS,
  CITIES_CONNECTED, CITIES_PENDING, GIGAMAN_LINES
});
