/* C365 Dynamic Soccer Background
   Put this in wwwroot/css/backgrounds.css or append to auth.css.
*/

.c365-auth-page {
    position: relative;
    isolation: isolate;
}

.c365-dynamic-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(199,255,36,.08), transparent 26%), radial-gradient(circle at 80% 76%, rgba(199,255,36,.06), transparent 24%), linear-gradient(135deg, var(--c365-bg) 0%, var(--c365-bg-soft) 52%, #020303 100%);
}

    .c365-dynamic-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.72) 100%);
        pointer-events: none;
    }

.c365-dynamic-bg-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.c365-auth-shell,
.c365-auth-card {
    position: relative;
    z-index: 2;
}

/* Generated SVG classes */

.c365-bg-particle {
    fill: var(--c365-lime);
    opacity: .62;
    filter: drop-shadow(0 0 5px rgba(199,255,36,.65));
}

.c365-bg-line {
    stroke: rgba(199,255,36,.42);
    stroke-width: 1.4;
    stroke-linecap: round;
    filter: drop-shadow(0 0 7px rgba(199,255,36,.55));
}

.c365-bg-line-soft {
    opacity: .36;
    stroke-dasharray: 8 18;
}

.c365-bg-ball {
    opacity: .42;
    transform-box: fill-box;
    transform-origin: center;
    animation: c365Float var(--float-duration, 18s) ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
}

.c365-bg-ball-large {
    opacity: .50;
}

.c365-bg-ball-small {
    opacity: .32;
}

.c365-bg-ball-outline {
    fill: rgba(3,4,5,.18);
    stroke: rgba(199,255,36,.50);
    stroke-width: 1.8;
    filter: drop-shadow(0 0 13px rgba(199,255,36,.48));
}

.c365-bg-ball-glow {
    fill: none;
    stroke: rgba(199,255,36,.12);
    stroke-width: 8;
    filter: drop-shadow(0 0 20px rgba(199,255,36,.55));
}

.c365-bg-ball-seam {
    fill: none;
    stroke: rgba(199,255,36,.45);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(199,255,36,.35));
}

.c365-bg-dot-grid circle {
    fill: var(--c365-lime);
    opacity: .44;
}

@keyframes c365Float {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--rotate-start, 0deg));
    }

    50% {
        transform: translate3d(var(--float-x, 18px), var(--float-y, -22px), 0) rotate(var(--rotate-end, 8deg));
    }
}

@media (max-width: 768px) {
    .c365-dynamic-bg {
        opacity: .82;
    }

    .c365-bg-ball {
        opacity: .26;
    }

    .c365-bg-ball-large {
        opacity: .32;
    }

    .c365-bg-particle {
        opacity: .42;
    }
}

@media (max-width: 560px) {
    .c365-bg-ball {
        opacity: .18;
    }

    .c365-bg-line {
        opacity: .32;
    }

    .c365-bg-particle {
        opacity: .34;
    }
}
