* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-green: #0f4c29;
    --secondary-green: #1f6b1f;
    --accent-gold: #ffd966;
    --accent-gold-deep: #f3bf2a;
    --white-soft: #f8fafc;
    --text-soft: #dbe7df;
    --glass: rgba(255, 255, 255, 0.10);
    --glass-strong: rgba(255, 255, 255, 0.16);
    --border-soft: rgba(255, 255, 255, 0.18);
    --shadow-dark: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html {
    width: 100%;
    min-height: 100%;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    width: 100%;
    min-height: 100vh;
    height: auto;

    overflow-x: hidden;
    overflow-y: auto;

    margin: 0;
}

body {
    background:
        radial-gradient(circle at top left, rgba(255, 217, 102, 0.10), transparent 22%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 24%),
        linear-gradient(135deg, #072515 0%, #0f4c29 40%, #155a30 72%, #1f6b1f 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 0;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.18;
}

body::after {
    background:
        radial-gradient(circle at 15% 25%, rgba(255,217,102,0.08), transparent 15%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,0.05), transparent 18%);
}

#splash-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 10%, rgba(255,255,255,0.10), transparent 22%),
        radial-gradient(circle at 16% 84%, rgba(255,217,102,0.08), transparent 24%),
        radial-gradient(circle at 84% 20%, rgba(255,255,255,0.04), transparent 20%),
        linear-gradient(145deg, #041008 0%, #082112 24%, #0d3a20 52%, #0f4c29 72%, #1f6b1f 100%);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

#splash-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(255,217,102,0.08), transparent 34%),
        linear-gradient(to top, rgba(0,0,0,0.24), transparent 42%);
    pointer-events: none;
}

#splash-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 140px 140px;
    opacity: 0.18;
    pointer-events: none;
}

.splash-aura {
    position: absolute;
    inset: -8%;
    background:
        radial-gradient(circle at 26% 28%, rgba(255,255,255,0.05), transparent 16%),
        radial-gradient(circle at 74% 68%, rgba(255,217,102,0.07), transparent 18%),
        radial-gradient(circle at 50% 48%, rgba(255,255,255,0.025), transparent 26%);
    animation: bgDrift 10s ease-in-out infinite alternate;
}

.splash-rays {
    position: absolute;
    inset: -8%;
    background:
        linear-gradient(116deg, transparent 0%, rgba(255,255,255,0.05) 34%, transparent 58%),
        linear-gradient(72deg, transparent 0%, rgba(255,217,102,0.05) 44%, transparent 68%);
    mix-blend-mode: screen;
    opacity: 0.42;
    animation: raysMove 8s ease-in-out infinite alternate;
}

.splash-content {
    position: relative;
    z-index: 2;
    width: min(94%, 980px);
    text-align: center;
    color: #fff;
    padding: 36px 24px;
    animation: splashFadeUp 0.9s ease forwards;
}

.ifsu-studio {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 24px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #ffd966;
    margin: 0 auto 18px;
    padding-left: 14px;
    opacity: 0;
    text-shadow:
        0 0 18px rgba(255,217,102,0.18),
        0 4px 20px rgba(0,0,0,0.24);
    animation: textFadeUp 0.8s ease 0.2s forwards;
}

.logo-jump-scene {
    position: relative;
    width: 100%;
    max-width: 760px;
    height: 270px;
    margin: 0 auto 10px;
}

.logo-jump-scene::before,
.logo-jump-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.logo-jump-scene::before {
    background:
        radial-gradient(circle at 18% 30%, rgba(255,255,255,0.14) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 20%, rgba(255,217,102,0.12) 0 2px, transparent 3px),
        radial-gradient(circle at 84% 62%, rgba(255,255,255,0.10) 0 2px, transparent 3px),
        radial-gradient(circle at 30% 70%, rgba(255,217,102,0.08) 0 2px, transparent 3px);
    opacity: 0.45;
    animation: sparkleFloat 7s ease-in-out infinite alternate;
}

.logo-jump-scene::after {
    background:
        radial-gradient(circle at 50% 38%, rgba(255,255,255,0.04), transparent 22%),
        radial-gradient(circle at 46% 82%, rgba(255,217,102,0.05), transparent 18%);
    opacity: 0.7;
    animation: glowBreathe 5.5s ease-in-out infinite;
}

