/* ───── Card art components ───── Card back patterns (3 variants) and three card faces. All SVG, rendered crisp at any size. Gold-on-velvet / gold-on-ivory. */ const CardBack = ({ variant = "star" }) => { // 3 variants of card back if (variant === "moon") { return ( {/* Double border */} {/* Crescent moon center */} {/* tiny stars around */} {[[-40,-50],[42,-55],[-50,40],[48,46],[0,-66],[0,66]].map(([x,y],i)=>( ))} {/* corner ornaments */} {[[24,24,0],[176,24,90],[176,296,180],[24,296,270]].map(([x,y,r],i)=>( ))} ); } if (variant === "diamond") { return ( {/* Borders */} {/* Center sigil */} A ); } // default — star with rays return ( {/* Inner double border with corner motif */} {/* Tile of small stars */} {Array.from({length: 24}).map((_,i)=>{ const cols=4, rows=6; const x = 32 + (i % cols) * 45; const y = 50 + Math.floor(i / cols) * 45; return ; })} {/* Center 8-point star */} {Array.from({length:8}).map((_,i)=>( ))} {/* Bottom monogram */} ASTRO ANNIE ); }; /* ─── Card faces ─── */ // Common card-face chrome (border + paper texture + bottom label) const FaceFrame = ({ children, romanNumeral, title }) => ( {/* gold borders */} {/* roman numeral top */} {romanNumeral} {/* art */} {children} {/* divider */} {/* title at bottom */} {title} ASTRO ANNIE ); // Past — "The Beginning". Rising sun over a horizon line with mountains const CardFacePast = () => ( {/* sun + rays */} {Array.from({length: 12}).map((_,i)=>( ))} {/* face hint — minimal eyes/smile */} {/* horizon */} {/* mountains */} {/* small stars in sky */} {[[40,80],[160,75],[55,55],[145,55],[100,52]].map(([x,y],i)=>( ))} ); // Present — "The Reading". Eye / mandala / hand of cards const CardFacePresent = () => ( {/* outer petals */} {Array.from({length: 12}).map((_,i)=>( ))} {/* outer ring */} {/* the eye */} {/* rays */} {Array.from({length:8}).map((_,i)=>( ))} {/* small celestial symbols below */} ); // Future — "The Teaching". Tree of knowledge / hand with stars / open book const CardFaceFuture = () => ( {/* book */} {/* page lines */} {[3,7,11].map((y,i)=>( ))} {/* rising stars from book */} {[[-18,0,5],[0,-15,7],[20,-5,5],[-30,-10,4],[28,-22,4]].map(([x,y,s],i)=>( ))} {/* infinity-like loop above */} ); Object.assign(window, { CardBack, CardFacePast, CardFacePresent, CardFaceFuture });