@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}
:root{
--bg1: #0f172a;
--bg2: #071031;
--glass-weak: rgba(255,255,255,0.06);
--glass-strong: rgba(255,255,255,0.12);
--accent: 180 95% 55%; /* hue saturation lightness for HSL */
}
body{
    background: #160630;
    background: linear-gradient(30deg, rgba(22, 6, 48, 1) 0%, rgba(17, 30, 84, 1) 55%, rgba(16, 48, 130, 1) 100%);
    font-family: "Oswald", sans-serif;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial;
    background: radial-gradient(1200px 700px at 10% 20%, rgba(71,85,105,0.12), transparent 10%),
    radial-gradient(900px 600px at 90% 80%, rgba(99,102,241,0.06), transparent 10%),
    linear-gradient(180deg,var(--bg1), var(--bg2));
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    gap:24px;
    padding:40px;
    color:#e6eef8;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}
/* animated liquid blobs behind the card */
.scene{
    position:relative;
    width:min(1100px,92vw);
    height:min(640px,72vh);
    display:grid;
    place-items:center;
    perspective:1000px;
}


.blobs{
    position:absolute;
    inset:0;
    pointer-events:none;
    overflow:visible;
    filter: blur(40px) saturate(130%);
    mix-blend-mode:screen;
}


.blob{position:absolute;width:540px;height:420px;border-radius:42% 58% 54% 46%/45% 50% 50% 55%;opacity:0.9;transform-origin:center;}
.blob.a{left:-8%;top:8%;background:linear-gradient(135deg, hsl(205 85% 62%), hsl(260 78% 56%));animation:blobMoveA 10s ease-in-out infinite alternate;}
.blob.b{right:-6%;bottom:6%;background:linear-gradient(120deg, hsl(160 75% 54%), hsl(200 78% 50%));animation:blobMoveB 12s ease-in-out infinite alternate-reverse;}
.blob.c{left:20%;bottom:-12%;width:640px;height:480px;border-radius:38% 62% 44% 56%/40% 50% 50% 60%;background:linear-gradient(90deg, hsl(290 70% 58%), hsl(230 70% 54%));animation:blobMoveC 14s ease-in-out infinite alternate;opacity:0.75}


@keyframes blobMoveA{to{transform:translateY(-40px) translateX(30px) scale(1.06) rotate(6deg);}}
@keyframes blobMoveB{to{transform:translateY(32px) translateX(-28px) scale(.96) rotate(-6deg);}}
@keyframes blobMoveC{to{transform:translateY(-18px) translateX(60px) scale(1.02) rotate(3deg);}}
.container {
    position:relative;
    width:min(860px,88%);
    height: 90%;
    max-width:1200px;
    min-height:360px;
    border-radius:20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    overflow:hidden;
    display:flex;
    align-items:center;
    transform: translateZ(0);

}

.container::before{
    content:"";
    position:absolute;inset:0;
    pointer-events:none;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    mix-blend-mode:overlay;
}
.container::after{
    content:"";
    position:absolute;
    left:-40%;
    top:-40%;
    width:180%;
    height:180%;
    background:radial-gradient(closest-side, rgba(180,220,255,0.06), transparent 40%),
    conic-gradient(from 120deg at 50% 50%, rgba(120,80,255,0.06), rgba(80,200,220,0.06));
    filter: blur(24px);
    pointer-events:none;
}


.right-container {
    /* border: 1px solid white; */
    width: 55%;
    height:100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-container {
    height: 85%;
    width: 80%;
    margin-bottom: 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 5px 10px rgba(2,6,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
}
.header, .header-2{
    font-family: "Oswald", sans-serif;
    /* border: 1px solid white; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 4px;

}
.header-2 {
    /* border: 1px solid white; */
    margin-top: 20px;
    font-size: 25px;
}

.user-png {
    margin-top: 30px;
    height: 100px;
    width: 100px;
    background-image: url(images/user.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.key-area{
    /* border: 1px solid white; */
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    font-size: 25px;
    font-weight: 500;
    height: 50%;
    width: 90%;  
}
.key-area label {
    display: flex;
    float: left;
    margin: 5px;
    /* border: 1px solid white; */
}

.key-2{
    display: flex;
    flex-direction: column;
}

.left-container {
    background-image: url('images/login-side.png');
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    border-radius: 20px;
    width: 45%;

}
.glow-input input{
height: 40px;
padding: 10px;
font-size: 15px;
width: 100%;
border-radius: 10px;
border: none;
outline: none;
background-color: black;
color: white;
transition: border-color 0.3s, box-shadow 0.3s;
}



/* Glowing animation */
.glow-input input:focus {
border-color: #00ffff;
box-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff, 0 0 24px #00ffff;
animation: pulse 1.5s infinite alternate;
}


@keyframes pulse {
0% {
box-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff, 0 0 24px #00ffff;
}
50% {
box-shadow: 0 0 12px #00ffff, 0 0 24px #00ffff, 0 0 36px #00ffff;
}
100% {
box-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff, 0 0 24px #00ffff;
}
}

.submit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:25px;
}
.button {
padding: 8px 35px;
font-size: 18px;
color: #000000;
border: none;
border-radius: 10px;
cursor: pointer;
outline: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
position: relative;
overflow: hidden;
transition: transform 0.2s;
}


/* Ripple effect */
.button::after {
content: '';
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(255,255,255,0.2);
border-radius: 10px;
opacity: 0;
transform: scale(0);
transition: transform 0.4s, opacity 0.4s;
}


.button.clicked::after {
transform: scale(2.5);
opacity: 1;
transition: transform 0.4s, opacity 0.4s;
}


/* Scale bounce */
@keyframes bounce {
0% { transform: scale(1); }
30% { transform: scale(0.95); }
50% { transform: scale(1.05); }
70% { transform: scale(0.97); }
100% { transform: scale(1); }
}


.button.clicked {
animation: bounce 0.4s ease-in-out;
}

    .banner {
        font-family: 'Orbitron', sans-serif;
      position: relative;
      width: 100%;
      height: 40px;
      overflow: hidden;
      background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
      display: flex;
      align-items: center;
      border-bottom: 2px solid #00ffff33;
      box-shadow: 0 0 20px #00ffff22;
    }

    .scroll-text {
      white-space: nowrap;
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 15s linear infinite;
      font-size: 1.5rem;
      background: linear-gradient(90deg, #00f5ff, #00ff88, #0077ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      text-shadow: 0 0 10px #00ffff44;
      letter-spacing: 2px;
    }

    @keyframes scroll-left {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-100%);
      }
    }

    /* Accessibility: stop animation if user prefers reduced motion */
    @media (prefers-reduced-motion: reduce) {
      .scroll-text {
        animation: none;
        transform: translateX(0);
      }
    }