/*
 * DALARZ LOGIN ENTRY CSS BUNDLE
 * Batch 26A4D
 *
 * All original style rules and source order are preserved.
 * Bootstrap remains an independent, shared cacheable asset.
 */
/* SOURCE: wwwroot\css\site.css */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* ===========================
   DALARZ
   Main Stylesheet
   =========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    height:100%;
}

body{
    background:#000;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    font-family:Arial,Helvetica,sans-serif;
}

/* Center Container */

.hero{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}

/* DALARZ Logo */

.logo{
    position:relative;
    z-index:5;

    color:#ffffff;

    font-size:120px;
    font-weight:900;

    letter-spacing:18px;

    user-select:none;

    text-shadow:
        0 0 8px rgba(255,255,255,.35),
        0 0 18px rgba(255,255,255,.18);
}

/* Orbit Container */

#orbit{

    position:absolute;

    left:50%;
    top:50%;

    width:520px;
    height:520px;

    transform:translate(-50%,-50%);

    border-radius:50%;

    pointer-events:none;

    animation:rotateOrbit 20s linear infinite;
}

/* Orbit Dots */

.orbit-dot{

    position:absolute;

    width:6px;
    height:6px;

    border-radius:50%;

    box-shadow:
        0 0 4px currentColor,
        0 0 8px currentColor,
        0 0 14px currentColor;
}

/* Rotation */

@keyframes rotateOrbit{

    from{

        transform:
            translate(-50%,-50%)
            rotate(0deg);

    }

    to{

        transform:
            translate(-50%,-50%)
            rotate(360deg);

    }

}

/* Responsive */

@media(max-width:992px){

    .logo{

        font-size:90px;
        letter-spacing:12px;

    }

    #orbit{

        width:420px;
        height:420px;

    }

}

@media(max-width:600px){

    .logo{

        font-size:52px;
        letter-spacing:6px;

    }

    #orbit{

        width:280px;
        height:280px;

    }

}
.login-page{

    width:100%;
    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.login-card{

    width:420px;

    padding:50px;

    border-radius:24px;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    display:flex;

    flex-direction:column;

    gap:20px;

    z-index:10;

}

.subtitle{

    color:#9f9f9f;

    text-align:center;

    margin-bottom:20px;

}

.input{

    width:100%;

    padding:16px;

    border:none;

    outline:none;

    border-radius:12px;

    background:#111;

    color:white;

    font-size:16px;

}

.input:focus{

    box-shadow:

    0 0 15px rgba(255,255,255,.15);

}

.btn-login{

    margin-top:10px;

    width:100%;

    padding:16px;

    border:none;

    border-radius:12px;

    background:white;

    color:black;

    cursor:pointer;

    font-size:17px;

    font-weight:bold;

    transition:.3s;

}

.btn-login:hover{

    transform:translateY(-2px);

}
.dashboard{

    display:flex;

    min-height:100vh;

    background:#000;

}

.sidebar{

    width:290px;

    background:#080808;

    border-right:1px solid rgba(255,255,255,.08);

    padding:35px;

    display:flex;

    flex-direction:column;

}

.brand{

    text-align:center;

    position:relative;

    margin-bottom:45px;

}

.brand h1{

    color:white;

    font-size:34px;

    letter-spacing:8px;

}

.sidebar nav{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.sidebar nav a{

    color:white;

    text-decoration:none;

    padding:16px;

    border-radius:14px;

    transition:.25s;

}

.sidebar nav a:hover{

    background:#151515;

    transform:translateX(6px);

}

.content{

    flex:1;

    padding:50px;

}

.welcome{

    margin-bottom:40px;

}

.welcome h2{

    color:white;

    font-size:42px;

}

.welcome p{

    color:#999;

}

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}

.card{

    background:#111;

    border:1px solid rgba(255,255,255,.06);

    border-radius:22px;

    height:220px;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:22px;

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:

    0 0 40px rgba(255,255,255,.08);

}
/* ============================================================
   DALARZ - INTERACTION LAYERS
============================================================ */

/* Visual-only layers must NEVER block UI interaction */

#background-gradient,
#orbitCanvas,
#ambientLayer,
#ambientContainer,
#glitchLayer,
#glitchOverlay,
#shadowVisitor,
#verityContainer,
#orbitContainer {
    pointer-events: none !important;
}

