@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Be Vietnam Pro Local";
    src: url("../fonts/BeVietnamPro-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

:root {
    --eaut-blue: #005596;
    --eaut-red: #d71920;
    --eaut-orange: #f58220;
    --cyan: #00d4ff;
    --bg-dark: #050d17;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.78);
}

html {
    min-height: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Be Vietnam Pro Local", Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #050d17;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
}

/* BACKGROUND */
.portal-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 18px;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portal-page::before {
    content: "";
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: url("../images/school-bg.jpg") center center / cover no-repeat;
    opacity: 1;
    filter: brightness(0.78) contrast(1.05) saturate(1.05);
    z-index: 0;
    pointer-events: none;
}

.portal-page::after,
.background-overlay,
.grid-bg,
.scanline {
    display: none;
}

/* LAYOUT */
.portal-shell {
    position: relative;
    z-index: 10;
    width: min(1180px, 100%);
    min-height: auto;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: relative;
    z-index: 20;
    width: min(1120px, 100%);
    max-height: calc(100vh - 36px);
    padding: clamp(18px, 2vh, 28px) 28px;
    border: none;
    border-radius: 28px;
    background:
        linear-gradient(
            135deg,
            rgba(3, 12, 24, 0.76),
            rgba(2, 18, 38, 0.58)
        );
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(circle at 74% 46%, rgba(0, 212, 255, 0.06), transparent 34%);
    pointer-events: none;
    z-index: 0;
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    display: block;
}

.hero-left {
    position: relative;
    z-index: 5;
    width: 100%;
}

.hero-content {
    width: 100%;
    text-align: center;
}

/* BRAND */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin-bottom: clamp(14px, 2vh, 22px);
    width: 100%;
    text-align: center;
}

.brand-logo-box {
    position: relative;
    width: clamp(120px, 13vh, 150px);
    height: clamp(120px, 13vh, 150px);
    min-width: clamp(120px, 13vh, 150px);
    min-height: clamp(120px, 13vh, 150px);
    border-radius: 50%;
    background: #ffffff;
    padding: 5px;
    overflow: visible;
    isolation: isolate;
    box-shadow:
        0 0 0 4px rgba(218, 190, 105, 0.88),
        0 0 20px rgba(0, 212, 255, 0.82),
        0 0 42px rgba(0, 119, 204, 0.58),
        0 14px 34px rgba(0, 0, 0, 0.42);
    animation:
        eautLogoFloat 4.8s ease-in-out infinite,
        eautLogoBoxGlow 4.5s ease-in-out infinite;
}

.brand-logo-box::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(0, 212, 255, 0),
        rgba(0, 212, 255, 0.95),
        rgba(245, 130, 32, 0.95),
        rgba(0, 212, 255, 0.95),
        rgba(0, 212, 255, 0)
    );
    z-index: -2;
    filter: blur(0.5px);
    animation: eautLogoBorderRotate 12s linear infinite;
}

.brand-logo-box::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: rgba(5, 13, 23, 0.94);
    z-index: -1;
}

.brand-logo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
}

.brand-logo-inner::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -45%;
    width: 34%;
    height: 140%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 25%,
        rgba(255, 255, 255, 0.45) 50%,
        rgba(255, 255, 255, 0.08) 75%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    pointer-events: none;
    mix-blend-mode: screen;
    animation: eautLogoScan 3.8s ease-in-out infinite;
}

.brand-logo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 50%;
    background: #ffffff;
}

.brand-copy {
    text-align: center;
}

.brand-copy h1 {
    margin: 0 0 8px;
    font-size: clamp(22px, 1.7vw, 30px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
    letter-spacing: -0.03em;
    text-align: center;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.62),
        0 0 14px rgba(0, 212, 255, 0.12);
}

