/* =========================================================
AMADEYA INTERACTIVE
ДРЕВО СЕФИРОТ
Полный CSS для templates/app.php
========================================================= */

/* =========================================================
RESET
========================================================= */

.amadeya-sefirot-page,
.amadeya-sefirot-page * {
box-sizing: border-box;
}

.amadeya-sefirot-page {
--bg: #050609;

--gold: #d8b56a;
--gold-light: #fff0bb;
--gold-mid: #e8c979;
--gold-dark: #72511f;

--fire: #ff7138;
--fire-light: #ffc06b;
--fire-glow: rgba(255, 91, 42, .75);

--water: #368eea;
--water-light: #7dc8ff;
--water-glow: rgba(43, 139, 255, .7);

--air: #9ce8ff;
--air-light: #e7fbff;
--air-glow: rgba(133, 225, 255, .7);

--earth: #8aa65b;
--earth-light: #c9dd91;
--earth-glow: rgba(138, 166, 91, .55);

--text: #eee7d7;
--muted: rgba(238, 231, 215, .43);

position: relative;

width: 100%;
min-height: 100vh;

overflow: hidden;

color: var(--text);

font-family:
    Inter,
    Arial,
    Helvetica,
    sans-serif;

background:
    radial-gradient(
        ellipse at 50% 42%,
        rgba(255, 126, 48, .055),
        transparent 22%
    ),
    radial-gradient(
        ellipse at 28% 50%,
        rgba(32, 118, 225, .075),
        transparent 28%
    ),
    radial-gradient(
        ellipse at 72% 50%,
        rgba(117, 219, 245, .06),
        transparent 28%
    ),
    #050609;

isolation: isolate;

}

/* =========================================================
BACKGROUND
========================================================= */

.amadeya-sefirot-page::before {
content: "";

position: fixed;
inset: 0;

z-index: 0;

pointer-events: none;

opacity: .35;

background-image:
    radial-gradient(
        rgba(255,255,255,.055) 1px,
        transparent 1px
    );

background-size: 5px 5px;

mix-blend-mode: soft-light;

}

.amadeya-sefirot-page::after {
content: "";

position: absolute;
inset: 0;

z-index: 0;

pointer-events: none;

background:
    radial-gradient(
        ellipse at center,
        transparent 35%,
        rgba(0,0,0,.45) 100%
    );

}

/* =========================================================
AMBIENT LIGHT
========================================================= */

.amadeya-sefirot-page .ambient {
position: absolute;

pointer-events: none;

z-index: 0;

border-radius: 50%;

filter: blur(80px);

opacity: .25;

}

.amadeya-sefirot-page .ambient.water {
width: 500px;
height: 500px;

left: -180px;
top: 25%;

background: var(--water-glow);

}

.amadeya-sefirot-page .ambient.air {
width: 450px;
height: 450px;

right: -160px;
top: 20%;

background: var(--air-glow);

}

.amadeya-sefirot-page .ambient.fire {
width: 420px;
height: 420px;

left: 50%;
top: 45%;

transform: translate(-50%, -50%);

background: var(--fire-glow);

opacity: .10;

}

/* =========================================================
PAGE
========================================================= */

.amadeya-sefirot-page .page {
position: relative;

z-index: 1;

width: min(1500px, 96vw);

min-height: 100vh;

margin: 0 auto;

padding:
    60px
    30px
    70px;

}

/* =========================================================
HEADER
========================================================= */

.amadeya-sefirot-page .header {
position: relative;

z-index: 5;

text-align: center;

margin-bottom: 30px;

}

.amadeya-sefirot-page .eyebrow {
margin-bottom: 12px;

color:
    rgba(216,181,106,.72);

font-size: 11px;

font-weight: 500;

letter-spacing: .35em;

text-transform: uppercase;

}

.amadeya-sefirot-page h1 {
margin: 0;

color:
    rgba(255,248,230,.96);

font-family:
    Georgia,
    "Times New Roman",
    serif;

font-size:
    clamp(34px, 4vw, 58px);

font-weight: 400;

line-height: 1.05;

letter-spacing: .08em;

text-shadow:
    0 0 30px rgba(216,181,106,.13);

}

.amadeya-sefirot-page .header p {
margin:
14px
0
0;

color:
    rgba(238,231,215,.42);

font-size: 12px;

letter-spacing: .13em;

}

/* =========================================================
MAIN LAYOUT
========================================================= */

.amadeya-sefirot-page .layout {
display: grid;

grid-template-columns:
    minmax(650px, 1fr)
    390px;

align-items: center;

gap: 45px;

min-height: 760px;

}

/* =========================================================
TREE CONTAINER
========================================================= */

.amadeya-sefirot-page .tree-container {
position: relative;

width: 100%;

min-height: 720px;

display: flex;

align-items: center;

justify-content: center;

}

.amadeya-sefirot-page .tree-aura {
position: absolute;

width: 650px;
height: 650px;

left: 50%;
top: 50%;

transform:
    translate(-50%, -50%);

border-radius: 50%;

background:
    radial-gradient(
        circle,
        rgba(216,181,106,.08),
        rgba(255,120,50,.025) 38%,
        transparent 70%
    );

filter: blur(2px);

pointer-events: none;

}

/* =========================================================
TREE
========================================================= */

.amadeya-sefirot-page .tree {
position: relative;

width: 660px;
height: 700px;

max-width: 100%;

flex-shrink: 0;

}

/* =========================================================
CENTRAL AXIS
========================================================= */

.amadeya-sefirot-page .tree::before {
content: "";

position: absolute;

top: 3%;
bottom: 3%;

left: 50%;

width: 1px;

transform:
    translateX(-50%);

background:
    linear-gradient(
        to bottom,
        transparent,
        rgba(216,181,106,.28) 10%,
        rgba(216,181,106,.6) 50%,
        rgba(216,181,106,.28) 90%,
        transparent
    );

box-shadow:
    0 0 12px rgba(216,181,106,.15);

opacity: .8;

pointer-events: none;

}

/* =========================================================
ELEMENT LABELS
========================================================= */

.amadeya-sefirot-page .element-label {
position: absolute;

z-index: 20;

font-size: 9px;

font-weight: 600;

letter-spacing: .28em;

opacity: .7;

pointer-events: none;

}

.amadeya-sefirot-page .element-label.water {
left: 1%;

top: 48%;

color: var(--water-light);

text-shadow:
    0 0 12px var(--water-glow);

}

.amadeya-sefirot-page .element-label.fire {
left: 50%;

top: 1%;

transform:
    translateX(-50%);

color: var(--fire-light);

text-shadow:
    0 0 12px var(--fire-glow);

}

.amadeya-sefirot-page .element-label.air {
right: 1%;

top: 48%;

color: var(--air-light);

text-shadow:
    0 0 12px var(--air-glow);

}

/* =========================================================
FIRE PILLAR
========================================================= */

.amadeya-sefirot-page .fire-pillar {
position: absolute;

left: 50%;

top: 6%;

width: 2px;

height: 88%;

transform:
    translateX(-50%);

background:
    linear-gradient(
        to bottom,
        transparent,
        rgba(255,153,75,.55),
        rgba(216,181,106,.22),
        transparent
    );

box-shadow:
    0 0 18px rgba(255,100,40,.2);

opacity: .55;

pointer-events: none;

}

/* =========================================================
SIDE CHANNELS
========================================================= */

.amadeya-sefirot-page .element-channel {
position: absolute;

top: 9%;

width: 1px;

height: 82%;

opacity: .45;

pointer-events: none;

}

.amadeya-sefirot-page .element-channel.water {
left: 13%;

background:
    linear-gradient(
        to bottom,
        transparent,
        var(--water),
        transparent
    );

box-shadow:
    0 0 15px var(--water-glow);

}

.amadeya-sefirot-page .element-channel.air {
right: 13%;

background:
    linear-gradient(
        to bottom,
        transparent,
        var(--air),
        transparent
    );

box-shadow:
    0 0 15px var(--air-glow);

}

/* =========================================================
PATH BASE
========================================================= */

.amadeya-sefirot-page .path {
position: absolute;

z-index: 10;

cursor: pointer;

transition:
    filter .25s ease,
    opacity .25s ease,
    transform .25s ease;

opacity: .72;

}