/* Main interactive UI */

#login-scene,
#centerPanel,
#logoSection,
#loginPanel,
#loginForm,
#loginForm input,
#loginForm button,
#registerBox,
#registerBox a {
    position: relative;
    pointer-events: auto;
}

/* Keep login UI above every visual effect */

#centerPanel {
    z-index: 1000;
}

#loginPanel {
    z-index: 1001;
}

#loginForm {
    z-index: 1002;
}

#enterButton,
#registerBox a,
#loginForm input {
    z-index: 1003;
    cursor: pointer;
}
#orbitCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none !important;
    z-index: 1;
}
#centerPanel {
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

/* SOURCE: wwwroot\css\login.css */
/* =========================================================
   DALARZ
   LOGIN VISUAL SYSTEM
   FINAL BUILD
========================================================= */


/* =========================================================
   RESET / BASE
========================================================= */

#login-scene,
#login-scene * {
    box-sizing: border-box;
}


#login-scene {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    isolation: isolate;

    color: #fff;

    background:
        #050507;
}


/* =========================================================
   BACKGROUND
========================================================= */

#background-gradient {
    position: fixed;

    inset: 0;

    z-index: -10;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(35, 35, 48, .38),
            transparent 42%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(0, 90, 150, .10),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 20%,
            rgba(120, 0, 100, .08),
            transparent 35%
        ),
        #050507;
}


#ambientLayer {
    position: fixed;

    inset: 0;

    z-index: -9;

    pointer-events: none;

    opacity: .8;

    background:
        radial-gradient(
            circle at center,
            transparent 25%,
            rgba(0,0,0,.38) 100%
        );
}


#orbitCanvas {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: 4;

    pointer-events: none;

    display: block;

    overflow: hidden;
}


#glitchLayer {
    position: fixed;

    inset: 0;

    z-index: -8;

    pointer-events: none;

    opacity: .035;

    background:
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 2px,
            rgba(255,255,255,.025) 3px,
            transparent 4px
        );
}


/* =========================================================
   CENTER
========================================================= */

#centerPanel {
    position: relative;

    z-index: 10;

    width: 100%;
    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 38px;

    /*
       کمی فضای امن از بالا و پایین.
       این باعث می‌شود حلقه هیچ‌وقت به لبه نچسبد.
    */
    padding: 80px 20px;

    overflow: visible;
}

/* =========================================================
   LOGO SECTION
========================================================= */

#logoSection {
    position: relative;

    width: 440px;
    height: 210px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    isolation: isolate;

    overflow: visible;

    transform: translateY(12px);
}


/* =========================================================
   LOGO TEXT
========================================================= */

#logoText {
    position: relative;

    z-index: 20;

    margin: 0;

    color: #fff;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size:
        clamp(48px, 6vw, 76px);

    font-weight: 800;

    line-height: 1;

    letter-spacing:
        clamp(6px, 1vw, 13px);

    text-transform: uppercase;

    white-space: nowrap;

    user-select: none;

    text-align: center;

    text-shadow:
        0 0 4px rgba(255,255,255,.95),
        0 0 14px rgba(255,255,255,.38),
        0 0 32px rgba(255,255,255,.12);
}


/* =========================================================
   34 POINT RING CONTAINER
========================================================= */

#logoRing {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 100%;
    height: 100%;

    transform:
        translate(-50%, -50%);

    z-index: 15;

    pointer-events: none;

    overflow: visible;
}


/* =========================================================
   INDIVIDUAL 34 POINTS
========================================================= */

.logo-dot {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 8px;
    height: 8px;

    margin:
        -4px 0 0 -4px;

    border-radius: 50%;

    background:
        hsl(
            var(--dot-hue),
            100%,
            65%
        );

    box-shadow:
        0 0 5px
        hsl(
            var(--dot-hue),
            100%,
            65%
        ),

        0 0 13px
        hsla(
            var(--dot-hue),
            100%,
            60%,
            .8
        ),

        0 0 22px
        hsla(
            var(--dot-hue),
            100%,
            55%,
            .32
        );

    transform:
        rotate(var(--angle))
        translateY(-72px)
        rotate(calc(var(--angle) * -1));

    will-change:
        background,
        box-shadow;

    opacity: 1;
}

