.glaimas-pl-mask-text{
    font-family: 'Poppins', 'Arial Black', Impact, sans-serif;
    font-weight: 800;
    font-size: 118px;
    fill: white;
}
.glaimas-pl-shine-fill{
    fill: url(#shineGradient);
    animation: shineMove 2.2s ease forwards;
}
@keyframes shineMove{
    from{
        transform: translateX(-250px);
    }
    to{
        transform: translateX(500px);
    }
}
html.glaimas-pl-active, html.glaimas-pl-active body { overflow: hidden !important; }

#glaimas-preloader {
    --pl-accent:   #c7eb31;
    --pl-accent-2: #d4f04a;
    --pl-fill:     #f6f6f4;
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050505;
    background-image: radial-gradient(120% 120% at 50% 38%, #15151c 0%, #0c0c10 44%, #050505 100%);
    opacity: 1;
    visibility: visible;
    will-change: opacity, transform;
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1),
                transform .7s cubic-bezier(.4, 0, .2, 1),
                visibility .7s linear;
}

#glaimas-preloader.glaimas-pl-exit {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    /* pointer-events: none; */
}

.glaimas-pl-glow {
    position: absolute;
    left: 50%;
    top: 46%;
    width: min(72vw, 560px);
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: radial-gradient(circle,
        rgba(199, 235, 49, .20) 0%,
        rgba(199, 235, 49, .06) 38%,
        transparent 66%);
    filter: blur(6px);
    animation: glaimasPlBreathe 3.4s ease-in-out infinite;
}
@keyframes glaimasPlBreathe {
    0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); }
    50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.glaimas-pl-particles { position: absolute; inset: 0; pointer-events: none; }
.glaimas-pl-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pl-accent);
    box-shadow: 0 0 8px rgba(199, 235, 49, .8);
    opacity: 0;
    animation: glaimasPlBarPlFloat 6s ease-in-out infinite;
}
.glaimas-pl-particles span:nth-child(1) { left: 16%; top: 32%; animation-delay: 0s; }
.glaimas-pl-particles span:nth-child(2) { left: 82%; top: 28%; animation-delay: 1.2s; }
.glaimas-pl-particles span:nth-child(3) { left: 24%; top: 70%; animation-delay: .6s; }
.glaimas-pl-particles span:nth-child(4) { left: 76%; top: 66%; animation-delay: 1.8s; }
.glaimas-pl-particles span:nth-child(5) { left: 50%; top: 17%; animation-delay: .3s; }
.glaimas-pl-particles span:nth-child(6) { left: 61%; top: 81%; animation-delay: 2.1s; }
@keyframes glaimasPlBarPlFloat {
    0%   { transform: translateY(16px) scale(.5); opacity: 0; }
    30%  { opacity: .7; }
    70%  { opacity: .45; }
    100% { transform: translateY(-28px) scale(1); opacity: 0; }
}

.glaimas-pl-stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 0 24px;
}

.glaimas-pl-logo { position: relative; }
.glaimas-pl-svg {
    display: block;
    width: min(58vw, 300px);
    height: auto;
    overflow: visible;
    animation: glaimasPlLogoIn .9s cubic-bezier(.2, .8, .2, 1) both,
            glaimasPlGlowPulse 2.8s ease-in-out 1.3s infinite;
}
@keyframes glaimasPlLogoIn {
    from { opacity: 0; transform: translateY(10px) scale(.96); filter: blur(6px); }
    to   { opacity: 1; transform: none;                        filter: blur(0); }
}
@keyframes glaimasPlGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 10px rgba(199, 235, 49, .25)); }
    50%      { filter: drop-shadow(0 0 24px rgba(199, 235, 49, .55)); }
}

.glaimas-pl-text {
    font-family: 'Poppins', 'Arial Black', Impact, system-ui, sans-serif;
    font-weight: 800;
    font-size: 118px;
    letter-spacing: 2px;
    fill: transparent;
    stroke: var(--pl-accent);
    stroke-width: 1.4px;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    paint-order: stroke fill;
    /* draw the outline, then flood the fill */
    animation: glaimasPlDraw 1.5s cubic-bezier(.6, 0, .25, 1) .2s forwards,
            glaimasPlFill 1s ease-out 1.35s forwards;
}
@keyframes glaimasPlDraw { to { stroke-dashoffset: 0; } }
@keyframes glaimasPlFill { to { fill: var(--pl-fill); stroke-width: .5px; } }

@keyframes glaimasPlShine {
    0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
    20%  { opacity: .85; }
    60%  { opacity: .85; }
    100% { transform: translateX(360%) skewX(-18deg);  opacity: 0; }
}

.glaimas-pl-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: glaimasPlMetaIn .8s ease 1.5s both;
}
@keyframes glaimasPlMetaIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
.glaimas-pl-bar {
    position: relative;
    width: 200px;
    max-width: 60vw;
    height: 2px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .10);
    overflow: hidden;
}
.glaimas-pl-bar span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pl-accent), var(--pl-accent-2));
    box-shadow: 0 0 12px rgba(199, 235, 49, .7);
    animation: glaimasPlBar 1.9s cubic-bezier(.25, .6, .2, 1) 1.55s forwards;
}
@keyframes glaimasPlBar {
    0%   { width: 0; }
    55%  { width: 62%; }
    100% { width: 86%; }
}
#glaimas-preloader.glaimas-pl-done .glaimas-pl-bar span {
    width: 100% !important;
    animation: none;
    transition: width .3s ease;
}
.glaimas-pl-word {
    margin: 0;
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .42em;
    text-indent: .42em;
    text-transform: uppercase;
    color: rgba(245, 245, 245, .78);
}

@media (max-width: 480px) {
    .glaimas-pl-stage { gap: 0px; }
    .glaimas-pl-svg   { width: 64vw; }
    .glaimas-pl-word  { font-size: 10px; letter-spacing: .38em; text-indent: .38em; }
    .glaimas-pl-text { font-size: 80px;}
}

@media (prefers-reduced-motion: reduce) {
    .glaimas-pl-glow,
    .glaimas-pl-particles span,
    .glaimas-pl-svg,
    .glaimas-pl-text,
    .glaimas-pl-shine,
    .glaimas-pl-meta,
    .glaimas-pl-bar span { animation: none !important; }
    .glaimas-pl-particles { display: none; }
    .glaimas-pl-text { fill: var(--pl-fill); stroke-width: .5px; stroke-dashoffset: 0; }
    .glaimas-pl-meta { opacity: 1; }
    .glaimas-pl-bar span { width: 86%; }
    #glaimas-preloader.glaimas-pl-exit { transform: none; }
}