.amadeya-sefirot-page .path::before {
content: "";

position: absolute;

left: 50%;
top: 50%;

width: 100%;
height: 100%;

transform:
    translate(-50%, -50%);

border-radius: 50%;

border:
    1px solid
    rgba(216,181,106,.45);

background:
    radial-gradient(
        circle,
        rgba(216,181,106,.12),
        rgba(216,181,106,.025) 50%,
        transparent 72%
    );

box-shadow:
    0 0 10px rgba(216,181,106,.08);

transition:
    all .25s ease;

}

.amadeya-sefirot-page .path:hover {
opacity: 1;

filter:
    drop-shadow(
        0 0 12px
        rgba(255,211,115,.7)
    );

}

.amadeya-sefirot-page .path:hover::before {
border-color:
rgba(255,225,150,.95);

background:
    radial-gradient(
        circle,
        rgba(255,220,120,.3),
        rgba(216,181,106,.06) 55%,
        transparent 75%
    );

box-shadow:
    0 0 20px rgba(255,207,100,.4);

}

.amadeya-sefirot-page .path.selected {
opacity: 1;

filter:
    drop-shadow(
        0 0 16px
        rgba(255,211,115,.85)
    );

}

.amadeya-sefirot-page .path.selected::before {
border-color:
var(--gold-light);

background:
    radial-gradient(
        circle,
        rgba(255,220,120,.35),
        transparent 70%
    );

}

/* =========================================================
PATH POSITIONS
EXACT GEOMETRY OF THE ORIGINAL TREE
========================================================= */

.amadeya-sefirot-page .p1 {
width: 27%;
left: 50%;
top: 8%;
transform: rotate(29deg);
}

.amadeya-sefirot-page .p2 {
width: 27%;
left: 50%;
top: 8%;
transform: rotate(151deg);
}

.amadeya-sefirot-page .p3 {
width: 42%;
left: 50%;
top: 8%;
transform: rotate(90deg);
}

.amadeya-sefirot-page .p4 {
width: 50%;
left: 25%;
top: 23%;
transform: rotate(0deg);
}

.amadeya-sefirot-page .p5 {
width: 38%;
left: 25%;
top: 23%;
transform: rotate(48deg);
}

.amadeya-sefirot-page .p6 {
width: 27%;
left: 75%;
top: 23%;
transform: rotate(90deg);
}

.amadeya-sefirot-page .p7 {
width: 38%;
left: 75%;
top: 23%;
transform: rotate(132deg);
}

.amadeya-sefirot-page .p8 {
width: 27%;
left: 25%;
top: 23%;
transform: rotate(90deg);
}

.amadeya-sefirot-page .p9 {
width: 50%;
left: 25%;
top: 42%;
transform: rotate(0deg);
}

.amadeya-sefirot-page .p10 {
width: 29%;
left: 75%;
top: 42%;
transform: rotate(161deg);
}

