1125 lines
49 KiB
TypeScript
1125 lines
49 KiB
TypeScript
"use client";
|
|||
|
|
|
||
|
|
/**
|
||
|
|
* The tarot cards, drawn as SVG in the "celestial astrolabe" style of the
|
||
|
|
* Sorsfonalak chart wheel (from the tarot design studio): every major arcana
|
||
|
|
* has its own symbol, the minor arcana show their suit and rank.
|
||
|
|
*/
|
||
|
|
|
||
|
|
import { useId } from "react";
|
||
|
|
|
||
|
|
import type { MinorRank, TarotCardData, TarotElement, TarotSuit } from "@/lib/tarot";
|
||
|
|
|
||
|
|
const GOLD = "#DFC180";
|
||
|
|
const BRIGHT = "#F2DDA8";
|
||
|
|
/** The line weight of the drawings. */
|
||
|
|
const SW = 1.18;
|
||
|
|
|
||
|
|
const ELEMENT_COLOR: Record<TarotElement, string> = {
|
||
|
|
Levegő: '#6C95C9',
|
||
|
|
Víz: '#75A1D0',
|
||
|
|
Tűz: '#D89A68',
|
||
|
|
Föld: '#C9AD72',
|
||
|
|
Éter: '#DFC180',
|
||
|
|
};
|
||
|
|
|
||
|
|
function getSuitAccent(suit: TarotSuit, secondaryDefault: string): string {
|
||
|
|
switch (suit) {
|
||
|
|
case 'wands':
|
||
|
|
return '#D89A68';
|
||
|
|
case 'cups':
|
||
|
|
return '#6C95C9';
|
||
|
|
case 'swords':
|
||
|
|
return '#9BB7DB';
|
||
|
|
case 'pentacles':
|
||
|
|
return '#C8B078';
|
||
|
|
default:
|
||
|
|
return secondaryDefault;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/** Crisp reusable suit emblem centered at (0,0), nominal radius ~14 */
|
||
|
|
function SuitEmblem({
|
||
|
|
suit,
|
||
|
|
gold,
|
||
|
|
secondary,
|
||
|
|
sw,
|
||
|
|
scale = 1,
|
||
|
|
}: {
|
||
|
|
suit: Exclude<TarotSuit, 'major'>;
|
||
|
|
gold: string;
|
||
|
|
secondary: string;
|
||
|
|
sw: number;
|
||
|
|
scale?: number;
|
||
|
|
}) {
|
||
|
|
return (
|
||
|
|
<g transform={`scale(${scale})`}>
|
||
|
|
{suit === 'wands' && (
|
||
|
|
<g>
|
||
|
|
<line x1="0" y1="-16" x2="0" y2="16" stroke={gold} strokeWidth={sw * 1.45} strokeLinecap="round" />
|
||
|
|
<path d="M 0 -5 C 5 -8, 7 -11, 5 -13 C 2 -11, 1 -8, 0 -5 Z" fill={secondary} fillOpacity="0.35" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M 0 3 C -5 0, -7 -3, -5 -5 C -2 -3, -1 0, 0 3 Z" fill={secondary} fillOpacity="0.35" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M 0 -20 C 3 -17, 3 -14, 0 -13 C -3 -14, -3 -17, 0 -20 Z" fill={secondary} stroke={gold} strokeWidth={sw * 0.8} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
{suit === 'cups' && (
|
||
|
|
<g>
|
||
|
|
<path
|
||
|
|
d="M -9 -11 L 9 -11 C 9 -2, 5 2, 0 3 C -5 2, -9 -2, -9 -11 Z"
|
||
|
|
fill={secondary}
|
||
|
|
fillOpacity="0.18"
|
||
|
|
stroke={gold}
|
||
|
|
strokeWidth={sw * 1.1}
|
||
|
|
strokeLinejoin="round"
|
||
|
|
/>
|
||
|
|
<line x1="0" y1="3" x2="0" y2="12" stroke={gold} strokeWidth={sw * 1.2} />
|
||
|
|
<path d="M -7 14 C -4 11.5, 4 11.5, 7 14 Z" fill="none" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M -5 -14 Q 0 -17 5 -14" fill="none" stroke={secondary} strokeWidth={sw * 0.85} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
{suit === 'swords' && (
|
||
|
|
<g>
|
||
|
|
<path d="M 0 -18 L 2.3 -12 L 2.3 5 L -2.3 5 L -2.3 -12 Z" fill={secondary} fillOpacity="0.16" stroke={gold} strokeWidth={sw} strokeLinejoin="round" />
|
||
|
|
<line x1="0" y1="-13" x2="0" y2="4" stroke={secondary} strokeWidth={sw * 0.75} />
|
||
|
|
<path d="M -8 5 Q 0 8 8 5" fill="none" stroke={gold} strokeWidth={sw * 1.3} strokeLinecap="round" />
|
||
|
|
<line x1="0" y1="6" x2="0" y2="13" stroke={gold} strokeWidth={sw * 1.3} />
|
||
|
|
<circle cx="0" cy="14.5" r="2" fill={gold} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
{suit === 'pentacles' && (
|
||
|
|
<g>
|
||
|
|
<circle cx="0" cy="0" r="12.5" fill={gold} fillOpacity="0.08" stroke={gold} strokeWidth={sw * 1.15} />
|
||
|
|
<circle cx="0" cy="0" r="9.5" fill="none" stroke={secondary} strokeWidth={sw * 0.65} strokeOpacity="0.7" />
|
||
|
|
<polygon
|
||
|
|
points="0,-9.5 2.3,-3.1 9,-3.1 3.6,1.2 5.6,7.7 0,3.8 -5.6,7.7 -3.6,1.2 -9,-3.1 -2.3,-3.1"
|
||
|
|
fill="none"
|
||
|
|
stroke={gold}
|
||
|
|
strokeWidth={sw * 0.95}
|
||
|
|
strokeLinejoin="round"
|
||
|
|
/>
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
/** Pip coordinates in local central box (-60..60 x, -105..105 y) */
|
||
|
|
const PIP_LAYOUTS: Record<number, Array<[number, number]>> = {
|
||
|
|
2: [
|
||
|
|
[0, -48],
|
||
|
|
[0, 48],
|
||
|
|
],
|
||
|
|
3: [
|
||
|
|
[0, -56],
|
||
|
|
[-34, 34],
|
||
|
|
[34, 34],
|
||
|
|
],
|
||
|
|
4: [
|
||
|
|
[-34, -44],
|
||
|
|
[34, -44],
|
||
|
|
[-34, 44],
|
||
|
|
[34, 44],
|
||
|
|
],
|
||
|
|
5: [
|
||
|
|
[-36, -50],
|
||
|
|
[36, -50],
|
||
|
|
[0, 0],
|
||
|
|
[-36, 50],
|
||
|
|
[36, 50],
|
||
|
|
],
|
||
|
|
6: [
|
||
|
|
[-36, -56],
|
||
|
|
[36, -56],
|
||
|
|
[-36, 0],
|
||
|
|
[36, 0],
|
||
|
|
[-36, 56],
|
||
|
|
[36, 56],
|
||
|
|
],
|
||
|
|
7: [
|
||
|
|
[-36, -62],
|
||
|
|
[36, -62],
|
||
|
|
[0, -24],
|
||
|
|
[-36, 16],
|
||
|
|
[36, 16],
|
||
|
|
[-36, 66],
|
||
|
|
[36, 66],
|
||
|
|
],
|
||
|
|
8: [
|
||
|
|
[-36, -68],
|
||
|
|
[36, -68],
|
||
|
|
[-36, -22],
|
||
|
|
[36, -22],
|
||
|
|
[-36, 22],
|
||
|
|
[36, 22],
|
||
|
|
[-36, 68],
|
||
|
|
[36, 68],
|
||
|
|
],
|
||
|
|
9: [
|
||
|
|
[-38, -70],
|
||
|
|
[38, -70],
|
||
|
|
[-38, -24],
|
||
|
|
[38, -24],
|
||
|
|
[0, 0],
|
||
|
|
[-38, 24],
|
||
|
|
[38, 24],
|
||
|
|
[-38, 70],
|
||
|
|
[38, 70],
|
||
|
|
],
|
||
|
|
10: [
|
||
|
|
[-38, -74],
|
||
|
|
[38, -74],
|
||
|
|
[0, -44],
|
||
|
|
[-38, -14],
|
||
|
|
[38, -14],
|
||
|
|
[-38, 28],
|
||
|
|
[38, 28],
|
||
|
|
[0, 56],
|
||
|
|
[-38, 78],
|
||
|
|
[38, 78],
|
||
|
|
],
|
||
|
|
};
|
||
|
|
|
||
|
|
function renderMinorComposition(
|
||
|
|
suit: Exclude<TarotSuit, 'major'>,
|
||
|
|
rank: MinorRank,
|
||
|
|
gold: string,
|
||
|
|
bright: string,
|
||
|
|
secondary: string,
|
||
|
|
sw: number,
|
||
|
|
) {
|
||
|
|
// Ace (Ász)
|
||
|
|
if (rank === 1) {
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Radiant astrological rays */}
|
||
|
|
<circle cx="0" cy="0" r="64" fill={gold} fillOpacity="0.04" stroke={gold} strokeWidth={sw * 0.75} />
|
||
|
|
<circle cx="0" cy="0" r="46" fill="none" stroke={secondary} strokeWidth={sw * 0.8} strokeOpacity="0.6" />
|
||
|
|
{[0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330].map((deg) => {
|
||
|
|
const r1 = deg % 90 === 0 ? 52 : 56;
|
||
|
|
const r2 = deg % 90 === 0 ? 74 : 67;
|
||
|
|
const rad = (deg * Math.PI) / 180;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={deg}
|
||
|
|
x1={Math.cos(rad) * r1}
|
||
|
|
y1={Math.sin(rad) * r1}
|
||
|
|
x2={Math.cos(rad) * r2}
|
||
|
|
y2={Math.sin(rad) * r2}
|
||
|
|
stroke={deg % 90 === 0 ? bright : secondary}
|
||
|
|
strokeWidth={sw * 0.85}
|
||
|
|
strokeOpacity="0.7"
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
{/* Celestial cloud/crown arc below */}
|
||
|
|
<path d="M -38 56 Q -18 44 0 54 Q 18 44 38 56" fill="none" stroke={gold} strokeWidth={sw} strokeOpacity="0.75" />
|
||
|
|
<SuitEmblem suit={suit} gold={bright} secondary={secondary} sw={sw} scale={2.25} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
// Court cards: Page / Knight / Queen / King
|
||
|
|
if (rank === 'page' || rank === 'knight' || rank === 'queen' || rank === 'king') {
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Sanctuary arch or heraldic diamond */}
|
||
|
|
<path d="M -56 84 L -56 -32 A 56 56 0 0 1 56 -32 L 56 84 Z" fill={gold} fillOpacity="0.03" stroke={gold} strokeWidth={sw * 0.85} strokeOpacity="0.6" />
|
||
|
|
|
||
|
|
{/* Rank-specific crown / heraldry */}
|
||
|
|
{rank === 'page' && (
|
||
|
|
<g transform="translate(0 -52)">
|
||
|
|
{/* Messenger feather & twin stars */}
|
||
|
|
<path d="M -18 10 Q -4 -14 14 -16 Q 6 -2 -8 12 Z" fill={secondary} fillOpacity="0.25" stroke={bright} strokeWidth={sw} />
|
||
|
|
<circle cx="-26" cy="4" r="2" fill={gold} />
|
||
|
|
<circle cx="26" cy="4" r="2" fill={gold} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
|
||
|
|
{rank === 'knight' && (
|
||
|
|
<g transform="translate(0 -50)">
|
||
|
|
{/* Winged crest & chevron */}
|
||
|
|
<path d="M -28 8 L 0 -14 L 28 8" fill="none" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
<path d="M -18 14 L 0 -2 L 18 14" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
<polygon points="0,-24 3,-18 0,-12 -3,-18" fill={bright} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
|
||
|
|
{rank === 'queen' && (
|
||
|
|
<g transform="translate(0 -52)">
|
||
|
|
{/* Lunar floral diadem */}
|
||
|
|
<path d="M -28 10 C -22 -6, -10 -12, 0 -12 C 10 -12, 22 -6, 28 10" fill="none" stroke={bright} strokeWidth={sw * 1.15} />
|
||
|
|
<circle cx="0" cy="-16" r="5" fill={gold} fillOpacity="0.25" stroke={bright} strokeWidth={sw} />
|
||
|
|
<path d="M -14 -9 Q -16 -18 -9 -20" fill="none" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M 14 -9 Q 16 -18 9 -20" fill="none" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
|
||
|
|
{rank === 'king' && (
|
||
|
|
<g transform="translate(0 -52)">
|
||
|
|
{/* Solar 5-point crown */}
|
||
|
|
<path
|
||
|
|
d="M -28 12 L -32 -8 L -15 2 L 0 -18 L 15 2 L 32 -8 L 28 12 Z"
|
||
|
|
fill={gold}
|
||
|
|
fillOpacity="0.16"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.15}
|
||
|
|
strokeLinejoin="round"
|
||
|
|
/>
|
||
|
|
<circle cx="0" cy="-22" r="2.2" fill={bright} />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
|
||
|
|
{/* Central figure medallion */}
|
||
|
|
<circle cx="0" cy="12" r="38" fill="#0B101D" fillOpacity="0.7" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="0" cy="12" r="31" fill="none" stroke={secondary} strokeWidth={sw * 0.65} strokeDasharray="2 3" />
|
||
|
|
<g transform="translate(0 12)">
|
||
|
|
<SuitEmblem suit={suit} gold={bright} secondary={secondary} sw={sw} scale={1.55} />
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Supporting base pillar lines */}
|
||
|
|
<line x1="-38" y1="68" x2="38" y2="68" stroke={gold} strokeWidth={sw * 0.9} strokeOpacity="0.75" />
|
||
|
|
<circle cx="-38" cy="68" r="2.2" fill={gold} />
|
||
|
|
<circle cx="38" cy="68" r="2.2" fill={gold} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
// Numbered pips (2..10) connected with sorsfonalak aspect geometry
|
||
|
|
const coords = PIP_LAYOUTS[rank] || [];
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Subtle geometric aspect thread connecting pips */}
|
||
|
|
{coords.length >= 2 && (
|
||
|
|
<polygon
|
||
|
|
points={coords.map(([x, y]) => `${x},${y}`).join(' ')}
|
||
|
|
fill={secondary}
|
||
|
|
fillOpacity="0.04"
|
||
|
|
stroke={secondary}
|
||
|
|
strokeWidth={sw * 0.7}
|
||
|
|
strokeOpacity="0.45"
|
||
|
|
/>
|
||
|
|
)}
|
||
|
|
{coords.length >= 4 && (
|
||
|
|
<line
|
||
|
|
x1={coords[0][0]}
|
||
|
|
y1={coords[0][1]}
|
||
|
|
x2={coords[coords.length - 1][0]}
|
||
|
|
y2={coords[coords.length - 1][1]}
|
||
|
|
stroke={gold}
|
||
|
|
strokeWidth={sw * 0.55}
|
||
|
|
strokeOpacity="0.3"
|
||
|
|
/>
|
||
|
|
)}
|
||
|
|
{coords.map(([x, y], idx) => (
|
||
|
|
<g key={idx} transform={`translate(${x} ${y})`}>
|
||
|
|
<SuitEmblem
|
||
|
|
suit={suit}
|
||
|
|
gold={gold}
|
||
|
|
secondary={secondary}
|
||
|
|
sw={sw}
|
||
|
|
scale={coords.length >= 8 ? 0.72 : coords.length >= 5 ? 0.82 : 0.95}
|
||
|
|
/>
|
||
|
|
</g>
|
||
|
|
))}
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
/** Bespoke illustrations for all 22 Major Arcana (0..21) centered in (120, 198) */
|
||
|
|
function renderMajorSymbol(
|
||
|
|
number: number,
|
||
|
|
gold: string,
|
||
|
|
bright: string,
|
||
|
|
secondary: string,
|
||
|
|
sw: number,
|
||
|
|
) {
|
||
|
|
switch (number) {
|
||
|
|
case 0: // A Bolond
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Rising sun in top right */}
|
||
|
|
<circle cx="42" cy="-58" r="18" fill={gold} fillOpacity="0.14" stroke={bright} strokeWidth={sw} />
|
||
|
|
{[0, 45, 90, 135, 180, 225, 270, 315].map((a) => {
|
||
|
|
const rad = (a * Math.PI) / 180;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={a}
|
||
|
|
x1={42 + Math.cos(rad) * 22}
|
||
|
|
y1={-58 + Math.sin(rad) * 22}
|
||
|
|
x2={42 + Math.cos(rad) * 30}
|
||
|
|
y2={-58 + Math.sin(rad) * 30}
|
||
|
|
stroke={gold}
|
||
|
|
strokeWidth={sw * 0.8}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
{/* Cliff edge */}
|
||
|
|
<path d="M -68 88 L -18 32 L 10 42 L -20 88 Z" fill={gold} fillOpacity="0.08" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
{/* Poised traveler silhouette + staff + white rose */}
|
||
|
|
<circle cx="-12" cy="-18" r="8" fill="none" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M -12 -10 L -16 24 L -26 44 M -14 24 L -2 38" fill="none" stroke={bright} strokeWidth={sw * 1.15} strokeLinecap="round" />
|
||
|
|
<line x1="-34" y1="-34" x2="12" y2="28" stroke={gold} strokeWidth={sw} />
|
||
|
|
{/* White rose / eight-petal star in hand */}
|
||
|
|
<circle cx="16" cy="-4" r="9" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
<circle cx="16" cy="-4" r="3" fill={bright} />
|
||
|
|
{/* Horizon waves */}
|
||
|
|
<path d="M 14 68 Q 36 58 66 72" fill="none" stroke={secondary} strokeWidth={sw * 0.85} strokeOpacity="0.7" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 1: // A Mágus
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Lemniscate infinity halo */}
|
||
|
|
<path
|
||
|
|
d="M 0 -72 C 14 -84, 30 -78, 30 -68 C 30 -58, 14 -52, 0 -64 C -14 -52, -30 -58, -30 -68 C -30 -78, -14 -84, 0 -72 Z"
|
||
|
|
fill="none"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.2}
|
||
|
|
/>
|
||
|
|
{/* Central pillar / "As above, so below" axis */}
|
||
|
|
<line x1="0" y1="-44" x2="0" y2="54" stroke={gold} strokeWidth={sw} strokeDasharray="3 3" />
|
||
|
|
<circle cx="0" cy="-12" r="22" fill={gold} fillOpacity="0.07" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
<polygon points="0,-28 14,4 -14,4" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<polygon points="0,12 14,-20 -14,-20" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
{/* Altar table & 4 suit tools */}
|
||
|
|
<rect x="-52" y="42" width="104" height="8" rx="1" fill={gold} fillOpacity="0.14" stroke={gold} strokeWidth={sw} />
|
||
|
|
<line x1="-40" y1="50" x2="-40" y2="82" stroke={gold} strokeWidth={sw} />
|
||
|
|
<line x1="40" y1="50" x2="40" y2="82" stroke={gold} strokeWidth={sw} />
|
||
|
|
{/* Wand, Cup, Sword, Pentacle markers */}
|
||
|
|
<line x1="-36" y1="26" x2="-36" y2="40" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
<path d="M -18 28 L -8 28 L -11 38 L -15 38 Z" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<line x1="12" y1="24" x2="12" y2="40" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<line x1="8" y1="36" x2="16" y2="36" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<circle cx="34" cy="33" r="6" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 2: // A FŐPAPNŐ — The Signature Card!
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Twin Pillars B (dark shadow) and J (luminous gold) */}
|
||
|
|
<g>
|
||
|
|
{/* Left Pillar B */}
|
||
|
|
<rect x="-66" y="-74" width="18" height="156" fill="#070B15" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<rect x="-69" y="-80" width="24" height="7" fill="#0B101D" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<rect x="-69" y="81" width="24" height="7" fill="#0B101D" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<text x="-57" y="4" textAnchor="middle" fill={secondary} fontSize="11" fontFamily="Cormorant Garamond, serif" fontWeight="600">
|
||
|
|
B
|
||
|
|
</text>
|
||
|
|
|
||
|
|
{/* Right Pillar J */}
|
||
|
|
<rect x="48" y="-74" width="18" height="156" fill={gold} fillOpacity="0.12" stroke={gold} strokeWidth={sw} />
|
||
|
|
<rect x="45" y="-80" width="24" height="7" fill={gold} fillOpacity="0.2" stroke={gold} strokeWidth={sw} />
|
||
|
|
<rect x="45" y="81" width="24" height="7" fill={gold} fillOpacity="0.2" stroke={gold} strokeWidth={sw} />
|
||
|
|
<text x="57" y="4" textAnchor="middle" fill={bright} fontSize="11" fontFamily="Cormorant Garamond, serif" fontWeight="600">
|
||
|
|
J
|
||
|
|
</text>
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Veil of Pomegranates suspended between pillars */}
|
||
|
|
<path d="M -48 -68 Q 0 -54 48 -68" fill="none" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M -48 -68 L -48 48 Q 0 36 48 48 L 48 -68" fill={secondary} fillOpacity="0.04" stroke={secondary} strokeWidth={sw * 0.7} strokeOpacity="0.45" />
|
||
|
|
{/* Pomegranate sacred triangle nodes */}
|
||
|
|
{[
|
||
|
|
[-32, -44],
|
||
|
|
[32, -44],
|
||
|
|
[-24, -18],
|
||
|
|
[24, -18],
|
||
|
|
[-30, 12],
|
||
|
|
[30, 12],
|
||
|
|
].map(([px, py], i) => (
|
||
|
|
<g key={i} transform={`translate(${px} ${py})`}>
|
||
|
|
<circle cx="0" cy="0" r="3.4" fill="#D89A68" fillOpacity="0.35" stroke={gold} strokeWidth={sw * 0.75} />
|
||
|
|
<line x1="0" y1="-4.8" x2="0" y2="-3.4" stroke={gold} strokeWidth={sw * 0.75} />
|
||
|
|
</g>
|
||
|
|
))}
|
||
|
|
|
||
|
|
{/* Triple-Moon Isis Crown */}
|
||
|
|
<g transform="translate(0 -46)">
|
||
|
|
<circle cx="0" cy="0" r="9.5" fill={gold} fillOpacity="0.2" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M -18 -7 C -13 -1, -13 5, -18 9 C -10 7, -8 -4, -18 -7 Z" fill={bright} fillOpacity="0.8" />
|
||
|
|
<path d="M 18 -7 C 13 -1, 13 5, 18 9 C 10 7, 8 -4, 18 -7 Z" fill={bright} fillOpacity="0.8" />
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Priestess veiled silhouette & solar cross */}
|
||
|
|
<path
|
||
|
|
d="M -18 -26 C -14 -34, 14 -34, 18 -26 L 28 54 L -28 54 Z"
|
||
|
|
fill="#0D1426"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.15}
|
||
|
|
strokeLinejoin="round"
|
||
|
|
/>
|
||
|
|
<circle cx="0" cy="-22" r="9" fill="#0D1426" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Equal-arm cross on chest */}
|
||
|
|
<line x1="0" y1="-6" x2="0" y2="8" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<line x1="-6" y1="1" x2="6" y2="1" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
|
||
|
|
{/* TORA Scroll */}
|
||
|
|
<rect x="-12" y="16" width="24" height="16" rx="2" fill="#0A0F1C" stroke={gold} strokeWidth={sw} />
|
||
|
|
<text x="0" y="27" textAnchor="middle" fill={bright} fontSize="7" fontFamily="Cormorant Garamond, serif" letterSpacing="1.2">
|
||
|
|
TORA
|
||
|
|
</text>
|
||
|
|
|
||
|
|
{/* Crescent Moon at her feet */}
|
||
|
|
<path
|
||
|
|
d="M -22 62 C -12 76, 12 76, 22 62 C 11 70, -11 70, -22 62 Z"
|
||
|
|
fill={bright}
|
||
|
|
fillOpacity="0.28"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.1}
|
||
|
|
/>
|
||
|
|
{/* Subtle water ripples */}
|
||
|
|
<path d="M -42 78 Q -20 74 0 78 Q 20 82 42 78" fill="none" stroke={secondary} strokeWidth={sw * 0.75} strokeOpacity="0.6" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 3: // Az Uralkodónő
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* 12-star zodiac crown arc */}
|
||
|
|
{Array.from({ length: 7 }).map((_, i) => {
|
||
|
|
const angle = (-150 + i * 20) * (Math.PI / 180);
|
||
|
|
const sx = Math.cos(angle) * 52;
|
||
|
|
const sy = -16 + Math.sin(angle) * 52;
|
||
|
|
return <circle key={i} cx={sx} cy={sy} r="2.2" fill={bright} />;
|
||
|
|
})}
|
||
|
|
{/* Crescent arch & Venusian heart-shield */}
|
||
|
|
<path d="M -48 64 A 52 52 0 1 1 48 64" fill="none" stroke={gold} strokeWidth={sw * 0.9} strokeOpacity="0.6" />
|
||
|
|
<circle cx="0" cy="-12" r="24" fill={gold} fillOpacity="0.1" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
<line x1="0" y1="12" x2="0" y2="38" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
<line x1="-12" y1="25" x2="12" y2="25" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
{/* Wheat / botanical fronds */}
|
||
|
|
<path d="M -38 74 C -40 42, -26 24, -18 16" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M 38 74 C 40 42, 26 24, 18 16" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<circle cx="-30" cy="48" r="2.5" fill={gold} />
|
||
|
|
<circle cx="30" cy="48" r="2.5" fill={gold} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 4: // Az Uralkodó
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Architectural stone throne */}
|
||
|
|
<rect x="-46" y="-56" width="92" height="128" fill={gold} fillOpacity="0.04" stroke={gold} strokeWidth={sw} />
|
||
|
|
<rect x="-32" y="-42" width="64" height="96" fill="none" stroke={secondary} strokeWidth={sw * 0.75} />
|
||
|
|
{/* Aries ram horns emblem */}
|
||
|
|
<path d="M 0 16 L 0 -16 C 0 -34, -28 -36, -24 -16 C -22 -8, -12 -10, -14 -18" fill="none" stroke={bright} strokeWidth={sw * 1.3} strokeLinecap="round" />
|
||
|
|
<path d="M 0 -16 C 0 -34, 28 -36, 24 -16 C 22 -8, 12 -10, 14 -18" fill="none" stroke={bright} strokeWidth={sw * 1.3} strokeLinecap="round" />
|
||
|
|
{/* Ankh scepter & solar orb */}
|
||
|
|
<circle cx="-20" cy="42" r="8" fill={gold} fillOpacity="0.2" stroke={gold} strokeWidth={sw} />
|
||
|
|
<line x1="-20" y1="24" x2="-20" y2="34" stroke={gold} strokeWidth={sw} />
|
||
|
|
<line x1="-25" y1="29" x2="-15" y2="29" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="20" cy="42" r="8" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<line x1="20" y1="20" x2="20" y2="62" stroke={bright} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 5: // A Főpap
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Twin sanctuary columns */}
|
||
|
|
<line x1="-46" y1="-64" x2="-46" y2="76" stroke={secondary} strokeWidth={sw * 1.2} />
|
||
|
|
<line x1="46" y1="-64" x2="46" y2="76" stroke={secondary} strokeWidth={sw * 1.2} />
|
||
|
|
{/* Triple Papal Cross */}
|
||
|
|
<line x1="0" y1="-62" x2="0" y2="38" stroke={bright} strokeWidth={sw * 1.3} />
|
||
|
|
<line x1="-14" y1="-48" x2="14" y2="-48" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<line x1="-22" y1="-34" x2="22" y2="-34" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<line x1="-28" y1="-20" x2="28" y2="-20" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
{/* Crossed Keys of Heaven & Earth */}
|
||
|
|
<g transform="translate(0 46)">
|
||
|
|
<line x1="-24" y1="18" x2="24" y2="-18" stroke={gold} strokeWidth={sw * 1.2} />
|
||
|
|
<line x1="24" y1="18" x2="-24" y2="-18" stroke={secondary} strokeWidth={sw * 1.2} />
|
||
|
|
<circle cx="-24" cy="18" r="6" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="24" cy="18" r="6" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 6: // A Szeretők
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Solar angel radiance at top */}
|
||
|
|
<circle cx="0" cy="-54" r="16" fill={gold} fillOpacity="0.16" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M -52 -42 Q -22 -64 0 -46 Q 22 -64 52 -42" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Two interlocking Vesica Piscis circles */}
|
||
|
|
<circle cx="-20" cy="14" r="32" fill={secondary} fillOpacity="0.06" stroke={secondary} strokeWidth={sw * 1.1} />
|
||
|
|
<circle cx="20" cy="14" r="32" fill={gold} fillOpacity="0.06" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
{/* Central flame / union spark */}
|
||
|
|
<path d="M 0 -2 C 7 10, 7 22, 0 28 C -7 22, -7 10, 0 -2 Z" fill={bright} fillOpacity="0.3" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Mountain peak below */}
|
||
|
|
<path d="M -44 74 L 0 44 L 44 74" fill="none" stroke={gold} strokeWidth={sw * 0.9} strokeOpacity="0.65" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 7: // A Diadalszekér
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Starry canopy */}
|
||
|
|
<path d="M -52 -66 L 52 -66 L 52 -34 L -52 -34 Z" fill={gold} fillOpacity="0.06" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="-28" cy="-50" r="2" fill={bright} />
|
||
|
|
<circle cx="0" cy="-52" r="2.5" fill={bright} />
|
||
|
|
<circle cx="28" cy="-50" r="2" fill={bright} />
|
||
|
|
{/* Chariot shield with winged solar disk */}
|
||
|
|
<rect x="-32" y="-22" width="64" height="58" rx="4" fill="#0B101D" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<circle cx="0" cy="4" r="10" fill={gold} fillOpacity="0.25" stroke={bright} strokeWidth={sw} />
|
||
|
|
<path d="M -24 4 Q -14 -4 -10 4 M 24 4 Q 14 -4 10 4" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Wheels & opposed crescents */}
|
||
|
|
<circle cx="-46" cy="24" r="14" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<circle cx="46" cy="24" r="14" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
<path d="M -32 62 C -24 52, -12 52, -6 62" fill="none" stroke={secondary} strokeWidth={sw * 1.2} />
|
||
|
|
<path d="M 6 62 C 12 52, 24 52, 32 62" fill="none" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 8: // Az Erő
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Lemniscate above */}
|
||
|
|
<path
|
||
|
|
d="M 0 -64 C 12 -74, 24 -68, 24 -60 C 24 -52, 12 -46, 0 -56 C -12 -46, -24 -52, -24 -60 C -24 -68, -12 -74, 0 -64 Z"
|
||
|
|
fill="none"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.15}
|
||
|
|
/>
|
||
|
|
{/* Solar Lion Mane Geometry */}
|
||
|
|
<circle cx="0" cy="8" r="44" fill={gold} fillOpacity="0.06" stroke={gold} strokeWidth={sw} strokeDasharray="4 4" />
|
||
|
|
<circle cx="0" cy="8" r="28" fill="none" stroke={bright} strokeWidth={sw * 1.15} />
|
||
|
|
{/* Gentle floral garland ring */}
|
||
|
|
{[0, 45, 90, 135, 180, 225, 270, 315].map((a) => {
|
||
|
|
const rad = (a * Math.PI) / 180;
|
||
|
|
return <circle key={a} cx={Math.cos(rad) * 36} cy={8 + Math.sin(rad) * 36} r="3" fill={secondary} fillOpacity="0.55" stroke={bright} strokeWidth="0.7" />;
|
||
|
|
})}
|
||
|
|
{/* Leo glyph core */}
|
||
|
|
<circle cx="-8" cy="14" r="6" fill="none" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
<path d="M -2 12 C 2 -8, 18 -6, 16 14 C 15 22, 20 26, 24 22" fill="none" stroke={bright} strokeWidth={sw * 1.2} strokeLinecap="round" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 9: // A Remete
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Mountain ridge */}
|
||
|
|
<path d="M -68 78 L -18 28 L 16 56 L 44 36 L 70 78" fill={gold} fillOpacity="0.05" stroke={secondary} strokeWidth={sw} />
|
||
|
|
{/* Star-lantern raised high */}
|
||
|
|
<g transform="translate(18 -34)">
|
||
|
|
<circle cx="0" cy="0" r="24" fill={gold} fillOpacity="0.09" />
|
||
|
|
<polygon points="0,-16 13,8 -13,8" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<polygon points="0,16 13,-8 -13,-8" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<circle cx="0" cy="0" r="3" fill={bright} />
|
||
|
|
</g>
|
||
|
|
{/* Hooded sage silhouette & staff */}
|
||
|
|
<path d="M -22 -42 C -32 -28, -32 10, -28 54 L -4 54 C -2 12, -8 -24, -22 -42 Z" fill="#0D1426" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
<line x1="4" y1="-16" x2="-10" y2="58" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 10: // A Szerencsekerék
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Corner cherubic arcs */}
|
||
|
|
<path d="M -58 -58 A 20 20 0 0 1 -38 -78" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M 58 -58 A 20 20 0 0 0 38 -78" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M -58 58 A 20 20 0 0 0 -38 78" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M 58 58 A 20 20 0 0 1 38 78" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
{/* 8-spoked Wheel of Fate */}
|
||
|
|
<circle cx="0" cy="0" r="54" fill={gold} fillOpacity="0.05" stroke={bright} strokeWidth={sw * 1.25} />
|
||
|
|
<circle cx="0" cy="0" r="38" fill="none" stroke={gold} strokeWidth={sw * 0.85} />
|
||
|
|
<circle cx="0" cy="0" r="12" fill="#0B101D" stroke={bright} strokeWidth={sw} />
|
||
|
|
{[0, 45, 90, 135, 180, 225, 270, 315].map((a) => {
|
||
|
|
const rad = (a * Math.PI) / 180;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={a}
|
||
|
|
x1={Math.cos(rad) * 12}
|
||
|
|
y1={Math.sin(rad) * 12}
|
||
|
|
x2={Math.cos(rad) * 54}
|
||
|
|
y2={Math.sin(rad) * 54}
|
||
|
|
stroke={a % 90 === 0 ? bright : secondary}
|
||
|
|
strokeWidth={sw * 0.85}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
{/* T A R O cardinal letters */}
|
||
|
|
<text x="0" y="-43" textAnchor="middle" fill={bright} fontSize="7" fontFamily="Cormorant Garamond, serif">T</text>
|
||
|
|
<text x="46" y="3" textAnchor="middle" fill={bright} fontSize="7" fontFamily="Cormorant Garamond, serif">A</text>
|
||
|
|
<text x="0" y="49" textAnchor="middle" fill={bright} fontSize="7" fontFamily="Cormorant Garamond, serif">R</text>
|
||
|
|
<text x="-46" y="3" textAnchor="middle" fill={bright} fontSize="7" fontFamily="Cormorant Garamond, serif">O</text>
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 11: // Az Igazságosság
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Twin pillars */}
|
||
|
|
<line x1="-54" y1="-68" x2="-54" y2="74" stroke={secondary} strokeWidth={sw} strokeOpacity="0.55" />
|
||
|
|
<line x1="54" y1="-68" x2="54" y2="74" stroke={secondary} strokeWidth={sw} strokeOpacity="0.55" />
|
||
|
|
{/* Upright Sword */}
|
||
|
|
<line x1="0" y1="-68" x2="0" y2="66" stroke={bright} strokeWidth={sw * 1.4} />
|
||
|
|
<path d="M 0 -68 L 4 -54 L 4 36 L -4 36 L -4 -54 Z" fill={gold} fillOpacity="0.16" stroke={bright} strokeWidth={sw} />
|
||
|
|
<line x1="-18" y1="36" x2="18" y2="36" stroke={bright} strokeWidth={sw * 1.4} />
|
||
|
|
{/* Balanced Scales */}
|
||
|
|
<line x1="-42" y1="-16" x2="42" y2="-16" stroke={gold} strokeWidth={sw * 1.15} />
|
||
|
|
<path d="M -42 -16 L -52 16 L -32 16 Z" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M -54 16 Q -42 26 -30 16 Z" fill={gold} fillOpacity="0.2" stroke={gold} strokeWidth={sw} />
|
||
|
|
<path d="M 42 -16 L 32 16 L 52 16 Z" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M 30 16 Q 42 26 54 16 Z" fill={gold} fillOpacity="0.2" stroke={gold} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 12: // Az Akasztott Ember
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Living Tau Cross */}
|
||
|
|
<line x1="-54" y1="-64" x2="54" y2="-64" stroke={gold} strokeWidth={sw * 1.5} strokeLinecap="round" />
|
||
|
|
<line x1="-52" y1="-64" x2="-52" y2="76" stroke={gold} strokeWidth={sw} strokeOpacity="0.45" />
|
||
|
|
<line x1="52" y1="-64" x2="52" y2="76" stroke={gold} strokeWidth={sw} strokeOpacity="0.45" />
|
||
|
|
{/* Suspended inverted silhouette */}
|
||
|
|
<line x1="0" y1="-64" x2="0" y2="-28" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M 0 -28 L -14 -8 L 0 8 L 0 36" fill="none" stroke={bright} strokeWidth={sw * 1.15} strokeLinejoin="round" />
|
||
|
|
<path d="M 0 -28 L 12 -14" fill="none" stroke={bright} strokeWidth={sw * 1.15} />
|
||
|
|
<path d="M -16 14 L 0 4 L 16 14" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
{/* Radiant Halo around inverted head */}
|
||
|
|
<circle cx="0" cy="48" r="10" fill="#0B101D" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<circle cx="0" cy="48" r="22" fill={gold} fillOpacity="0.09" stroke={bright} strokeWidth={sw * 0.85} strokeDasharray="3 3" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 13: // A Halál
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Eclipse rising sun between twin horizon towers */}
|
||
|
|
<rect x="-46" y="-8" width="16" height="44" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<rect x="30" y="-8" width="16" height="44" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<line x1="-64" y1="36" x2="64" y2="36" stroke={gold} strokeWidth={sw * 0.9} />
|
||
|
|
<path d="M -22 36 A 22 22 0 0 1 22 36" fill={gold} fillOpacity="0.22" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
{/* Mystic 5-petal white rose banner */}
|
||
|
|
<g transform="translate(0 -44)">
|
||
|
|
<circle cx="0" cy="0" r="20" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
{[0, 72, 144, 216, 288].map((a) => {
|
||
|
|
const rad = (a * Math.PI) / 180;
|
||
|
|
return <circle key={a} cx={Math.cos(rad) * 8} cy={Math.sin(rad) * 8} r="6.5" fill="none" stroke={bright} strokeWidth={sw * 0.9} />;
|
||
|
|
})}
|
||
|
|
<circle cx="0" cy="0" r="3" fill={bright} />
|
||
|
|
</g>
|
||
|
|
{/* Crescent scythe arc below */}
|
||
|
|
<path d="M -40 68 Q 0 46 44 64" fill="none" stroke={bright} strokeWidth={sw * 1.2} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 14: // A Mértékletesség
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Angel wing arcs */}
|
||
|
|
<path d="M -52 -36 Q -24 -64 -4 -26" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M 52 -36 Q 24 -64 4 -26" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
{/* Two diagonal chalices */}
|
||
|
|
<g transform="translate(-30 -20) rotate(25)">
|
||
|
|
<path d="M -9 -8 L 9 -8 L 5 6 L -5 6 Z" fill={gold} fillOpacity="0.18" stroke={bright} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
<g transform="translate(30 34) rotate(-20)">
|
||
|
|
<path d="M -9 -8 L 9 -8 L 5 6 L -5 6 Z" fill={secondary} fillOpacity="0.18" stroke={bright} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
{/* Flowing alchemical water wave */}
|
||
|
|
<path d="M -22 -14 C -4 0, 8 10, 22 28" fill="none" stroke={bright} strokeWidth={sw * 1.35} />
|
||
|
|
<path d="M -25 -10 C -8 6, 4 16, 18 32" fill="none" stroke={secondary} strokeWidth={sw * 0.95} />
|
||
|
|
{/* Solar triangle inside square on chest */}
|
||
|
|
<rect x="-12" y="-6" width="24" height="24" fill="none" stroke={gold} strokeWidth={sw * 0.85} />
|
||
|
|
<polygon points="0,-2 8,14 -8,14" fill="none" stroke={bright} strokeWidth={sw * 0.85} />
|
||
|
|
{/* Pool at base */}
|
||
|
|
<path d="M -46 66 Q 0 58 46 66" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 15: // Az Ördög
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Inverted Pentagram */}
|
||
|
|
<circle cx="0" cy="-18" r="38" fill={gold} fillOpacity="0.04" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<polygon
|
||
|
|
points="0,20 -22,-42 32,-4 -32,-4 22,-42"
|
||
|
|
fill="none"
|
||
|
|
stroke={bright}
|
||
|
|
strokeWidth={sw * 1.15}
|
||
|
|
strokeLinejoin="round"
|
||
|
|
/>
|
||
|
|
{/* Horned crescent */}
|
||
|
|
<path d="M -22 -60 C -14 -48, 14 -48, 22 -60" fill="none" stroke={gold} strokeWidth={sw * 1.2} />
|
||
|
|
{/* Torch & loose chains */}
|
||
|
|
<line x1="0" y1="26" x2="0" y2="54" stroke={gold} strokeWidth={sw * 1.2} />
|
||
|
|
<ellipse cx="-24" cy="58" rx="14" ry="8" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<ellipse cx="24" cy="58" rx="14" ry="8" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M -10 58 Q 0 70 10 58" fill="none" stroke={gold} strokeWidth={sw} strokeDasharray="3 2" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 16: // A Torony
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Stone Tower */}
|
||
|
|
<path d="M -28 76 L -22 -36 L 22 -36 L 28 76 Z" fill={gold} fillOpacity="0.06" stroke={gold} strokeWidth={sw * 1.15} />
|
||
|
|
<line x1="-24" y1="0" x2="24" y2="0" stroke={secondary} strokeWidth={sw * 0.7} />
|
||
|
|
<line x1="-26" y1="36" x2="26" y2="36" stroke={secondary} strokeWidth={sw * 0.7} />
|
||
|
|
<rect x="-8" y="-18" width="16" height="12" fill="#0B101D" stroke={gold} strokeWidth={sw * 0.85} />
|
||
|
|
{/* Tilted falling Crown */}
|
||
|
|
<g transform="translate(12 -52) rotate(22)">
|
||
|
|
<path d="M -16 10 L -18 -4 L -7 3 L 0 -8 L 7 3 L 18 -4 L 16 10 Z" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
{/* Golden Lightning Bolt */}
|
||
|
|
<path d="M -54 -76 L -14 -42 L -26 -38 L 16 -6" fill="none" stroke={bright} strokeWidth={sw * 1.65} strokeLinejoin="round" />
|
||
|
|
{/* Falling sparks */}
|
||
|
|
<circle cx="-38" cy="18" r="2" fill={bright} />
|
||
|
|
<circle cx="40" cy="12" r="2" fill={secondary} />
|
||
|
|
<circle cx="34" cy="42" r="1.8" fill={bright} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 17: // A Csillag
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Main 8-pointed Star of Aquarius */}
|
||
|
|
<g transform="translate(0 -32)">
|
||
|
|
<circle cx="0" cy="0" r="34" fill={gold} fillOpacity="0.05" />
|
||
|
|
<polygon points="0,-28 5,-5 28,0 5,5 0,28 -5,5 -28,0 -5,-5" fill={gold} fillOpacity="0.18" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<polygon points="0,-18 3,-3 18,0 3,3 0,18 -3,3 -18,0 -3,-3" transform="rotate(45)" fill="none" stroke={secondary} strokeWidth={sw * 0.9} />
|
||
|
|
</g>
|
||
|
|
{/* 7 surrounding Pleiades stars */}
|
||
|
|
{[
|
||
|
|
[-46, -54],
|
||
|
|
[46, -54],
|
||
|
|
[-54, -14],
|
||
|
|
[54, -14],
|
||
|
|
[-36, 12],
|
||
|
|
[36, 12],
|
||
|
|
[0, -72],
|
||
|
|
].map(([sx, sy], i) => (
|
||
|
|
<circle key={i} cx={sx} cy={sy} r="2.2" fill={i % 2 === 0 ? bright : secondary} />
|
||
|
|
))}
|
||
|
|
{/* Dual flowing streams into pool */}
|
||
|
|
<path d="M -14 14 C -28 32, -26 48, -34 62" fill="none" stroke={secondary} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M 14 14 C 28 32, 26 48, 34 62" fill="none" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M -56 68 Q -24 58 0 68 Q 24 78 56 68" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<path d="M -42 78 Q 0 70 42 78" fill="none" stroke={gold} strokeWidth={sw * 0.8} strokeOpacity="0.6" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 18: // A Hold
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Full moon enclosing crescent profile */}
|
||
|
|
<circle cx="0" cy="-38" r="28" fill={gold} fillOpacity="0.09" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M 4 -58 A 20 20 0 1 0 4 -18 A 14 20 0 1 1 4 -58 Z" fill={bright} fillOpacity="0.32" stroke={gold} strokeWidth={sw * 0.8} />
|
||
|
|
{/* Twin sentinel towers */}
|
||
|
|
<rect x="-56" y="4" width="16" height="44" fill="#0B101D" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<rect x="40" y="4" width="16" height="44" fill="#0B101D" stroke={secondary} strokeWidth={sw} />
|
||
|
|
{/* Winding path from dark water */}
|
||
|
|
<path d="M -12 78 Q -20 56 0 42 Q 16 28 0 12" fill="none" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
<path d="M 12 78 Q -4 56 12 42 Q 24 28 6 12" fill="none" stroke={gold} strokeWidth={sw * 0.75} strokeOpacity="0.6" />
|
||
|
|
<path d="M -54 74 Q 0 66 54 74" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 19: // A Nap
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Radiant 16-ray Sun */}
|
||
|
|
<circle cx="0" cy="-16" r="28" fill={gold} fillOpacity="0.2" stroke={bright} strokeWidth={sw * 1.3} />
|
||
|
|
<circle cx="0" cy="-16" r="18" fill="none" stroke={gold} strokeWidth={sw * 0.75} />
|
||
|
|
{Array.from({ length: 16 }).map((_, i) => {
|
||
|
|
const rad = ((i * 22.5) * Math.PI) / 180;
|
||
|
|
const outer = i % 2 === 0 ? 58 : 44;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={i}
|
||
|
|
x1={Math.cos(rad) * 31}
|
||
|
|
y1={-16 + Math.sin(rad) * 31}
|
||
|
|
x2={Math.cos(rad) * outer}
|
||
|
|
y2={-16 + Math.sin(rad) * outer}
|
||
|
|
stroke={i % 2 === 0 ? bright : secondary}
|
||
|
|
strokeWidth={sw * (i % 2 === 0 ? 1.1 : 0.85)}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
{/* Stone wall & blooming sunflowers */}
|
||
|
|
<line x1="-58" y1="54" x2="58" y2="54" stroke={gold} strokeWidth={sw * 1.1} />
|
||
|
|
{[-32, 0, 32].map((fx, idx) => (
|
||
|
|
<g key={idx} transform={`translate(${fx} 66)`}>
|
||
|
|
<line x1="0" y1="0" x2="0" y2="14" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="0" cy="-2" r="6.5" fill={gold} fillOpacity="0.22" stroke={bright} strokeWidth={sw * 0.9} />
|
||
|
|
</g>
|
||
|
|
))}
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 20: // A Végítélet
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Trumpet & cross banner from above */}
|
||
|
|
<path d="M 0 -76 L -12 -38 L 12 -38 Z" fill={gold} fillOpacity="0.16" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
<rect x="-18" y="-34" width="36" height="24" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
<line x1="0" y1="-34" x2="0" y2="-10" stroke={bright} strokeWidth={sw} />
|
||
|
|
<line x1="-18" y1="-22" x2="18" y2="-22" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Golden awakening sound rays */}
|
||
|
|
{[-34, -18, 0, 18, 34].map((x, idx) => (
|
||
|
|
<line key={idx} x1={x * 0.3} y1="-4" x2={x} y2="48" stroke={idx % 2 === 0 ? bright : secondary} strokeWidth={sw * 0.85} strokeOpacity="0.7" />
|
||
|
|
))}
|
||
|
|
{/* Rising silhouette from sea horizon */}
|
||
|
|
<path d="M -56 64 Q 0 56 56 64" fill="none" stroke={secondary} strokeWidth={sw * 1.1} />
|
||
|
|
<circle cx="0" cy="40" r="6" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<path d="M -16 32 L 0 48 L 16 32" fill="none" stroke={bright} strokeWidth={sw * 1.1} />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
|
||
|
|
case 21: // A Világ
|
||
|
|
default:
|
||
|
|
return (
|
||
|
|
<g transform="translate(120 198)">
|
||
|
|
{/* Four fixed-sign corner stars */}
|
||
|
|
<circle cx="-50" cy="-64" r="4" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<circle cx="50" cy="-64" r="4" fill="none" stroke={secondary} strokeWidth={sw} />
|
||
|
|
<circle cx="-50" cy="64" r="4" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
<circle cx="50" cy="64" r="4" fill="none" stroke={gold} strokeWidth={sw} />
|
||
|
|
{/* Oval Laurel Wreath */}
|
||
|
|
<ellipse cx="0" cy="0" rx="40" ry="62" fill={gold} fillOpacity="0.05" stroke={bright} strokeWidth={sw * 1.3} />
|
||
|
|
<ellipse cx="0" cy="0" rx="34" ry="56" fill="none" stroke={gold} strokeWidth={sw * 0.75} strokeDasharray="4 4" />
|
||
|
|
{/* Top & Bottom infinity ribbons */}
|
||
|
|
<path d="M -12 -62 C -4 -72, 4 -52, 12 -62" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<path d="M -12 62 C -4 72, 4 52, 12 62" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
{/* Central cosmic dancer / axis */}
|
||
|
|
<circle cx="0" cy="-16" r="7" fill="none" stroke={bright} strokeWidth={sw} />
|
||
|
|
<path d="M -16 -6 Q 0 4 16 -8 M 0 -8 L 0 22 L -12 38 M 0 22 L 14 34" fill="none" stroke={bright} strokeWidth={sw * 1.15} strokeLinecap="round" />
|
||
|
|
</g>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/** The face of a card (upside down when reversed: only the picture turns). */
|
||
|
|
export function TarotCard({ card, reversed = false, className }: { card: TarotCardData; reversed?: boolean; className?: string }) {
|
||
|
|
const glow = useId();
|
||
|
|
const sw = SW;
|
||
|
|
const secondary = getSuitAccent(card.suit, ELEMENT_COLOR[card.element]);
|
||
|
|
const gold = GOLD;
|
||
|
|
const bright = BRIGHT;
|
||
|
|
|
||
|
|
const canvasBg = '#0B101D';
|
||
|
|
|
||
|
|
return (
|
||
|
|
<svg
|
||
|
|
viewBox="0 0 240 400"
|
||
|
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
|
className={className ? `tarot-card ${className}` : "tarot-card"}
|
||
|
|
role="img"
|
||
|
|
aria-label={`${card.nameHu}${reversed ? " (fordított)" : ""}`}
|
||
|
|
>
|
||
|
|
<defs>
|
||
|
|
<radialGradient id={glow} cx="50%" cy="46%" r="54%">
|
||
|
|
<stop
|
||
|
|
offset="0%"
|
||
|
|
stopColor="#18223A"
|
||
|
|
stopOpacity="0.85"
|
||
|
|
/>
|
||
|
|
<stop offset="100%" stopColor={canvasBg} stopOpacity="0" />
|
||
|
|
</radialGradient>
|
||
|
|
</defs>
|
||
|
|
|
||
|
|
{/* Card Substrate */}
|
||
|
|
<rect x="0" y="0" width="240" height="400" rx="14" fill={canvasBg} />
|
||
|
|
<rect x="0" y="0" width="240" height="400" rx="14" fill={`url(#${glow})`} />
|
||
|
|
|
||
|
|
{/* Outer Hairline Frame */}
|
||
|
|
<rect
|
||
|
|
x="8"
|
||
|
|
y="8"
|
||
|
|
width="224"
|
||
|
|
height="384"
|
||
|
|
rx="10"
|
||
|
|
fill="none"
|
||
|
|
stroke={gold}
|
||
|
|
strokeOpacity="0.68"
|
||
|
|
strokeWidth={sw * 0.9}
|
||
|
|
/>
|
||
|
|
|
||
|
|
{/* Inner astrolabe framing */}
|
||
|
|
{(
|
||
|
|
<g>
|
||
|
|
<rect
|
||
|
|
x="14"
|
||
|
|
y="14"
|
||
|
|
width="212"
|
||
|
|
height="372"
|
||
|
|
rx="7"
|
||
|
|
fill="none"
|
||
|
|
stroke={secondary}
|
||
|
|
strokeOpacity="0.28"
|
||
|
|
strokeWidth={sw * 0.7}
|
||
|
|
/>
|
||
|
|
{(
|
||
|
|
<g transform="translate(120 198)" opacity="0.55">
|
||
|
|
<circle cx="0" cy="0" r="88" fill="none" stroke={secondary} strokeWidth={sw * 0.65} strokeOpacity="0.45" />
|
||
|
|
<circle cx="0" cy="0" r="78" fill="none" stroke={gold} strokeWidth={sw * 0.5} strokeOpacity="0.35" strokeDasharray="1.5 4.5" />
|
||
|
|
{/* Degree ticks around orbital ring */}
|
||
|
|
{Array.from({ length: 36 }).map((_, idx) => {
|
||
|
|
const deg = idx * 10;
|
||
|
|
const rad = (deg * Math.PI) / 180;
|
||
|
|
const inner = deg % 30 === 0 ? 82 : 85;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={deg}
|
||
|
|
x1={Math.cos(rad) * inner}
|
||
|
|
y1={Math.sin(rad) * inner}
|
||
|
|
x2={Math.cos(rad) * 88}
|
||
|
|
y2={Math.sin(rad) * 88}
|
||
|
|
stroke={deg % 90 === 0 ? gold : secondary}
|
||
|
|
strokeWidth={deg % 90 === 0 ? 1 : 0.55}
|
||
|
|
strokeOpacity={deg % 30 === 0 ? 0.7 : 0.4}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
{/* Subtle cardinal crosshairs */}
|
||
|
|
<line x1="-96" y1="0" x2="-88" y2="0" stroke={gold} strokeWidth="0.7" strokeOpacity="0.5" />
|
||
|
|
<line x1="88" y1="0" x2="96" y2="0" stroke={gold} strokeWidth="0.7" strokeOpacity="0.5" />
|
||
|
|
<line x1="0" y1="-96" x2="0" y2="-88" stroke={gold} strokeWidth="0.7" strokeOpacity="0.5" />
|
||
|
|
<line x1="0" y1="88" x2="0" y2="96" stroke={gold} strokeWidth="0.7" strokeOpacity="0.5" />
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
|
||
|
|
{/* Top Cartouche: Numeral + Astrological Glyph */}
|
||
|
|
<g>
|
||
|
|
{(
|
||
|
|
<text
|
||
|
|
x="120"
|
||
|
|
y="42"
|
||
|
|
textAnchor="middle"
|
||
|
|
fill={bright}
|
||
|
|
fontSize={card.suit === 'major' ? '15' : '12'}
|
||
|
|
fontFamily="Cormorant Garamond, serif"
|
||
|
|
fontWeight="600"
|
||
|
|
letterSpacing="2.4"
|
||
|
|
>
|
||
|
|
{card.roman ?? card.number}
|
||
|
|
</text>
|
||
|
|
)}
|
||
|
|
{(
|
||
|
|
<g>
|
||
|
|
<text
|
||
|
|
x="198"
|
||
|
|
y="41"
|
||
|
|
textAnchor="middle"
|
||
|
|
fill={secondary}
|
||
|
|
fontSize="12"
|
||
|
|
fontFamily="Plus Jakarta Sans, sans-serif"
|
||
|
|
>
|
||
|
|
{card.astroGlyph}
|
||
|
|
</text>
|
||
|
|
</g>
|
||
|
|
)}
|
||
|
|
<line x1="48" y1="54" x2="192" y2="54" stroke={gold} strokeOpacity="0.28" strokeWidth="0.75" />
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Main Illustration Layer (flipped 180deg if reversed) */}
|
||
|
|
<g transform={reversed ? 'rotate(180 120 198)' : undefined}>
|
||
|
|
{card.suit === 'major'
|
||
|
|
? renderMajorSymbol(card.number, gold, bright, secondary, sw)
|
||
|
|
: renderMinorComposition(card.suit, card.rank!, gold, bright, secondary, sw)}
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Bottom Cartouche: Title & Element Metadata */}
|
||
|
|
<g>
|
||
|
|
<line x1="42" y1="336" x2="198" y2="336" stroke={gold} strokeOpacity="0.32" strokeWidth="0.75" />
|
||
|
|
<text
|
||
|
|
x="120"
|
||
|
|
y="357"
|
||
|
|
textAnchor="middle"
|
||
|
|
fill="#F2F4F8"
|
||
|
|
fontSize="14.5"
|
||
|
|
fontFamily="Cormorant Garamond, serif"
|
||
|
|
fontWeight="600"
|
||
|
|
letterSpacing="0.7"
|
||
|
|
>
|
||
|
|
{card.nameHu}
|
||
|
|
</text>
|
||
|
|
<text
|
||
|
|
x="120"
|
||
|
|
y="374"
|
||
|
|
textAnchor="middle"
|
||
|
|
fill={secondary}
|
||
|
|
fontSize="8.5"
|
||
|
|
fontFamily="Plus Jakarta Sans, sans-serif"
|
||
|
|
letterSpacing="1.6"
|
||
|
|
opacity="0.88"
|
||
|
|
>
|
||
|
|
{`${card.element.toUpperCase()} · ${card.astroRuler.toUpperCase()}`}
|
||
|
|
</text>
|
||
|
|
</g>
|
||
|
|
</svg>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
/** Symmetrical Card Back echoing the exact sorsfonalak natal chart wheel */
|
||
|
|
export function TarotCardBack({ className }: { className?: string }) {
|
||
|
|
const gold = GOLD;
|
||
|
|
const bright = BRIGHT;
|
||
|
|
const sw = SW;
|
||
|
|
|
||
|
|
return (
|
||
|
|
<svg
|
||
|
|
viewBox="0 0 240 400"
|
||
|
|
xmlns="http://www.w3.org/2000/svg"
|
||
|
|
className={className ? `tarot-card ${className}` : "tarot-card"}
|
||
|
|
role="img"
|
||
|
|
aria-label="Tarotkártya hátlapja"
|
||
|
|
>
|
||
|
|
<rect x="0" y="0" width="240" height="400" rx="14" fill="#0B101D" />
|
||
|
|
<rect x="8" y="8" width="224" height="384" rx="10" fill="none" stroke={gold} strokeOpacity="0.65" strokeWidth={sw} />
|
||
|
|
<rect x="15" y="15" width="210" height="370" rx="7" fill="none" stroke="#6C95C9" strokeOpacity="0.32" strokeWidth={sw * 0.7} />
|
||
|
|
|
||
|
|
{/* Top & bottom symmetrical crescents */}
|
||
|
|
<path d="M 96 46 C 106 60, 134 60, 144 46 C 132 54, 108 54, 96 46 Z" fill={gold} fillOpacity="0.35" stroke={bright} strokeWidth={sw * 0.85} />
|
||
|
|
<path d="M 96 354 C 106 340, 134 340, 144 354 C 132 346, 108 346, 96 354 Z" fill={gold} fillOpacity="0.35" stroke={bright} strokeWidth={sw * 0.85} />
|
||
|
|
|
||
|
|
{/* Central Sorsfonalak Natal-Wheel Geometry */}
|
||
|
|
<g transform="translate(120 200)">
|
||
|
|
<circle cx="0" cy="0" r="88" fill="#11182A" fillOpacity="0.7" stroke="#6C95C9" strokeOpacity="0.55" strokeWidth={sw} />
|
||
|
|
<circle cx="0" cy="0" r="72" fill="none" stroke={gold} strokeOpacity="0.6" strokeWidth={sw * 0.85} />
|
||
|
|
<circle cx="0" cy="0" r="48" fill="none" stroke="#6C95C9" strokeOpacity="0.4" strokeWidth={sw * 0.7} />
|
||
|
|
|
||
|
|
{/* 12 Astrological House Spokes */}
|
||
|
|
{Array.from({ length: 12 }).map((_, i) => {
|
||
|
|
const rad = (i * 30 * Math.PI) / 180;
|
||
|
|
return (
|
||
|
|
<line
|
||
|
|
key={i}
|
||
|
|
x1={Math.cos(rad) * 48}
|
||
|
|
y1={Math.sin(rad) * 48}
|
||
|
|
x2={Math.cos(rad) * 88}
|
||
|
|
y2={Math.sin(rad) * 88}
|
||
|
|
stroke={i % 3 === 0 ? gold : '#6C95C9'}
|
||
|
|
strokeOpacity={i % 3 === 0 ? 0.65 : 0.32}
|
||
|
|
strokeWidth={i % 3 === 0 ? 1 : 0.65}
|
||
|
|
/>
|
||
|
|
);
|
||
|
|
})}
|
||
|
|
|
||
|
|
{/* Aspect lines inside inner wheel: blue trigon + copper square */}
|
||
|
|
<polygon points="0,-48 41.5,24 -41.5,24" fill="none" stroke="#6C95C9" strokeOpacity="0.65" strokeWidth={sw * 0.9} />
|
||
|
|
<polygon points="0,48 41.5,-24 -41.5,-24" fill="none" stroke="#6C95C9" strokeOpacity="0.45" strokeWidth={sw * 0.8} strokeDasharray="3 3" />
|
||
|
|
<rect x="-34" y="-34" width="68" height="68" fill="none" stroke="#D89A68" strokeOpacity="0.5" strokeWidth={sw * 0.8} />
|
||
|
|
|
||
|
|
{/* Central 8-point Polaris Star */}
|
||
|
|
<polygon points="0,-20 4,-4 20,0 4,4 0,20 -4,4 -20,0 -4,-4" fill={gold} fillOpacity="0.25" stroke={bright} strokeWidth={sw} />
|
||
|
|
<circle cx="0" cy="0" r="3" fill={bright} />
|
||
|
|
</g>
|
||
|
|
|
||
|
|
{/* Subtle brand monogram at top & bottom */}
|
||
|
|
<text x="120" y="34" textAnchor="middle" fill={gold} fontSize="8" fontFamily="Cormorant Garamond, serif" letterSpacing="2.2" opacity="0.7">
|
||
|
|
SORSFONALAK
|
||
|
|
</text>
|
||
|
|
<text x="120" y="372" textAnchor="middle" fill={gold} fontSize="8" fontFamily="Cormorant Garamond, serif" letterSpacing="2.2" opacity="0.7">
|
||
|
|
SORSFONALAK
|
||
|
|
</text>
|
||
|
|
</svg>
|
||
|
|
);
|
||
|
|
}
|