/* =========================================================
   INNER LOGO RING
========================================================= */

#logoRing {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 380px;
    height: 190px;

    transform:
        translate(-50%, -50%)
        translateY(2px);

    z-index: 15;

    pointer-events: none;

    overflow: visible;
}

/* =========================================================
   EXTRA OUTER HALO
========================================================= */

#logoSection::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 166px;
    height: 166px;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.035);

    box-shadow:
        0 0 45px
        rgba(0,180,255,.025);

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   LOGIN PANEL
========================================================= */

#loginPanel {
    position: relative;

    z-index: 50;

    width:
        min(
            390px,
            calc(100vw - 40px)
        );

    min-height: 390px;

    padding:
        30px 30px 27px;

    border-radius: 28px;

    overflow: hidden;

    isolation: isolate;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.095),
            rgba(255,255,255,.035)
        );

    border:
        1px solid rgba(255,255,255,.17);

    backdrop-filter:
        blur(25px)
        saturate(140%);

    -webkit-backdrop-filter:
        blur(25px)
        saturate(140%);

    box-shadow:
        0 35px 90px rgba(0,0,0,.62),

        0 0 0 1px
        rgba(255,255,255,.025),

        inset 0 1px 0
        rgba(255,255,255,.13),

        inset 0 -1px 0
        rgba(255,255,255,.025);
}


/* =========================================================
   HYPNOTIC DISC
   IMPORTANT:
   THIS IS INSIDE THE GLASS.
   z-index MUST NOT BE NEGATIVE.
========================================================= */

#hypnoticDisc {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 620px;
    height: 620px;

    transform:
        translate(-50%, -50%);

    z-index: 0;

    pointer-events: none;

    opacity: .14;

    border-radius: 50%;

    animation:
        hypnoticRotation
        22s
        linear
        infinite;

    filter:
        contrast(1.15)
        blur(.15px);
}


/* =========================================================
   HYPNOTIC RINGS
========================================================= */

.hypnoticRing {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%, -50%);

    border-radius: 50%;

    background:
        repeating-conic-gradient(
            from 0deg,

            #fff 0deg 6deg,

            #000 6deg 12deg,

            #fff 12deg 18deg,

            #000 18deg 24deg
        );

    opacity: .95;

    -webkit-mask:
        radial-gradient(
            circle,
            transparent
            calc(50% - 8px),

            #000
            calc(50% - 7px)
            calc(50% + 7px),

            transparent
            calc(50% + 8px)
        );

    mask:
        radial-gradient(
            circle,
            transparent
            calc(50% - 8px),

            #000
            calc(50% - 7px)
            calc(50% + 7px),

            transparent
            calc(50% + 8px)
        );
}


/* =========================================================
   HYPNOTIC SIZES
========================================================= */

.ring-1 {
    width: 70px;
    height: 70px;
}

.ring-2 {
    width: 120px;
    height: 120px;
}

.ring-3 {
    width: 175px;
    height: 175px;
}

.ring-4 {
    width: 230px;
    height: 230px;
}

.ring-5 {
    width: 285px;
    height: 285px;
}

.ring-6 {
    width: 340px;
    height: 340px;
}

.ring-7 {
    width: 395px;
    height: 395px;
}


/* =========================================================
   HYPNOTIC ANIMATION
========================================================= */

@keyframes hypnoticRotation {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


/* =========================================================
   GLASS OVERLAY
   ABOVE HYPNOTIC
========================================================= */

#loginGlassOverlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255,255,255,.075),
            transparent 32%
        ),

        linear-gradient(
            180deg,
            rgba(255,255,255,.035),
            rgba(0,0,0,.16)
        );

    box-shadow:
        inset 0 0 80px
        rgba(0,0,0,.30);
}


/* =========================================================
   LOGIN CONTENT
========================================================= */