.amadeya-sefirot-page .tree .p11 {
    width: 27%;
    left: 75%;
    top: 42%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .p12 {
width: 29%;
left: 25%;
top: 42%;
transform: rotate(19deg);
}

.amadeya-sefirot-page .tree .p13 {
    width: 27%;
    left: 25%;
    top: 42%;
    transform: rotate(90deg);
}


.amadeya-sefirot-page .p14 {
width: 29%;
left: 50%;
top: 50%;
transform: rotate(27deg);
}

.amadeya-sefirot-page .tree .p15 {
    width: 28%;
    left: 50%;
    top: 50%;
    transform: rotate(90deg);
}
.amadeya-sefirot-page .p16 {
width: 29%;
left: 50%;
top: 50%;
transform: rotate(153deg);
}

.amadeya-sefirot-page .p17 {
width: 50%;
left: 25%;
top: 65%;
transform: rotate(0deg);
}

.amadeya-sefirot-page .p18 {
width: 29%;
left: 75%;
top: 65%;
transform: rotate(153deg);
}


.amadeya-sefirot-page .tree .p19 {
    width: 37.5%;
    left: 25%;
    top: 65%;

    transform:
        rotate(48deg);
}


.amadeya-sefirot-page .p20 {
width: 29%;
left: 25%;
top: 65%;
transform: rotate(27deg);
}

.amadeya-sefirot-page .tree .p21 {
    width: 37.5%;
    left: 75%;
    top: 65%;

    transform:
        rotate(132deg);
}



.amadeya-sefirot-page .tree .p22 {
    width: 16%;
    left: 50%;
    top: 78%;

    transform:
        rotate(90deg);
}

/* =========================================================
SEPHIROT POSITIONS
========================================================= */

.amadeya-sefirot-page .sephira {
position: absolute !important;

width: 82px !important;
height: 82px !important;

transform: translate(-50%, -50%) !important;

border-radius: 50% !important;

display: flex !important;

align-items: center !important;
justify-content: center !important;

z-index: 50 !important;

cursor: pointer;


}

/* KETER */

.amadeya-sefirot-page .s-keter {
left: 50% !important;
top: 8% !important;
}

/* CHOKMAH */

.amadeya-sefirot-page .s-chokmah {
left: 25% !important;
top: 23% !important;
}

/* BINAH */

.amadeya-sefirot-page .s-binah {
left: 75% !important;
top: 23% !important;
}

/* CHESED */

.amadeya-sefirot-page .s-chesed {
left: 25% !important;
top: 42% !important;
}

/* GEVURAH */

.amadeya-sefirot-page .s-gevurah {
left: 75% !important;
top: 42% !important;
}

/* TIFERET */

.amadeya-sefirot-page .s-tiferet {
left: 50% !important;
top: 50% !important;
}

/* NETZACH */

.amadeya-sefirot-page .s-netzach {
left: 25% !important;
top: 65% !important;
}

/* HOD */

.amadeya-sefirot-page .s-hod {
left: 75% !important;
top: 65% !important;
}

/* YESOD */

.amadeya-sefirot-page .s-yesod {
left: 50% !important;
top: 78% !important;
}

/* MALKUTH */

.amadeya-sefirot-page .s-malkuth {
left: 50% !important;
top: 94% !important;
}

/* =========================================================
PATH ELEMENT COLORS
========================================================= */

.amadeya-sefirot-page .path-water::before {
border-color:
rgba(70,160,255,.65);

box-shadow:
    0 0 10px rgba(43,139,255,.2);

}

.amadeya-sefirot-page .path-fire::before {
border-color:
rgba(255,126,72,.7);

box-shadow:
    0 0 10px rgba(255,91,42,.2);

}

.amadeya-sefirot-page .path-air::before {
border-color:
rgba(156,232,255,.7);

box-shadow:
    0 0 10px rgba(133,225,255,.2);

}

.amadeya-sefirot-page .path-earth::before {
border-color:
rgba(170,198,105,.6);

box-shadow:
    0 0 10px rgba(138,166,91,.18);

}

/* =========================================================
SEPHIROT
========================================================= */

.amadeya-sefirot-page .sephira {
position: absolute;

z-index: 15;

width: 78px;
height: 78px;

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

gap: 3px;

border-radius: 50%;

border:
    1px solid
    rgba(216,181,106,.48);

background:
    radial-gradient(
        circle,
        rgba(255,244,207,.11),
        rgba(216,181,106,.035) 52%,
        rgba(0,0,0,.35) 75%
    );

box-shadow:
    inset 0 0 22px rgba(216,181,106,.04),
    0 0 22px rgba(216,181,106,.07);

transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;

}

.amadeya-sefirot-page .sephira:hover {
border-color:
rgba(255,225,155,.85);

box-shadow:
    inset 0 0 25px rgba(216,181,106,.08),
    0 0 32px rgba(216,181,106,.22);

}

.amadeya-sefirot-page .sephira-hebrew {
color:
rgba(255,240,187,.9);

font-family:
    "Times New Roman",
    serif;

font-size: 18px;

line-height: 1;

}

.amadeya-sefirot-page .sephira-name {
color:
rgba(238,231,215,.72);

font-size: 9px;

letter-spacing: .08em;

}

/* =========================================================
SEPHIROT POSITIONS
========================================================= */

.amadeya-sefirot-page .s-keter {
left: 50%;
top: 3%;

transform:
    translate(-50%, 0);

width: 92px;
height: 92px;

border-color:
    rgba(255,240,187,.7);

box-shadow:
    0 0 40px rgba(255,220,120,.12),
    inset 0 0 25px rgba(255,220,120,.05);

}

.amadeya-sefirot-page .s-chokmah {
left: 19%;
top: 17%;

transform:
    translate(-50%, 0);

}

.amadeya-sefirot-page .s-binah {
right: 19%;
top: 17%;

transform:
    translate(50%, 0);

}

.amadeya-sefirot-page .s-chesed {
left: 19%;
top: 39%;

transform:
    translate(-50%, 0);

}

.amadeya-sefirot-page .s-gevurah {
right: 19%;
top: 39%;

transform:
    translate(50%, 0);

}

.amadeya-sefirot-page .s-tiferet {
left: 50%;
top: 35%;

width: 90px;
height: 90px;

transform:
    translate(-50%, 0);

border-color:
    rgba(255,220,135,.75);

box-shadow:
    0 0 45px rgba(216,181,106,.15),
    inset 0 0 30px rgba(216,181,106,.07);

}

.amadeya-sefirot-page .s-netzach {
left: 19%;
top: 62%;

transform:
    translate(-50%, 0);

}

.amadeya-sefirot-page .s-hod {
right: 19%;
top: 62%;

transform:
    translate(50%, 0);

}

.amadeya-sefirot-page .s-yesod {
left: 50%;
top: 70%;

transform:
    translate(-50%, 0);

width: 84px;
height: 84px;

}

.amadeya-sefirot-page .s-malkuth {
left: 50%;
bottom: 1%;

transform:
    translate(-50%, 0);

width: 94px;
height: 94px;

border-color:
    rgba(170,198,105,.6);

box-shadow:
    0 0 35px rgba(138,166,91,.12),
    inset 0 0 25px rgba(138,166,91,.05);

}

/* =========================================================
TREE HINT
========================================================= */

.amadeya-sefirot-page .tree-hint {
position: absolute;

left: 50%;
bottom: -5px;

transform:
    translateX(-50%);

width: max-content;
max-width: 90%;

color:
    rgba(238,231,215,.42);

font-size: 10px;

letter-spacing: .13em;

text-align: center;

}

/* =========================================================
PATH TOOLTIP
========================================================= */

.amadeya-sefirot-page .path-info {
position: fixed;

z-index: 100000;

padding:
    9px
    13px;

color:
    rgba(255,248,230,.95);

font-size: 11px;

line-height: 1.5;

border:
    1px solid
    rgba(216,181,106,.35);

background:
    rgba(10,9,12,.94);

box-shadow:
    0 10px 35px rgba(0,0,0,.4),
    0 0 20px rgba(216,181,106,.08);

backdrop-filter: blur(10px);

opacity: 0;

visibility: hidden;

pointer-events: none;

transition:
    opacity .15s ease;

}

.amadeya-sefirot-page .path-info.visible {
opacity: 1;

visibility: visible;

}

.amadeya-sefirot-page .path-info strong {
margin-right: 6px;

color:
    var(--gold-light);

}

.amadeya-sefirot-page .path-info span {
display: block;

margin-top: 2px;

color:
    rgba(238,231,215,.4);

font-size: 9px;

}

/* =========================================================
PANEL
========================================================= */

.amadeya-sefirot-page .panel {
position: relative;

width: 100%;

min-height: 650px;

border:
    1px solid
    rgba(216,181,106,.17);

background:
    linear-gradient(
        145deg,
        rgba(19,18,23,.92),
        rgba(7,7,10,.96)
    );

box-shadow:
    0 25px 80px rgba(0,0,0,.35),
    0 0 50px rgba(216,181,106,.035);

backdrop-filter: blur(16px);

overflow: hidden;

}

.amadeya-sefirot-page .panel::before {
content: "";

position: absolute;
inset: 0;

pointer-events: none;

background:
    radial-gradient(
        circle at 50% 15%,
        rgba(216,181,106,.07),
        transparent 35%
    );

}

/* =========================================================
EMPTY PANEL
========================================================= */

.amadeya-sefirot-page .empty-panel {
position: absolute;

inset: 0;

display: flex;

flex-direction: column;

align-items: center;

justify-content: center;

padding: 45px;

text-align: center;

}

.amadeya-sefirot-page .empty-symbol {
margin-bottom: 25px;

color:
    rgba(216,181,106,.65);

font-size: 35px;

text-shadow:
    0 0 25px rgba(216,181,106,.3);

}

.amadeya-sefirot-page .empty-panel h2 {
margin: 0;

color:
    rgba(255,248,230,.9);

font-family:
    Georgia,
    serif;

font-size: 24px;

font-weight: 400;

letter-spacing: .06em;

}

.amadeya-sefirot-page .empty-panel p {
max-width: 280px;

margin:
    18px
    auto
    0;

color:
    rgba(238,231,215,.4);

font-size: 12px;

line-height: 1.8;

}

/* =========================================================
ARCANA CONTENT
========================================================= */

.amadeya-sefirot-page .arcana-content {
position: relative;

z-index: 2;

height: 100%;

min-height: 650px;

padding:
    35px
    32px
    30px;

text-align: center;

opacity: 0;

pointer-events: none;

transform:
    translateY(10px);

transition:
    opacity .3s ease,
    transform .3s ease;

}

.amadeya-sefirot-page .panel.active .empty-panel {
display: none;
}

.amadeya-sefirot-page .panel.active .arcana-content {
opacity: 1;

pointer-events: auto;

transform:
    translateY(0);

}

/* =========================================================
CLOSE BUTTON
========================================================= */

.amadeya-sefirot-page .close {
position: absolute;

top: 12px;
right: 14px;

width: 38px;
height: 38px;

border: 0;

background: transparent;

color:
    rgba(255,245,220,.65);

font-size: 28px;

cursor: pointer;

transition:
    color .2s ease,
    transform .2s ease;

}

.amadeya-sefirot-page .close:hover {
color: #fff;

transform:
    rotate(90deg);

}

/* =========================================================
ARCANA HEADER
========================================================= */

.amadeya-sefirot-page .arcana-number {
color:
rgba(216,181,106,.75);

font-size: 11px;

letter-spacing: .3em;

}

.amadeya-sefirot-page .arcana-symbol {
position: relative;

width: 105px;
height: 105px;

margin:
    15px
    auto
    14px;

}

.amadeya-sefirot-page .arcana-symbol .ring {
position: absolute;

inset: 8px;

border:
    1px solid
    rgba(216,181,106,.4);

border-radius: 50%;

}

.amadeya-sefirot-page .arcana-symbol .ring.one {
animation:
arcanaRing 8s linear infinite;
}

.amadeya-sefirot-page .arcana-symbol .ring.two {
inset: 20px;

border-color:
    rgba(255,220,135,.25);

animation:
    arcanaRingReverse 6s linear infinite;

}

.amadeya-sefirot-page .symbol-center {
position: absolute;

inset: 0;

display: flex;

align-items: center;

justify-content: center;

color:
    var(--gold-light);

font-size: 28px;

text-shadow:
    0 0 25px rgba(216,181,106,.4);

}

@keyframes arcanaRing {
from {
transform: rotate(0deg);
}

to {
    transform: rotate(360deg);
}

}

@keyframes arcanaRingReverse {
from {
transform: rotate(360deg);
}

to {
    transform: rotate(0deg);
}

}

.amadeya-sefirot-page .arcana-label {
color:
rgba(216,181,106,.65);

font-size: 9px;

font-weight: 600;

letter-spacing: .28em;

}

.amadeya-sefirot-page .arcana-image {
display: block;

width: 145px;
height: 145px;

margin:
    20px
    auto
    15px;

object-fit: cover;

border:
    1px solid
    rgba(216,181,106,.25);

box-shadow:
    0 0 35px rgba(216,181,106,.08);

}

/* =========================================================
ARCANA TEXT
========================================================= */

.amadeya-sefirot-page .arcana-title {
margin:
0
0
10px;

color:
    rgba(255,248,230,.95);

font-family:
    Georgia,
    "Times New Roman",
    serif;

font-size: 28px;

font-weight: 400;

letter-spacing: .06em;

}

.amadeya-sefirot-page .arcana-description {
margin:
0
auto
20px;

max-width: 290px;

color:
    rgba(238,231,215,.48);

font-size: 11px;

line-height: 1.7;

}

/* =========================================================
ACTIVATE BUTTON
========================================================= */

.amadeya-sefirot-page .activate,
.amadeya-sefirot-page .arcana-access-submit {
width: 100%;

min-height: 48px;

border:
    1px solid
    rgba(216,181,106,.45);

background:
    linear-gradient(
        135deg,
        rgba(216,181,106,.08),
        rgba(216,181,106,.02)
    );

color:
    rgba(255,240,187,.9);

font-size: 10px;

font-weight: 600;

letter-spacing: .18em;

cursor: pointer;

transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .2s ease;

}

.amadeya-sefirot-page .activate:hover,
.amadeya-sefirot-page .arcana-access-submit:hover {
border-color:
rgba(255,225,150,.85);

background:
    rgba(216,181,106,.12);

box-shadow:
    0 0 25px rgba(216,181,106,.12);

}

.amadeya-sefirot-page .activate:active,
.amadeya-sefirot-page .arcana-access-submit:active {
transform:
translateY(1px);
}

/* =========================================================
LESSONS
========================================================= */

.amadeya-sefirot-page .lessons {
margin-top: 20px;

border-top:
    1px solid
    rgba(216,181,106,.1);

}

.amadeya-sefirot-page .lesson {
display: grid;

grid-template-columns:
    35px
    1fr
    35px;

align-items: center;

gap: 10px;

min-height: 58px;

border-bottom:
    1px solid
    rgba(216,181,106,.08);

text-align: left;

transition:
    background .2s ease;

}

.amadeya-sefirot-page .lesson:hover {
background:
rgba(216,181,106,.035);
}

.amadeya-sefirot-page .lesson-number {
color:
rgba(216,181,106,.65);

font-size: 10px;

}

.amadeya-sefirot-page .lesson-title {
color:
rgba(238,231,215,.8);

font-size: 11px;

}

.amadeya-sefirot-page .lesson-type {
color:
rgba(238,231,215,.3);

font-size: 9px;

}

.amadeya-sefirot-page .lesson-play {
color:
rgba(216,181,106,.65);

font-size: 11px;

text-align: right;

}

/* =========================================================
ACTIVATION SCREEN
========================================================= */

.amadeya-sefirot-page .activation {
position: fixed;

inset: 0;

z-index: 99990;

display: flex;

align-items: center;

justify-content: center;

background:
    radial-gradient(
        circle,
        rgba(216,181,106,.08),
        rgba(4,4,7,.98) 55%
    );

opacity: 0;

visibility: hidden;

pointer-events: none;

transition:
    opacity .35s ease,
    visibility .35s ease;

}

.amadeya-sefirot-page .activation.active {
opacity: 1;

visibility: visible;

pointer-events: auto;

}

.amadeya-sefirot-page .activation-inner {
text-align: center;
}

.amadeya-sefirot-page .activation-symbol {
width: 120px;
height: 120px;

margin: 0 auto 30px;

display: flex;

align-items: center;

justify-content: center;

border:
    1px solid
    rgba(216,181,106,.35);

border-radius: 50%;

box-shadow:
    0 0 70px rgba(216,181,106,.12);

}

.amadeya-sefirot-page .activation-star {
color:
var(--gold-light);

font-size: 45px;

animation:
    activationPulse 1.2s ease-in-out infinite;

}

@keyframes activationPulse {
0%,
100% {
opacity: .45;

    transform: scale(.88);
}

50% {
    opacity: 1;

    transform: scale(1.08);
}

}

.amadeya-sefirot-page .activation-title {
color:
rgba(216,181,106,.7);

font-size: 10px;

letter-spacing: .28em;

text-transform: uppercase;

}

.amadeya-sefirot-page .activation-subtitle {
margin-top: 10px;

color:
    rgba(255,248,230,.95);

font-family:
    Georgia,
    serif;

font-size: 28px;

}

.amadeya-sefirot-page .activation-progress {
width: 180px;
height: 1px;

margin:
    25px
    auto
    0;

background:
    linear-gradient(
        to right,
        transparent,
        var(--gold),
        transparent
    );

animation:
    activationProgress 1.4s ease-in-out infinite;

}

@keyframes activationProgress {
0% {
transform: scaleX(.15);

    opacity: .2;
}

50% {
    transform: scaleX(1);

    opacity: 1;
}

100% {
    transform: scaleX(.15);

    opacity: .2;
}

}

/* =========================================================
ACCESS MODAL
========================================================= */

.amadeya-sefirot-page .arcana-access-modal {
position: fixed;

inset: 0;

z-index: 99995;

display: flex;

align-items: center;

justify-content: center;

padding: 20px;

background:
    rgba(3,3,6,.88);

backdrop-filter:
    blur(14px);

opacity: 0;

visibility: hidden;

pointer-events: none;

transition:
    opacity .3s ease,
    visibility .3s ease;

}

.amadeya-sefirot-page .arcana-access-modal.active {
opacity: 1;

visibility: visible;

pointer-events: auto;

}

.amadeya-sefirot-page .arcana-access-box {
position: relative;

width: min(430px, 100%);

padding:
    45px
    38px
    38px;

border:
    1px solid
    rgba(216,181,106,.3);

background:
    linear-gradient(
        145deg,
        rgba(20,18,24,.98),
        rgba(7,7,10,.98)
    );

box-shadow:
    0 30px 100px rgba(0,0,0,.7),
    0 0 50px rgba(216,181,106,.08);

text-align: center;

}

.amadeya-sefirot-page .arcana-access-close {
position: absolute;

top: 10px;
right: 14px;

width: 40px;
height: 40px;

border: 0;

background: transparent;

color:
    rgba(255,245,220,.65);

font-size: 28px;

cursor: pointer;

}

.amadeya-sefirot-page .arcana-access-close:hover {
color: #fff;
}

.amadeya-sefirot-page .arcana-access-symbol {
color:
var(--gold-light);

font-size: 30px;

margin-bottom: 15px;

}

.amadeya-sefirot-page .arcana-access-number {
color:
rgba(216,181,106,.75);

font-size: 11px;

letter-spacing: .3em;

}

.amadeya-sefirot-page .arcana-access-title {
margin-top: 8px;

color:
    rgba(255,248,230,.95);

font-family:
    Georgia,
    serif;

font-size: 28px;

}

.amadeya-sefirot-page .arcana-access-label {
margin-top: 8px;

color:
    rgba(216,181,106,.55);

font-size: 9px;

letter-spacing: .25em;

}

.amadeya-sefirot-page .arcana-access-box p {
margin:
20px
auto;

color:
    rgba(238,231,215,.42);

font-size: 12px;

line-height: 1.7;

}

.amadeya-sefirot-page #arcanaAccessPassword {
display: block;

width: 100%;

height: 48px;

padding:
    0
    15px;

border:
    1px solid
    rgba(216,181,106,.25);

outline: none;

background:
    rgba(0,0,0,.35);

color:
    rgba(255,248,230,.95);

font-size: 13px;

text-align: center;

transition:
    border-color .2s ease,
    box-shadow .2s ease;

}

