(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[974],{10061:(e,t,a)=>{Promise.resolve().then(a.bind(a,63922))},16785:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(19946).A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},17580:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(19946).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},26597:(e,t,a)=>{"use strict";a.d(t,{tU:()=>D,av:()=>T,j7:()=>I,Xi:()=>S});var r=a(95155),s=a(12115),o=a(85185),n=a(46081),i=a(89196),l=a(28905),d=a(63655),c=a(94315),m=a(5845),u=a(61285),p="Tabs",[x,h]=(0,n.A)(p,[i.RG]),f=(0,i.RG)(),[g,b]=x(p),v=s.forwardRef((e,t)=>{let{__scopeTabs:a,value:s,onValueChange:o,defaultValue:n,orientation:i="horizontal",dir:l,activationMode:p="automatic",...x}=e,h=(0,c.jH)(l),[f,b]=(0,m.i)({prop:s,onChange:o,defaultProp:n});return(0,r.jsx)(g,{scope:a,baseId:(0,u.B)(),value:f,onValueChange:b,orientation:i,dir:h,activationMode:p,children:(0,r.jsx)(d.sG.div,{dir:h,"data-orientation":i,...x,ref:t})})});v.displayName=p;var y="TabsList",w=s.forwardRef((e,t)=>{let{__scopeTabs:a,loop:s=!0,...o}=e,n=b(y,a),l=f(a);return(0,r.jsx)(i.bL,{asChild:!0,...l,orientation:n.orientation,dir:n.dir,loop:s,children:(0,r.jsx)(d.sG.div,{role:"tablist","aria-orientation":n.orientation,...o,ref:t})})});w.displayName=y;var j="TabsTrigger",N=s.forwardRef((e,t)=>{let{__scopeTabs:a,value:s,disabled:n=!1,...l}=e,c=b(j,a),m=f(a),u=P(c.baseId,s),p=A(c.baseId,s),x=s===c.value;return(0,r.jsx)(i.q7,{asChild:!0,...m,focusable:!n,active:x,children:(0,r.jsx)(d.sG.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":p,"data-state":x?"active":"inactive","data-disabled":n?"":void 0,disabled:n,id:u,...l,ref:t,onMouseDown:(0,o.m)(e.onMouseDown,e=>{n||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(s)}),onKeyDown:(0,o.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&c.onValueChange(s)}),onFocus:(0,o.m)(e.onFocus,()=>{let e="manual"!==c.activationMode;x||n||!e||c.onValueChange(s)})})})});N.displayName=j;var k="TabsContent",C=s.forwardRef((e,t)=>{let{__scopeTabs:a,value:o,forceMount:n,children:i,...c}=e,m=b(k,a),u=P(m.baseId,o),p=A(m.baseId,o),x=o===m.value,h=s.useRef(x);return s.useEffect(()=>{let e=requestAnimationFrame(()=>h.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,r.jsx)(l.C,{present:n||x,children:a=>{let{present:s}=a;return(0,r.jsx)(d.sG.div,{"data-state":x?"active":"inactive","data-orientation":m.orientation,role:"tabpanel","aria-labelledby":u,hidden:!s,id:p,tabIndex:0,...c,ref:t,style:{...e.style,animationDuration:h.current?"0s":void 0},children:s&&i})}})});function P(e,t){return"".concat(e,"-trigger-").concat(t)}function A(e,t){return"".concat(e,"-content-").concat(t)}C.displayName=k;var R=a(53999);let D=v,I=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(w,{ref:t,className:(0,R.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",a),...s})});I.displayName=w.displayName;let S=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(N,{ref:t,className:(0,R.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm",a),...s})});S.displayName=N.displayName;let T=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(C,{ref:t,className:(0,R.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...s})});T.displayName=C.displayName},31886:(e,t,a)=>{"use strict";a.d(t,{iD:()=>i,kz:()=>n,ri:()=>l});let r=(0,a(88783).$_)("production","NEXT_PUBLIC_API_URL")+"/api/v1";class s extends Error{constructor(e){super(e),this.name="APIErrorResponse"}}let o=async e=>{let t=await e.json();throw new s({"email already exists":"This email is already registered. Please use a different email or try logging in.","username already exists":"This username is already taken. Please choose a different username.","invalid credentials":"Invalid email or password. Please try again.","authorization header required":"Please log in to access this resource.","invalid token":"Your session has expired. Please log in again."}[t.error]||t.error||"An unexpected error occurred")},n=async e=>{try{let t=await fetch("".concat(r,"/auth/register"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return o(t);return t.json()}catch(e){if(e instanceof s)throw e;throw new s("Network error. Please check your connection and try again.")}},i=async e=>{try{let t=await fetch("".concat(r,"/auth/login"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok)return o(t);return t.json()}catch(e){if(e instanceof s)throw e;throw new s("Network error. Please check your connection and try again.")}},l=async()=>{try{let e=await fetch("".concat(r,"/auth/logout"),{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(localStorage.getItem("token"))}});if(!e.ok)return o(e);localStorage.removeItem("token"),document.cookie="token=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"}catch(e){if(e instanceof s)throw e;throw new s("Network error. Please check your connection and try again.")}}},38564:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(19946).A)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},53999:(e,t,a)=>{"use strict";a.d(t,{J:()=>n,T:()=>i,cn:()=>o});var r=a(52596),s=a(39688);function o(){for(var e=arguments.length,t=Array(e),a=0;a{let e=localStorage.getItem("token");return e?JSON.parse(window.atob(e.split(".")[1])):""},i=()=>n().username},63922:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>D});var r=a(95155),s=a(12115),o=a(97168),n=a(88482),i=a(89852),l=a(82714),d=a(26597),c=a(31886);let m=e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e),u=e=>e.length>=6,p=e=>e.length>=3&&e.length<=20,x=(e,t)=>e===t,h=(e,t,a)=>{switch(e){case"email":if(!t)return"Email is required";if(!m(t))return"Invalid email format";return"";case"username":if(!t)return"Username is required";if(!p(t))return"Username must be between 3 and 20 characters";return"";case"password":if(!t)return"Password is required";if(!u(t))return"Password must be at least 6 characters";return"";case"confirmPassword":if(!t)return"Please confirm your password";if(!x(t,a||""))return"Passwords do not match";return"";default:return""}};var f=a(35695),g=a(38543);a(85716);var b=a(33109),v=a(38564),y=a(71539),w=a(18186),j=a(16785),N=a(17580),k=a(72713);let C=(0,a(19946).A)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);function P(e){for(var t=1;t{(0,R.J)()&&D.push("/competitions")},[D]);let I=(e,t)=>{p(a=>({...a,[e]:t})),P(t=>({...t,[e]:""}))},S=e=>{let t={email:h("email",u.email),username:"register"===e?h("username",u.username):"",password:h("password",u.password),confirmPassword:"register"===e?h("confirmPassword",u.confirmPassword,u.password):""};return P(t),!Object.values(t).some(e=>""!==e)},T=async e=>{e.preventDefault(),t(!0),P({email:"",username:"",password:"",confirmPassword:""});try{if("login"===a){if(S("login")){let e=await (0,c.iD)({email:u.email,password:u.password});localStorage.setItem("token",e.token),A.set("token",e.token,{expires:7,secure:!0,sameSite:"strict",path:"/"}),g.oR.success("Login successful!"),D.push("/dashboard")}}else if(S("register")){let e=await (0,c.kz)({email:u.email,username:u.username,password:u.password});localStorage.setItem("token",e.token),A.set("token",e.token,{expires:7,secure:!0,sameSite:"strict",path:"/"}),g.oR.success("Registration successful!"),D.push("/dashboard")}}catch(e){e instanceof Error?(P({email:"",username:"",password:"",confirmPassword:""}),g.oR.error(e.message)):(P({email:"",username:"",password:"",confirmPassword:""}),g.oR.error("An unexpected error occurred"))}finally{t(!1)}},E=e=>Array.from({length:e},(e,t)=>({id:t,left:100*Math.random(),top:100*Math.random(),size:3*Math.random()+1,opacity:.8*Math.random()+.2,animationDelay:4*Math.random(),animationDuration:3*Math.random()+2})),[M,z]=(0,s.useState)([]);return(0,s.useEffect)(()=>{z(E(150));let e=setInterval(()=>{z(E(150))},4e3);return()=>{clearInterval(e)}},[]),(0,r.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-slate-950 via-purple-950 to-slate-950 relative overflow-hidden",children:[(0,r.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute -top-40 -right-40 w-80 h-80 bg-purple-500/20 rounded-full blur-3xl animate-pulse"}),(0,r.jsx)("div",{className:"absolute -bottom-40 -left-40 w-80 h-80 bg-blue-500/20 rounded-full blur-3xl animate-pulse delay-1000"}),(0,r.jsx)("div",{className:"absolute top-1/2 left-1/2 w-60 h-60 bg-green-500/10 rounded-full blur-3xl animate-bounce delay-500"}),M.map(e=>(0,r.jsx)("div",{className:"absolute bg-white rounded-full animate-pulse",style:{left:"".concat(e.left,"%"),top:"".concat(e.top,"%"),width:"".concat(e.size,"px"),height:"".concat(e.size,"px"),opacity:e.opacity,animationDelay:"".concat(e.animationDelay,"s"),animationDuration:"".concat(e.animationDuration,"s"),boxShadow:"0 0 ".concat(2*e.size,"px rgba(255, 255, 255, 0.5)")}},e.id)),(0,r.jsx)("div",{className:"absolute top-20 left-20 w-1 h-1 bg-white rounded-full opacity-80",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white to-transparent w-20 h-0.5 animate-ping",style:{animationDuration:"3s",animationDelay:"2s"}})}),(0,r.jsx)("div",{className:"absolute top-40 right-32 w-1 h-1 bg-white rounded-full opacity-60",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white to-transparent w-16 h-0.5 animate-ping",style:{animationDuration:"4s",animationDelay:"5s"}})}),(0,r.jsx)("div",{className:"absolute bottom-32 left-1/3 w-1 h-1 bg-white rounded-full opacity-70",children:(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white to-transparent w-24 h-0.5 animate-ping",style:{animationDuration:"3.5s",animationDelay:"7s"}})}),(0,r.jsx)("div",{className:"absolute top-16 right-16",children:Array.from({length:7},(e,t)=>(0,r.jsx)("div",{className:"absolute bg-white rounded-full animate-pulse",style:{left:"".concat([0,12,8,20,15,25,30][t],"px"),top:"".concat([0,8,20,15,30,25,12][t],"px"),width:"2px",height:"2px",opacity:.8,animationDelay:"".concat(.3*t,"s")}},t))}),(0,r.jsx)("div",{className:"absolute bottom-20 left-16",children:Array.from({length:5},(e,t)=>(0,r.jsx)("div",{className:"absolute bg-blue-200 rounded-full animate-pulse",style:{left:"".concat([0,15,10,25,20][t],"px"),top:"".concat([0,10,25,18,35][t],"px"),width:"1.5px",height:"1.5px",opacity:.7,animationDelay:"".concat(.5*t,"s")}},t))})]}),(0,r.jsx)("div",{className:"relative z-10",children:(0,r.jsxs)("div",{className:"mx-auto px-6 py-12 md:py-20",children:[(0,r.jsxs)("div",{className:"text-center mb-12 md:mb-20",children:[(0,r.jsx)("div",{className:"flex justify-center mb-6 md:mb-8",children:(0,r.jsxs)("div",{className:"relative group",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-purple-500 to-blue-500 rounded-full blur-lg opacity-75 group-hover:opacity-100 transition-opacity duration-300"}),(0,r.jsx)("div",{className:"relative p-4 md:p-6 bg-gradient-to-r from-purple-500 to-blue-500 rounded-full transform group-hover:scale-110 transition-transform duration-300",children:(0,r.jsx)(b.A,{className:"h-6 w-6 text-white"})})]})}),(0,r.jsxs)("div",{className:"mb-6 md:mb-8",children:[(0,r.jsxs)("h1",{className:"text-5xl md:text-3xl lg:text-6xl font-black mb-4",children:[(0,r.jsx)("span",{className:"pr-2 md:pr-3 lg:pr-5 bg-gradient-to-r from-purple-400 via-pink-400 to-blue-400 bg-clip-text text-transparent animate-pulse",children:"Profitly"}),(0,r.jsx)("span",{className:"bg-gradient-to-r from-blue-400 via-cyan-400 to-green-400 bg-clip-text text-transparent",children:"Pro"})]}),(0,r.jsx)("div",{className:"flex justify-center items-center gap-2 mb-4 md:mb-6",children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,r.jsx)(v.A,{className:"h-5 w-5 md:h-6 md:w-6 text-yellow-400 fill-current animate-pulse",style:{animationDelay:"".concat(.2*t,"s")}},t))})]})]}),(0,r.jsxs)("div",{className:"max-w-lg mx-auto mb-12 md:mb-20",children:[(0,r.jsxs)(n.Zp,{className:"bg-gradient-to-br from-slate-800/95 to-slate-900/95 border-purple-500/40 backdrop-blur-lg shadow-2xl shadow-purple-500/20",children:[(0,r.jsxs)(n.aR,{className:"text-center pb-4 md:pb-6",children:[(0,r.jsx)("div",{className:"flex justify-center mb-3 md:mb-4",children:(0,r.jsx)("div",{className:"p-2 md:p-3 bg-gradient-to-r from-purple-500 to-blue-500 rounded-full",children:(0,r.jsx)(y.A,{className:"h-6 w-6 md:h-8 md:w-8 text-white"})})}),(0,r.jsx)(n.ZB,{className:"text-2xl md:text-3xl bg-gradient-to-r from-purple-400 to-blue-400 bg-clip-text text-transparent mb-2",children:"Join the Game"}),(0,r.jsx)(n.BT,{className:"text-gray-400 text-base md:text-lg",children:"Start your trading journey today"})]}),(0,r.jsx)(n.Wu,{className:"px-4 md:px-8",children:(0,r.jsxs)(d.tU,{defaultValue:"login",className:"w-full",onValueChange:e=>m(e),children:[(0,r.jsxs)(d.j7,{className:"grid w-full grid-cols-2 bg-slate-700/80 backdrop-blur-sm h-10 md:h-12 rounded-xl",children:[(0,r.jsx)(d.Xi,{value:"login",className:"text-sm md:text-base font-medium rounded-lg",children:"Login"}),(0,r.jsx)(d.Xi,{value:"register",className:"text-sm md:text-base font-medium rounded-lg",children:"Register"})]}),(0,r.jsxs)(d.av,{value:"login",className:"space-y-4 md:space-y-6 mt-6 md:mt-8",children:[(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"login-email",className:"text-gray-300 text-sm md:text-base font-medium",children:"Email"}),(0,r.jsx)(i.p,{id:"login-email",type:"email",placeholder:"Enter your email",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-purple-500 focus:border-transparent transition-all",value:u.email,onChange:e=>I("email",e.target.value)}),x.email&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.email})]}),(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"login-password",className:"text-gray-300 text-sm md:text-base font-medium",children:"Password"}),(0,r.jsx)(i.p,{id:"login-password",type:"password",placeholder:"Enter password",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-purple-500 focus:border-transparent transition-all",value:u.password,onChange:e=>I("password",e.target.value)}),x.password&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.password})]}),(0,r.jsx)(o.$,{onClick:T,disabled:e,className:"w-full bg-gradient-to-r from-purple-500 to-blue-500 hover:from-purple-600 hover:to-blue-600 h-10 md:h-12 text-sm md:text-base font-semibold transform hover:scale-105 transition-all duration-200 shadow-lg hover:shadow-xl",children:e?"Logging in...":"\uD83D\uDE80 Login"})]}),(0,r.jsxs)(d.av,{value:"register",className:"space-y-4 md:space-y-6 mt-6 md:mt-8",children:[(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"register-email",className:"text-gray-300 text-sm md:text-base font-medium",children:"Email"}),(0,r.jsx)(i.p,{id:"register-email",type:"email",placeholder:"Enter your email",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-green-500 focus:border-transparent transition-all",value:u.email,onChange:e=>I("email",e.target.value)}),x.email&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.email})]}),(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"register-username",className:"text-gray-300 text-sm md:text-base font-medium",children:"Username"}),(0,r.jsx)(i.p,{id:"register-username",placeholder:"Choose username",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-green-500 focus:border-transparent transition-all",value:u.username,onChange:e=>I("username",e.target.value)}),x.username&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.username})]}),(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"register-password",className:"text-gray-300 text-sm md:text-base font-medium",children:"Password"}),(0,r.jsx)(i.p,{id:"register-password",type:"password",placeholder:"Create password",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-green-500 focus:border-transparent transition-all",value:u.password,onChange:e=>I("password",e.target.value)}),x.password&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.password})]}),(0,r.jsxs)("div",{className:"space-y-2 md:space-y-3",children:[(0,r.jsx)(l.J,{htmlFor:"confirm-password",className:"text-gray-300 text-sm md:text-base font-medium",children:"Confirm Password"}),(0,r.jsx)(i.p,{id:"confirm-password",type:"password",placeholder:"Confirm password",className:"bg-slate-700/80 border-slate-600/50 backdrop-blur-sm h-10 md:h-12 text-sm md:text-base focus:ring-2 focus:ring-green-500 focus:border-transparent transition-all",value:u.confirmPassword,onChange:e=>I("confirmPassword",e.target.value)}),x.confirmPassword&&(0,r.jsx)("p",{className:"text-red-400 text-sm font-medium",children:x.confirmPassword})]}),(0,r.jsx)(o.$,{onClick:T,disabled:e,className:"w-full bg-gradient-to-r from-green-500 to-blue-500 hover:from-green-600 hover:to-blue-600 h-10 md:h-12 text-sm md:text-base font-semibold transform hover:scale-105 transition-all duration-200 shadow-lg hover:shadow-xl",children:e?"Creating Account...":"✨ Create Account"})]})]})})]}),(0,r.jsxs)("p",{className:"text-lg md:text-xl text-center text-gray-300 mb-8 md:mb-12 max-w-4xl mx-auto leading-relaxed px-4 mt-8",children:["\uD83D\uDE80 Master the markets in our ",(0,r.jsx)("span",{className:"text-purple-400 font-semibold",children:"gamified trading platform"}),". Build epic portfolios, dominate leaderboards, and become a ",(0,r.jsx)("span",{className:"text-blue-400 font-semibold",children:"trading legend"}),"."]})]}),(0,r.jsxs)("div",{className:"grid md:grid-cols-3 gap-6 md:gap-8 mb-12 md:mb-16",children:[(0,r.jsxs)(n.Zp,{className:"bg-gradient-to-br from-slate-800/90 to-slate-900/90 border-purple-500/30 backdrop-blur-sm transform hover:scale-105 transition-all duration-300 hover:shadow-2xl hover:shadow-purple-500/25 group",children:[(0,r.jsxs)(n.aR,{className:"pb-3 md:pb-4",children:[(0,r.jsxs)("div",{className:"relative mb-3 md:mb-4",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-yellow-400/20 rounded-full blur-lg group-hover:blur-xl transition-all duration-300"}),(0,r.jsx)(w.A,{className:"h-10 w-10 md:h-12 md:w-12 text-yellow-400 mx-auto relative z-10 group-hover:animate-bounce"})]}),(0,r.jsx)(n.ZB,{className:"text-xl text-center md:text-2xl text-purple-300 group-hover:text-purple-200 transition-colors",children:"Compete & Win"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-gray-400 text-base md:text-lg group-hover:text-gray-300 transition-colors text-center",children:"\uD83C\uDFC6 Climb leaderboards and earn exclusive badges that showcase your trading prowess"})})]}),(0,r.jsxs)(n.Zp,{className:"bg-gradient-to-br from-slate-800/90 to-slate-900/90 border-blue-500/30 backdrop-blur-sm transform hover:scale-105 transition-all duration-300 hover:shadow-2xl hover:shadow-blue-500/25 group",children:[(0,r.jsxs)(n.aR,{className:"pb-3 md:pb-4",children:[(0,r.jsxs)("div",{className:"relative mb-3 md:mb-4",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-blue-400/20 rounded-full blur-lg group-hover:blur-xl transition-all duration-300"}),(0,r.jsx)(j.A,{className:"h-10 w-10 md:h-12 md:w-12 text-blue-400 mx-auto relative z-10 group-hover:animate-spin"})]}),(0,r.jsx)(n.ZB,{className:"text-xl md:text-2xl text-blue-300 group-hover:text-blue-200 transition-colors text-center",children:"3 Portfolios"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-gray-400 text-base md:text-lg group-hover:text-gray-300 transition-colors text-center",children:"\uD83D\uDCCA Manage up to 3 diverse portfolios with 20 carefully selected stocks each"})})]}),(0,r.jsxs)(n.Zp,{className:"bg-gradient-to-br from-slate-800/90 to-slate-900/90 border-green-500/30 backdrop-blur-sm transform hover:scale-105 transition-all duration-300 hover:shadow-2xl hover:shadow-green-500/25 group",children:[(0,r.jsxs)(n.aR,{className:"pb-3 md:pb-4",children:[(0,r.jsxs)("div",{className:"relative mb-3 md:mb-4",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-green-400/20 rounded-full blur-lg group-hover:blur-xl transition-all duration-300"}),(0,r.jsx)(N.A,{className:"h-10 w-10 md:h-12 md:w-12 text-green-400 mx-auto relative z-10 group-hover:animate-pulse"})]}),(0,r.jsx)(n.ZB,{className:"text-xl md:text-2xl text-green-300 group-hover:text-green-200 transition-colors text-center",children:"Clone Success"})]}),(0,r.jsx)(n.Wu,{children:(0,r.jsx)("p",{className:"text-gray-400 text-base md:text-lg group-hover:text-gray-300 transition-colors text-center",children:"\uD83C\uDFAF Copy winning strategies from top performers and learn from the best"})})]})]}),(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-6 md:gap-8 text-center",children:[{icon:N.A,number:"10K+",label:"Active Traders",color:"purple"},{icon:k.A,number:"$2.5M",label:"Virtual Volume",color:"blue"},{icon:j.A,number:"500+",label:"Available Stocks",color:"green"},{icon:C,number:"24/7",label:"Market Simulation",color:"yellow"}].map((e,t)=>(0,r.jsxs)("div",{className:"group transform hover:scale-110 transition-all duration-300",children:[(0,r.jsx)("div",{className:"mb-4 flex justify-center",children:(0,r.jsx)("div",{className:"p-4 bg-".concat(e.color,"-500/20 rounded-full group-hover:bg-").concat(e.color,"-500/30 transition-colors"),children:(0,r.jsx)(e.icon,{className:"h-8 w-8 text-".concat(e.color,"-400 group-hover:animate-pulse")})})}),(0,r.jsx)("div",{className:"text-4xl font-black text-".concat(e.color,"-400 mb-2 group-hover:text-").concat(e.color,"-300 transition-colors"),children:e.number}),(0,r.jsx)("div",{className:"text-gray-400 text-lg font-medium group-hover:text-gray-300 transition-colors",children:e.label})]},t))})]})})]})}},72713:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(19946).A)("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]])},82714:(e,t,a)=>{"use strict";a.d(t,{J:()=>d});var r=a(95155),s=a(12115),o=a(40968),n=a(74466),i=a(53999);let l=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(o.b,{ref:t,className:(0,i.cn)(l(),a),...s})});d.displayName=o.b.displayName},85716:()=>{},88482:(e,t,a)=>{"use strict";a.d(t,{BT:()=>d,Wu:()=>c,ZB:()=>l,Zp:()=>n,aR:()=>i});var r=a(95155),s=a(12115),o=a(53999);let n=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",a),...s})});n.displayName="Card";let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("flex flex-col space-y-1.5 p-6",a),...s})});i.displayName="CardHeader";let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("text-2xl font-semibold leading-none tracking-tight",a),...s})});l.displayName="CardTitle";let d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",a),...s})});d.displayName="CardDescription";let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("p-6 pt-0",a),...s})});c.displayName="CardContent",s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("div",{ref:t,className:(0,o.cn)("flex items-center p-6 pt-0",a),...s})}).displayName="CardFooter"},88783:(e,t,a)=>{"use strict";a.d(t,{$_:()=>o});let r={NEXT_PUBLIC_API_URL:"https://portfolio-backend-1-6akd.onrender.com"},s={development:r,stage:r,production:{NEXT_PUBLIC_API_URL:"https://portfolio-backend-1-6akd.onrender.com"}};function o(e,t){return s[e][t]}},89852:(e,t,a)=>{"use strict";a.d(t,{p:()=>n});var r=a(95155),s=a(12115),o=a(53999);let n=s.forwardRef((e,t)=>{let{className:a,type:s,...n}=e;return(0,r.jsx)("input",{type:s,className:(0,o.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...n})});n.displayName="Input"},97168:(e,t,a)=>{"use strict";a.d(t,{$:()=>d});var r=a(95155),s=a(12115),o=a(99708),n=a(74466),i=a(53999);let l=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>{let{className:a,variant:s,size:n,asChild:d=!1,...c}=e,m=d?o.DX:"button";return(0,r.jsx)(m,{className:(0,i.cn)(l({variant:s,size:n,className:a})),ref:t,...c})});d.displayName="Button"}},e=>{var t=t=>e(e.s=t);e.O(0,[797,49,52,128,441,684,358],()=>t(10061)),_N_E=e.O()}]);