#loginContent {
    position: relative;

    z-index: 10;

    width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.loginHeader {
    position: relative;

    text-align: center;

    margin-bottom: 27px;
}


.loginStatus {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    margin-bottom: 10px;

    color:
        rgba(255,255,255,.38);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


.statusDot {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 8px
        rgba(255,255,255,.8);
}


#loginPanel h2 {
    margin:
        0 0 7px;

    color: #fff;

    font-size: 24px;

    font-weight: 700;

    text-align: center;

    text-shadow:
        0 2px 12px
        rgba(0,0,0,.55);
}


#loginPanel .loginHeader p {
    margin: 0;

    color:
        rgba(255,255,255,.47);

    font-size: 12px;

    letter-spacing: .7px;

    text-align: center;
}


/* =========================================================
   FORM
========================================================= */

#loginForm {
    position: relative;

    z-index: 20;

    width: 100%;
}


/* =========================================================
   INPUT BOX
========================================================= */

.inputBox {
    position: relative;

    width: 100%;

    margin-bottom: 15px;
}


.inputBox label {
    display: block;

    margin:
        0 0 7px 3px;

    color:
        rgba(255,255,255,.48);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   INPUTS
========================================================= */

#loginPanel input {
    display: block;

    width: 100%;
    height: 53px;

    padding:
        0 16px;

    border-radius: 15px;

    border:
        1px solid rgba(255,255,255,.14);

    outline: none;

    background:
        rgba(0,0,0,.27);

    color: #fff;

    font-size: 14px;

    box-shadow:
        inset 0 1px 2px
        rgba(0,0,0,.22),

        inset 0 1px 0
        rgba(255,255,255,.035);

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


#loginPanel input::placeholder {
    color:
        rgba(255,255,255,.32);
}


#loginPanel input:hover {
    border-color:
        rgba(255,255,255,.22);
}


#loginPanel input:focus {
    background:
        rgba(0,0,0,.34);

    border-color:
        rgba(255,255,255,.38);

    box-shadow:
        0 0 0 1px
        rgba(255,255,255,.035),

        0 0 25px
        rgba(255,255,255,.07),

        inset 0 1px 2px
        rgba(0,0,0,.25);
}


/* =========================================================
   FIELD VALIDATION
========================================================= */

.inputBox .field-validation-error {
    display: block;

    min-height: 0;

    margin:
        5px 2px 0;

    color:
        rgba(255,95,95,.9);

    font-size: 11px;
}


/* =========================================================
   RGB LOGIN BUTTON
========================================================= */

#enterButton {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
    height: 56px;

    margin-top: 10px;

    padding: 0;

    overflow: hidden;

    border: none;

    border-radius: 16px;

    outline: none;

    color: #fff;

    /*
       JS ONLY CHANGES --login-hue.
       BUTTON DOES NOT MOVE.
    */

    background:
        hsl(
            var(--login-hue, 0),
            100%,
            50%
        );

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    text-shadow:
        0 1px 5px
        rgba(0,0,0,.65);

    box-shadow:
        0 0 14px
        hsla(
            var(--login-hue, 0),
            100%,
            55%,
            .32
        ),

        0 0 32px
        hsla(
            var(--login-hue, 0),
            100%,
            55%,
            .13
        ),

        inset 0 1px 0
        rgba(255,255,255,.32);

    transition:
        background-color .18s linear,
        box-shadow .18s linear,
        filter .18s ease;

    transform: none !important;
}


/* =========================================================
   RGB BUTTON SHINE
========================================================= */

#enterButton .buttonGlow {
    position: absolute;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            transparent 0%,
            rgba(255,255,255,.12) 45%,
            rgba(255,255,255,.24) 50%,
            rgba(255,255,255,.08) 55%,
            transparent 100%
        );

    opacity: .45;
}


/* =========================================================
   BUTTON TEXT
========================================================= */

#enterButton .buttonText {
    position: relative;

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   BUTTON HOVER
   NO MOVEMENT
========================================================= */

#enterButton:hover {
    filter:
        brightness(1.08);

    transform: none !important;
}


#enterButton:active {
    filter:
        brightness(.92);

    transform: none !important;
}


