import{u as g,x as y,j as e,P as j,N as v,H as b,S as o,n as f,e as w,b as N}from"./index-Bt7ohjT1.js";import{h as _}from"./bubble-collision-haM0DbbX.js";import{S as c}from"./skeleton-f2GsyDr_.js";import{S as k}from"./shield-check-DYtnJQeX.js";const u=[{id:"who-we-are",contentKey:"privacy_who_we_are"},{id:"what-we-collect",contentKey:"privacy_what_we_collect"},{id:"how-we-use",contentKey:"privacy_how_we_use"},{id:"lawful-basis",contentKey:"privacy_lawful_basis"},{id:"sharing",contentKey:"privacy_sharing"},{id:"cookies",contentKey:"privacy_cookies"},{id:"your-rights",contentKey:"privacy_your_rights"},{id:"data-retention",contentKey:"privacy_data_retention"},{id:"security",contentKey:"privacy_security"},{id:"children",contentKey:"privacy_children"},{id:"changes",contentKey:"privacy_changes"},{id:"contact",contentKey:"privacy_contact"}];function S({id:p,contentKey:l}){const{data:r,isLoading:d}=y(l);if(d)return e.jsxs("div",{className:"mb-12 scroll-mt-24",children:[e.jsx(c,{className:"h-8 w-48 mb-4"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{className:"h-4 w-full"}),e.jsx(c,{className:"h-4 w-full"}),e.jsx(c,{className:"h-4 w-3/4"})]})]});if(!r||!r.is_enabled)return null;const m=h=>{const s=h.split(`
`).filter(t=>t.trim());if(s.some(t=>t.trim().startsWith("–")||t.trim().startsWith("-"))){const t=[],i=[];return s.forEach(n=>{const a=n.trim();a.startsWith("–")||a.startsWith("-")?t.push(a.replace(/^[–-]\s*/,"")):i.push(a)}),e.jsxs(e.Fragment,{children:[i.length>0&&i.map((n,a)=>e.jsx("p",{children:n},a)),t.length>0&&e.jsx("ul",{className:"list-disc pl-6 space-y-2",children:t.map((n,a)=>e.jsx("li",{children:n},a))})]})}return s.map((t,i)=>e.jsx("p",{children:t},i))};return e.jsx(o,{children:e.jsxs("div",{id:p,className:"mb-12 scroll-mt-24",children:[e.jsx("h2",{className:"text-2xl font-bold text-foreground mb-4",children:r.title}),e.jsx("div",{className:"space-y-4 text-muted-foreground",children:m(r.body)})]})})}function B(){const{openEnquiryModal:p,openCheckDate:l}=g(),{data:r}=y("privacy_intro"),d="April 2026",m=s=>{const x=document.getElementById(s);x&&x.scrollIntoView({behavior:"smooth",block:"start"})},h={"who-we-are":"Who We Are","what-we-collect":"What We Collect","how-we-use":"How We Use Your Data","lawful-basis":"Our Lawful Basis for Processing",sharing:"Sharing Your Data",cookies:"Cookies","your-rights":"Your Rights","data-retention":"Data Retention",security:"Security",children:"Children's Privacy",changes:"Policy Changes",contact:"Contact Us"};return e.jsxs("div",{className:"page-dark min-h-screen bg-background",children:[e.jsx(j,{title:"Privacy Policy | Spartacus Bubble Soccer",description:"How Spartacus Bubble Soccer collects, uses and protects your personal information."}),e.jsx(v,{}),e.jsxs("section",{className:"relative min-h-[55vh] flex items-center justify-center text-center overflow-hidden",children:[e.jsx(b,{image:_,overlayVariant:"foreground",overlayOpacity:50}),e.jsx("div",{className:"relative z-10 container-wide py-32 md:py-40",children:e.jsxs(o,{children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-primary/20 border border-primary/30 rounded-sm px-4 py-2 mb-6",children:[e.jsx(k,{className:"w-4 h-4 text-primary"}),e.jsxs("span",{className:"text-xs font-bold uppercase tracking-widest text-primary",children:["Last updated: ",d]})]}),e.jsxs("h1",{className:"font-display text-5xl md:text-7xl lg:text-8xl font-bold italic text-white uppercase tracking-tight leading-[0.9]",children:["Privacy",e.jsx("br",{}),e.jsx("span",{className:"text-primary",children:"Policy"})]}),e.jsx("p",{className:"mt-6 text-lg md:text-xl text-white/70 max-w-2xl mx-auto leading-relaxed",children:(r==null?void 0:r.body)||"How we collect, use, and protect your personal information."})]})})]}),e.jsx("section",{className:"py-8 border-b border-border",children:e.jsx("div",{className:"container-narrow",children:e.jsx(o,{children:e.jsxs("div",{className:"bg-muted/30 rounded-lg p-6",children:[e.jsx("h2",{className:"text-lg font-semibold text-foreground mb-4",children:"Quick Navigation"}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-5 gap-2",children:u.map(s=>e.jsxs("button",{onClick:()=>m(s.id),className:"text-left text-sm text-muted-foreground hover:text-primary transition-colors py-1",children:["→ ",h[s.id]]},s.id))})]})})})}),e.jsx("section",{className:"section-spacing",children:e.jsx("div",{className:"container-narrow",children:e.jsxs("div",{className:"prose prose-lg max-w-none",children:[u.map(s=>e.jsx(S,{id:s.id,contentKey:s.contentKey},s.id)),e.jsx(o,{children:e.jsx("div",{className:"p-6 bg-muted/30 rounded-lg border border-border",children:e.jsxs("p",{className:"text-foreground text-center",children:["For our booking policies and event terms, see our"," ",e.jsx(f,{to:"/terms",className:"text-primary hover:underline font-medium",children:"Terms & Conditions"}),"."]})})})]})})}),e.jsx(w,{}),e.jsx("div",{className:"fixed bottom-6 left-1/2 -translate-x-1/2 z-50",children:e.jsx(N,{size:"lg",className:"shadow-lg",onClick:()=>l(),children:"Check Date"})})]})}export{B as default};