:root {
    --gateway-navy-950: #020914;
    --gateway-navy-900: #061426;
    --gateway-navy-800: #0b2944;

    --gateway-teal: #29d3c7;
    --gateway-cyan: #55c7ff;
    --gateway-gold: #f5c15d;

    --gateway-text: #f7fbff;
    --gateway-muted: rgba(229, 241, 250, .62);
    --gateway-border: rgba(255, 255, 255, .13);

    --move-x: 0px;
    --move-y: 0px;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--gateway-navy-950);
    color: var(--gateway-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input {
    font: inherit;
}

.student-gateway {
    position: relative;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(390px, .65fr);
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 22% 10%,
            rgba(36, 120, 204, .17),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #020814,
            #06182b 56%,
            #03101d
        );
}

/* ==========================================================
   Cinematic learning world
   ========================================================== */

.gateway-world {
    position: relative;
    min-height: 100vh;
    padding: 28px 42px 34px;
    overflow: hidden;
    isolation: isolate;
}

.gateway-sky {
    position: absolute;
    inset: 0;
    z-index: -10;
    background:
        radial-gradient(
            ellipse at 58% 28%,
            rgba(44, 147, 212, .25),
            transparent 34%
        ),
        radial-gradient(
            ellipse at 12% 70%,
            rgba(41, 211, 199, .14),
            transparent 35%
        ),
        linear-gradient(
            180deg,
            #04152a 0%,
            #06243d 48%,
            #061524 100%
        );
}

.gateway-sky::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .035) 1px,
            transparent 1px
        );
    background-size: 46px 46px;
    mask-image:
        linear-gradient(
            to bottom,
            #000 0,
            transparent 88%
        );
}

.gateway-stars {
    position: absolute;
    inset: 0;
    z-index: -7;
    pointer-events: none;
    transform:
        translate3d(
            var(--move-x),
            var(--move-y),
            0
        );
    transition: transform .15s linear;
}

.gateway-star {
    position: absolute;
    width: var(--star-size);
    height: var(--star-size);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    box-shadow:
        0 0 8px
        rgba(104, 205, 255, .7);
    animation:
        starTwinkle
        var(--star-duration)
        ease-in-out
        var(--star-delay)
        infinite;
}

.gateway-aurora {
    position: absolute;
    z-index: -6;
    width: 440px;
    height: 130px;
    border-radius: 50%;
    filter: blur(45px);
    opacity: .36;
    pointer-events: none;
    transform:
        translate3d(
            var(--move-x),
            var(--move-y),
            0
        );
    transition: transform .18s linear;
}

.aurora-one {
    top: 7%;
    left: 20%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(57, 202, 255, .72),
            rgba(39, 211, 199, .56),
            transparent
        );
    rotate: -12deg;
    animation: auroraFloat 8s ease-in-out infinite;
}

.aurora-two {
    top: 39%;
    right: -10%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(88, 112, 255, .55),
            rgba(40, 208, 197, .55),
            transparent
        );
    rotate: 17deg;
    animation:
        auroraFloat
        10s ease-in-out
        -4s infinite;
}

.gateway-brand {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 11px;
}

.gateway-brand-logo {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border:
        1px solid
        rgba(255, 255, 255, .15);
    border-radius: 14px;
    background:
        rgba(255, 255, 255, .07);
    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.gateway-brand-logo img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.gateway-brand strong,
.gateway-brand span {
    display: block;
}

.gateway-brand strong {
    font-size: 13px;
    font-weight: 850;
}

.gateway-brand span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .49);
    font-size: 8.5px;
    font-weight: 750;
    letter-spacing: 1.15px;
    text-transform: uppercase;
}

.gateway-introduction {
    position: relative;
    z-index: 7;
    width: 100%;
    max-width: 720px;
    margin-top: 65px;
}

