/* ELARIS — O Level hero art (o-level-page.css): a turning cube of subjects */
.ol-scene { position: relative; width: min(500px, 100%); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; }
.ol-glow { position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(138, 86, 184, .24), transparent 66%); }
.ol-ring { position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(138, 86, 184, .45); transform: rotateX(72deg); animation: ol-ring 30s linear infinite; }
@keyframes ol-ring { to { rotate: 360deg; } }
.ol-cube { --s: 180px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: ol-turn 24s linear infinite; }
@keyframes ol-turn { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.ol-cube > i { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border-radius: 22px; font: 800 17px/1 var(--font-heading); font-style: normal; color: #fff; border: 2px solid rgba(255, 255, 255, .4); box-shadow: inset 0 0 40px rgba(255, 255, 255, .12); }
.ol-cube > i b { font-size: 34px; font-weight: 900; }
.ol-cube > i:nth-child(1) { background: linear-gradient(145deg, #8a56b8, #5b2f86); transform: translateZ(calc(var(--s) / 2)); }
.ol-cube > i:nth-child(2) { background: linear-gradient(145deg, #4a5fd1, #2c3b9b); transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.ol-cube > i:nth-child(3) { background: linear-gradient(145deg, #0b8a96, #075e67); transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.ol-cube > i:nth-child(4) { background: linear-gradient(145deg, #d0364f, #9d2339); transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.ol-cube > i:nth-child(5) { background: linear-gradient(145deg, #1f9d55, #136b39); transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.ol-cube > i:nth-child(6) { background: linear-gradient(145deg, #e0a800, #b07f00); transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
.ol-badge { position: absolute; right: 4%; top: 12%; display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 99px; background: #fff; font: 800 14px/1 var(--font-heading); color: var(--x-navy); box-shadow: 0 18px 34px -14px rgba(0, 41, 107, .5); animation: ol-bob 6s ease-in-out infinite; }
.ol-badge i { color: #e0a800; }
.ol-tag { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--font-heading); color: #fff; background: #8a56b8; box-shadow: 0 16px 26px -12px rgba(138, 86, 184, .7); animation: ol-bob 6s ease-in-out infinite; }
.ol-tag.t1 { left: 6%; top: 24%; animation-delay: -1s; } .ol-tag.t2 { left: 2%; bottom: 26%; animation-delay: -3s; background: #4a5fd1; } .ol-tag.t3 { right: 8%; bottom: 14%; animation-delay: -5s; background: #0b8a96; }
@keyframes ol-bob { 50% { margin-top: -12px; } }
@media (max-width: 820px) { .ol-scene { width: min(340px, 100%); } .ol-cube { --s: 126px; } .ol-cube > i { font-size: 13px; } .ol-cube > i b { font-size: 24px; } .ol-tag { width: 40px; height: 40px; font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .ol-cube, .ol-ring, .ol-badge, .ol-tag { animation: none; } .ol-cube { transform: rotateX(-24deg) rotateY(-30deg); } }
