﻿* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f7fff8;
    color: #052e16;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 58% 42%;
    overflow: hidden;
}

/* LEFT SIDE */
.login-visual {
    position: relative;
    min-height: 100vh;
    padding: 58px 64px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(rgba(1, 22, 12, .52), rgba(1, 22, 12, .75)), radial-gradient(circle at 78% 45%, rgba(34, 197, 94, .55), transparent 20%), radial-gradient(circle at 50% 100%, rgba(22, 163, 74, .8), transparent 36%), linear-gradient(135deg, #02180d 0%, #064e3b 42%, #166534 100%);
}

    .login-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.78) 100%), repeating-linear-gradient( -35deg, rgba(255,255,255,.035) 0, rgba(255,255,255,.035) 1px, transparent 1px, transparent 13px );
        z-index: 1;
    }

    .login-visual::after {
        content: "";
        position: absolute;
        left: -8%;
        right: -8%;
        bottom: -15%;
        height: 42%;
        background: radial-gradient(ellipse at center, rgba(74, 222, 128, .55), transparent 62%), repeating-linear-gradient( 90deg, rgba(187, 247, 208, .08) 0, rgba(187, 247, 208, .08) 2px, transparent 2px, transparent 10px );
        transform: perspective(500px) rotateX(58deg);
        transform-origin: bottom;
        z-index: 1;
        opacity: .9;
    }

.stadium-light {
    position: absolute;
    width: 620px;
    height: 160px;
    right: -40px;
    top: 120px;
    background: radial-gradient(circle, rgba(255,255,255,.9) 0 3px, transparent 5px) 0 0 / 42px 42px, linear-gradient(90deg, transparent, rgba(255,255,255,.85), transparent);
    filter: blur(.5px);
    transform: rotate(-12deg);
    opacity: .55;
    z-index: 2;
    animation: stadiumGlow 3.4s ease-in-out infinite;
}

.light-two {
    right: 180px;
    top: 210px;
    width: 420px;
    opacity: .22;
    animation-delay: 1.4s;
}

.net-lines {
    position: absolute;
    right: -90px;
    bottom: 130px;
    width: 430px;
    height: 330px;
    border: 1px solid rgba(187, 247, 208, .16);
    background: linear-gradient(45deg, transparent 48%, rgba(187,247,208,.23) 49%, rgba(187,247,208,.23) 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, rgba(187,247,208,.18) 49%, rgba(187,247,208,.18) 51%, transparent 52%);
    background-size: 44px 44px;
    transform: rotate(-8deg) skewY(-8deg);
    opacity: .45;
    z-index: 2;
}

.brand {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #22c55e, #166534);
    box-shadow: 0 22px 42px rgba(34, 197, 94, .3);
}

    .brand-logo span {
        font-size: 38px;
    }

.brand h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
}

.brand p {
    margin: 5px 0 0;
    color: #86efac;
    font-weight: 900;
    font-size: 16px;
}

.hero-content {
    position: relative;
    z-index: 4;
    margin-top: 145px;
    max-width: 680px;
}

    .hero-content h2 {
        margin: 0;
        font-size: 58px;
        line-height: 1.14;
        font-weight: 900;
        letter-spacing: -2px;
        text-shadow: 0 14px 35px rgba(0,0,0,.35);
    }

        .hero-content h2 span {
            color: #4ade80;
        }

    .hero-content > p {
        margin: 28px 0 48px;
        max-width: 590px;
        font-size: 20px;
        line-height: 1.75;
        color: rgba(255,255,255,.9);
    }

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 22px;
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, .24);
    border: 1px solid rgba(187, 247, 208, .28);
    backdrop-filter: blur(12px);
}

    .feature-icon span {
        font-size: 34px;
        color: #bbf7d0;
    }

.feature-item h4 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 900;
}

.feature-item p {
    margin: 0;
    font-size: 16px;
    color: rgba(255,255,255,.78);
}

.real-ball {
    position: absolute;
    right: 120px;
    bottom: 95px;
    width: 300px;
    height: 300px;
    z-index: 3;
    animation: ballFloat 4.3s ease-in-out infinite;
}

.ball-inner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 34% 28%, #ffffff 0 18%, #d9fbe3 34%, #9ae6ac 58%, #0f3f25 100%);
    box-shadow: inset -28px -34px 55px rgba(0,0,0,.46), inset 20px 20px 35px rgba(255,255,255,.72), 0 35px 80px rgba(0,0,0,.55), 0 0 60px rgba(74, 222, 128, .5);
}

    .ball-inner span {
        font-size: 202px;
        color: #031f12;
        opacity: .92;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,.25));
    }

.ball-shadow {
    position: absolute;
    left: 18%;
    bottom: -24px;
    width: 65%;
    height: 45px;
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    filter: blur(18px);
    z-index: -1;
    animation: shadowPulse 4.3s ease-in-out infinite;
}

.energy-ring {
    position: absolute;
    left: -8%;
    top: 45%;
    width: 118%;
    height: 36%;
    border: 2px solid rgba(134, 239, 172, .5);
    border-radius: 50%;
    transform: rotate(-14deg);
    filter: blur(.3px);
    animation: ringSpin 3s linear infinite;
}

.ring-two {
    border-color: rgba(34, 197, 94, .35);
    transform: rotate(20deg);
    animation-duration: 4.4s;
}