.gateway-eyebrow {
    color: #8cebe5;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}

.gateway-eyebrow i {
    margin-right: 6px;
}

.gateway-introduction h1 {
    max-width: 720px;
    margin: 12px 0 14px;
    font-size:
        clamp(42px, 5.6vw, 76px);
    font-weight: 920;
    letter-spacing: -3.4px;
    line-height: .96;
}

.gateway-introduction h1 span {
    display: block;
    background:
        linear-gradient(
            90deg,
            #ffffff,
            #7ee7e1 48%,
            #6ecbff
        );
    background-clip: text;
    color: transparent;
}

.gateway-introduction p {
    max-width: 610px;
    margin: 0;
    color: var(--gateway-muted);
    font-size: 12px;
    line-height: 1.7;
}

/* ==========================================================
   Learning portal scene
   ========================================================== */

.gateway-scene {
    position: relative;
    z-index: 6;
    width: min(650px, 90%);
    height: 330px;
    margin:
        -5px auto 0;
    transform:
        translate3d(
            var(--move-x),
            var(--move-y),
            0
        );
    transition: transform .14s linear;
}

.learning-path {
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 290px;
    height: 195px;
    transform:
        translateX(-50%)
        perspective(420px)
        rotateX(63deg);
    transform-origin: bottom;
    clip-path:
        polygon(
            38% 0,
            62% 0,
            100% 100%,
            0 100%
        );
    background:
        linear-gradient(
            180deg,
            rgba(65, 220, 211, .06),
            rgba(65, 220, 211, .24)
        );
    border-bottom:
        1px solid
        rgba(113, 235, 229, .35);
    filter:
        drop-shadow(
            0 0 28px
            rgba(41, 211, 199, .23)
        );
}

.learning-path::before,
.learning-path::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background:
        linear-gradient(
            transparent,
            rgba(103, 234, 227, .72)
        );
}

.learning-path::before {
    left: 38%;
}

.learning-path::after {
    right: 38%;
}

.learning-path span {
    position: absolute;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7de9e3;
    box-shadow:
        0 0 15px
        rgba(99, 235, 228, .85);
    animation:
        pathLight 3.8s linear infinite;
}

.learning-path span:nth-child(1) {
    top: 18%;
}

.learning-path span:nth-child(2) {
    top: 38%;
    animation-delay: -.9s;
}

.learning-path span:nth-child(3) {
    top: 58%;
    animation-delay: -1.8s;
}

.learning-path span:nth-child(4) {
    top: 78%;
    animation-delay: -2.7s;
}

.digital-portal {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 205px;
    height: 205px;
    transform:
        translate(-50%, -50%);
}

.portal-aura {
    position: absolute;
    inset: -35px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(48, 218, 208, .22),
            transparent 68%
        );
    filter: blur(7px);
    animation:
        portalAura
        3.4s ease-in-out infinite;
}

.portal-ring {
    position: absolute;
    border-radius: 50%;
    border:
        1px solid
        rgba(106, 232, 225, .42);
}

.ring-one {
    inset: 0;
    border-style: dashed;
    animation:
        portalRotate
        18s linear infinite;
}

.ring-two {
    inset: 19px;
    border-color:
        rgba(92, 199, 255, .48);
    animation:
        portalRotateReverse
        13s linear infinite;
}

.ring-three {
    inset: 37px;
    border:
        2px solid
        rgba(46, 214, 204, .82);
    box-shadow:
        0 0 33px
        rgba(41, 211, 199, .26);
    animation:
        portalPulse
        2.7s ease-in-out infinite;
}

.portal-core {
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border:
        1px solid
        rgba(255, 255, 255, .17);
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(9, 31, 51, .97),
            rgba(3, 15, 27, .97)
        );
    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .07),
        0 0 34px
        rgba(33, 211, 200, .18);
}

.portal-core i {
    color: #7de7e1;
    font-size: 26px;
}

.portal-core strong {
    margin-top: -4px;
    font-size: 15px;
    letter-spacing: 1.2px;
}

.portal-core span {
    margin-top: -15px;
    color: rgba(255, 255, 255, .43);
    font-size: 6.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.learning-module {
    position: absolute;
    display: grid;
    place-items: center;
    gap: 7px;
    animation:
        moduleFloat
        5s ease-in-out infinite;
}

.module-hex {
    display: grid;
    place-items: center;
    width: 72px;
    height: 78px;
    clip-path:
        polygon(
            25% 6%,
            75% 6%,
            100% 50%,
            75% 94%,
            25% 94%,
            0 50%
        );
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .15),
            rgba(255, 255, 255, .035)
        );
    color: #88ebe5;
    font-size: 23px;
    backdrop-filter: blur(9px);
    filter:
        drop-shadow(
            0 10px 20px
            rgba(0, 0, 0, .22)
        );
    transition:
        transform .2s ease,
        background .2s ease;
}

.learning-module:hover .module-hex {
    transform: translateY(-5px) scale(1.06);
    background:
        linear-gradient(
            145deg,
            rgba(41, 211, 199, .29),
            rgba(84, 197, 255, .08)
        );
}