#enterButton:focus-visible {
    box-shadow:
        0 0 0 2px
        rgba(255,255,255,.3),

        0 0 22px
        hsla(
            var(--login-hue, 0),
            100%,
            55%,
            .45
        );
}


/* =========================================================
   VALIDATION SUMMARY
========================================================= */

.validationErrors {
    position: relative;

    z-index: 20;

    margin-top: 12px;

    color:
        rgba(255,95,95,.9);

    font-size: 12px;

    text-align: center;
}


/* =========================================================
   REGISTER
========================================================= */

#registerBox {
    position: relative;

    z-index: 20;

    margin-top: 21px;

    color:
        rgba(255,255,255,.38);

    font-size: 12px;

    text-align: center;
}


#registerBox a {
    margin-left: 5px;

    color:
        rgba(255,255,255,.82);

    text-decoration: none;

    transition:
        color .2s ease;
}


#registerBox a:hover {
    color: #fff;
}


/* =========================================================
   EXISTING ORBIT SYSTEM
========================================================= */

#orbitContainer {
    position: fixed;

    left: 50%;
    top: 50%;

    width: 1px;
    height: 1px;

    transform:
        translate(-50%, -50%);

    z-index: 5;

    pointer-events: none;
}


/* =========================================================
   EXISTING ORBIT POINTS
========================================================= */

#orbitContainer .orbit-point,
#orbitContainer .orbitPoint,
#orbitContainer [data-orbit-point] {
    position: absolute;

    border-radius: 50%;

    background:
        hsl(
            var(--orbit-hue, 0),
            100%,
            70%
        );

    box-shadow:
        0 0 6px
        hsl(
            var(--orbit-hue, 0),
            100%,
            65%
        ),

        0 0 14px
        hsla(
            var(--orbit-hue, 0),
            100%,
            60%,
            .45
        );
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    #centerPanel {
        gap: 30px;

        padding:
            55px 14px 50px;
    }


    #logoSection {
    width: 330px;
    height: 175px;

    transform:
        translateY(8px);
}


    #logoText {
        font-size: 43px;

        letter-spacing: 6px;
    }


    .logo-dot {
        width: 7px;
        height: 7px;

        margin:
            -3.5px 0 0 -3.5px;

        transform:
            rotate(var(--angle))
            translateY(-61px)
            rotate(calc(var(--angle) * -1));
    }


    #logoInnerRing {
        width: 132px;
        height: 132px;
    }


    #logoSection::after {
        width: 150px;
        height: 150px;
    }


    #loginPanel {
        width:
            min(
                390px,
                calc(100vw - 28px)
            );

        padding:
            27px 22px 24px;

        border-radius: 25px;
    }


    #hypnoticDisc {
        width: 520px;
        height: 520px;
    }
}


/* =========================================================
   DALARZ OPTION 20 — RGB COLOR CYCLE

   Logo:   36 seconds per rotation
   Button: 8.64 seconds per rotation

   Existing layout, dimensions, glow, hover behavior
   and all other Login UI components are preserved.
========================================================= */

@property --login-hue {
    syntax: "<number>";
    inherits: true;
    initial-value: 0;
}

#enterButton.is-hue-cycling {
    animation: dalarzLoginButtonHue 8.64s linear infinite;
}

#logoRing.is-hue-cycling {
    animation: dalarzLoginLogoHue 36s linear infinite;
}

@keyframes dalarzLoginButtonHue {
    from {
        --login-hue: 0;
    }

    to {
        --login-hue: 360;
    }
}

@keyframes dalarzLoginLogoHue {
    from {
        filter: hue-rotate(0deg);
    }

    to {
        filter: hue-rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #enterButton.is-hue-cycling,
    #logoRing.is-hue-cycling {
        animation: none;
    }
}

.reduced-motion #enterButton.is-hue-cycling,
.reduced-motion #logoRing.is-hue-cycling {
    animation: none;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

.reduced-motion #hypnoticDisc {
    animation: none;
}


.reduced-motion #enterButton {
    transition: none;
}


.reduced-motion .logo-dot {
    transition: none;
}