.amadeya-sefirot-page #arcanaAccessPassword:focus {
border-color:
rgba(216,181,106,.7);

box-shadow:
    0 0 20px rgba(216,181,106,.08);

}

.amadeya-sefirot-page #arcanaAccessPassword::placeholder {
color:
rgba(238,231,215,.25);
}

.amadeya-sefirot-page .arcana-access-error {
min-height: 20px;

margin-top: 10px;

color:
    #e7a5a5;

font-size: 11px;

}

.amadeya-sefirot-page .arcana-access-submit {
margin-top: 5px;
}

.amadeya-sefirot-page .arcana-access-submit.loading {
opacity: .5;

cursor: wait;

}

/* =========================================================
VIDEO MODAL
========================================================= */

.amadeya-sefirot-page .arcana-video-modal {
position: fixed;

inset: 0;

z-index: 99999;

display: flex;

align-items: center;

justify-content: center;

padding: 30px;

background:
    radial-gradient(
        circle at center,
        rgba(80,55,25,.18),
        rgba(5,5,8,.94) 65%
    );

opacity: 0;

visibility: hidden;

pointer-events: none;

transition:
    opacity .35s ease,
    visibility .35s ease;

backdrop-filter:
    blur(12px);

}

.amadeya-sefirot-page .arcana-video-modal.active {
opacity: 1;

visibility: visible;

pointer-events: auto;

}

.amadeya-sefirot-page .arcana-video-box {
position: relative;

width: min(1100px, 94vw);

max-height: 92vh;

padding: 28px;

overflow: hidden;

border:
    1px solid
    rgba(220,180,100,.35);

background:
    linear-gradient(
        145deg,
        rgba(20,18,24,.98),
        rgba(8,8,12,.98)
    );

box-shadow:
    0 0 80px rgba(190,145,60,.16),
    0 30px 100px rgba(0,0,0,.7);

}

