/* ELARIS — KG hero art (kg-page.css): floating 3D toy blocks */
.kg-scene { --ac: #f59e0b; position: relative; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; }
.kg-sun { position: absolute; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff2b8, #ffd24d 45%, #ffb11a 100%); box-shadow: 0 0 80px 20px rgba(255, 193, 7, .35); animation: kg-pulse 6s ease-in-out infinite; }
@keyframes kg-pulse { 50% { scale: 1.05; } }
.kg-cloud { position: absolute; height: 46px; width: 130px; border-radius: 99px; background: #fff; box-shadow: 0 14px 30px -14px rgba(0, 41, 107, .35); animation: kg-drift 11s ease-in-out infinite; }
.kg-cloud::before, .kg-cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.kg-cloud::before { width: 56px; height: 56px; left: 18px; top: -26px; } .kg-cloud::after { width: 40px; height: 40px; left: 62px; top: -16px; }
.kg-cloud.a { left: 0; top: 14%; } .kg-cloud.b { right: -2%; bottom: 16%; animation-delay: -5s; transform: scale(.8); }
@keyframes kg-drift { 50% { translate: 24px 0; } }
.kg-cubes { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.kgc { --s: 92px; position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: kg-spin 16s linear infinite; }
.kgc.c1 { left: 14%; top: 20%; } .kgc.c2 { --s: 112px; right: 12%; top: 38%; animation-duration: 20s; animation-direction: reverse; } .kgc.c3 { --s: 78px; left: 34%; bottom: 8%; animation-duration: 12s; }
@keyframes kg-spin { to { transform: rotateX(360deg) rotateY(360deg); } }
.kgc i { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 16px; font: 800 calc(var(--s) * .46)/1 var(--font-heading); font-style: normal; color: #fff; border: 4px solid rgba(255, 255, 255, .55); box-shadow: inset 0 -10px 20px rgba(0, 0, 0, .12); }
.kgc i:nth-child(1) { background: #ef476f; transform: translateZ(calc(var(--s) / 2)); }
.kgc i:nth-child(2) { background: #06b6d4; transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.kgc i:nth-child(3) { background: #7c5cff; transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.kgc i:nth-child(4) { background: #22c55e; transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.kgc i:nth-child(5) { background: #f59e0b; transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.kgc i:nth-child(6) { background: #3b82f6; transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.kg-chip { position: absolute; padding: 11px 18px; border-radius: 99px; background: #fff; font: 800 15px/1 var(--font-heading); color: var(--x-navy); box-shadow: 0 18px 34px -14px rgba(0, 41, 107, .5); animation: kg-bob 6s ease-in-out infinite; }
.kg-chip.k1 { left: 2%; bottom: 26%; } .kg-chip.k2 { right: 4%; top: 12%; animation-delay: -2s; } .kg-chip.k3 { right: 20%; bottom: 4%; animation-delay: -4s; }
@keyframes kg-bob { 50% { margin-top: -12px; } }
@media (max-width: 820px) { .kg-scene { width: min(340px, 100%); } .kgc { --s: 68px !important; } .kgc.c2 { --s: 80px !important; } .kg-chip { font-size: 12px; padding: 9px 13px; } .kg-cloud { transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .kgc, .kg-chip, .kg-cloud, .kg-sun { animation: none; } }
