/* ARCANE DIAGRAM COMPONENT (Da Vinci Style) */

.design-diagram {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    margin: 20px;
}

/* Container for the SVG Geometry */
.geometry-container {
    width: 300px;
    height: 300px;
    position: relative;
}

.davinci-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 1px rgba(212, 175, 55, 0.5));
}

.sketch-line {
    fill: none;
    stroke: #d4af37;
    /* Old Gold */
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.sketch-line.faint {
    stroke-width: 0.8;
    opacity: 0.6;
}

.sketch-line.accent {
    stroke: #e6c288;
    /* Ecru/Lighter Gold */
    stroke-width: 1.5;
}

.rhombus-shape {
    /* Square rotated 45deg */
}

/* TEXT LABELS */
.diagram-label {
    position: absolute;
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    color: #e0d8c0;
    /* Ecru Text */
    text-shadow: 0 0 2px #000;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: none;
}

/* Label Positions calculated for 300x300 container */

/* RHOMBUS EDGES (Diagram 1/3) */
.chk-label-1 {
    top: 70px;
    left: 70px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.chk-label-2 {
    top: 70px;
    right: 70px;
    transform: translate(50%, -50%) rotate(45deg);
}

.chk-label-3 {
    bottom: 70px;
    right: 70px;
    transform: translate(50%, 50%) rotate(-45deg);
}

.chk-label-4 {
    bottom: 70px;
    left: 70px;
    transform: translate(-50%, 50%) rotate(45deg);
}

/* TRIANGLE EDGES (Diagram 1/3) */
.tri-label-top {
    top: 90px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tri-label-right {
    top: 60%;
    right: 100px;
    transform: translate(50%, -50%) rotate(-60deg);
}

.tri-label-left {
    top: 60%;
    left: 100px;
    transform: translate(-50%, -50%) rotate(60deg);
}

.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    color: #d4af37;
    text-align: center;
    font-family: 'Cinzel', serif;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* IP NOTE */
.ip-note {
    width: 300px;
    font-size: 0.55rem;
    color: #887;
    margin-top: 20px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-style: italic;
    opacity: 0.8;
}

/* ACT 2: LOTUS PENTAGRAM LABELS */
/* Labels aligned with 5 vertices of a pentagon (Radius 135px) */
.lotus-label-1 {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.lotus-label-2 {
    top: 108px;
    left: 278px;
    transform: translate(-50%, -50%) rotate(72deg);
}

.lotus-label-3 {
    top: 259px;
    left: 229px;
    transform: translate(-50%, -50%) rotate(144deg);
}

.lotus-label-4 {
    top: 259px;
    left: 71px;
    transform: translate(-50%, -50%) rotate(216deg);
}

.lotus-label-5 {
    top: 108px;
    left: 22px;
    transform: translate(-50%, -50%) rotate(288deg);
}

/* ACT 4: HEXAGRAM LABELS */
/* Labels aligned with 6 vertices of a Hexagon (Radius 135px) */
/* V1 Top (0) */
.hex-label-1 {
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

/* V2 Top Right (60) */
.hex-label-2 {
    top: 83px;
    left: 267px;
    transform: translate(-50%, -50%) rotate(60deg);
}

/* V3 Bottom Right (120) */
.hex-label-3 {
    top: 218px;
    left: 267px;
    transform: translate(-50%, -50%) rotate(120deg);
}

/* V4 Bottom (180) */
.hex-label-4 {
    top: 285px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
}

/* V5 Bottom Left (240) */
.hex-label-5 {
    top: 218px;
    left: 33px;
    transform: translate(-50%, -50%) rotate(240deg);
}

/* V6 Top Left (300) */
.hex-label-6 {
    top: 83px;
    left: 33px;
    transform: translate(-50%, -50%) rotate(300deg);
}