* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 25%, #ffeaa7 50%, #fab1a0 75%, #ff9ff3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    gap: 60px;
    max-width: 1400px;
    width: 95%;
    align-items: center;
    padding: 40px;
}

.left-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-pill {
    width: 100%;
    max-width: 600px;
    height: 500px;
    border-radius: 250px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(255, 107, 107, 0.3), 0 10px 25px rgba(255, 184, 0, 0.2);
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 8px solid white;
}

    .video-pill::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #4facfe 100%);
        border-radius: 250px;
        z-index: -1;
        animation: rotate 8s linear infinite;
    }

@keyframes rotate {
    0%

{
    filter: hue-rotate(0deg);
}

100% {
    filter: hue-rotate(360deg);
}

}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 40px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

    .video-overlay h1 {
        font-size: 28px;
        font-weight: 700;
        background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ee5a6f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 5px;
    }

    .video-overlay p {
        font-size: 14px;
        color: #666;
        font-weight: 500;
    }

.form-wrapper {
    width: 100%;
    max-width: 480px;
    position: relative;
    perspective: 1000px;
}

.form-container {
    background: white;
    padding: 50px 45px;
    border-radius: 35px;
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.15), 0 10px 30px rgba(255, 184, 0, 0.1);
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .form-container.flip-out {
        animation: flipOut 0.6s ease forwards;
    }

    .form-container.flip-in {
        animation: flipIn 0.6s ease forwards;
    }

@keyframes flipOut {
    0%

{
    transform: rotateY(0deg) scale(1);
    opacity: 1;
}

100% {
    transform: rotateY(90deg) scale(0.9);
    opacity: 0;
}

}

@keyframes flipIn {
    0%

{
    transform: rotateY(-90deg) scale(0.9);
    opacity: 0;
}

100% {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
}

}

.logo {
    text-align: center;
    margin-bottom: 35px;
}

    .logo h2 {
        background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #ee5a6f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .logo p {
        color: #888;
        font-size: 15px;
        font-weight: 500;
    }

.form-title {
    color: #2d3436;
    font-size: 26px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

    .input-group input {
        width: 100%;
        padding: 16px 20px;
        border: 2px solid #ffe0e0;
        border-radius: 15px;
        font-size: 15px;
        transition: all 0.3s ease;
        background: #fff9f9;
    }

        .input-group input:focus {
            outline: none;
            border-color: #ff6b6b;
            background: white;
            box-shadow: 0 5px 20px rgba(255, 107, 107, 0.15);
        }

    .input-group label {
        position: absolute;
        left: 20px;
        top: 16px;
        color: #999;
        font-size: 15px;
        pointer-events: none;
        transition: all 0.3s ease;
        background: transparent;
    }

    .input-group input:focus + label,
    .input-group input:not(:placeholder-shown) + label {
        top: -11px;
        left: 15px;
        font-size: 12px;
        color: #ff6b6b;
        background: white;
        padding: 0 8px;
        font-weight: 600;
    }

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    cursor: pointer;
}

    .remember-me input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #ff6b6b;
    }

.forgot-password {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .forgot-password:hover {
        color: #ee5a6f;
    }

.btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    }

    .btn-primary:active {
        transform: translateY(-1px);
    }

.toggle-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.toggle-link {
    color: #ff6b6b;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .toggle-link:hover {
        color: #ee5a6f;
        border-bottom-color: #ee5a6f;
    }

.social-login {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #ffe0e0;
}

.social-title {
    text-align: center;
    color: #999;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-buttons {
    display: flex;
    gap: 12px;
}

.social-btn {
    flex: 1;
    padding: 13px;
    border: 2px solid #ffe0e0;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

    .social-btn:hover {
        border-color: #ff6b6b;
        color: #ff6b6b;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.15);
    }

.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-emoji {
    position: absolute;
    font-size: 40px;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100%

{
    transform: translateY(0) rotate(0deg);
}

50% {
    transform: translateY(-30px) rotate(10deg);
}

}

.emoji-1 {
    top: 10%;
    left: 15%;
    animation-delay: 0s;
}

.emoji-2 {
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.emoji-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.emoji-4 {
    bottom: 15%;
    right: 15%;
    animation-delay: 3s;
}

@media (max-width: 1024px) {
    .container

{
    flex-direction: column;
    gap: 40px;
}

.video-pill {
    height: 350px;
    max-width: 450px;
}

}