1import{a1 as ge,a as me,h as i,k as s,B as pe,i as e,j as d,l as y,F as v,r as C,t as a,M as z,q as b,n as u,s as Q,T as V,E as F,G as $,y as p,z as h,g as n}from"./C4rVhaR5.js";import{C as J}from"./C_x0DisP.js";import{U as fe}from"./QMsN4Pb9.js";import{L as Y}from"./MWUfxbgD.js";import{T as be}from"./16qUo79e.js";import{P as xe}from"./Q8kAnXEg.js";import{H as ye}from"./CdoJwhI2.js";import{S as ve}from"./CR7n_XmU.js";import{C as Z}from"./CGDqvlU4.js";import{E as we}from"./DOk9Pl3L.js";import{L as _e}from"./DLs8zqTn.js";import{M as Ce}from"./CWZ0VE0P.js";import{T as ke}from"./C2eGkQFB.js";import{C as G}from"./sw6wnADj.js";import{C as X}from"./e_D2tspt.js";import{A as Be}from"./D1wnyor1.js";import{C as We}from"./BkciAOFw.js";import{L as Me}from"./CrezgtPr.js";import{R as Ae}from"./NMfiUq3C.js";import{S as Fe}from"./DeF2YdHC.js";import{C as Se}from"./DACvsncn.js";import{M as Pe}from"./CdQFpb0p.js";import{A as ze}from"./OleU88sX.js";import{C as Re}from"./v9MVZPfc.js";const je={class:"min-h-screen bg-gray-50"},Ge={key:0,class:"relative py-24 md:py-32 overflow-hidden"},Te={class:"relative max-w-4xl mx-auto px-6 sm:px-8 lg:px-12 text-center"},Ie={class:"inline-flex items-center gap-2 px-4 py-1.5 bg-white/10 text-green-300 rounded-full text-sm font-semibold mb-5 border border-white/10"},Le={class:"max-w-md mx-auto mb-10"},Ne={class:"bg-white/5 backdrop-blur-sm rounded-2xl border border-white/10 p-5"},Ee={class:"space-y-2"},He={class:"flex items-center gap-2"},Oe={class:"text-xs text-white/60"},De={class:"flex items-center justify-center gap-4 sm:gap-6 mb-12"},Ue={class:"flex items-center gap-2 bg-white/10 backdrop-blur-sm rounded-full px-4 py-2 border border-white/10"},qe={class:"flex items-center gap-2 bg-white/10 backdrop-blur-sm rounded-full px-4 py-2 border border-white/10"},Ke={class:"hidden sm:flex items-center gap-2 bg-white/10 backdrop-blur-sm rounded-full px-4 py-2 border border-white/10"},Qe={key:1,class:"relative py-10 md:py-14 overflow-hidden"},Ve={class:"relative max-w-4xl mx-auto px-6 sm:px-8 lg:px-12 text-center"},$e={class:"inline-flex items-center gap-2 px-4 py-1.5 bg-white/10 text-green-300 rounded-full text-sm font-semibold mb-3 border border-white/10"},Je={class:"max-w-5xl mx-auto px-4 sm:px-6 lg:px-8 -mt-6 relative z-10 pb-16"},Ye={key:0,class:"space-y-6"},Ze={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},Xe={class:"flex items-center justify-between mb-4"},et={class:"flex items-center gap-2"},tt={class:"w-8 h-8 bg-green-100 rounded-xl flex items-center justify-center"},st={class:"font-bold text-gray-900"},ot={class:"flex items-center gap-3"},at={class:"flex items-center gap-1.5 px-3 py-1 rounded-full bg-green-50 border border-green-100"},rt={class:"text-xs font-bold text-green-700"},nt={class:"flex items-center gap-1.5"},lt={class:"grid lg:grid-cols-3 gap-6"},it={class:"lg:col-span-2 space-y-6"},dt={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},ct={class:"flex items-center gap-2.5 mb-4"},ut={class:"w-8 h-8 bg-purple-100 rounded-xl flex items-center justify-center"},ht={class:"flex items-center justify-center py-6"},gt={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},mt={class:"flex items-center justify-between mb-4"},pt={class:"flex items-center gap-2.5"},ft={class:"w-8 h-8 bg-amber-100 rounded-xl flex items-center justify-center"},bt={class:"text-xs text-gray-400"},xt={class:"space-y-2.5"},yt={key:0,class:"flex items-start gap-3 p-4 rounded-xl border border-gray-100 bg-gray-50/50"},vt={class:"w-7 h-7 rounded-lg bg-green-600 text-white flex items-center justify-center text-xs font-bold flex-shrink-0"},wt={class:"text-sm text-gray-700 leading-relaxed"},_t={key:0,class:"flex items-center gap-3 p-4 rounded-xl border border-dashed border-gray-200 bg-gray-50/30"},Ct={class:"w-7 h-7 rounded-lg bg-gray-200 text-gray-400 flex items-center justify-center text-xs font-bold flex-shrink-0"},kt={class:"text-xs text-gray-400 italic"},Bt={key:0,class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},Wt={class:"flex items-center gap-2.5 mb-4"},Mt={class:"w-8 h-8 bg-blue-100 rounded-xl flex items-center justify-center"},At={class:"grid grid-cols-1 sm:grid-cols-2 gap-3"},Ft=["onClick"],St={class:"flex items-center gap-3"},Pt={class:"w-8 h-8 rounded-lg flex items-center justify-center text-xs font-bold flex-shrink-0 transition-all bg-gray-100 text-gray-600 group-hover:bg-green-100 group-hover:text-green-700"},zt={class:"flex-1 min-w-0"},Rt={class:"text-sm font-semibold text-gray-900 truncate"},jt={class:"text-xs text-gray-500"},Gt={class:"space-y-6"},Tt={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},It={class:"flex items-center gap-2.5 mb-4"},Lt={class:"w-8 h-8 bg-green-100 rounded-xl flex items-center justify-center"},Nt={class:"text-center py-4"},Et={class:"space-y-2"},Ht={class:"text-xs text-gray-400 w-12"},Ot={class:"flex-1 h-2 rounded-full bg-gray-100 overflow-hidden"},Dt={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},Ut={class:"space-y-3"},qt={class:"flex items-center justify-between"},Kt={class:"text-sm font-bold text-green-700"},Qt={class:"flex items-center justify-between"},Vt={class:"text-sm font-bold text-red-600"},$t={class:"flex items-center justify-between"},Jt={class:"text-sm font-bold text-gray-900"},Yt={class:"flex items-center gap-2.5 mb-3"},Zt={class:"text-xs font-bold text-gray-400 mt-0.5 w-4 flex-shrink-0"},Xt={class:"text-sm text-gray-700 leading-relaxed"},es={key:1,class:"space-y-6"},ts={class:"bg-white rounded-2xl border border-gray-100 shadow-sm overflow-hidden"},ss={class:"p-6 text-center"},os={class:"text-4xl font-black text-gray-900 mb-1"},as={class:"text-sm text-gray-500 mb-4"},rs={class:"text-sm font-bold"},ns={class:"text-sm text-gray-600 mt-3 max-w-md mx-auto leading-relaxed"},ls={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},is={class:"flex items-center gap-2.5 mb-4"},ds={class:"w-8 h-8 bg-blue-100 rounded-xl flex items-center justify-center"},cs={class:"grid grid-cols-2 sm:grid-cols-4 gap-4"},us={class:"p-4 rounded-xl bg-green-50 border border-green-100 text-center"},hs={class:"text-2xl font-black text-green-700"},gs={class:"p-4 rounded-xl bg-red-50 border border-red-100 text-center"},ms={class:"text-2xl font-black text-red-700"},ps={class:"p-4 rounded-xl bg-amber-50 border border-amber-100 text-center"},fs={class:"text-2xl font-black text-amber-700"},bs={class:"p-4 rounded-xl bg-purple-50 border border-purple-100 text-center"},xs={class:"text-2xl font-black text-purple-700"},ys={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},vs={class:"flex items-center gap-2.5 mb-4"},ws={class:"w-8 h-8 bg-cyan-100 rounded-xl flex items-center justify-center"},_s={class:"space-y-2.5"},Cs={class:"flex-1 min-w-0"},ks={class:"text-sm font-semibold text-gray-900 truncate"},Bs={class:"text-xs text-gray-500"},Ws={class:"flex items-center gap-3"},Ms={key:0,class:"text-xs text-gray-400"},As={class:"bg-white rounded-2xl border border-gray-100 shadow-sm p-6"},Fs={class:"flex flex-col sm:flex-row items-center gap-3"},Ss={key:0,class:"text-xs text-green-600 mt-3 flex items-center gap-1"},Ps={key:2,class:"fixed inset-0 pointer-events-none z-50"},B=10,zs={__name:"test-who-am-i",setup(Rs){me({title:"Who Am I? Football Legends Quiz - World Cup 2026",ogTitle:"Who Am I? Football Legends Quiz - World Cup 2026",description:"Test your football knowledge with progressive clues about legendary players. From Pele to Mbappe â the fewer hints you need, the higher you score. 10 rounds, 5,000 max points.",ogDescription:"Guess the football legend from progressive clues. The fewer hints you need, the higher you score. Can you get 5,000?",twitterCard:"summary_large_image"});const T=[{name:"Pele",country:"Brazil",clues:["Born in Tres Coracoes, a small town in Minas Gerais, and named after Thomas Edison by his parents.","Scored 1,281 career goals across all competitions, a figure recognized by FIFA as a world record.","Won three FIFA World Cups with his national team in 1958, 1962, and 1970 â still the only player to achieve this.","A Brazilian forward who dominated football across three decades from the late 1950s to the 1970s.",'Known worldwide as "The King of Football" and widely regarded as the greatest player of all time.']},{name:"Diego Maradona",country:"Argentina",clues:["Grew up in Villa Fiorito, one of the poorest neighborhoods in Buenos Aires, and was scouted at age 10.","Transferred from Barcelona to Napoli in 1984 and single-handedly elevated the club to two Serie A titles.",'Scored both the controversial "Hand of God" goal and the "Goal of the Century" in the same 1986 World Cup quarter-final.',"An Argentine number 10 who captained his country to World Cup glory in Mexico.","His famous hand goal against England and his dribbling genius made him football's most controversial legend."]},{name:"Ronaldo (R9)",country:"Brazil",clues:["Suffered a mysterious seizure the night before the 1998 World Cup Final, yet still played the match.","Won the Ballon d'Or at age 20 while playing for Barcelona, after scoring 47 goals in 49 games.","Scored 15 World Cup goals across four tournaments and won the Golden Boot in 2002 with 8 goals.","A Brazilian striker who won two World Cups and was known for his explosive pace and clinical finishing.",'Nicknamed "O Fenomeno" â The Phenomenon â and famous for his triangular haircut at the 2002 World Cup.']},{name:"Zinedine Zidane",country:"France",clues:["Born in Marseille to Algerian Kabyle parents who immigrated to France from the village of Aguemoune.","His transfer from Juventus to Real Madrid in 2001 for 77.5 million euros was a world record at the time.","Scored two headers in the 1998 World Cup Final against Brazil to give France their first-ever title.","A French playmaker who played in three World Cups and won both the World Cup and European Championship.","Infamously headbutted Marco Materazzi in the 2006 World Cup Final â his last ever professional match."]},{name:"Lionel Messi",country:"Argentina",clues:["Moved from Rosario to Barcelona at age 13 after the club agreed to pay for his growth hormone treatment.","Has won the Ballon d'Or eight times, more than any other player in football history.","Scored the decisive penalty and was named Player of the Tournament at the 2022 FIFA World Cup in Qatar.","An Argentine forward who spent over 20 years at Barcelona before moving to Paris and then Miami.",'Commonly known as "La Pulga" (The Flea) and widely debated as the greatest player of all time alongside Pele.']},{name:"Cristiano Ronaldo",country:"Portugal",clues:["Born on the island of Madeira and named after Ronald Reagan, his father's favorite actor.","Has scored over 900 career goals and is the all-time leading scorer in men's international football.","Has attended five World Cups â 2006 to 2026 â the most by any European player in history.","A Portuguese forward who starred at Manchester United, Real Madrid, Juventus, and Al Nassr.",'Famous for his "Siuuu" celebration and his lifelong rivalry with Messi for the title of greatest ever.']},{name:"Neymar",country:"Brazil",clues:["Grew up in Mogi das Cruzes, Sao Paulo, and was recruited by Santos FC's youth academy at age 11.","His transfer from Barcelona to PSG in 2017 for 222 million euros shattered the world transfer record.","Scored in the 2014 World Cup on home soil before being injured in the quarter-finals by a knee to the back.",'A Brazilian attacker known for his dribbling flair, forming the famous "MSN" trio at Barcelona.',"The most expensive football transfer ever at the time, and the face of Brazilian football in the 2010s."]},{name:"Kylian Mbappe",country:"France",clues:["Born in Bondy, a commune in the northeastern suburbs of Paris, to a Cameroonian father and Algerian mother.","Became the most expensive teenager in football history when PSG paid 180 million euros for him in 2017.","Won the 2018 World Cup at just 19 years old, becoming the youngest French scorer since Pele in 1958.","Scored a hat-tr
1ick in the 2022 World Cup Final against Argentina, winning the Golden Boot.",'The fastest player in world football, nicknamed "Donatello" by teammates after the Ninja Turtle.']},{name:"Ronaldinho",country:"Brazil",clues:["Born in Porto Alegre and began his career at Gremio, where his older brother Roberto also played professionally.","Won the 2005 Ballon d'Or while at Barcelona, where his famous reception at the Bernabeu earned a standing ovation.","Won the 2002 World Cup with Brazil and scored a legendary lobbed free kick against England in the quarter-finals.","A Brazilian attacking midfielder who played with a permanent smile and was celebrated for his joy on the pitch.",'Known as "The Magician" â his no-look passes, elasticos, and tricks made him the most entertaining player of his era.']},{name:"Miroslav Klose",country:"Germany",clues:["Born in Opole, Poland, to a Polish football father and German handball mother, and moved to Germany as a child.","Scored five headers at the 2002 World Cup, all from set pieces â an unusual feat for a modern striker.","Holds the all-time FIFA World Cup scoring record with 16 goals across four tournaments from 2002 to 2014.","A German striker who played in four consecutive World Cups and was part of the 2014 title-winning squad.","Surpassed Ronaldo's 15-goal World Cup record in Brazil's famous 7-1 semi-final defeat in 2014."]},{name:"Luka Modric",country:"Croatia",clues:["Grew up as a refugee during the Croatian War of Independence, with his family's home destroyed and grandfather killed.","Spent seven years at Dinamo Zagreb before moving to Tottenham Hotspur in 2008 for 21 million euros.","Won the Golden Ball at the 2018 World Cup after leading Croatia to their first-ever final in history.","A Croatian midfielder who won five Champions League titles with Real Madrid and the 2018 Ballon d'Or.","At the 2018 World Cup, he broke Messi and Ronaldo's decade-long Ballon d'Or duopoly."]},{name:"Cafu",country:"Brazil",clues:["Born Marcos Evangelista de Moraes in Itaquaquecetuba, a city in the Sao Paulo metropolitan area.","Earned 142 caps for Brazil, a record at the time, and was captain for the 2002 World Cup-winning team.","The only player in football history to appear in three consecutive FIFA World Cup Finals â 1994, 1998, and 2002.","A Brazilian right-back who played for Roma and AC Milan and was known for his tireless attacking runs.",'Nicknamed "Il Pendolino" (The Express Train) for his blistering speed up and down the right flank.']},{name:"Gerd Muller",country:"Germany",clues:["Born in Nordlingen, Bavaria, and was initially rejected by TSV 1860 Munich for being too short and stocky.","Scored 365 goals in 427 Bundesliga appearances for Bayern Munich â a league record that stood for 49 years.","Netted 14 goals in just 13 World Cup appearances, winning the Golden Boot in 1970 and the title in 1974.","A German center-forward active in the 1960s and 1970s who was lethal inside the penalty area.",'Known as "Der Bomber" â his goal-scoring record was only broken by Robert Lewandowski in 2021.']},{name:"Just Fontaine",country:"France",clues:["Born in Marrakech, Morocco, when it was still a French protectorate, and played for local clubs before moving to France.","Only used the boots he wore in the 1958 World Cup because his own pair broke â they were borrowed from a teammate.","Scored 13 goals in a single World Cup tournament in 1958 â a record that has stood for over 65 years and may never be broken.","A French striker from the 1950s whose international career was cut short by injury at age 28.","Holds the unbreakable record of 13 goals in one World Cup â nearly double what most Golden Boot winners score."]},{name:"Vinicius Jr",country:"Brazil",clues:["Grew up in Sao Goncalo, a city across the bay from Rio de Janeiro, and was spotted by Flamengo scouts at age 10.","Real Madrid signed him at 16 for 45 million euros, making him one of the most expensive teenagers in history.","Scored the winning goal in the 2022 Champions League Final against Liverpool to seal Real Madrid's 14th title.","A Brazilian left winger known for explosive pace, flair, and his vocal fight against racism in Spanish football.","Widely expected to be Brazil's biggest star at the 2026 World Cup and a Ballon d'Or contender."]}],W=p("start"),x=p(0),k=p(0),c=p(0),g=p(!1),m=p(!1),f=p(0),w=p([]),S=p(""),M=p(!1),I=p([]);let R=[],L=[];const A=h(()=>R[x.value]||{name:"",country:"",clues:[]}),ee=h(()=>L[x.value]||[]),N=h(()=>g.value?0:c.value===0?500:Math.max(100,600-c.value*100)),te=h(()=>{const r=N.value;return r>=500?"text-green-600":r>=400?"text-green-500":r>=300?"text-amber-600":r>=200?"text-amber-500":"text-gray-400"}),E=h(()=>120-c.value*12),H=h(()=>56-c.value*6),P=h(()=>w.value.filter(r=>r.correct).length),O=h(()=>w.value.filter(r=>!r.correct).length),se=h(()=>w.value.filter(r=>r.correct&&r.cluesUsed===1).length),D=h(()=>{const r=w.value.filter(o=>o.correct);return r.length===0?"-":(r.reduce((o,l)=>o+l.cluesUsed,0)/r.length).toFixed(1)}),oe=h(()=>f.value===500?"Incredible! First clue guess!":f.value===400?"Impressive knowledge!":f.value===300?"Well done!":f.value===200?"Got it!":"Just made it!"),_=h(()=>{const r=k.value;return r>=4e3?{title:"Living Encyclopedia",description:"You know football inside and out. These legends would be proud. You barely needed any clues to identify the greats of the game.",icon:Se,bgClass:"bg-amber-100",iconClass:"text-amber-600",badgeClass:"bg-amber-100 text-amber-700"}:r>=3e3?{title:"Football Scholar",description:"Seriously impressive. Your knowledge of the beautiful game runs deep. You recognized most legends with just a clue or two.",icon:Pe,bgClass:"bg-green-100",iconClass:"text-green-600",badgeClass:"bg-green-100 text-green-700"}:r>=1500?{title:"Casual Fan",description:"You know the big names and the famous moments. Keep watching and learning â there is always more to discover about football history.",icon:ze,bgClass:"bg-blue-100",iconClass:"text-blue-600",badgeClass:"bg-blue-100 text-blue-700"}:{title:"Bench Warmer",description:"Football legends are still a mystery to you, but that is okay â the 2026 World Cup is the perfect time to start learning. Play again and improve!",icon:Re,bgClass:"bg-purple-100",iconClass:"text-purple-600",badgeClass:"bg-purple-100 text-purple-700"}});function j(r){const t=[...r];for(let o=t.length-1;o>0;o--){const l=Math.floor(Math.random()*(o+1));[t[o],t[l]]=[t[l],t[o]]}return t}function ae(){R=j(T).slice(0,B),L=R.map(r=>{const t=T.filter(l=>l.name!==r.name),o=j(t).slice(0,3);return j([{name:r.name,country:r.country},...o.map(l=>({name:l.name,country:l.country}))])})}function re(){ae(),W.value="playing",x.value=0,k.value=0,c.value=0,g.value=!1,m.value=!1,f.value=0,w.value=[],M.value=!1,c.value=1}function ne(){c.value<5&&!g.value&&c.value++}function le(r){if(g.value)return;g.value=!0;const t=r.name===A.value.name;if(m.value=t,t){const o=Math.max(100,600-c.value*100);f.value=o,k.value+=o,o>=400&&U()}else f.value=0;w.value.push({playerName:A.value.name,country:A.value.country,correct:t,cluesUsed:c.value,points:f.value})}function ie(){x.value<B-1?(x.value++,c.value=1,g.value=!1,m.value=!1,f.value=0,M.value=!1):(W.value="results",k.value>=4e3&&U())}function de(){W.value="start",S.value="",M.value=!1}function U(){const r=["#16a34a","#22c55e","#f59e0b","#3b82f6","#8b5cf6","#ef4444"],t=[];for(let o=0;o<30;o++){const l=r[Math.floor(Math.random()*r.length)],q=Math.random()*100,he=Math.random()*.5,K=4+Math.random()*8;t.push({id:o,style:{left:q+"%",top:"-10px",width:K+"px",height:K+"px",backgroundColor:l,animationDelay:he+"s"}})}I.value=t,M.value=!0,setTimeout(()=>{M.value=!1},2500)}function ce(){const r=`I scored ${k.value}/5,000 on the Who Am I? Football Legends Quiz! ${_.value.title} - ${P.value}/${B} correct. Can you beat me? Play at worldcupguide.ai/test-who-am-i`;navigator.share?navigator.share({title:"Who Am I? Football Legends Quiz - World Cup 2026",text:r}).catch(()=>{}):navigator.clipboard&&navigator.clipboard.writeText(r).then(()=>{S.value="Results copied to clipboard!",setTimeout(()=>{S.value=""},3e3)})}function ue(r){if(r>x.value)return"bg-gray-200";if(r===x.value&&!g.value)return"bg-green-400 animate-pulse";const t=w.value[r];return t?t.correct?"bg-green-500":"bg-red-400":"bg-gray-200"}return(r,t)=>(n(),i("div",je,[s(W)==="start"?(n(),i("section",Ge,[t[12]||(t[12]=pe('<div class="absolute inset-0" data-v-a0bf310c><div class="absolute inset-0 bg-gradient-to-br from-green-950/95 via-green-900/90 to-emerald-900/85" data-v-a0bf310c></div><div class="absolute inset-0 opacity-10" data-v-a0bf310c><div class="absolute top-20 left-10 w-72 h-72 bg-green-400 rounded-full blur-3xl" data-v-a0bf310c></div><div class="absolute bottom-10 right-20 w-96 h-96 bg-emerald-400 rounded-full blur-3xl" data-v-a0bf310c></div><div class="absolute top-40 right-40 w-48 h-48 bg-amber-400 rounded-full blur-3xl" data-v-a0bf310c></div></div></div>',1)),e("div",Te,[e("div",Ie,[d(s(J),{class:"w-4 h-4"}),t[0]||(t[0]=y(" Football Legends Quiz ",-1))]),t[9]||(t[9]=e("h1",{class:"text-4xl md:text-5xl font-black text-white mb-4"},"Who Am I?",-1)),t[10]||(t[10]=e("p",{class:"text-lg text-white/70 max-w-2xl mx-auto mb-4"}," Legendary footballers. Progressive clues. The fewer hints you need, the higher you score. Can you name them all? ",-1)),t[11]||(t[11]=e("p",{class:"text-sm text-white/50 max-w-xl mx-auto mb-10"}," 10 rounds. 5 clues per legend. From obscure trivia to dead giveaways. World Cup heroes and 2026 stars await. ",-1)),e("div",Le,[e("div",Ne,[t[1]||(t[1]=e("p",{class:"text-xs font-bold uppercase tracking-widest text-green-400 mb-3"},"Scoring System",-1)),e("div",Ee,[(n(),i(v,null,C([500,400,300,200,100],(o,l)=>e("div",{key:l,class:"flex items-center justify-between"},[e("div",He,[e("div",{class:u(["w-5 h-5 rounded-md flex items-center justify-center text-xs font-bold",l===0?"bg-amber-400/20 text-amber-300":"bg-white/10 text-white/60"])},a(l+1),3),e("span",Oe,a(l+1)+" clue"+a(l>0?"s":"")+" used",1)]),e("span",{class:u(["text-sm font-bold",l===0?"text-amber-300":"text-white/80"])}
1,a(o)+" pts",3)])),64))])])]),e("div",De,[e("div",Ue,[d(s(fe),{class:"w-4 h-4 text-green-400"}),t[2]||(t[2]=e("span",{class:"text-sm font-bold text-white"},"15+",-1)),t[3]||(t[3]=e("span",{class:"text-xs text-white/60"},"legends",-1))]),e("div",qe,[d(s(Y),{class:"w-4 h-4 text-yellow-400"}),t[4]||(t[4]=e("span",{class:"text-sm font-bold text-white"},"5",-1)),t[5]||(t[5]=e("span",{class:"text-xs text-white/60"},"clues each",-1))]),e("div",Ke,[d(s(be),{class:"w-4 h-4 text-emerald-400"}),t[6]||(t[6]=e("span",{class:"text-sm font-bold text-white"},"5,000",-1)),t[7]||(t[7]=e("span",{class:"text-xs text-white/60"},"max score",-1))])]),e("button",{onClick:re,class:"px-8 py-4 bg-green-600 hover:bg-green-500 text-white text-sm font-bold rounded-xl shadow-md shadow-green-600/20 transition-all inline-flex items-center gap-2 hover:-translate-y-0.5"},[d(s(xe),{class:"w-5 h-5"}),t[8]||(t[8]=y(" Start the Quiz ",-1))])])])):(n(),i("section",Qe,[t[15]||(t[15]=e("div",{class:"absolute inset-0"},[e("div",{class:"absolute inset-0 bg-gradient-to-br from-green-950/95 via-green-900/90 to-emerald-900/85"})],-1)),e("div",Ve,[e("div",$e,[d(s(J),{class:"w-4 h-4"}),t[13]||(t[13]=y(" Who Am I? ",-1))]),t[14]||(t[14]=e("h1",{class:"text-2xl md:text-3xl font-black text-white"},"Guess the Football Legend",-1))])])),e("div",Je,[s(W)==="playing"?(n(),i("div",Ye,[e("div",Ze,[e("div",Xe,[e("div",et,[e("div",tt,[d(s(ye),{class:"w-4 h-4 text-green-600"})]),e("div",null,[e("p",st,"Round "+a(s(x)+1)+" of "+a(B),1),t[16]||(t[16]=e("p",{class:"text-xs text-gray-400"},"Identify the mystery player",-1))])]),e("div",ot,[e("div",at,[d(s(ve),{class:"w-3.5 h-3.5 text-green-600"}),e("span",rt,a(s(k))+" pts",1)])])]),e("div",nt,[(n(),i(v,null,C(B,o=>e("div",{key:o,class:u(["h-2 flex-1 rounded-full transition-all duration-300",ue(o-1)])},null,2)),64))])]),e("div",lt,[e("div",it,[e("div",dt,[e("div",ct,[e("div",ut,[d(s(Z),{class:"w-4 h-4 text-purple-600"})]),t[17]||(t[17]=e("div",null,[e("p",{class:"font-bold text-gray-900"},"Mystery Player"),e("p",{class:"text-xs text-gray-400"},"Reveal clues to narrow it down")],-1))]),e("div",ht,[e("div",{class:"relative flex items-center justify-center transition-all duration-500",style:z({width:s(E)+"px",height:s(E)+"px"})},[t[18]||(t[18]=e("div",{class:"absolute inset-0 bg-gradient-to-br from-gray-800 to-gray-900 rounded-full opacity-90 animate-pulse-slow"},null,-1)),d(s(Z),{class:"relative text-white/30 transition-all duration-500",style:z({width:s(H)+"px",height:s(H)+"px"})},null,8,["style"])],4)])]),e("div",gt,[e("div",mt,[e("div",pt,[e("div",ft,[d(s(Y),{class:"w-4 h-4 text-amber-600"})]),e("div",null,[t[19]||(t[19]=e("p",{class:"font-bold text-gray-900"},"Clues",-1)),e("p",bt,a(s(c))+" of 5 revealed",1)])]),s(c)<5&&!s(g)?(n(),i("button",{key:0,onClick:ne,class:"px-4 py-2 bg-amber-50 hover:bg-amber-100 text-amber-700 text-xs font-bold rounded-lg border border-amber-200 transition-all inline-flex items-center gap-1.5"},[d(s(we),{class:"w-3.5 h-3.5"}),y(" Reveal Clue "+a(s(c)+1),1)])):b("",!0)]),e("div",xt,[(n(),i(v,null,C(5,o=>(n(),i(v,{key:o},[d(V,{"enter-active-class":"transition-all duration-400 ease-out","enter-from-class":"opacity-0 -translate-y-2 max-h-0","enter-to-class":"opacity-100 translate-y-0 max-h-24"},{default:Q(()=>[o<=s(c)?(n(),i("div",yt,[e("div",vt,a(o),1),e("p",wt,a(s(A).clues[o-1]),1)])):b("",!0)]),_:2},1024),o>s(c)&&!s(g)?(n(),i("div",_t,[e("div",Ct,[d(s(_e),{class:"w-3 h-3"})]),e("p",kt,"Clue "+a(o)+" locked",1)])):b("",!0)],64))),64))])]),s(c)>0&&!s(g)?(n(),i("div",Bt,[e("div",Wt,[e("div",Mt,[d(s(Ce),{class:"w-4 h-4 text-blue-600"})]),t[20]||(t[20]=e("div",null,[e("p",{class:"font-bold text-gray-900"},"Your Guess"),e("p",{class:"text-xs text-gray-400"},"Pick the correct player")],-1))]),e("div",At,[(n(!0),i(v,null,C(s(ee),(o,l)=>(n(),i("button",{key:l,onClick:q=>le(o),class:"group relative p-4 rounded-xl border-2 text-left transition-all duration-200 border-gray-200 hover:border-green-300 hover:bg-green-50/50 cursor-pointer"},[e("div",St,[e("div",Pt,a(["A","B","C","D"][l]),1),e("div",zt,[e("p",Rt,a(o.name),1),e("p",jt,a(o.country),1)])])],8,Ft))),128))])])):b("",!0)]),e("div",Gt,[e("div",Tt,[e("div",It,[e("div",Lt,[d(s(ke),{class:"w-4 h-4 text-green-600"})]),t[21]||(t[21]=e("div",null,[e("p",{class:"font-bold text-gray-900"},"Points at Stake"),e("p",{class:"text-xs text-gray-400"},"Guess now to earn")],-1))]),e("div",Nt,[e("p",{class:u(["text-4xl font-black",s(te)])},a(s(N)),3),t[22]||(t[22]=e("p",{class:"text-xs text-gray-400 mt-1"},"points",-1))]),e("div",Et,[(n(),i(v,null,C(5,o=>e("div",{key:o,class:"flex items-center gap-2"},[e("span",Ht,a(o)+" clue"+a(o>1?"s":""),1),e("div",Ot,[e("div",{class:u(["h-full rounded-full transition-all duration-500",o<=s(c)?"bg-gray-300":"bg-green-500"]),style:z({width:(600-o*100)/500*100+"%"})},null,6)]),e("span",{class:u(["text-xs font-bold w-8 text-right",o<=s(c)?"text-gray-300 line-through":"text-gray-600"])}
1,a(600-o*100),3)])),64))])]),e("div",Dt,[t[26]||(t[26]=e("p",{class:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-3"},"This Game",-1)),e("div",Ut,[e("div",qt,[t[23]||(t[23]=e("span",{class:"text-sm text-gray-600"},"Correct",-1)),e("span",Kt,a(s(P)),1)]),e("div",Qt,[t[24]||(t[24]=e("span",{class:"text-sm text-gray-600"},"Wrong",-1)),e("span",Vt,a(s(O)),1)]),e("div",$t,[t[25]||(t[25]=e("span",{class:"text-sm text-gray-600"},"Avg Clues",-1)),e("span",Jt,a(s(D)),1)])])])])]),d(V,{"enter-active-class":"transition-all duration-300 ease-out","enter-from-class":"opacity-0 translate-y-4","enter-to-class":"opacity-100 translate-y-0"},{default:Q(()=>[s(g)?(n(),i("div",{key:0,class:u(["rounded-2xl border shadow-sm p-6",s(m)?"bg-green-50 border-green-100":"bg-red-50 border-red-100"])},[e("div",Yt,[e("div",{class:u(["w-8 h-8 rounded-xl flex items-center justify-center",s(m)?"bg-green-100":"bg-red-100"])},[s(m)?(n(),F(s(G),{key:0,class:"w-4 h-4 text-green-600"})):(n(),F(s(X),{key:1,class:"w-4 h-4 text-red-600"}))],2),e("div",null,[e("p",{class:u(["font-bold",s(m)?"text-green-800":"text-red-800"])},a(s(m)?s(oe):"Not quite!"),3),e("p",{class:u(["text-xs",s(m)?"text-green-600":"text-red-600"])},a(s(m)?`+${s(f)} points`:`The answer was ${s(A).name}`),3)])]),e("div",{class:u(["p-4 rounded-xl border space-y-2",s(m)?"bg-white border-green-100":"bg-white border-red-100"])},[t[27]||(t[27]=e("p",{class:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-2"},"All 5 Clues",-1)),(n(!0),i(v,null,C(s(A).clues,(o,l)=>(n(),i("div",{key:l,class:"flex items-start gap-2"},[e("span",Zt,a(l+1)+".",1),e("p",Xt,a(o),1)]))),128))],2),e("button",{onClick:ie,class:"mt-4 px-6 py-3 bg-green-600 hover:bg-green-500 text-white text-sm font-bold rounded-xl shadow-md shadow-green-600/20 transition-all inline-flex items-center gap-2"},[y(a(s(x)<B-1?"Next Round":"See Results")+" ",1),d(s(Be),{class:"w-4 h-4"})])],2)):b("",!0)]),_:1})])):b("",!0),s(W)==="results"?(n(),i("div",es,[e("div",ts,[t[30]||(t[30]=e("div",{class:"h-1.5 bg-gradient-to-r from-green-500 to-emerald-500"},null,-1)),e("div",ss,[e("div",{class:u(["w-16 h-16 mx-auto rounded-2xl flex items-center justify-center mb-4",s(_).bgClass])},[(n(),F($(s(_).icon),{class:u(["w-8 h-8",s(_).iconClass])},null,8,["class"]))],2),t[29]||(t[29]=e("p",{class:"text-xs font-bold uppercase tracking-widest text-gray-400 mb-2"},"Final Score",-1)),e("p",os,[y(a(s(k))+" ",1),t[28]||(t[28]=e("span",{class:"text-lg font-bold text-gray-400"},"/ 5,000",-1))]),e("p",as,a(s(P))+" correct out of "+a(B)+" rounds",1),e("div",{class:u(["inline-flex items-center gap-2 px-4 py-2 rounded-full",s(_).badgeClass])},[(n(),F($(s(_).icon),{class:"w-4 h-4"})),e("span",rs,a(s(_).title),1)],2),e("p",ns,a(s(_).description),1)])]),e("div",ls,[e("div",is,[e("div",ds,[d(s(We),{class:"w-4 h-4 text-blue-600"})]),t[31]||(t[31]=e("div",null,[e("p",{class:"font-bold text-gray-900"},"Performance Breakdown"),e("p",{class:"text-xs text-gray-400"}
1,"How you did across all rounds")],-1))]),e("div",cs,[e("div",us,[e("p",hs,a(s(P)),1),t[32]||(t[32]=e("p",{class:"text-xs font-semibold text-green-600 mt-1"},"Correct",-1))]),e("div",gs,[e("p",ms,a(s(O)),1),t[33]||(t[33]=e("p",{class:"text-xs font-semibold text-red-600 mt-1"},"Wrong",-1))]),e("div",ps,[e("p",fs,a(s(D)),1),t[34]||(t[34]=e("p",{class:"text-xs font-semibold text-amber-600 mt-1"},"Avg Clues",-1))]),e("div",bs,[e("p",xs,a(s(se)),1),t[35]||(t[35]=e("p",{class:"text-xs font-semibold text-purple-600 mt-1"},"1-Clue Guesses",-1))])])]),e("div",ys,[e("div",vs,[e("div",ws,[d(s(Me),{class:"w-4 h-4 text-cyan-600"})]),t[36]||(t[36]=e("div",null,[e("p",{class:"font-bold text-gray-900"},"Round-by-Round"),e("p",{class:"text-xs text-gray-400"},"See how you answered each question")],-1))]),e("div",_s,[(n(!0),i(v,null,C(s(w),(o,l)=>(n(),i("div",{key:l,class:"flex items-center gap-3 p-3 rounded-xl border border-gray-100"},[e("div",{class:u(["w-7 h-7 rounded-lg flex items-center justify-center text-xs font-bold flex-shrink-0",o.correct?"bg-green-600 text-white":"bg-red-100 text-red-600"])},a(l+1),3),e("div",Cs,[e("p",ks,a(o.playerName),1),e("p",Bs,a(o.country),1)]),e("div",Ws,[o.correct?(n(),i("span",Ms,a(o.cluesUsed)+" clue"+a(o.cluesUsed>1?"s":""),1)):b("",!0),e("span",{class:u(["text-xs font-bold",o.correct?"text-green-600":"text-red-400"])},a(o.points)+" pts",3),o.correct?(n(),F(s(G),{key:1,class:"w-4 h-4 text-green-500"})):(n(),F(s(X),{key:2,class:"w-4 h-4 text-red-400"}))])]))),128))])]),e("div",As,[e("div",Fs,[e("button",{onClick:de,class:"w-full sm:w-auto px-6 py-3 bg-green-600 hover:bg-green-500 text-white text-sm font-bold rounded-xl shadow-md shadow-green-600/20 transition-all inline-flex items-center justify-center gap-2"},[d(s(Ae),{class:"w-4 h-4"}),t[37]||(t[37]=y(" Play Again ",-1))]),e("button",{onClick:ce,class:"w-full sm:w-auto px-6 py-3 bg-white text-green-700 font-semibold rounded-xl border-2 border-green-200 hover:border-green-400 hover:bg-green-50 transition-all inline-flex items-center justify-center gap-2"},[d(s(Fe),{class:"w-4 h-4"}),t[38]||(t[38]=y(" Share Results ",-1))])]),s(S)?(n(),i("p",Ss,[d(s(G),{class:"w-3.5 h-3.5"}),y(" "+a(s(S)),1)])):b("",!0)])])):b("",!0)]),s(M)?(n(),i("div",Ps,[(n(!0),i(v,null,C(s(I),o=>(n(),i("div",{key:o.id,class:"absolute rounded-full animate-particle",style:z(o.style)},null,4))),128))])):b("",!0)]))}},ao=ge(zs,[["__scopeId","data-v-a0bf310c"]]);export{ao as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.