.fyp-wrapper{
    width:100%;
    padding:30px 15px;
    box-sizing:border-box;
}

.fyp-card{
    max-width:550px;
    margin:auto;
    background:#fff;
    border-radius:24px;
    padding:30px;
    box-shadow:0 10px 40px rgba(0,0,0,0.08);
    text-align:center;
}

.fyp-card h2{
    font-size:32px;
    margin-bottom:10px;
    color:#111;
}

.fyp-subtitle{
    color:#777;
    margin-bottom:30px;
}

.fyp-top-ads{
    margin-bottom:25px;
}

.fyp-ad-space{
    margin-bottom:20px;
    overflow:hidden;
}

.fyp-input-area{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.fyp-input-area input{
    flex:1;
    min-width:200px;
    height:58px;
    border-radius:16px;
    border:1px solid #ddd;
    padding:0 18px;
    font-size:16px;
}

.fyp-input-area button{
    background:#111;
    color:#fff;
    border:none;
    border-radius:16px;
    padding:0 30px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
}

.fyp-input-area button:hover{
    transform:translateY(-2px);
}

.fyp-result-box{
    margin-top:35px;
}

.fyp-avatar img{
    width:90px;
    height:90px;
    border-radius:50%;
    margin-bottom:15px;
}

.fyp-username-display{
    font-size:24px;
    font-weight:700;
    margin-bottom:25px;
}

.fyp-loading{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.loading-step{
    position:relative;
    overflow:hidden;
    background:#f4f4f4;
    padding:16px;
    border-radius:14px;
    text-align:left;
    font-weight:600;
    color:#444;
    display:flex;
    align-items:center;
    gap:12px;
    opacity:0.4;
    transition:0.3s;
}

.loading-step.active{
    background:#111;
    color:#fff;
    opacity:1;
}

.loading-step.active::after{
    content:'';
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    animation:fypshine 1.5s infinite;
}

@keyframes fypshine{
    100%{
        left:100%;
    }
}

.loader-circle{
    width:18px;
    height:18px;
    border:3px solid rgba(255,255,255,0.3);
    border-top:3px solid #fff;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}

.fyp-success{
    margin-top:25px;
}

.success-icon{
    width:70px;
    height:70px;
    line-height:70px;
    margin:auto;
    background:#1877f2;
    color:#fff;
    border-radius:50%;
    font-size:32px;
    font-weight:bold;
    box-shadow:0 0 20px rgba(24,119,242,0.4);
}

.fyp-success h3{
    margin-top:20px;
    font-size:24px;
    color:#111;
}

.fyp-bottom-ad-wrapper{
    margin-top:30px;
}

.fyp-instruction-box{
    margin-top:35px;
    background:#f8f8f8;
    border-radius:18px;
    padding:25px;
    text-align:left;
}

.fyp-instruction-box h4{
    margin-bottom:15px;
    font-size:22px;
}

.fyp-instruction-box p{
    margin-bottom:12px;
    line-height:1.7;
}

@media(max-width:600px){

    .fyp-card{
        padding:22px;
    }

    .fyp-card h2{
        font-size:26px;
    }

    .fyp-input-area{
        flex-direction:column;
    }

    .fyp-input-area button{
        height:58px;
    }

}