.brand-copy p {
    margin: 0;
    font-size: clamp(12px, 1vw, 14px);
    font-weight: 500;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

/* BADGE */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(245, 130, 32, 0.18);
    color: #ffd9b5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 auto clamp(10px, 1.6vh, 16px);
    box-shadow:
        inset 0 0 0 1px rgba(245, 130, 32, 0.36),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

/* TITLE */
.hero-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
    align-items: center;
    gap: clamp(18px, 2vw, 28px);
    width: 100%;
    margin-top: 0;
}

.hero-title-text {
    min-width: 0;
    text-align: left;
}

.hero-content h2 {
    margin: 0;
    font-size: clamp(34px, 3.2vw, 50px);
    line-height: 1.22;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-content h2 span {
    display: block;
    margin-top: 6px;
    background: linear-gradient(135deg, #ffffff, #9ee8ff 50%, #ffd2a0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-full {
    width: 100%;
    margin-top: clamp(-8px, -1vh, -2px);
    text-align: left;
}

.accent-line {
    width: 180px;
    height: 3px;
    margin: clamp(10px, 1.5vh, 16px) 0 clamp(10px, 1.5vh, 16px);
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cyan), rgba(0, 212, 255, 0));
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.7);
}

.hero-content p {
    color: var(--muted);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 clamp(12px, 1.8vh, 18px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* BUTTON */
.login-button {
    position: relative;
    bottom: auto;
    z-index: 300;
    width: 100%;
    min-height: clamp(48px, 6vh, 58px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--eaut-red), var(--eaut-orange));
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    border: 2px solid #ffffff;
    outline: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 16px 34px rgba(215, 25, 32, 0.36),
        0 0 26px rgba(245, 130, 32, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: translateZ(0);
}

/* INFO CARDS */
.quick-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: clamp(12px, 1.8vh, 18px) 0 0;
}

.info-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 78px;
    padding: 14px 16px;
    border-radius: 18px;
    text-decoration: none;
    color: #ffffff;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.16),
            rgba(255, 255, 255, 0.055)
        );
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.info-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(0, 212, 255, 0.22), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(245, 130, 32, 0.14), transparent 42%);
    opacity: 0.72;
    pointer-events: none;
}

.info-item::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 36%;
    height: 220%;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );
    transform: rotate(18deg);
    opacity: 0;
    transition: left 0.5s ease, opacity 0.35s ease;
    pointer-events: none;
}

.info-link:hover,
.info-item:hover {
    transform: translateY(-3px);
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.20),
            rgba(255, 255, 255, 0.075)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 34px rgba(0, 212, 255, 0.16),
        0 8px 24px rgba(0, 0, 0, 0.18);
}

.info-link:hover::after,
.info-item:hover::after {
    left: 120%;
    opacity: 1;
}

.info-icon {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            rgba(0, 212, 255, 0.32),
            rgba(245, 130, 32, 0.20)
        );
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 14px rgba(0, 212, 255, 0.30),
        0 0 28px rgba(0, 212, 255, 0.24);
    animation: infoIconPulse 2.2s ease-in-out infinite;
    overflow: visible;
}

.info-icon::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 19px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.48), transparent 68%);
    filter: blur(6px);
    opacity: 0.75;
    z-index: -1;
    animation: infoIconGlow 2s ease-in-out infinite;
}

.info-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter:
        drop-shadow(0 0 4px rgba(255, 255, 255, 0.55))
        drop-shadow(0 0 10px rgba(0, 212, 255, 0.85));
    animation: infoIconSvgBlink 2s ease-in-out infinite;
}

.info-content {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.info-content strong {
    display: block;
    font-size: clamp(16px, 1.25vw, 19px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.18;
}

.info-content span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.35;
}

.phone-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
}

.phone-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* WEBSITE CLICK HINT */
.website-card {
    cursor: pointer;
    padding-right: 104px;
}

.website-card .info-content span {
    color: #baf2ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.visit-badge {
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.28), rgba(245, 130, 32, 0.20));
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow:
        0 0 14px rgba(0, 212, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: visitBadgePulse 1.8s ease-in-out infinite;
}