.amadeya-sefirot-page .arcana-video-close {
position: absolute;

top: 12px;
right: 16px;

z-index: 5;

width: 42px;
height: 42px;

border: 0;

background: transparent;

color:
    rgba(255,245,220,.8);

font-size: 32px;

cursor: pointer;

}

.amadeya-sefirot-page .arcana-video-header {
display: flex;

align-items: center;

gap: 18px;

margin-bottom: 22px;

padding-right: 45px;

}

.amadeya-sefirot-page .arcana-video-number {
color:
rgba(220,180,100,.8);

font-size: 14px;

letter-spacing: .2em;

}

.amadeya-sefirot-page .arcana-video-title {
color:
rgba(255,248,230,.96);

font-size: 26px;

letter-spacing: .08em;

}

.amadeya-sefirot-page .arcana-video-player {
position: relative;

width: 100%;

aspect-ratio: 16 / 9;

overflow: hidden;

background: #050507;

border:
    1px solid
    rgba(220,180,100,.18);

}

.amadeya-sefirot-page .arcana-video {
display: block;

width: 100%;
height: 100%;

object-fit: contain;

background: #000;

}

.amadeya-sefirot-page .arcana-video-aura {
position: absolute;

inset: -20%;

z-index: 1;

pointer-events: none;

background:
    radial-gradient(
        circle,
        rgba(220,175,80,.12),
        transparent 60%
    );

animation:
    arcanaVideoAura 5s
    ease-in-out
    infinite;

}

@keyframes arcanaVideoAura {
0% {
opacity: .45;

    transform: scale(.96);
}

50% {
    opacity: .9;

    transform: scale(1.04);
}

100% {
    opacity: .45;

    transform: scale(.96);
}

}

.amadeya-sefirot-page .arcana-video-loading,
.amadeya-sefirot-page .arcana-video-error {
position: absolute;

left: 50%;
top: 50%;

z-index: 4;

transform:
    translate(-50%, -50%);

padding:
    12px
    20px;

color:
    rgba(255,245,220,.9);

font-size: 14px;

letter-spacing: .08em;

text-align: center;

pointer-events: none;

}

.amadeya-sefirot-page .arcana-video-error {
color: #e7a5a5;

background:
    rgba(60,15,20,.85);

border:
    1px solid
    rgba(220,100,110,.3);

}

/* =========================================================
BODY LOCK
========================================================= */

body.amadeya-modal-open,
body.amadeya-video-open {
overflow: hidden;
}

/* =========================================================
RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1150px) {

.amadeya-sefirot-page .page {
    padding:
        45px
        20px
        60px;
}

.amadeya-sefirot-page .layout {
    grid-template-columns:
        minmax(560px, 1fr)
        340px;

    gap: 25px;
}

.amadeya-sefirot-page .tree {
    transform:
        scale(.88);

    transform-origin:
        center center;
}

}

/* =========================================================
RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 850px) {

.amadeya-sefirot-page {
    overflow-x: hidden;
}

.amadeya-sefirot-page .page {
    width: 100%;

    padding:
        35px
        12px
        50px;
}

.amadeya-sefirot-page .layout {
    display: flex;

    flex-direction: column;

    gap: 20px;

    min-height: auto;
}

.amadeya-sefirot-page .tree-container {
    min-height: 650px;

    width: 100%;
}

.amadeya-sefirot-page .tree {
    transform:
        scale(.72);

    transform-origin:
        center center;
}

.amadeya-sefirot-page .panel {
    width: min(440px, 100%);

    min-height: 600px;
}

.amadeya-sefirot-page .arcana-content {
    min-height: 600px;
}

.amadeya-sefirot-page .tree-hint {
    bottom: 0;

    font-size: 9px;
}

}

/* =========================================================
RESPONSIVE — SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

.amadeya-sefirot-page .page {
    padding:
        25px
        8px
        40px;
}

.amadeya-sefirot-page .eyebrow {
    font-size: 9px;

    letter-spacing: .24em;
}

.amadeya-sefirot-page h1 {
    font-size: 32px;
}

.amadeya-sefirot-page .header p {
    font-size: 10px;

    line-height: 1.6;
}

.amadeya-sefirot-page .tree-container {
    min-height: 560px;
}

.amadeya-sefirot-page .tree {
    transform:
        scale(.58);
}

.amadeya-sefirot-page .panel {
    min-height: 570px;
}

.amadeya-sefirot-page .arcana-content {
    min-height: 570px;

    padding:
        30px
        22px
        25px;
}

.amadeya-sefirot-page .arcana-image {
    width: 125px;
    height: 125px;
}

.amadeya-sefirot-page .arcana-title {
    font-size: 24px;
}

.amadeya-sefirot-page .arcana-video-modal {
    padding: 10px;
}

.amadeya-sefirot-page .arcana-video-box {
    padding: 18px;
}

.amadeya-sefirot-page .arcana-video-title {
    font-size: 20px;
}

.amadeya-sefirot-page .arcana-access-box {
    padding:
        40px
        22px
        25px;
}

}

/* =========================================================
REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

.amadeya-sefirot-page *,
.amadeya-sefirot-page *::before,
.amadeya-sefirot-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
}

}

/* =========================================================
   AMADEYA / WORDPRESS ISOLATION
   FIX LAYOUT + TREE + PANEL
   ========================================================= */

/*
 * Полностью изолируем приложение от CSS WordPress-темы.
 */

.amadeya-sefirot-page {
    position: relative !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow-x: hidden !important;

    background:
        radial-gradient(
            ellipse at 50% 42%,
            rgba(255, 126, 48, .055),
            transparent 22%
        ),
        radial-gradient(
            ellipse at 28% 50%,
            rgba(32, 118, 225, .075),
            transparent 28%
        ),
        radial-gradient(
            ellipse at 72% 50%,
            rgba(117, 219, 245, .06),
            transparent 28%
        ),
        #050609 !important;
}


/*
 * WordPress часто задаёт свои margin/padding
 * для заголовков, параграфов, section, main и aside.
 */

.amadeya-sefirot-page .page,
.amadeya-sefirot-page .page *,
.amadeya-sefirot-page .layout,
.amadeya-sefirot-page .layout *,
.amadeya-sefirot-page .tree-container,
.amadeya-sefirot-page .tree-container *,
.amadeya-sefirot-page .panel,
.amadeya-sefirot-page .panel * {
    box-sizing: border-box;
}


/*
 * Главная область.
 *
 * В оригинале GitHub:
 * 1fr / 650-760px / 1fr
 *
 * Но в WordPress нельзя позволять этой сетке
 * вылезать за viewport.
 */

.amadeya-sefirot-page .page {
    position: relative !important;

    width: 100% !important;
    max-width: 1600px !important;

    min-height: 100vh !important;

    margin: 0 auto !important;

    padding:
        45px
        clamp(15px, 4vw, 70px)
        80px !important;
}


.amadeya-sefirot-page .header {
    position: relative !important;

    width: 100% !important;
    max-width: 1500px !important;

    margin:
        0 auto 15px !important;

    padding: 0 !important;

    text-align: center !important;
}


.amadeya-sefirot-page .header h1 {
    margin:
        0 !important;

    padding: 0 !important;
}


.amadeya-sefirot-page .header p {
    margin:
        12px 0 0 !important;

    padding: 0 !important;
}


/*
 * Layout.
 *
 * На широком экране панель располагается справа,
 * как в исходной версии.
 */

.amadeya-sefirot-page .layout {
    position: relative !important;

    z-index: 2 !important;

    width: min(
        1500px,
        100%
    ) !important;

    max-width: 1500px !important;

    margin: 0 auto !important;

    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(560px, 760px)
        minmax(300px, 380px) !important;

    align-items: center !important;

    gap: 20px !important;
}


/*
 * Древо.
 */

.amadeya-sefirot-page .tree-container {
    position: relative !important;

    grid-column: 2 !important;

    grid-row: 1 !important;

    width: 100% !important;

    max-width: 760px !important;

    height: 790px !important;

    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    overflow: visible !important;
}


/*
 * Само Древо.
 *
 * Эти размеры соответствуют оригиналу GitHub.
 */

.amadeya-sefirot-page .tree {
    position: relative !important;

    width: 720px !important;
    height: 740px !important;

    min-width: 720px !important;
    max-width: 720px !important;

    min-height: 740px !important;
    max-height: 740px !important;

    flex:
        0 0 720px !important;

    margin: 0 !important;
    padding: 0 !important;
}