.wordmark {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
}

.wordmark > span {
    display: inline-block;
    font-weight: 800;
    font-size: 112px;
    line-height: 0.85;
    color: #f8fafc;
    text-shadow:
        0 8px 24px rgba(0, 0, 0, 0.28),
        0 0 12px rgba(255,255,255,0.08);
    opacity: 0;
    animation: letterReveal 0.65s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.wordmark .letter-i {
    position: relative;
    width: 100px;
    height: 124px;
    font-size: 0;
    color: transparent;
    opacity: 1;
    animation: none;
    overflow: visible;
}

.wordmark .letter-i::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 28px;
    height: 110px;
    transform: translateX(-50%);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,217,102,0.18), rgba(255,217,102,0.05));
    box-shadow: 0 0 18px rgba(255,217,102,0.12);
}

.wordmark .letter-f { animation-delay: 0.42s; }
.wordmark .letter-s { animation-delay: 0.58s; }
.wordmark .letter-u { animation-delay: 0.74s; }

.i-glow {
    position: absolute;
    left: 50%;
    top: 2px;
    width: 82px;
    height: 118px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255,217,102,0.18) 0%, rgba(255,217,102,0.06) 48%, transparent 75%);
    opacity: 0;
    animation: iGlow 1.1s ease 4.8s forwards;
}

.landing-shadow {
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 60px;
    height: 14px;
    transform: translateX(calc(-50% - 520px)) scale(0.38);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    opacity: 0;
    animation: shadowWalkThenJump 4.8s linear 0.4s forwards;
    will-change: transform, opacity;
}

.impact-wave {
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 24px;
    height: 24px;
    transform: translateX(-50%) scale(0.2);
    border-radius: 50%;
    border: 2px solid rgba(255,217,102,0.55);
    opacity: 0;
    pointer-events: none;
    animation: impactWave 0.8s ease 4.95s forwards;
}

.jump-mascot {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 96px;
    height: 128px;
    transform-origin: bottom center;
    transform: translateX(-50%) translate3d(-520px, 0, 0);
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
    z-index: 3;
    opacity: 0;
    animation: mascotWalkThenJump 4.8s linear 0.4s forwards;
    will-change: transform, opacity;
}

.jump-mascot .head.logo-head {
    position: absolute;
    top: 0;
    left: 12px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.15) 45%, rgba(255,217,102,0.15) 70%, transparent 100%);
    box-shadow:
        0 0 26px rgba(255, 217, 102, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.16);
    overflow: visible;
}

.jump-mascot .head.logo-head img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-shadow:
        0 6px 18px rgba(0,0,0,0.18),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.jump-mascot .head .head-glow {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,217,102,0.24) 0%, rgba(255,217,102,0.10) 45%, transparent 75%);
    z-index: -1;
    animation: headGlowPulse 3s ease-in-out infinite;
}