/* SOURCE: wwwroot\css\glitch.css */
.glitch-overlay{
    position:fixed;
    inset:0;
    pointer-events:none;
    opacity:0;
    z-index:9999;
    mix-blend-mode:screen;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,.02) 0,
            rgba(255,255,255,.02) 2px,
            transparent 2px,
            transparent 4px);
}

.glitch-active{

    animation:glitchFlash .7s ease;

}

@keyframes glitchFlash{

    0%{

        opacity:0;

        transform:translateX(0);

    }

    10%{

        opacity:.8;

        transform:translateX(-8px);

    }

    20%{

        transform:translateX(10px);

    }

    30%{

        transform:translateX(-15px);

    }

    45%{

        transform:translateX(8px);

    }

    60%{

        transform:translateX(-4px);

    }

    100%{

        opacity:0;

        transform:none;

    }

}

/* SOURCE: wwwroot\css\shadowVisitor.css */
/* ============================================================
   DALARZ - SHADOW VISITOR
   Background effect only
============================================================ */

#shadowVisitor {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none !important;

    z-index: 5;

    overflow: hidden;

    user-select: none;
    touch-action: none;

    background: transparent;
}

/*
   Any generated shadow/visitor element must also
   stay completely non-interactive.
*/

#shadowVisitor *,
#shadowVisitor::before,
#shadowVisitor::after {
    pointer-events: none !important;
    user-select: none;
}

/* SOURCE: wwwroot\css\dalarz-responsive-account.css */
/*
 * DALARZ RESPONSIVE ACCOUNT
 * Version 1.0.0
 *
 * Login and Register only.
 *
 * Desktop visual design is preserved.
 * Mobile and tablet receive responsive layout.
 *
 * No original DALARZ animation or DOM element
 * is removed by this stylesheet.
 */

/* =========================================================
   TABLET + MOBILE FOUNDATION
   ========================================================= */

@media (max-width: 1024px) {

    html {
        width: 100%;
        height: auto;
        min-height: 100%;

        overflow-x: clip;

        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        display: block !important;

        width: 100% !important;
        height: auto !important;

        min-height: 100vh !important;
        min-height: 100svh !important;

        margin: 0 !important;

        overflow-x: clip !important;
        overflow-y: auto !important;

        overscroll-behavior-x: none;

        -webkit-overflow-scrolling: touch;
    }

    /* =========================================
       LOGIN FOUNDATION
       ========================================= */

    #login-scene {
        width: 100%;

        min-height: 100vh;
        min-height: 100svh;

        overflow: visible;
    }

    #centerPanel {
        width: 100%;

        min-height: 100vh;
        min-height: 100svh;

        padding-top:
            clamp(18px, 3.5vh, 46px);

        padding-right:
            max(14px, env(safe-area-inset-right));

        padding-bottom:
            max(22px, env(safe-area-inset-bottom));

        padding-left:
            max(14px, env(safe-area-inset-left));

        gap:
            clamp(16px, 3vh, 34px);

        justify-content: center;
    }

    #logoSection {
        max-width: 100%;
        flex-shrink: 0;
    }

    #logoText {
        max-width: 100%;

        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    #loginPanel {
        max-width: 100%;
        height: auto;
    }

    #loginPanel input {
        min-height: 48px;
        font-size: 16px;
    }

    #enterButton {
        min-height: 48px;
    }

    /* =========================================
       REGISTER FOUNDATION
       ========================================= */

    .registerPage {
        width: 100%;

        min-height: 100vh;
        min-height: 100svh;

        padding-top:
            max(20px, env(safe-area-inset-top));

        padding-right:
            max(16px, env(safe-area-inset-right));

        padding-bottom:
            max(20px, env(safe-area-inset-bottom));

        padding-left:
            max(16px, env(safe-area-inset-left));
    }

    .registerForm {
        max-width: 100%;
        margin-inline: auto;
    }

    .registerInput {
        font-size: 16px;
    }
}

/* =========================================================
   MOBILE LOGO GEOMETRY
   ========================================================= */

