     /* Töltőképernyő teljes háttér */
     #loading-screen {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background-color: #000000;
        display: flex; justify-content: center; align-items: center;
        z-index: 999999;
        transition: opacity 0.5s ease;
    }

    #loading-content {
        display: flex; flex-direction: column; align-items: center; gap: 25px;
    }

    /* 3D Háromszög Container */
    #shard-spinner-container {
        width: 45px; height: 60px;
        perspective: 1000px; 
    }

    #shard-spinner {
        width: 100%; height: 100%;
        position: relative;
        transform-style: preserve-3d;
        /* VISSZAÁLLÍTVA: Folyamatos, egyenletes pörgés (3 másodperces körök) */
        animation: spinShard 3s linear infinite;
    }

    /* Aszimmetrikus Háromszög forma */
    .shard-side {
        position: absolute; width: 100%; height: 100%;
        clip-path: polygon(50% 0%, 100% 90%, 10% 100%);
        backface-visibility: hidden; 
    }

    #shard-white {
        background-color: #ffffff;
        transform: rotateY(0deg);
    }

    #shard-colored {
        background-color: #00FFFF; /* Ezt a JS továbbra is cserélgeti a háttérben */
        transform: rotateY(180deg);
    }

    /* Csillanás effektus a fordulatnál */
    #shard-spinner::after {
        content: '';
        position: absolute; top: 10%; right: 15%;
        width: 6px; height: 6px;
        background-color: #ffffff; border-radius: 50%;
        opacity: 0; box-shadow: 0 0 15px 5px #ffffff; 
        /* A csillanás is ráállt a 3 másodperces folyamatos pörgésre */
        animation: flashShardGlint 3s linear infinite;
        z-index: 2;
    }

    /* Minimalista Csík */
    #progress-bar-outer {
        width: 150px; 
        height: 3px;
        background-color: #1a1a1a; 
        border-radius: 2px; overflow: hidden; position: relative;
    }

    #progress-bar-inner {
        width: 0%; height: 100%;
        background-color: #ffffff; 
        border-radius: 2px;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    }

    /* FOLYAMATOS ANIMÁCIÓK */
    @keyframes spinShard {
        0% { transform: rotateY(0deg); }
        100% { transform: rotateY(360deg); }
    }

    @keyframes flashShardGlint {
        0%, 20%, 35%, 100% { opacity: 0; transform: scale(1); }
        25% { opacity: 1; transform: scale(1.3); } /* Csillanás, amikor a fehér oldal befordul */
    }