.visit-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.website-card:hover .visit-badge {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.42), rgba(245, 130, 32, 0.28));
    box-shadow:
        0 0 22px rgba(0, 212, 255, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.website-card:hover .visit-badge svg {
    animation: visitArrowMove 0.7s ease-in-out infinite;
}

.info-item:hover .info-icon {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        0 0 24px rgba(0, 212, 255, 0.52),
        0 0 42px rgba(0, 212, 255, 0.36);
}

.info-item:hover .info-icon::before {
    opacity: 1;
    transform: scale(1.18);
}

.terms {
    margin: clamp(10px, 1.5vh, 16px) 0 0 !important;
    text-align: center;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    color: rgba(255, 255, 255, 0.62) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

/* WIFI VISUAL */
.hero-visual {
    position: relative;
    min-height: clamp(230px, 34vh, 330px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    margin-top: 0;
}

.visual-panel {
    position: relative;
    width: clamp(230px, 34vh, 330px);
    height: clamp(230px, 34vh, 330px);
    max-height: 330px;
    z-index: 4;
    pointer-events: none;
    transform: translateZ(0);
}

.visual-panel::before {
    content: "";
    position: absolute;
    inset: -30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.18), transparent 66%);
    filter: blur(2px);
    animation: visualBreath 4s ease-in-out infinite;
}

.halo {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.halo-one {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 212, 255, 0.10);
}

.halo-two {
    width: 78%;
    height: 78%;
    border: 1px dashed rgba(0, 212, 255, 0.18);
    animation: rotateSlow 28s linear infinite;
}

.halo-three {
    width: 58%;
    height: 58%;
    border: 1px solid rgba(0, 212, 255, 0.16);
    animation: rotateSlowReverse 24s linear infinite;
}

.wifi-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32%;
    height: 32%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.32), transparent 24%),
        linear-gradient(135deg, #0075c9, var(--cyan));
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.78),
        0 0 76px rgba(0, 119, 204, 0.46),
        inset 0 0 20px rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: wifiCorePulse 2.8s ease-in-out infinite;
}

.wifi-core::before,
.wifi-core::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.25);
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.wifi-core::before {
    animation: wifiRingPulse 2.8s ease-out infinite;
}

.wifi-core::after {
    animation: wifiRingPulse 2.8s ease-out 1.4s infinite;
}

.svg-icon {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.svg-wifi {
    width: 54%;
    height: 54%;
    stroke-width: 4.1;
}

.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 212, 255, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulseRing 4s ease-out infinite;
    z-index: 1;
}

.ring-one {
    width: 42%;
    height: 42%;
}

.ring-two {
    width: 65%;
    height: 65%;
    animation-delay: 0.8s;
}

.ring-three {
    width: 88%;
    height: 88%;
    animation-delay: 1.6s;
}

.node {
    position: absolute;
    width: 17%;
    height: 17%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.16), transparent 28%),
        rgba(255, 255, 255, 0.055);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 14px rgba(0, 212, 255, 0.28),
        0 0 26px rgba(0, 119, 204, 0.14),
        inset 0 0 10px rgba(255, 255, 255, 0.045);
    z-index: 8;
}

.node::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.62), transparent 66%);
    opacity: 0;
    filter: blur(5px);
    z-index: -1;
    animation: nodeGlowStep 5s ease-in-out infinite;
}

.node .svg-icon {
    width: 44%;
    height: 44%;
    stroke-width: 2.35 !important;
    filter:
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.42))
        drop-shadow(0 0 7px rgba(0, 212, 255, 0.42));
}

.node-phone {
    top: 24%;
    left: 3%;
    animation: floatPhone 5s ease-in-out infinite;
}

.node-phone::before {
    animation-delay: 0s;
}

.node-tablet {
    top: 5%;
    left: 50%;
    animation: floatTablet 5.2s ease-in-out infinite;
}

.node-tablet::before {
    animation-delay: 1s;
}

.node-laptop {
    top: 24%;
    right: 3%;
    animation: floatLaptop 5.4s ease-in-out infinite;
}

