import{r as n,j as e,S as u,_ as f}from"./index-Bt7ohjT1.js";const h="/assets/combat-archery-BZZMBtHF.webp",y="/assets/dodgeball-CAKQWNKp.webp",v="/assets/goggle-football-Zykh3Zx6.webp",k="/assets/football-darts-paA4IzFs.webp",w="/assets/school-sports-day-DhUXpREq.webp",F="/assets/disco-dodgeball-D7m6jCfk.webp",N="/assets/nerf-wars-Dr2RWi_8.webp",j="/assets/kids-dodgeball-B4kp3vct.webp",A="/assets/kids-football-darts-CkOLn17p.webp",I="/assets/footy-fever-Cgw2JEb_.webp",T="/assets/footy-fever-kids-xXfW9jPe.webp",D=[{id:"action",label:"Action Packed"},{id:"football",label:"Football Fans"},{id:"competitive",label:"Competitive"},{id:"anyone",label:"Anyone can play"}],C=[{id:"action",label:"Action Packed"},{id:"football",label:"Football Fans"},{id:"anyone",label:"Anyone can play"}],W=[{id:"combat-archery",name:"Combat Archery",image:h,forWho:"For groups who want carnage",tags:["High energy","Competitive"],desc:"Dodgeball, but with bows and arrows. A full-blown shoot-out.",filters:["action","competitive"],flag:{label:"Top pick",tone:"pick"}},{id:"dodgeball",name:"Dodgeball",image:y,forWho:"For competitive groups",tags:["High energy","Competitive"],desc:"All fun and games until you get taken out.",filters:["action","competitive"],flag:{label:"Always a hit",tone:"hit"}},{id:"goggle-football",name:"Goggle Football",image:v,forWho:"For maximum chaos",tags:["High energy","Football"],desc:"Football, but you can't see properly. That's the problem.",filters:["action","football"]},{id:"footy-fever",name:"Footy Fever",image:I,forWho:"For the football-mad",tags:["Football","Competitive"],desc:"Football challenges and shoot-outs for groups who fancy themselves.",filters:["football","competitive","anyone"]},{id:"football-darts",name:"Football Darts",image:k,forWho:"For a laugh — no skill needed",tags:["Football","Anyone"],desc:"Darts with a football. Bigger than you think, and anyone can have a go.",filters:["football","anyone"]},{id:"school-sports-day",name:"Sports Day",image:w,forWho:"For mixed-ability groups",tags:["Anyone","Outdoor"],desc:"Egg & spoon, wheelbarrow, relays — all back. Zero skill required.",filters:["anyone"]},{id:"disco-dodgeball",name:"Glowbal Disco UV",image:F,forWho:"For party groups",tags:["Indoor","Party"],desc:"Dodgeball in a nightclub. Lights down, neon on, balls flying.",filters:["action"],flag:{label:"+£10pp",tone:"surcharge"},surchargeNote:"Adds £10pp · selected cities"}],S=[{id:"nerf-wars",name:"Nerf Wars",image:N,forWho:"Big team battles, everyone included",tags:["Action","Team game"],desc:"Big foam-dart team battles. Fully supervised, everyone gets involved, no one sits out.",filters:["action","anyone"],flag:{label:"Top pick",tone:"pick"}},{id:"dodgeball",name:"Dodgeball",image:j,forWho:"A PE classic, fast and fun",tags:["Action","Team game"],desc:"The PE-lesson favourite. Simple rules, non-stop action, every child in the game.",filters:["action","anyone"],flag:{label:"Always a hit",tone:"hit"}},{id:"footy-fever",name:"Footy Fever",image:T,forWho:"For the football-mad",tags:["Football","Team game"],desc:"Football games for the footy-mad. Team-based and inclusive whatever their level.",filters:["football","anyone"]},{id:"football-darts",name:"Football Darts",image:A,forWho:"Simple, funny, anyone can score",tags:["Football","Everyone"],desc:"Kick the ball, hit the target. Easy for everyone, big cheers all round.",filters:["football","anyone"]}];function B({audience:d="adult",city:g,headingOverride:p,subheadingOverride:b}){const l=d==="kids",m=l?C:D,r=l?S:W,[o,x]=n.useState("all"),[t,c]=n.useState(null),i=n.useMemo(()=>o==="all"?r:r.filter(a=>a.filters.includes(o)),[o,r]);return e.jsxs("section",{className:"relative overflow-hidden",style:{background:"#16181a",padding:"56px 0 64px"},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(1200px 400px at 50% -10%, rgba(151,196,89,.06), transparent 70%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{opacity:.4,backgroundImage:"linear-gradient(135deg, rgba(255,255,255,.015) 1px, transparent 1px)",backgroundSize:"26px 26px"}}),e.jsxs("div",{className:"relative z-10 mx-auto px-4",style:{maxWidth:"1120px"},children:[e.jsx(u,{children:e.jsxs("div",{className:"text-center",children:[e.jsx("span",{className:"inline-block rounded-full px-3.5 py-1.5 text-[11px] font-bold uppercase tracking-[0.2em] mb-4",style:{background:"#000",border:"1px solid #2c2f2b",color:"#97C459"},children:"Premium package upgrade"}),e.jsx("h2",{className:"font-display italic font-extrabold uppercase leading-[1.03] tracking-tight text-[28px] sm:text-[36px] md:text-[44px] text-[#f4f5f2]",children:p??e.jsxs(e.Fragment,{children:["Go Bigger —"," ",e.jsx("span",{className:"text-primary",children:"Add A Bonus Activity Or Two"})]})}),e.jsx("p",{className:"mx-auto mt-3 max-w-[560px] text-[15px] leading-relaxed text-[#c3c8c6]",children:b??(l?"Turn your session into a Double (one bonus activity) or a Treble (two). Not sure what suits the group? Filter by what you're after.":"Turn your Cup into a Double (one bonus activity) or a Treble (two). Not sure what suits the group? Filter by what you're after.")})]})}),e.jsxs("div",{className:"mt-6",children:[e.jsx("p",{className:"text-center text-[11px] uppercase tracking-[0.15em] text-[#9aa0a0] mb-2.5",children:"What's your group after?"}),e.jsx("div",{className:"flex flex-wrap justify-center gap-2",children:[{id:"all",label:"All activities"},...m].map(a=>{const s=o===a.id;return e.jsx("button",{type:"button","aria-pressed":s,onClick:()=>x(a.id),className:"rounded-full px-4 py-2.5 text-[13px] font-semibold transition-colors",style:s?{background:"#97C459",color:"#173404",border:"1px solid #97C459"}:{background:"#1d2023",color:"#c3c8c6",border:"1px solid #2a2e31"},children:a.label},a.id)})}),e.jsx("p",{className:"mt-3 min-h-[16px] text-center text-xs text-[#9aa0a0]","aria-live":"polite",children:o==="all"?"":`${i.length} ${i.length===1?"activity":"activities"} for that`})]}),e.jsx("div",{className:"mt-5 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:i.map(a=>e.jsxs("article",{className:"group overflow-hidden rounded-[14px] transition-all duration-200 motion-safe:hover:-translate-y-0.5 hover:border-primary/45",style:{background:"#1d2023",border:"1px solid #2a2e31"},children:[e.jsxs("div",{className:"relative aspect-[5/4] overflow-hidden",children:[e.jsx("img",{src:a.image,alt:a.name,loading:"lazy",className:"absolute inset-0 h-full w-full object-cover"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/85 via-black/25 to-transparent"}),a.flag&&e.jsx("span",{className:"absolute left-2.5 top-2.5 rounded-md px-2.5 py-1 text-[10px] font-semibold uppercase tracking-wide",style:a.flag.tone==="pick"?{background:"#97C459",color:"#173404"}:a.flag.tone==="surcharge"?{background:"#EF9F27",color:"#3a2600"}:{background:"rgba(0,0,0,.6)",color:"#97C459",border:"1px solid rgba(151,196,89,.4)"},children:a.flag.label}),e.jsx("h3",{className:"absolute bottom-0 left-0 px-4 pb-3 font-display text-[19px] font-extrabold italic uppercase text-[#f4f5f2] drop-shadow-[0_2px_10px_rgba(0,0,0,0.8)]",children:a.name})]}),e.jsxs("div",{className:"px-4 pb-4 pt-3",children:[e.jsx("p",{className:"mb-2 text-xs font-semibold text-primary",children:a.forWho}),e.jsx("div",{className:"mb-2.5 flex flex-wrap gap-1.5",children:a.tags.map(s=>e.jsx("span",{className:"rounded-[5px] px-2 py-0.5 text-[10px] text-[#9aa0a0]",style:{background:"#12140f",border:"1px solid #2a2e31"},children:s},s))}),e.jsx("p",{className:"mb-2 text-[13px] leading-relaxed text-[#c3c8c6]",children:a.desc}),a.surchargeNote&&e.jsx("p",{className:"mb-2.5 text-xs font-bold text-[#EF9F27]",children:a.surchargeNote}),e.jsx("button",{type:"button",onClick:()=>c(a),className:"w-full rounded-lg py-3 text-[13px] font-semibold text-primary transition-colors hover:bg-primary hover:text-[#173404]",style:{background:"rgba(151,196,89,.14)",border:"1px solid rgba(151,196,89,.4)"},children:"Add to a package →"}),e.jsx("p",{className:"mt-1.5 text-center text-[11px] text-[#9aa0a0]",children:"Included with The Double & The Treble."})]})]},a.id))})]}),e.jsx(f,{open:t!==null,onClose:()=>c(null),framing:"book",city:g,audience:l?"kids":"adults",packageId:"spartacus-max",packageName:`The Double — Spartacus Cup + ${(t==null?void 0:t.name)??""}${t!=null&&t.surchargeNote?" (+£10pp)":""}`,source:`BONUS_ACTIVITY:${(t==null?void 0:t.id)??""}`})]})}export{B,F as a,h as c,y as d,k as f,v as g,w as s};