/*
 * Aloghazal - Golden Dust Atmosphere
 * A decorative, viewport-fixed layer shared by public main pages.
 */
.algh-golden-dust {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.94;
    visibility: visible;
    pointer-events: none;
    contain: strict;
}

/* Keep the logo highlight subtle and independent from Blade markup. */
.logo {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.logo::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    width: 50%;
    height: 100%;
    content: '';
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.48) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: algh-logo-shine 4.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes algh-logo-shine {
    0%, 12% {
        left: -100%;
    }

    48%, 100% {
        left: 200%;
    }
}

@media (max-width: 767.98px) {
    .algh-golden-dust {
        opacity: 0.88;
    }

    .logo::before {
        animation-duration: 6s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo::before {
        animation: none;
    }
}

@media print {
    .algh-golden-dust {
        display: none !important;
    }
}
