﻿body {
    margin: 20px;
    padding: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #ffffff 60%, #fff 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 32px 16px 0 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-img {
    width: 160px;
    height: 160px;
    margin-bottom: 16px;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.robot-img img {
    animation: ai-float 2.2s ease-in-out infinite alternate;
}

@keyframes ai-float {
    0% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 2px 8px #ffa20044);
    }

    50% {
        transform: translateY(-12px) scale(1.04);
        filter: drop-shadow(0 8px 18px #ffa20066);
    }

    100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 2px 8px #ffa20044);
    }
}

.title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #FF9800 ;
    text-align: center;
    width: 100%;
}

.subtitle {
    margin-top: 0;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #FF9800 ;
    text-align: center;
    width: 100%;

}

.card {
    background: #ffffff0f;
    border-radius: 18px;
    padding: 20px 18px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.result-box {
    background: linear-gradient(135deg, #18213c 60%, #1ec6e6 100%);
    border-radius: 12px;
    padding: 64px 18px;
    max-width: 340px;
    margin: 60px auto;
    color: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.accuracy {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #FF9800 ;
}

.accuracy .percent {
    color: #ffa200;
    font-weight: bold;
    font-size: 1.3rem;
}

.desc {
    font-size: 1rem;
    color: #111 ;
    margin-bottom: 6px;
}

.desc .highlight {
    color: #ffa200;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.input-group {
    width:94%;
    margin-bottom:5px;
}

.input-group input {
    width: 100%;
    margin: 0  auto;
    padding:18px 12px;
    border-radius: 8px;
    border: #ddd solid 1px;
    background: #ffffff0f;
    color: #b8c6e0;
    font-size: 1rem;
    margin-bottom: 0;
    box-sizing: border-box;
}

.btn {
    width: 94%;
    padding: 12px 0;
    border: none;
    border-radius:34px;
    background: #FF9800;
    color: #fff !important;
    font-size: 1.45rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
    animation: btn-breath 1.8s ease-in-out infinite;
}

@keyframes btn-breath {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

#chat-btn {
   animation: breath 1.6s ease-in-out infinite;
}

@keyframes breath {
    0% {
        box-shadow: 0 2px 12px 0 #15a22333;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 6px 24px 0 #15a22355;
        transform: scale(1.04);
    }

    100% {
        box-shadow: 0 2px 12px 0 #15a22333;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0px 4px 0 4px;
    }

    .robot-img {
        width: 120px;
        height: 120px;
    }

    .title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 0;
    }

    .subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
}
.robot-video{
    text-align:center;
}