/*
 * Панель справа.
 *
 * Самая важная часть для WordPress:
 * panel больше не должен растягиваться
 * или выезжать за viewport.
 */

.amadeya-sefirot-page .panel {
    grid-column: 3 !important;
    grid-row: 1 !important;

    position: relative !important;

    width: 100% !important;
    max-width: 380px !important;

    min-width: 0 !important;

    margin: 0 !important;

    padding: 0 !important;

    overflow: hidden !important;

    align-self: center !important;
}


/*
 * Контент внутри панели.
 */

.amadeya-sefirot-page .arcana-content,
.amadeya-sefirot-page .empty-panel {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    margin: 0 !important;

    overflow: hidden !important;
}


/*
 * Картинка Аркана никогда не выходит
 * за границы карточки.
 */

.amadeya-sefirot-page .arcana-image {
    display: block !important;

    width: 100% !important;

    max-width: 100% !important;

    height: auto !important;

    object-fit: contain !important;

    margin:
        0 auto !important;
}


/*
 * Уроки.
 */

.amadeya-sefirot-page .lessons {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    overflow: hidden !important;
}


.amadeya-sefirot-page .lesson {
    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;

    overflow: hidden !important;
}


/*
 * Тексты панели не должны раздвигать карточку.
 */

.amadeya-sefirot-page .arcana-title,
.amadeya-sefirot-page .arcana-description,
.amadeya-sefirot-page .lesson-title,
.amadeya-sefirot-page .lesson-type {
    max-width: 100% !important;

    overflow-wrap: anywhere !important;
    word-break: normal !important;
}


/*
 * Tooltip.
 */

.amadeya-sefirot-page .path-info {
    position: fixed !important;

    z-index: 100000 !important;

    max-width: 260px !important;

    pointer-events: none !important;
}


/*
 * Модальные окна должны находиться
 * поверх WordPress header/footer.
 */