.node-laptop::before {
    animation-delay: 2s;
}

.node-cloud {
    right: 9%;
    bottom: 10%;
    animation: floatCloud 5.1s ease-in-out infinite;
}

.node-cloud::before {
    animation-delay: 3s;
}

.node-server {
    left: 9%;
    bottom: 10%;
    animation: floatServer 5.3s ease-in-out infinite;
}

.node-server::before {
    animation-delay: 4s;
}

.line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 1.35px;
    width: 43%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 212, 255, 0.06) 8%,
        rgba(0, 212, 255, 0.55) 45%,
        rgba(0, 212, 255, 0.85) 70%,
        transparent 100%
    );
    background-size: 220% 100%;
    transform-origin: left center;
    opacity: 0.62;
    z-index: 2;
    filter: drop-shadow(0 0 6px rgba(0, 212, 255, 0.52));
    animation: lineFlow 2.8s linear infinite;
}

.line-phone {
    transform: rotate(205deg);
    animation-delay: 0s;
}

.line-tablet {
    width: 38%;
    transform: rotate(-90deg);
    animation-delay: 1s;
}

.line-laptop {
    transform: rotate(-25deg);
    animation-delay: 2s;
}

.line-cloud {
    transform: rotate(39deg);
    animation-delay: 3s;
}

.line-server {
    transform: rotate(141deg);
    animation-delay: 4s;
}

.visual-base {
    position: absolute;
    left: 50%;
    bottom: -3%;
    width: 62%;
    height: 13%;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(0, 212, 255, 0.45), rgba(0, 119, 204, 0.14), transparent 68%);
    filter: blur(1px);
    box-shadow: 0 0 42px rgba(0, 212, 255, 0.38);
    animation: baseGlow 3s ease-in-out infinite;
}

.portal-footer {
    display: none;
}

/* LOADER */
.loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-inner {
    text-align: center;
}

.loader-wifi {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--eaut-blue), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: loaderPulse 1.1s ease-in-out infinite;
}

.loader-svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 4.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.loader-bar {
    width: 220px;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--eaut-red), var(--eaut-orange), var(--cyan));
    animation: loaderFill 1.1s ease forwards;
}