.grass {
    position: absolute;
    inset: auto 0 0 0;
    height: 120px;
    z-index: 2;
    background: linear-gradient(to top, rgba(2, 44, 34, .95), transparent), repeating-linear-gradient( 100deg, rgba(187,247,208,.16) 0, rgba(187,247,208,.16) 2px, transparent 2px, transparent 8px );
    filter: blur(.1px);
}

.particle {
    position: absolute;
    z-index: 4;
    width: 15px;
    height: 32px;
    border-radius: 50% 0 50% 0;
    background: linear-gradient(135deg, #bbf7d0, #22c55e);
    opacity: .8;
    filter: drop-shadow(0 0 12px rgba(74,222,128,.8));
    animation: leafFly 6s ease-in-out infinite;
}

.p1 {
    top: 18%;
    left: 18%;
    animation-delay: .1s;
}

.p2 {
    top: 42%;
    right: 24%;
    animation-delay: 1.2s;
}

.p3 {
    top: 58%;
    left: 18%;
    animation-delay: 2.1s;
}

.p4 {
    top: 28%;
    right: 34%;
    animation-delay: 3.2s;
}

.p5 {
    bottom: 18%;
    left: 42%;
    animation-delay: 4.1s;
}

.copyright {
    position: absolute;
    left: 64px;
    bottom: 34px;
    z-index: 4;
    color: rgba(255,255,255,.72);
    font-size: 15px;
}

/* RIGHT SIDE */
.login-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #fbfffb;
    overflow: hidden;
}

    .login-panel::before {
        content: "";
        position: absolute;
        left: -120px;
        top: -10%;
        width: 240px;
        height: 120%;
        background: #fbfffb;
        border-radius: 0 55% 55% 0;
        z-index: 3;
    }

.dots {
    position: absolute;
    top: 0;
    right: 0;
    width: 310px;
    height: 310px;
    background-image: radial-gradient(#22c55e 2px, transparent 2px);
    background-size: 17px 17px;
    opacity: .28;
}

.green-curve {
    position: absolute;
    right: -120px;
    bottom: -95px;
    width: 540px;
    height: 300px;
    border-radius: 55% 45% 0 0;
    background: linear-gradient(135deg, #4ade80, #15803d);
}

.login-card {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 540px;
    padding: 64px 58px 46px;
    border-radius: 34px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(22, 101, 52, .12);
    box-shadow: 0 35px 90px rgba(6, 78, 59, .18), inset 0 1px 0 rgba(255,255,255,.9);
    backdrop-filter: blur(18px);
}

.card-logo {
    width: 84px;
    height: 84px;
    margin: 0 auto 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #166534;
    background: #f0fdf4;
    border: 10px solid #dcfce7;
    box-shadow: 0 12px 42px rgba(34, 197, 94, .35);
    animation: logoGlow 2.8s ease-in-out infinite;
}

    .card-logo span {
        font-size: 42px;
    }

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

    .login-header h3 {
        margin: 0;
        color: #064e3b;
        font-size: 36px;
        font-weight: 900;
        letter-spacing: -1.2px;
    }

    .login-header p {
        margin: 14px 0 0;
        color: #64748b;
        font-size: 16px;
    }

.form-group {
    margin-bottom: 26px;
}

    .form-group label {
        display: block;
        margin-bottom: 11px;
        color: #15803d;
        font-weight: 900;
        font-size: 15px;
    }

.input-box {
    height: 62px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    border: 1.5px solid #d1d5db;
    border-radius: 17px;
    background: #fff;
    transition: .22s;
}

    .input-box:focus-within {
        border-color: #22c55e;
        box-shadow: 0 0 0 5px rgba(34, 197, 94, .14);
    }

    .input-box span {
        color: #16a34a;
    }

    .input-box input {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        font-size: 16px;
        color: #052e16;
    }

.login-btn {
    width: 100%;
    height: 66px;
    margin-top: 10px;
    border: 0;
    border-radius: 17px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 44%, #065f46 100%);
    box-shadow: 0 18px 38px rgba(22, 163, 74, .36);
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    transition: .2s;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 50px rgba(22, 163, 74, .45);
    }

.login-note {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

    .login-note span {
        font-size: 18px;
    }

.validation-summary,
.field-validation {
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

/* ANIMATION */
@keyframes ballFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-20px) rotate(6deg);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: .55;
    }

    50% {
        transform: scale(.82);
        opacity: .36;
    }
}

@keyframes ringSpin {
    from {
        transform: rotate(-14deg) scale(1);
        opacity: .7;
    }

    to {
        transform: rotate(346deg) scale(1.04);
        opacity: .25;
    }
}

@keyframes leafFly {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(24px, -34px) rotate(24deg);
    }
}

@keyframes stadiumGlow {
    0%, 100% {
        opacity: .36;
        filter: blur(.5px);
    }

    50% {
        opacity: .68;
        filter: blur(1.5px);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 12px 42px rgba(34, 197, 94, .35);
    }

    50% {
        box-shadow: 0 12px 58px rgba(34, 197, 94, .72);
    }
}

@media (max-width: 1150px) {
    .login-page {
        grid-template-columns: 1fr;
    }

    .login-visual {
        display: none;
    }

    .login-panel {
        min-height: 100vh;
    }

        .login-panel::before {
            display: none;
        }
}

@media (max-width: 600px) {
    .login-panel {
        padding: 24px;
    }

    .login-card {
        padding: 44px 28px 34px;
        border-radius: 28px;
    }

    .login-header h3 {
        font-size: 29px;
    }
}