.learning-module > span {
    color: rgba(255, 255, 255, .65);
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.module-class {
    top: 15px;
    left: 60px;
}

.module-progress {
    top: 25px;
    right: 55px;
    animation-delay: -1.3s;
}

.module-homework {
    bottom: 18px;
    left: 82px;
    animation-delay: -2.6s;
}

.module-achievement {
    right: 78px;
    bottom: 12px;
    animation-delay: -3.8s;
}

.academy-horizon {
    position: absolute;
    z-index: 1;
    right: -2%;
    bottom: 0;
    left: -2%;
    width: 104%;
    height: 210px;
    opacity: .76;
    pointer-events: none;
    transform:
        translate3d(
            var(--move-x),
            var(--move-y),
            0
        );
    transition: transform .18s linear;
}

.gateway-security {
    position: absolute;
    z-index: 8;
    right: 42px;
    bottom: 24px;
    left: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .45);
    font-size: 8.5px;
    font-weight: 650;
}

.gateway-security i {
    color: #64ddd6;
}

.security-divider {
    width: 1px;
    height: 14px;
    margin: 0 5px;
    background: rgba(255, 255, 255, .16);
}

/* ==========================================================
   Glass login panel
   ========================================================== */

.gateway-login-section {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 35px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(64, 201, 255, .18),
            transparent 32%
        ),
        radial-gradient(
            circle at 5% 85%,
            rgba(41, 211, 199, .13),
            transparent 36%
        ),
        linear-gradient(
            150deg,
            rgba(8, 29, 48, .95),
            rgba(3, 14, 26, .98)
        );
    border-left:
        1px solid
        rgba(255, 255, 255, .08);
}

.login-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(38, 210, 199, .15),
            transparent 67%
        );
    transform:
        translate(-50%, -50%);
    filter: blur(13px);
    pointer-events: none;
}

.gateway-login-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 415px;
    padding: 31px;
    border:
        1px solid
        rgba(255, 255, 255, .14);
    border-radius: 25px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .105),
            rgba(255, 255, 255, .045)
        );
    box-shadow:
        0 30px 70px
        rgba(0, 0, 0, .36),
        inset 0 1px 0
        rgba(255, 255, 255, .10);
    backdrop-filter: blur(22px);
}

.login-card-top {
    text-align: left;
}

.login-mobile-logo {
    display: none;
}

.login-section-label {
    color: #7de5df;
    font-size: 8.5px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.login-card-top h2 {
    margin: 8px 0 8px;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1.25px;
}

.login-card-top p {
    max-width: 325px;
    margin: 0;
    color: rgba(255, 255, 255, .54);
    font-size: 10.5px;
    line-height: 1.65;
}

.preview-message {
    display: none;
    margin-top: 17px;
    padding: 10px 12px;
    border:
        1px solid
        rgba(77, 219, 210, .27);
    border-radius: 10px;
    background:
        rgba(36, 188, 179, .10);
    color: #9eeae6;
    font-size: 9px;
    line-height: 1.45;
}

.preview-message.visible {
    display: block;
    animation:
        messageReveal
        .28s ease both;
}

.gateway-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.gateway-field label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, .70);
    font-size: 9px;
    font-weight: 750;
}

.gateway-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gateway-label-row a {
    color: #71dcd6;
    font-size: 8px;
    font-weight: 750;
    text-decoration: none;
}

.gateway-input {
    position: relative;
}

.gateway-input > i:first-child {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 14px;
    color: rgba(255, 255, 255, .42);
    font-size: 13px;
    transform: translateY(-50%);
}

.gateway-input input {
    width: 100%;
    height: 49px;
    padding: 0 46px 0 41px;
    border:
        1px solid
        rgba(255, 255, 255, .12);
    border-radius: 12px;
    outline: none;
    background:
        rgba(1, 10, 18, .36);
    color: #fff;
    font-size: 11px;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.gateway-input input::placeholder {
    color: rgba(255, 255, 255, .29);
}

.gateway-input input:focus {
    border-color:
        rgba(54, 216, 207, .72);
    background:
        rgba(2, 14, 24, .52);
    box-shadow:
        0 0 0 4px
        rgba(41, 211, 199, .08);
}

.input-focus-line {
    position: absolute;
    right: 50%;
    bottom: 0;
    left: 50%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent,
            #4ddbd3,
            transparent
        );
    transition:
        right .22s ease,
        left .22s ease;
}

.gateway-input input:focus ~ .input-focus-line {
    right: 12%;
    left: 12%;
}

.gateway-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, .46);
    cursor: pointer;
    transform: translateY(-50%);
}

.gateway-password-toggle:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.gateway-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, .48);
    font-size: 8.5px;
}

.gateway-options label,
.secure-device {
    display: flex;
    align-items: center;
    gap: 7px;
}

.gateway-options input {
    accent-color: var(--gateway-teal);
}

.secure-device i {
    color: #62dbd4;
}