.jump-mascot .body {
    position: absolute;
    top: 52px;
    left: 32px;
    width: 34px;
    height: 52px;
    border-radius: 20px 20px 18px 18px;
    background: linear-gradient(180deg, #ffffff 0%, #eef4f8 55%, #dce6ec 100%);
    box-shadow:
        inset 0 2px 4px rgba(255,255,255,0.9),
        0 5px 12px rgba(0,0,0,0.14);
}

.jump-mascot .arm-left,
.jump-mascot .arm-right {
    position: absolute;
    top: 58px;
    width: 12px;
    height: 42px;
    background: linear-gradient(180deg, #f8fbfd, #dfe8ef);
    border-radius: 999px;
    transform-origin: top center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
}

.jump-mascot .arm-left {
    left: 20px;
    animation: armWalkThenJumpLeft 4.8s ease-in-out 0.4s forwards;
}

.jump-mascot .arm-right {
    right: 20px;
    animation: armWalkThenJumpRight 4.8s ease-in-out 0.4s forwards;
}

.jump-mascot .leg-left,
.jump-mascot .leg-right {
    position: absolute;
    bottom: 0;
    width: 13px;
    height: 40px;
    background: linear-gradient(180deg, #edf2f6, #cfd8df);
    border-radius: 999px;
    transform-origin: top center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
}

.jump-mascot .leg-left {
    left: 31px;
    animation: legWalkThenJumpLeft 4.8s ease-in-out 0.4s forwards;
}

.jump-mascot .leg-right {
    right: 31px;
    animation: legWalkThenJumpRight 4.8s ease-in-out 0.4s forwards;
}

.equiptrack-brand {
    margin-top: 4px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1px;
    min-height: 54px;
}

.equiptrack-brand span {
    display: inline-block;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    color: #f8fafc;
    opacity: 0;
    transform: translateY(18px) scale(0.96);
    text-shadow:
        0 8px 24px rgba(0,0,0,0.28),
        0 0 14px rgba(255,217,102,0.08);
    animation: equipTrackReveal 0.55s ease forwards;
}

.equiptrack-brand span:nth-child(1)  { animation-delay: 5.15s; color: #ffd966; }
.equiptrack-brand span:nth-child(2)  { animation-delay: 5.23s; color: #ffd966; }
.equiptrack-brand span:nth-child(3)  { animation-delay: 5.31s; color: #ffd966; }
.equiptrack-brand span:nth-child(4)  { animation-delay: 5.39s; color: #ffd966; }
.equiptrack-brand span:nth-child(5)  { animation-delay: 5.47s; color: #ffd966; }
.equiptrack-brand span:nth-child(6)  { animation-delay: 5.55s; }
.equiptrack-brand span:nth-child(7)  { animation-delay: 5.63s; }
.equiptrack-brand span:nth-child(8)  { animation-delay: 5.71s; }
.equiptrack-brand span:nth-child(9)  { animation-delay: 5.79s; }
.equiptrack-brand span:nth-child(10) { animation-delay: 5.87s; }

.splash-system-name {
    font-size: 17px;
    line-height: 1.5;
    color: #e5e7eb;
    max-width: 700px;
    margin: 6px auto 24px;
    opacity: 0;
    animation: textFadeUp 0.8s ease 5.95s forwards;
}

.splash-subline {
    font-size: 14px;
    color: #d1d5db;
    letter-spacing: 0.08em;
    margin-bottom: 26px;
    opacity: 0;
    animation: textFadeUp 0.8s ease 6.2s forwards;
}

.splash-loader {
    display: flex;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    animation: textFadeUp 0.6s ease 6.45s forwards;
}

.splash-loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffd966;
    box-shadow: 0 0 10px rgba(255,217,102,0.30);
    animation: loaderPulse 1.15s infinite ease-in-out;
}

.splash-loader span:nth-child(2) { animation-delay: 0.16s; }
.splash-loader span:nth-child(3) { animation-delay: 0.32s; }

.container {
    position: relative;
    z-index: 1;
    width: min(1180px, 100%);
    min-height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 48px);
    padding: clamp(20px, 3vw, 40px) 0;
    opacity: 0;
}

.left {
    flex: 1 1 55%;
    max-width: 560px;
    min-width: 0;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transform: translateX(-50px);
    opacity: 0;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    margin-bottom: 22px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.brand-chip img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}

.brand-chip span {
    font-size: 14px;
    font-weight: 600;
    color: #eefaf1;
    letter-spacing: 0.03em;
}

/* UPDATED LEFT TITLE */
.left-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    text-shadow: 0 8px 30px rgba(0,0,0,0.22);
}

.left-title .title-main {
    font-size: clamp(2.3rem, 4.4vw, 4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #fff8dc 0%, #ffd966 45%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    text-shadow: none;
    filter: drop-shadow(0 0 12px rgba(255, 217, 102, 0.16));
}

.left-title .title-sub {
    font-size: clamp(1.2rem, 2vw, 1.9rem);
    line-height: 1.25;
    font-weight: 700;
    color: #f8fafc;
    max-width: 520px;
}

.left p.description {
    max-width: 520px;
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.7;
    color: var(--text-soft);
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f8fafc;
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.feature-item i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 217, 102, 0.18);
    color: var(--accent-gold);
    font-size: 15px;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 14px;
    font-weight: 500;
}

.login-card {
    position: relative;
    flex: 0 1 420px;
    width: min(100%, 420px);
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 30px;
    padding: clamp(24px, 2.5vw, 38px) clamp(20px, 2vw, 30px);
    color: white;
    text-align: center;
    box-shadow: var(--shadow-dark);
    transform: translateX(50px);
    opacity: 0;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -80px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255,217,102,0.28), transparent 70%);
    pointer-events: none;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.card-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    margin-bottom: 14px;
    box-shadow:
        0 10px 30px rgba(0,0,0,0.18),
        0 0 0 6px rgba(255,255,255,0.05);
}

.card-badge {
    display: inline-block;
    padding: 7px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(255, 217, 102, 0.16);
    border: 1px solid rgba(255, 217, 102, 0.22);
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-card h2 {
    font-size: clamp(24px, 2vw, 28px);
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.card-subtitle {
    font-size: 14px;
    color: #dbe7df;
}

.login-card form {
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
}

.login-card label {
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
    color: #eef7f1;
    font-weight: 500;
}

.input-group {
    position: relative;
    margin-bottom: 18px;
}

.input-group > i:first-child {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 14px;
    pointer-events: none;
}

.login-card input {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 14px;
    transition: all 0.25s ease;
}

.login-card input::placeholder {
    color: #cbd5e1;
}

.login-card input:focus {
    outline: none;
    border-color: rgba(255, 217, 102, 0.45);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 0 0 4px rgba(255, 217, 102, 0.10);
}

.password-container input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #dbe3ea;
    font-size: 15px;
    transition: 0.2s ease;
}

.toggle-password:hover {
    color: #ffffff;
}

.login-card button {
    width: 100%;
    height: 52px;
    margin-top: 6px;
    background: linear-gradient(135deg, #ffd966, #f1b90e);
    border: none;
    border-radius: 14px;
    color: #17361e;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 12px 26px rgba(243, 191, 42, 0.28);
}

.login-card button:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 16px 30px rgba(243, 191, 42, 0.34);
}

.forgot {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #e6e6e6;
    text-decoration: none;
}

.forgot a {
    color: #ffe083;
    font-weight: 600;
    text-decoration: none;
}

.forgot a:hover {
    text-decoration: underline;
}

input, button {
    touch-action: manipulation;
}

.login-links {
    text-align: center;
}

.student-reservation-link {
    margin-top: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.student-reservation-link i {
    color: #EEE048;
    margin-right: 5px;
}

.student-reservation-link span {
    color: #ffffff;
}

.student-reservation-link a {
    color: #EEE048;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.student-reservation-link a:hover {
    text-decoration: underline;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-password-reveal,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

input[type="password"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.fade-in { animation: pageFadeIn 0.8s ease forwards; }
.animated-left { animation: slideInLeft 0.8s ease forwards; }
.animated-right { animation: slideInRight 0.8s ease forwards; }

@keyframes splashFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bgDrift {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.02) translateY(-8px); }
}

@keyframes raysMove {
    from {
        transform: translateX(-8px) translateY(0);
        opacity: 0.34;
    }
    to {
        transform: translateX(10px) translateY(-6px);
        opacity: 0.54;
    }
}

@keyframes sparkleFloat {
    from {
        transform: translateY(0) scale(1);
        opacity: 0.35;
    }
    to {
        transform: translateY(-8px) scale(1.03);
        opacity: 0.58;
    }
}

@keyframes glowBreathe {
    0%, 100% {
        transform: scale(0.98);
        opacity: 0.48;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.68;
    }
}

@keyframes letterReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes mascotWalkThenJump {
    0% {
        opacity: 0;
        transform: translateX(-50%) translate3d(-520px, 0, 0) rotate(0deg) scale(1, 1);
    }
    6% {
        opacity: 1;
        transform: translateX(-50%) translate3d(-500px, 0, 0) rotate(0deg) scale(1, 1);
    }
    18% {
        transform: translateX(-50%) translate3d(-420px, 0, 0) rotate(0deg) scale(1, 1);
    }
    30% {
        transform: translateX(-50%) translate3d(-340px, 0, 0) rotate(0deg) scale(1, 1);
    }
    42% {
        transform: translateX(-50%) translate3d(-260px, 0, 0) rotate(0deg) scale(1, 1);
    }
    54% {
        transform: translateX(-50%) translate3d(-180px, 0, 0) rotate(0deg) scale(1, 1);
    }
    66% {
        transform: translateX(-50%) translate3d(-100px, 0, 0) rotate(0deg) scale(1, 1);
    }
    74% {
        transform: translateX(-50%) translate3d(-56px, 0, 0) rotate(0deg) scale(1.02, 0.96);
    }
    80% {
        transform: translateX(-50%) translate3d(-34px, -26px, 0) rotate(-4deg) scale(0.98, 1.03);
    }
    88% {
        transform: translateX(-50%) translate3d(-16px, -86px, 0) rotate(-1deg) scale(1, 1.04);
    }
    95% {
        transform: translateX(-50%) translate3d(-6px, -18px, 0) rotate(1deg) scale(1.02, 0.95);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translate3d(0, 0, 0) rotate(0deg) scale(1, 1);
    }
}

@keyframes shadowWalkThenJump {
    0% {
        opacity: 0;
        transform: translateX(calc(-50% - 520px)) scale(0.38);
    }
    6% {
        opacity: 0.16;
        transform: translateX(calc(-50% - 500px)) scale(0.44);
    }
    18% {
        opacity: 0.18;
        transform: translateX(calc(-50% - 420px)) scale(0.50);
    }
    30% {
        opacity: 0.18;
        transform: translateX(calc(-50% - 340px)) scale(0.50);
    }
    42% {
        opacity: 0.18;
        transform: translateX(calc(-50% - 260px)) scale(0.50);
    }
    54% {
        opacity: 0.18;
        transform: translateX(calc(-50% - 180px)) scale(0.50);
    }
    66% {
        opacity: 0.18;
        transform: translateX(calc(-50% - 100px)) scale(0.50);
    }
    74% {
        opacity: 0.22;
        transform: translateX(calc(-50% - 56px)) scale(0.62);
    }
    80% {
        opacity: 0.14;
        transform: translateX(calc(-50% - 34px)) scale(0.50);
    }
    88% {
        opacity: 0.08;
        transform: translateX(calc(-50% - 16px)) scale(0.36);
    }
    95% {
        opacity: 0.26;
        transform: translateX(calc(-50% - 6px)) scale(0.88);
    }
    100% {
        opacity: 0.34;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes impactWave {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.2);
    }
    20% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(3.2);
    }
}

@keyframes armWalkThenJumpLeft {
    0%, 66% { transform: rotate(20deg); }
    8% { transform: rotate(-8deg); }
    16% { transform: rotate(18deg); }
    24% { transform: rotate(-8deg); }
    32% { transform: rotate(18deg); }
    40% { transform: rotate(-8deg); }
    48% { transform: rotate(18deg); }
    56% { transform: rotate(-8deg); }
    64% { transform: rotate(18deg); }
    74% { transform: rotate(22deg); }
    80% { transform: rotate(-4deg); }
    88% { transform: rotate(-18deg); }
    100% { transform: rotate(8deg); }
}

@keyframes armWalkThenJumpRight {
    0%, 66% { transform: rotate(-20deg); }
    8% { transform: rotate(8deg); }
    16% { transform: rotate(-18deg); }
    24% { transform: rotate(8deg); }
    32% { transform: rotate(-18deg); }
    40% { transform: rotate(8deg); }
    48% { transform: rotate(-18deg); }
    56% { transform: rotate(8deg); }
    64% { transform: rotate(-18deg); }
    74% { transform: rotate(-22deg); }
    80% { transform: rotate(4deg); }
    88% { transform: rotate(18deg); }
    100% { transform: rotate(-8deg); }
}

@keyframes legWalkThenJumpLeft {
    0%, 66% { transform: rotate(16deg); }
    8% { transform: rotate(-12deg); }
    16% { transform: rotate(16deg); }
    24% { transform: rotate(-12deg); }
    32% { transform: rotate(16deg); }
    40% { transform: rotate(-12deg); }
    48% { transform: rotate(16deg); }
    56% { transform: rotate(-12deg); }
    64% { transform: rotate(16deg); }
    74% { transform: rotate(20deg); }
    80% { transform: rotate(-4deg); }
    88% { transform: rotate(26deg); }
    100% { transform: rotate(10deg); }
}

@keyframes legWalkThenJumpRight {
    0%, 66% { transform: rotate(-16deg); }
    8% { transform: rotate(12deg); }
    16% { transform: rotate(-16deg); }
    24% { transform: rotate(12deg); }
    32% { transform: rotate(-16deg); }
    40% { transform: rotate(12deg); }
    48% { transform: rotate(-16deg); }
    56% { transform: rotate(12deg); }
    64% { transform: rotate(-16deg); }
    74% { transform: rotate(-20deg); }
    80% { transform: rotate(4deg); }
    88% { transform: rotate(-26deg); }
    100% { transform: rotate(-10deg); }
}

@keyframes equipTrackReveal {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes headGlowPulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.96);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.03);
    }
}

@keyframes iGlow {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.86);
    }
    100% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes textFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes loaderPulse {
    0%, 80%, 100% {
        transform: translateY(0) scale(0.9);
        opacity: 0.45;
    }
    40% {
        transform: translateY(-6px) scale(1.05);
        opacity: 1;
    }
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1200px) {
    .container {
        width: min(1080px, 100%);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .container {
        min-height: auto;
        align-items: center;
        gap: 24px;
    }

    .left {
        flex: 1 1 50%;
    }

    .login-card {
        flex: 0 1 380px;
        width: min(100%, 380px);
    }

    .left-title .title-main {
        font-size: clamp(2rem, 4vw, 3.2rem);
    }

    .left-title .title-sub {
        font-size: clamp(1.05rem, 1.9vw, 1.5rem);
    }

    .ifsu-studio {
        font-size: 20px;
        padding-left: 10px;
    }

    .wordmark > span {
        font-size: 92px;
    }

    .wordmark .letter-i {
        width: 82px;
        height: 104px;
    }

    .wordmark .letter-i::before {
        width: 24px;
        height: 92px;
    }

    .logo-jump-scene {
        height: 230px;
    }

    .equiptrack-brand span {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    body {
        padding: 16px;
        justify-content: flex-start;
    }

    .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: auto;
        width: 100%;
        padding: 24px 0;
        gap: 24px;
    }

    .left {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .left-title {
        align-items: center;
    }

    .left-title .title-sub,
    .left p.description {
        text-align: center;
    }

    .feature-list {
        max-width: 100%;
    }

    .login-card {
        width: 100%;
        max-width: 420px;
        padding: 30px 22px 24px;
    }

    .ifsu-studio {
        font-size: 15px;
        letter-spacing: 0.10em;
        padding-left: 6px;
    }

    .logo-jump-scene {
        height: 190px;
    }

    .wordmark {
        gap: 8px;
        bottom: 18px;
    }

    .wordmark > span {
        font-size: 64px;
    }

    .wordmark .letter-i {
        width: 58px;
        height: 74px;
    }

    .wordmark .letter-i::before {
        width: 16px;
        height: 64px;
        border-radius: 12px;
    }

    .equiptrack-brand {
        min-height: 36px;
        margin-bottom: 8px;
    }

    .equiptrack-brand span {
        font-size: 25px;
    }

    .splash-system-name {
        font-size: 14px;
    }

    .splash-subline {
        font-size: 11px;
    }

    .feature-item-single {
        max-width: 420px;
    }
}

/* =========================================================
   FINAL MOBILE LAYOUT
   ========================================================= */

@media screen and (max-width: 768px) {

    html {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    body {
        height: auto !important;
        min-height: 100vh !important;

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

        display: block !important;

        margin: 0 !important;
        padding: 16px !important;

        position: relative !important;

        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }

    #login-container {
        display: block !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        overflow: visible !important;

        padding:
            24px 0 80px 0 !important;

        margin: 0 !important;
    }

    #login-container .left {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        display: flex !important;
        flex-direction: column !important;

        align-items: center !important;
        justify-content: flex-start !important;

        overflow: visible !important;

        transform: none !important;
    }

    #login-container .login-card {
        width: 100% !important;
        max-width: 420px !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 28px auto 0 !important;

        overflow: visible !important;

        transform: none !important;
    }

    .student-reservation-card {
        width: 100% !important;
        height: auto !important;

        flex-shrink: 0 !important;

        overflow: hidden !important;
    }

    #splash-screen {
        position: fixed !important;
        inset: 0 !important;

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

        overflow: hidden !important;

        z-index: 99999 !important;
    }
}