@media (max-width: 600px) {

    #centerPanel {
        gap:
            clamp(14px, 2.4vh, 23px);

        padding-top:
            max(18px, env(safe-area-inset-top));

        padding-bottom:
            max(24px, env(safe-area-inset-bottom));
    }

    /*
     * One shared geometry:
     *
     * Logo Section Center
     *       =
     * Logo Text Center
     *       =
     * RGB Ring Center
     */

    #logoSection {
        width: min(100%, 330px) !important;

        height:
            clamp(134px, 42vw, 174px) !important;

        margin-inline: auto;

        transform: none !important;

        --dalarz-ring-radius:
            clamp(52px, 15.7vw, 61px);
    }

    #logoText {
        width: auto !important;
        max-width: 100% !important;

        margin: 0 !important;

        flex-shrink: 1;

        font-size:
            clamp(34px, 10.3vw, 43px) !important;

        letter-spacing:
            clamp(2px, 1.1vw, 6px) !important;

        line-height: 1 !important;

        text-align: center !important;

        white-space: nowrap;
    }

    /*
     * CRITICAL FIX:
     *
     * login.js assigns an inline transform
     * with a fixed 78px radius.
     *
     * The responsive CSS must override that
     * inline transform on small screens.
     */

    #logoRing {
        position: absolute !important;

        left: 50% !important;
        top: 50% !important;

        width: 100% !important;
        height: 100% !important;

        transform:
            translate(-50%, -50%) !important;

        transform-origin: 50% 50%;

        pointer-events: none;
    }

    #logoRing .logo-dot {
        transform:
            rotate(var(--angle))
            translateY(
                calc(
                    0px - var(--dalarz-ring-radius)
                )
            )
            rotate(
                calc(var(--angle) * -1)
            ) !important;
    }

    /*
     * Keep all decorative circles centered
     * on exactly the same point.
     */

    #logoInnerRing {
        position: absolute;

        left: 50%;
        top: 50%;

        width:
            calc(
                var(--dalarz-ring-radius) +
                var(--dalarz-ring-radius)
            );

        height:
            calc(
                var(--dalarz-ring-radius) +
                var(--dalarz-ring-radius)
            );

        transform:
            translate(-50%, -50%);

        border-radius: 50%;

        pointer-events: none;
    }

    #logoSection::after {
        width:
            calc(
                var(--dalarz-ring-radius) +
                var(--dalarz-ring-radius) +
                16px
            ) !important;

        height:
            calc(
                var(--dalarz-ring-radius) +
                var(--dalarz-ring-radius) +
                16px
            ) !important;
    }

    /* =========================================
       LOGIN GLASS PANEL
       ========================================= */

    #loginPanel {
        width: min(390px, 100%) !important;

        min-height: 0 !important;

        padding:
            clamp(19px, 5vw, 26px)
            clamp(17px, 5vw, 22px)
            clamp(19px, 5vw, 24px) !important;
    }

    .loginHeader {
        margin-bottom: 19px;
    }

    #loginPanel h2 {
        font-size:
            clamp(22px, 6vw, 25px);
    }

    #loginPanel .loginHeader p {
        overflow-wrap: anywhere;
    }

    #registerBox {
        margin-top: 17px;
        line-height: 1.6;
    }

    #registerBox a {
        display: inline-flex;

        min-height: 44px;

        align-items: center;
        justify-content: center;
    }

    .registerPage {
        align-items: center;
    }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 360px) {

    #centerPanel {
        gap: 12px;
    }

    #logoText {
        font-size: 34px !important;
        letter-spacing: 2px !important;
    }

    #loginPanel {
        border-radius: 22px;
    }

    #enterButton {
        font-size: 13px;
        letter-spacing: 1px;
    }
}

/* =========================================================
   SHORT SCREENS / LANDSCAPE
   ========================================================= */

@media (max-width: 1024px) and (max-height: 530px) {

    #centerPanel {
        justify-content: flex-start;
    }

    .registerPage {
        align-items: flex-start;
    }
}

/* =========================================================
   ACCESSIBILITY / LOWER MOTION
   ========================================================= */

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {

    #hypnoticDisc,
    #logoRing.is-hue-cycling,
    #enterButton.is-hue-cycling {
        animation: none !important;
    }
}