.gateway-login-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 51px;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            110deg,
            #27d2c6,
            #159b99 58%,
            #277da8
        );
    box-shadow:
        0 15px 30px
        rgba(19, 166, 161, .23);
    color: #fff;
    cursor: pointer;
    font-size: 10.5px;
    font-weight: 850;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.gateway-login-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow:
        0 20px 38px
        rgba(19, 166, 161, .30);
}

.gateway-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 15px;
    color: rgba(255, 255, 255, .30);
    font-size: 7.5px;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.gateway-divider::before,
.gateway-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background:
        rgba(255, 255, 255, .09);
}

.gateway-support-button {
    display: grid;
    grid-template-columns:
        32px 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 57px;
    padding: 9px 11px;
    border:
        1px solid
        rgba(255, 255, 255, .09);
    border-radius: 12px;
    background:
        rgba(255, 255, 255, .035);
    color: rgba(255, 255, 255, .62);
    text-decoration: none;
    transition:
        background .16s ease,
        border-color .16s ease;
}

.gateway-support-button:hover {
    border-color:
        rgba(74, 220, 211, .25);
    background:
        rgba(255, 255, 255, .065);
}

.gateway-support-button > i:first-child {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background:
        rgba(41, 211, 199, .11);
    color: #70dfd8;
}

.gateway-support-button strong,
.gateway-support-button span span {
    display: block;
}

.gateway-support-button strong {
    color: rgba(255, 255, 255, .78);
    font-size: 8.5px;
}

.gateway-support-button span {
    font-size: 7.5px;
}

.gateway-support-button > i:last-child {
    font-size: 9px;
}

.gateway-current-login {
    margin-top: 18px;
    text-align: center;
}

.gateway-current-login a {
    color: rgba(255, 255, 255, .38);
    font-size: 8px;
    font-weight: 700;
    text-decoration: none;
}

.gateway-current-login i {
    margin-right: 5px;
}

/* ==========================================================
   Animations
   ========================================================== */