.loader-text {
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

/* ANIMATIONS */
@keyframes eautLogoBorderRotate {
    to {
        transform: rotate(360deg);
    }
}

@keyframes eautLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes eautLogoScan {
    0% {
        left: -45%;
        opacity: 0;
    }

    15% {
        opacity: 0.95;
    }

    50% {
        left: 38%;
        opacity: 0.75;
    }

    75% {
        opacity: 0.35;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes eautLogoBoxGlow {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(218, 190, 105, 0.88),
            0 0 20px rgba(0, 212, 255, 0.82),
            0 0 42px rgba(0, 119, 204, 0.58),
            0 14px 34px rgba(0, 0, 0, 0.42);
    }

    50% {
        box-shadow:
            0 0 0 4px rgba(245, 130, 32, 0.88),
            0 0 30px rgba(0, 212, 255, 0.92),
            0 0 54px rgba(0, 119, 204, 0.72),
            0 18px 42px rgba(0, 0, 0, 0.5);
    }
}

@keyframes infoIconPulse {
    0%, 100% {
        transform: scale(1);
    }

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

@keyframes infoIconGlow {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.95);
    }

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

@keyframes infoIconSvgBlink {
    0%, 100% {
        opacity: 0.88;
        transform: scale(1);
    }

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

@keyframes visitBadgePulse {
    0%, 100% {
        transform: translateY(-50%) scale(1);
        opacity: 0.88;
    }

    50% {
        transform: translateY(-50%) scale(1.05);
        opacity: 1;
    }
}

@keyframes visitArrowMove {
    0%, 100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(2px, -2px);
    }
}

@keyframes visualBreath {
    0%, 100% {
        opacity: 0.65;
        transform: scale(0.98);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.02);
    }
}

@keyframes rotateSlow {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateSlowReverse {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes nodeGlowStep {
    0%, 12% {
        opacity: 0;
        transform: scale(0.82);
    }

    18%, 32% {
        opacity: 0.78;
        transform: scale(1.08);
    }

    40%, 100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes floatPhone {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatTablet {
    0%, 100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

@keyframes floatLaptop {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatCloud {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatServer {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes baseGlow {
    0%, 100% {
        opacity: 0.58;
        transform: translateX(-50%) scaleX(0.96);
    }

    50% {
        opacity: 0.95;
        transform: translateX(-50%) scaleX(1.08);
    }
}

@keyframes pulseRing {
    0% {
        opacity: 0.58;
        transform: translate(-50%, -50%) scale(0.86);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.16);
    }
}

@keyframes wifiCorePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.04);
    }
}

@keyframes wifiRingPulse {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    20% {
        opacity: 0.42;
    }

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

@keyframes lineFlow {
    0% {
        background-position: 220% 0;
        opacity: 0.16;
    }

    20% {
        opacity: 0.78;
    }

    100% {
        background-position: -220% 0;
        opacity: 0.16;
    }
}

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

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

@keyframes loaderFill {
    to {
        width: 100%;
    }
}

/* LAPTOP THẤP */
@media (max-height: 760px) and (min-width: 900px) {
    .portal-page {
        padding: 14px;
    }

    .hero-card {
        padding: 18px 26px;
        max-height: calc(100vh - 28px);
    }

    .brand-logo-box {
        width: 118px;
        height: 118px;
        min-width: 118px;
        min-height: 118px;
    }

    .brand-copy h1 {
        font-size: 24px;
    }

    .brand {
        margin-bottom: 12px;
    }

    .badge {
        margin-bottom: 10px;
        font-size: 13px;
        padding: 8px 17px;
    }

    .hero-content h2 {
        font-size: clamp(32px, 3vw, 44px);
    }

    .hero-visual {
        min-height: 245px;
    }

    .visual-panel {
        width: 245px;
        height: 245px;
    }

    .accent-line {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .hero-content p {
        margin-bottom: 12px;
    }

    .quick-info {
        margin-top: 12px;
    }

    .terms {
        margin-top: 10px !important;
    }
}

/* TABLET */
@media (max-width: 1100px) {
    .portal-page {
        padding: 16px;
        justify-content: flex-start;
        min-height: 100vh;
    }

    .portal-page::before {
        filter: brightness(0.74) contrast(1.05) saturate(1.05);
    }

    .portal-shell {
        width: 100%;
    }

    .hero-card {
        width: min(760px, 100%);
        max-height: none;
        min-height: auto;
        padding: 20px;
        overflow: visible;
        background:
            linear-gradient(
                135deg,
                rgba(3, 12, 24, 0.78),
                rgba(2, 18, 38, 0.62)
            );
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .brand {
        gap: 18px;
        width: 100%;
        text-align: center;
        margin-bottom: 24px;
    }

    .brand-logo-box {
        width: 136px;
        height: 136px;
        min-width: 136px;
        min-height: 136px;
    }

    .badge {
        margin-bottom: 18px;
        font-size: 13px;
        padding: 9px 18px;
    }

    .hero-title-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 0;
    }

    .hero-title-text {
        text-align: center;
    }

    .hero-content h2 {
        font-size: clamp(30px, 5vw, 42px);
        line-height: 1.28;
        text-align: center;
    }

    .hero-full {
        text-align: center;
        margin-top: 0;
    }

    .accent-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        min-height: 260px;
        margin-top: 8px;
    }

    .visual-panel {
        width: 260px;
        height: 260px;
        margin: 0 auto;
    }

    .quick-info {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: left;
    }

    .info-item {
        min-height: 74px;
        padding: 13px 15px;
        border-radius: 17px;
    }

    .website-card {
        padding-right: 112px;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 14px;
    }

    .info-icon svg {
        width: 22px;
        height: 22px;
    }

    .login-button {
        position: sticky;
        bottom: 14px;
        border: 2px solid #ffffff;
    }
}

/* MOBILE */
@media (max-width: 560px) {
    html,
    body {
        min-height: 100%;
        background: #050d17;
    }

    .portal-page {
        padding: 0;
        min-height: 100svh;
        width: 100%;
        justify-content: flex-start;
        background: transparent;
    }

    .portal-page::before {
        filter: brightness(0.72) contrast(1.05) saturate(1.05);
    }

    .portal-shell {
        width: 100%;
        min-height: 100svh;
        margin: 0;
        align-items: stretch;
        justify-content: stretch;
    }

    .hero-card {
        width: 100%;
        min-height: 100svh;
        max-height: none;
        margin: 0;
        padding: 18px 16px 92px;
        border-radius: 0;
        overflow: visible;
        background:
            linear-gradient(
                135deg,
                rgba(3, 12, 24, 0.84),
                rgba(2, 18, 38, 0.70)
            );
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        box-shadow: none;
    }

    .hero-card::after {
        border-radius: 0;
        background:
            radial-gradient(circle at 50% 42%, rgba(0, 212, 255, 0.06), transparent 38%);
    }

    .brand {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 16px;
        width: 100%;
        text-align: center;
    }

    .brand-logo-box {
        width: 108px;
        height: 108px;
        min-width: 108px;
        min-height: 108px;
        padding: 5px;
        margin: 0 auto;
    }

    .brand-copy h1 {
        font-size: 18px;
        line-height: 1.22;
    }

    .brand-copy p {
        font-size: 11px;
        line-height: 1.4;
    }

    .badge {
        margin-bottom: 16px;
        font-size: 12px;
        padding: 8px 15px;
    }

    .hero-title-row {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 0;
    }

    .hero-title-text {
        text-align: center;
    }

    .hero-content h2 {
        font-size: clamp(24px, 7vw, 29px);
        line-height: 1.3;
        letter-spacing: -0.025em;
    }

    .hero-content h2 span {
        margin-top: 6px;
    }

    .hero-visual {
        min-height: 190px;
        margin-top: 6px;
    }

    .visual-panel {
        width: 185px;
        height: 185px;
        margin: 0 auto;
    }

    .node .svg-icon {
        width: 43%;
        height: 43%;
        stroke-width: 2.2 !important;
    }

    .svg-icon {
        stroke-width: 2.6;
    }

    .svg-wifi {
        width: 54%;
        height: 54%;
        stroke-width: 3.9;
    }

    .line {
        height: 1.2px;
    }

    .hero-full {
        text-align: center;
        margin-top: -2px;
    }

    .accent-line {
        width: 90px;
        margin: 12px auto 12px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .login-button {
        position: sticky;
        bottom: calc(10px + env(safe-area-inset-bottom));
        min-height: 52px;
        font-size: 14px;
        border: 2px solid #ffffff;
        z-index: 400;
    }

    .quick-info {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 14px;
        text-align: left;
    }

    .info-item {
        min-height: 70px;
        padding: 12px 13px;
        border-radius: 16px;
        gap: 12px;
    }

    .website-card {
        padding-right: 13px;
        flex-wrap: wrap;
    }

    .visit-badge {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-left: 52px;
        margin-top: 4px;
    }

    .info-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 14px;
    }

    .info-icon::before {
        inset: -5px;
        border-radius: 18px;
    }

    .info-icon svg {
        width: 22px;
        height: 22px;
    }

    .info-content strong {
        font-size: 16px;
    }

    .info-content span {
        font-size: 12px;
        line-height: 1.35;
    }

    .phone-link {
        font-size: 12px;
    }

    .terms {
        margin-top: 12px !important;
        font-size: 9.5px !important;
    }

    @keyframes visitBadgePulse {
        0%, 100% {
            transform: scale(1);
            opacity: 0.88;
        }

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