.amadeya-sefirot-page .activation,
.amadeya-sefirot-page .arcana-access-modal,
.amadeya-sefirot-page .arcana-video-modal {
    position: fixed !important;

    z-index: 999999 !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1250px) {

    .amadeya-sefirot-page .page {
        padding:
            35px
            20px
            60px !important;
    }


    .amadeya-sefirot-page .layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(560px, 720px) !important;

        justify-content: center !important;
    }


    .amadeya-sefirot-page .tree-container {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;

        margin: 0 auto !important;
    }


    .amadeya-sefirot-page .panel {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;

        width: min(
            100%,
            520px
        ) !important;

        max-width: 520px !important;

        margin:
            20px auto 0 !important;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .amadeya-sefirot-page {
        overflow-x: hidden !important;
    }


    .amadeya-sefirot-page .page {
        width: 100% !important;

        padding:
            30px
            10px
            50px !important;
    }


    .amadeya-sefirot-page .header {
        margin-bottom: 10px !important;
    }


    .amadeya-sefirot-page .header h1 {
        font-size:
            clamp(
                34px,
                10vw,
                52px
            ) !important;
    }


    .amadeya-sefirot-page .layout {
        display: flex !important;

        flex-direction: column !important;

        width: 100% !important;

        gap: 10px !important;
    }


    /*
     * На телефоне уменьшаем всё Древо
     * целиком, сохраняя координаты оригинала.
     */

    .amadeya-sefirot-page .tree-container {
        width: 100% !important;

        height:
            min(
                110vw,
                690px
            ) !important;

        overflow: hidden !important;
    }


    .amadeya-sefirot-page .tree {
        transform:
            scale(
                min(
                    1,
                    calc(
                        (100vw - 20px) / 720
                    )
                )
            ) !important;

        transform-origin:
            center center !important;
    }


    .amadeya-sefirot-page .panel {
        width: 100% !important;

        max-width: 520px !important;

        margin:
            15px auto 0 !important;
    }


    .amadeya-sefirot-page .tree-hint {
        max-width: 90% !important;

        text-align: center !important;
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 430px) {

    .amadeya-sefirot-page .page {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }


    .amadeya-sefirot-page .tree-container {
        height: 430px !important;
    }


    .amadeya-sefirot-page .tree {
        transform:
            scale(.57) !important;
    }
}
Финальный CSS для свечения путей Древа


/* =========================================================
AMADEYA — PATH GLOW FIX
Совместимость с WordPress / темой
========================================================= */

.amadeya-sefirot-page .tree {
position: relative;
width: 720px;
height: 740px;
}

/* =========================================================
22 ПУТИ
========================================================= */

.amadeya-sefirot-page .path {
position: absolute !important;

display: block !important;

height: 9px !important;

margin: 0 !important;
padding: 0 !important;

border: 0 !important;
border-radius: 20px !important;

cursor: pointer !important;

transform-origin: left center;

z-index: 20 !important;

opacity: .88 !important;

background:
    linear-gradient(
        to bottom,
        rgba(255,255,255,.28),
        var(--path-color) 25%,
        rgba(20,18,17,.95) 48%,
        var(--path-color) 72%,
        rgba(255,255,255,.12)
    ) !important;

box-shadow:
    0 2px 5px rgba(0,0,0,.8),
    0 0 5px var(--path-color),
    0 0 13px var(--path-glow) !important;

transition:
    opacity .3s ease,
    filter .3s ease,
    box-shadow .3s ease !important;

}

/* =========================================================
ВНУТРЕННИЙ СВЕТ ПУТИ
========================================================= */

.amadeya-sefirot-page .path::before {
content: "" !important;

position: absolute !important;

left: 3% !important;
right: 3% !important;

top: 50% !important;

width: auto !important;
height: 2px !important;

transform: translateY(-50%) !important;

border: 0 !important;
border-radius: 20px !important;

background:
    linear-gradient(
        90deg,
        transparent,
        var(--path-light) 20%,
        #fff 50%,
        var(--path-light) 80%,
        transparent
    ) !important;

box-shadow:
    0 0 8px var(--path-light),
    0 0 15px var(--path-color) !important;

pointer-events: none !important;

}

/* =========================================================
ДВИЖУЩИЙСЯ СВЕТОВОЙ ИМПУЛЬС
========================================================= */

.amadeya-sefirot-page .path::after {
content: "" !important;

position: absolute !important;

top: 50% !important;
left: -20px !important;

width: 70px !important;
height: 3px !important;

transform: translateY(-50%) !important;

border: 0 !important;
border-radius: 50% !important;

background:
    linear-gradient(
        90deg,
        transparent,
        #fff,
        var(--path-light),
        transparent
    ) !important;

box-shadow:
    0 0 10px #fff,
    0 0 22px var(--path-color) !important;

opacity: 0 !important;

pointer-events: none !important;

animation:
    amadeyaEnergyTravel 1.8s linear infinite !important;

}

/* =========================================================
ЦВЕТА ПУТЕЙ
========================================================= */

.amadeya-sefirot-page .path-water {
--path-color: #368eea;
--path-light: #7dc8ff;
--path-glow: rgba(43,139,255,.75);
}

.amadeya-sefirot-page .path-fire {
--path-color: #ff7138;
--path-light: #ffc06b;
--path-glow: rgba(255,91,42,.8);
}

.amadeya-sefirot-page .path-air {
--path-color: #9ce8ff;
--path-light: #e7fbff;
--path-glow: rgba(133,225,255,.8);
}

.amadeya-sefirot-page .path-earth {
--path-color: #8aa65b;
--path-light: #c9dd91;
--path-glow: rgba(138,166,91,.65);
}

/* =========================================================
HOVER
========================================================= */

.amadeya-sefirot-page .path:hover {
opacity: 1 !important;

filter:
    brightness(1.35)
    saturate(1.25) !important;

box-shadow:
    0 2px 7px rgba(0,0,0,.8),
    0 0 8px var(--path-color),
    0 0 20px var(--path-color),
    0 0 45px var(--path-glow) !important;

}

.amadeya-sefirot-page .path:hover::after {
opacity: 1 !important;
}

/* =========================================================
SELECTED
ВАЖНО:
tree.js использует .selected, а не .active
========================================================= */

.amadeya-sefirot-page .path.selected {
height: 11px !important;

opacity: 1 !important;

filter:
    brightness(1.4)
    saturate(1.3) !important;

box-shadow:
    0 2px 7px rgba(0,0,0,.8),
    0 0 8px var(--path-color),
    0 0 20px var(--path-color),
    0 0 45px var(--path-glow) !important;

}

.amadeya-sefirot-page .path.selected::after {
opacity: 1 !important;

animation:
    amadeyaEnergyTravel .85s linear infinite !important;

}

/* На всякий случай поддерживаем и старый active */

.amadeya-sefirot-page .path.active {
height: 11px !important;

opacity: 1 !important;

filter:
    brightness(1.4)
    saturate(1.3) !important;

box-shadow:
    0 2px 7px rgba(0,0,0,.8),
    0 0 8px var(--path-color),
    0 0 20px var(--path-color),
    0 0 45px var(--path-glow) !important;

}

.amadeya-sefirot-page .path.active::after {
opacity: 1 !important;
}

/* =========================================================
АНИМАЦИЯ ЭНЕРГИИ
========================================================= */

@keyframes amadeyaEnergyTravel {

0% {
    left: -25px;
    opacity: 0;
}

10% {
    opacity: 1;
}

50% {
    opacity: 1;
}

90% {
    opacity: 1;
}

100% {
    left: calc(100% + 25px);
    opacity: 0;
}

}

/* =========================================================
ЦЕНТРАЛЬНЫЙ ОГНЕННЫЙ КАНАЛ
========================================================= */

.amadeya-sefirot-page .fire-pillar {
position: absolute !important;

left: 50% !important;
top: 4% !important;

width: 8px !important;
height: 92% !important;

transform: translateX(-50%) !important;

border-radius: 999px !important;

background:
    linear-gradient(
        to bottom,
        transparent,
        rgba(255,105,45,.28),
        rgba(255,194,103,.95),
        rgba(255,91,37,.55),
        rgba(255,194,103,.95),
        rgba(255,105,45,.25),
        transparent
    ) !important;

box-shadow:
    0 0 5px #ff8a43,
    0 0 15px rgba(255,91,37,.8),
    0 0 38px rgba(255,83,35,.55),
    0 0 70px rgba(255,83,35,.2) !important;

opacity: .85 !important;

overflow: hidden !important;

z-index: 4 !important;

}

.amadeya-sefirot-page .fire-pillar::before {
content: "" !important;

position: absolute !important;
inset: 0 !important;

background:
    repeating-linear-gradient(
        to bottom,
        transparent 0 12px,
        rgba(255,240,190,.95) 12px 18px,
        transparent 18px 34px
    ) !important;

animation:
    amadeyaFireFlow 2.3s linear infinite !important;

}

.amadeya-sefirot-page .fire-pillar::after {
content: "" !important;

position: absolute !important;

left: 50% !important;
top: 0 !important;

width: 28px !important;
height: 100% !important;

transform: translateX(-50%) !important;

background:
    linear-gradient(
        to bottom,
        transparent,
        rgba(255,110,45,.25),
        transparent
    ) !important;

filter: blur(10px) !important;

pointer-events: none !important;

}

@keyframes amadeyaFireFlow {

0% {
    background-position: 0 0;
}

100% {
    background-position: 0 46px;
}

}

/* =========================================================
БОКОВЫЕ КАНАЛЫ ВОДЫ / ВОЗДУХА
========================================================= */

.amadeya-sefirot-page .element-channel {
position: absolute !important;

top: 8% !important;
bottom: 7% !important;

width: 2px !important;

border-radius: 20px !important;

opacity: .65 !important;

z-index: 3 !important;

}

.amadeya-sefirot-page .element-channel.water {
left: 12% !important;

background:
    linear-gradient(
        to bottom,
        transparent,
        #368eea,
        #7dc8ff,
        #368eea,
        transparent
    ) !important;

box-shadow:
    0 0 10px #368eea,
    0 0 30px rgba(43,139,255,.7) !important;

}

.amadeya-sefirot-page .element-channel.air {
right: 12% !important;

background:
    linear-gradient(
        to bottom,
        transparent,
        #9ce8ff,
        #e7fbff,
        #9ce8ff,
        transparent
    ) !important;

box-shadow:
    0 0 10px #9ce8ff,
    0 0 30px rgba(133,225,255,.7) !important;

}

/* =========================================================
AURA ДРЕВА
========================================================= */

.amadeya-sefirot-page .tree-aura {
position: absolute !important;

width: 74% !important;
height: 82% !important;

border-radius: 50% !important;

background:
    radial-gradient(
        ellipse,
        rgba(255,169,73,.10),
        rgba(75,147,232,.035) 32%,
        transparent 70%
    ) !important;

filter: blur(35px) !important;

pointer-events: none !important;

animation:
    amadeyaAuraPulse 7s ease-in-out infinite !important;

}

@keyframes amadeyaAuraPulse {

0% {
    opacity: .45;
    transform: scale(.96);
}

50% {
    opacity: .9;
    transform: scale(1.04);
}

100% {
    opacity: .45;
    transform: scale(.96);
}

}
Непрозрачные светящиеся Сефироты


/* =========================================================
SEPHIROT — SOLID LUMINOUS NODES
Линии проходят ПОД Сефиротами
========================================================= */

.amadeya-sefirot-page .sephira {
position: absolute !important;

width: 82px !important;
height: 82px !important;

transform: translate(-50%, -50%) !important;

display: flex !important;
align-items: center !important;
justify-content: center !important;

flex-direction: column !important;

border-radius: 50% !important;

/*
 * Главное:
 * полностью непрозрачный фон.
 */
background:
    radial-gradient(
        circle at 35% 30%,
        #fff1bd 0%,
        #d8b56a 8%,
        #8d682d 28%,
        #3d2b13 58%,
        #110d08 100%
    ) !important;

border:
    2px solid
    rgba(235, 201, 121, .9) !important;

/*
 * Сефирота находится НАД каналами.
 */
z-index: 100 !important;

/*
 * Полностью закрываем линии под кругом.
 */
isolation: isolate !important;

overflow: hidden !important;

cursor: pointer !important;

box-shadow:
    inset 0 0 0 1px rgba(255,244,200,.25),

    inset 8px 8px 18px
    rgba(255,240,180,.20),

    inset -10px -12px 20px
    rgba(0,0,0,.65),

    0 0 6px
    rgba(255,215,130,.85),

    0 0 18px
    rgba(220,175,80,.55),

    0 0 38px
    rgba(190,145,60,.28),

    0 10px 25px
    rgba(0,0,0,.65) !important;

transition:
    transform .35s ease,
    box-shadow .35s ease,
    filter .35s ease !important;

}

/* =========================================================
ВНЕШНЕЕ ЗОЛОТОЕ КОЛЬЦО
========================================================= */

.amadeya-sefirot-page .sephira::before {
content: "" !important;

position: absolute !important;

inset: 5px !important;

z-index: -1 !important;

border-radius: 50% !important;

border:
    1px solid
    rgba(255,238,180,.62) !important;

background:
    radial-gradient(
        circle,
        rgba(255,221,140,.12),
        transparent 65%
    ) !important;

box-shadow:
    inset 0 0 12px
    rgba(255,225,145,.25),

    0 0 8px
    rgba(255,213,125,.35) !important;

pointer-events: none !important;

}

/* =========================================================
ВНУТРЕННЕЕ ЯДРО
========================================================= */

.amadeya-sefirot-page .sephira::after {
content: "" !important;

position: absolute !important;

left: 50% !important;
top: 50% !important;

width: 22px !important;
height: 22px !important;

transform:
    translate(-50%, -50%) !important;

border-radius: 50% !important;

background:
    radial-gradient(
        circle,
        #fff9dc 0%,
        #ffe9a1 18%,
        #d8a94f 42%,
        rgba(150,100,30,.4) 68%,
        transparent 72%
    ) !important;

box-shadow:
    0 0 5px #fff4c4,
    0 0 12px #f2cc78,
    0 0 25px rgba(230,185,80,.8) !important;

pointer-events: none !important;

animation:
    sephiraCorePulse 3.5s ease-in-out infinite !important;

}

/* =========================================================
ТЕКСТ
========================================================= */

.amadeya-sefirot-page .sephira-hebrew {
position: relative !important;

z-index: 10 !important;

margin-top: -8px !important;

color:
    #fff1bd !important;

font-family:
    "Times New Roman",
    serif !important;

font-size: 18px !important;

line-height: 1 !important;

text-shadow:
    0 0 5px rgba(255,230,160,.8),
    0 0 12px rgba(220,175,80,.6) !important;

}

.amadeya-sefirot-page .sephira-name {
position: relative !important;

z-index: 10 !important;

margin-top: 7px !important;

color:
    rgba(255,248,225,.94) !important;

font-size: 10px !important;

font-weight: 500 !important;

letter-spacing: .08em !important;

text-transform: uppercase !important;

white-space: nowrap !important;

text-shadow:
    0 1px 4px #000,
    0 0 8px rgba(255,215,130,.35) !important;

}

/* =========================================================
СЕФИРА ПРИ НАВЕДЕНИИ
========================================================= */

.amadeya-sefirot-page .sephira:hover {
transform:
translate(-50%, -50%)
scale(1.08) !important;

filter:
    brightness(1.18)
    saturate(1.1) !important;

box-shadow:
    inset 0 0 0 1px rgba(255,244,200,.35),

    inset 8px 8px 18px
    rgba(255,240,180,.28),

    inset -10px -12px 20px
    rgba(0,0,0,.55),

    0 0 8px
    rgba(255,225,145,.95),

    0 0 25px
    rgba(230,185,80,.8),

    0 0 55px
    rgba(210,160,60,.5),

    0 15px 30px
    rgba(0,0,0,.7) !important;

}

/* =========================================================
ПУЛЬСАЦИЯ ЯДРА
========================================================= */

@keyframes sephiraCorePulse {

0%,
100% {
    opacity: .72;

    transform:
        translate(-50%, -50%)
        scale(.88);
}

50% {
    opacity: 1;

    transform:
        translate(-50%, -50%)
        scale(1.12);
}

}

/* =========================================================
ДОПОЛНИТЕЛЬНЫЙ ЗОЛОТОЙ ОРЕОЛ
========================================================= */

.amadeya-sefirot-page .sephira {
animation:
sephiraAura 5s ease-in-out infinite;
}

@keyframes sephiraAura {

0%,
100% {
    box-shadow:
        inset 0 0 0 1px rgba(255,244,200,.25),
        inset 8px 8px 18px rgba(255,240,180,.20),
        inset -10px -12px 20px rgba(0,0,0,.65),
        0 0 6px rgba(255,215,130,.85),
        0 0 18px rgba(220,175,80,.55),
        0 0 38px rgba(190,145,60,.28),
        0 10px 25px rgba(0,0,0,.65);
}

50% {
    box-shadow:
        inset 0 0 0 1px rgba(255,244,200,.32),
        inset 8px 8px 18px rgba(255,240,180,.24),
        inset -10px -12px 20px rgba(0,0,0,.62),
        0 0 8px rgba(255,225,145,.95),
        0 0 24px rgba(230,185,80,.72),
        0 0 48px rgba(200,150,60,.36),
        0 10px 28px rgba(0,0,0,.7);
}

}
/* =========================================================
   ФИНАЛЬНАЯ КОРРЕКЦИЯ НИЖНИХ КАНАЛОВ
   ========================================================= */

.amadeya-sefirot-page .tree .p19,
.amadeya-sefirot-page .tree .p21,
.amadeya-sefirot-page .tree .p22 {
    z-index: 2;
}


/*
 * Сефиры находятся поверх каналов.
 * Поэтому линия физически подходит к центру,
 * но не должна быть видна поверх самой Сефиры.
 */

.amadeya-sefirot-page .sephira {
    z-index: 5;
}


/*
 * Малькут гарантированно перекрывает конец
 * всех трёх нижних каналов.
 */

.amadeya-sefirot-page .s-malkuth {
    z-index: 10;
}
/* =========================================================
   AMADEYA — ФИНАЛЬНАЯ ГЕОМЕТРИЯ 22 ПУТЕЙ
   СООТВЕТСТВУЕТ DEREVOSEFIROT
   ========================================================= */

.amadeya-sefirot-page .tree .p1 {
    width: 27%;
    left: 50%;
    top: 8%;
    transform: rotate(29deg);
}

.amadeya-sefirot-page .tree .p2 {
    width: 27%;
    left: 50%;
    top: 8%;
    transform: rotate(151deg);
}

.amadeya-sefirot-page .tree .p3 {
    width: 42%;
    left: 50%;
    top: 8%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p4 {
    width: 50%;
    left: 25%;
    top: 23%;
    transform: rotate(0deg);
}

.amadeya-sefirot-page .tree .p5 {
    width: 38%;
    left: 25%;
    top: 23%;
    transform: rotate(48deg);
}

.amadeya-sefirot-page .tree .p6 {
    width: 27%;
    left: 75%;
    top: 23%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p7 {
    width: 38%;
    left: 75%;
    top: 23%;
    transform: rotate(132deg);
}

.amadeya-sefirot-page .tree .p8 {
    width: 27%;
    left: 25%;
    top: 23%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p9 {
    width: 50%;
    left: 25%;
    top: 42%;
    transform: rotate(0deg);
}

.amadeya-sefirot-page .tree .p10 {
    width: 29%;
    left: 75%;
    top: 42%;
    transform: rotate(161deg);
}

.amadeya-sefirot-page .tree .p11 {
    width: 27%;
    left: 75%;
    top: 42%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p12 {
    width: 29%;
    left: 25%;
    top: 42%;
    transform: rotate(19deg);
}

.amadeya-sefirot-page .tree .p13 {
    width: 27%;
    left: 25%;
    top: 42%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p14 {
    width: 29%;
    left: 50%;
    top: 50%;
    transform: rotate(27deg);
}

.amadeya-sefirot-page .tree .p15 {
    width: 28%;
    left: 50%;
    top: 50%;
    transform: rotate(90deg);
}

.amadeya-sefirot-page .tree .p16 {
    width: 29%;
    left: 50%;
    top: 50%;
    transform: rotate(153deg);
}

.amadeya-sefirot-page .tree .p17 {
    width: 50%;
    left: 25%;
    top: 65%;
    transform: rotate(0deg);
}

.amadeya-sefirot-page .tree .p18 {
    width: 29%;
    left: 75%;
    top: 65%;
    transform: rotate(153deg);
}

.amadeya-sefirot-page .tree .p19 {
    width: 39%;
    left: 25%;
    top: 65%;
    transform: rotate(48deg);
}

.amadeya-sefirot-page .tree .p20 {
    width: 29%;
    left: 25%;
    top: 65%;
    transform: rotate(27deg);
}

.amadeya-sefirot-page .tree .p21 {
    width: 39%;
    left: 75%;
    top: 65%;
    transform: rotate(132deg);
}

.amadeya-sefirot-page .tree .p22 {
    width: 24%;
    left: 50%;
    top: 78%;
    transform: rotate(90deg);
}


/* =========================================================
   СЕФИРЫ ВСЕГДА ПОВЕРХ ЛИНИЙ
   ========================================================= */

.amadeya-sefirot-page .path {
    z-index: 2;
}

.amadeya-sefirot-page .sephira {
    z-index: 5;
}



/* Auth navigation for the Tree page */
.amadeya-tree-account{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:0 auto 18px}.amadeya-tree-account-checking{visibility:hidden;min-height:38px}.amadeya-tree-account-status{font-size:12px;letter-spacing:.12em;color:#d9c28a;text-transform:uppercase}.amadeya-tree-auth-button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border-radius:999px;text-decoration:none;font-family:Georgia,serif;font-size:13px;letter-spacing:.06em;transition:transform .2s,box-shadow .2s,background .2s}.amadeya-tree-auth-button:hover{transform:translateY(-1px)}.amadeya-tree-auth-button-ghost{border:1px solid rgba(201,164,92,.45);color:#e8d6aa;background:rgba(20,16,12,.55)}.amadeya-tree-auth-button-gold{border:1px solid #9d7b3d;color:#17120a;background:linear-gradient(135deg,#9b7938,#c7a35c,#967333);box-shadow:0 5px 18px rgba(0,0,0,.18)}.arcana-access-auth-links{display:grid;grid-template-columns:auto auto;gap:6px 12px;margin-top:18px;text-align:center;font-size:12px;color:#a9a095}.arcana-access-auth-links a{color:#e5c77d;text-decoration:none}.arcana-access-auth-links span:nth-of-type(1),.arcana-access-auth-links span:nth-of-type(2){text-align:right}


/* Explicit anonymous-state confirmation after logout. */
.amadeya-logout-notice {
    margin: 0 auto 18px;
    max-width: 720px;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    letter-spacing: .04em;
}