@keyframes starTwinkle {
    0%,
    100% {
        opacity: .18;
        transform: scale(.7);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes auroraFloat {
    0%,
    100% {
        opacity: .25;
        scale: 1;
    }

    50% {
        opacity: .48;
        scale: 1.08;
    }
}

@keyframes portalRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes portalRotateReverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes portalPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: .72;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes portalAura {
    0%,
    100% {
        opacity: .45;
        transform: scale(.94);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes moduleFloat {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -10px;
    }
}

@keyframes pathLight {
    0% {
        opacity: 0;
        transform: translateY(-15px) scale(.65);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(110px) scale(1.3);
    }
}

@keyframes messageReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1100px) {
    .student-gateway {
        grid-template-columns:
            minmax(0, 1fr)
            390px;
    }

    .gateway-world {
        padding-right: 28px;
        padding-left: 28px;
    }

    .gateway-introduction h1 {
        font-size: 54px;
    }

    .gateway-scene {
        scale: .88;
    }
}

@media (max-width: 850px) {
    .student-gateway {
        display: block;
    }

    .gateway-world {
        min-height: 760px;
    }

    .gateway-login-section {
        min-height: auto;
        padding: 65px 22px;
        border-top:
            1px solid
            rgba(255, 255, 255, .08);
        border-left: 0;
    }

    .login-mobile-logo {
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        margin-bottom: 17px;
        border-radius: 13px;
        background:
            rgba(255, 255, 255, .07);
    }

    .login-mobile-logo img {
        width: 33px;
    }
}

@media (max-width: 600px) {
    .gateway-world {
        min-height: 690px;
        padding: 20px;
    }

    .gateway-introduction {
        margin-top: 50px;
    }

    .gateway-introduction h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .gateway-introduction p {
        font-size: 10.5px;
    }

    .gateway-scene {
        width: 650px;
        max-width: none;
        margin-left: 50%;
        scale: .64;
        transform:
            translateX(-78%)
            translate3d(
                var(--move-x),
                var(--move-y),
                0
            );
        transform-origin: top center;
    }

    .gateway-security {
        right: 20px;
        bottom: 17px;
        left: 20px;
        flex-wrap: wrap;
    }

    .academy-horizon {
        height: 160px;
    }

    .gateway-login-section {
        padding: 48px 16px;
    }

    .gateway-login-card {
        padding: 24px 20px;
        border-radius: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* KQA-STUDENT-LOGIN-V3-FINAL-POLISH-START */

/* ----------------------------------------------------------
   Refined content hierarchy
   ---------------------------------------------------------- */

.gateway-introduction {
    max-width: 690px;
    margin-top: 54px;
}

.gateway-introduction h1 {
    max-width: 670px;
    margin-top: 11px;
    margin-bottom: 15px;
    font-size:
        clamp(39px, 4.8vw, 66px);
    line-height: 1;
    letter-spacing: -2.7px;
}

.gateway-introduction p {
    max-width: 640px;
    color: rgba(229, 241, 250, .69);
    font-size: 12.5px;
    line-height: 1.72;
}

.gateway-eyebrow {
    font-size: 9.5px;
}

.gateway-brand span {
    font-size: 9px;
}

/* ----------------------------------------------------------
   Better-balanced learning gateway
   ---------------------------------------------------------- */

.gateway-scene {
    width: min(675px, 94%);
    height: 350px;
    margin-top: -18px;
}

.digital-portal {
    top: 44%;
    width: 212px;
    height: 212px;
}

.learning-path {
    bottom: -18px;
    width: 320px;
    height: 220px;
}

.learning-module {
    width: 112px;
}

.learning-module > span {
    width: 112px;
    margin-top: 1px;
    color: rgba(255, 255, 255, .72);
    font-size: 8.5px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.module-hex {
    width: 74px;
    height: 80px;
}

.module-class {
    top: 18px;
    left: 42px;
}

.module-progress {
    top: 31px;
    right: 42px;
}

.module-homework {
    bottom: 16px;
    left: 57px;
}

.module-achievement {
    right: 57px;
    bottom: 14px;
}

.portal-core span {
    font-size: 7px;
}

.gateway-security {
    color: rgba(255, 255, 255, .54);
    font-size: 9.2px;
}

/* ----------------------------------------------------------
   Brighter and more premium login panel
   ---------------------------------------------------------- */

.gateway-login-section {
    padding: 30px;
}

.gateway-login-card {
    max-width: 440px;
    padding: 34px;
    border-color: rgba(255, 255, 255, .18);
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .135),
            rgba(255, 255, 255, .060)
        );
    box-shadow:
        0 34px 82px
        rgba(0, 0, 0, .40),
        inset 0 1px 0
        rgba(255, 255, 255, .14);
}

.login-card-top h2 {
    margin-top: 9px;
    font-size: 36px;
}

.login-card-top p {
    max-width: 345px;
    color: rgba(255, 255, 255, .62);
    font-size: 11px;
}

.login-section-label {
    font-size: 9px;
}

.gateway-form {
    gap: 18px;
    margin-top: 27px;
}

.gateway-field label {
    font-size: 9.5px;
}

.gateway-label-row a {
    font-size: 8.6px;
}

.gateway-input input {
    height: 52px;
    border-color: rgba(255, 255, 255, .16);
    background: rgba(1, 10, 18, .43);
    font-size: 11.5px;
}

.gateway-input input::placeholder {
    color: rgba(255, 255, 255, .38);
}

.gateway-options {
    font-size: 9px;
}

.gateway-login-button {
    min-height: 54px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 11px;
}

.gateway-divider {
    margin-top: 26px;
    margin-bottom: 17px;
}

.gateway-support-button {
    min-height: 62px;
    padding: 11px 12px;
}

.gateway-support-button strong {
    font-size: 9px;
}

.gateway-support-button span {
    font-size: 8px;
}

.gateway-current-login {
    margin-top: 21px;
}

.gateway-current-login a {
    font-size: 8.6px;
}

/* ----------------------------------------------------------
   Tablet and mobile refinement
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
    .gateway-introduction h1 {
        font-size: 50px;
    }

    .gateway-scene {
        scale: .84;
    }
}

@media (max-width: 850px) {
    .gateway-world {
        min-height: 640px;
    }

    .gateway-introduction {
        margin-top: 42px;
    }

    .gateway-introduction h1 {
        font-size: 47px;
    }

    .gateway-scene {
        height: 295px;
        margin-top: -25px;
        scale: .72;
        transform-origin: top center;
    }

    .gateway-login-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }
}

@media (max-width: 600px) {
    .gateway-world {
        min-height: 570px;
    }

    .gateway-introduction {
        margin-top: 35px;
    }

    .gateway-introduction h1 {
        font-size: 39px;
        letter-spacing: -1.8px;
    }

    .gateway-introduction p {
        font-size: 10.8px;
    }

    .gateway-scene {
        height: 260px;
        margin-top: -18px;
        scale: .56;
    }

    .gateway-security {
        font-size: 8px;
    }

    .gateway-login-card {
        padding: 26px 21px;
    }
}

/* KQA-STUDENT-LOGIN-V3-FINAL-POLISH-END */
