/* ===========================
   NIKKI AI
   Profile.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

body{
    background:#0b1020;
    color:#fff;
    overflow-x:hidden;
}

.background{
    position:fixed;
    inset:0;
    z-index:-1;
}

.grid{
    position:absolute;
    width:100%;
    height:100%;
    background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
    background-size:40px 40px;
}

.glow{
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.35;
}

.glow-blue{
    background:#3b82f6;
    top:-100px;
    left:-100px;
}

.glow-purple{
    background:#7c3aed;
    right:-120px;
    bottom:-120px;
}

.profile-container{

    max-width:900px;

    margin:50px auto;

    padding:20px;

}

.profile-card{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:25px;

    padding:40px;

    text-align:center;

}

/* ===========================
   Profile Image
=========================== */

.profile-image{

    width:140px;

    height:140px;

    margin:0 auto 25px;

    border-radius:50%;

    overflow:hidden;

    border:4px solid #3b82f6;

    box-shadow:0 10px 30px rgba(59,130,246,.35);

}

.profile-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}

/* ===========================
   User Information
=========================== */

.profile-info{

    display:grid;

    grid-template-columns:1fr;

    gap:18px;

    margin-top:35px;

}

.info-card{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:18px 22px;

    text-align:left;

    transition:.3s;

}

.info-card:hover{

    border-color:#3b82f6;

    transform:translateY(-4px);

    box-shadow:0 10px 25px rgba(59,130,246,.20);

}

.info-title{

    color:#4da3ff;

    font-size:14px;

    font-weight:600;

    margin-bottom:6px;

    text-transform:uppercase;

    letter-spacing:1px;

}

.info-value{

    color:#ffffff;

    font-size:17px;

    word-break:break-word;

}

/* ===========================
   Buttons
=========================== */

.profile-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-top:35px;

}

.profile-btn{

    padding:13px 24px;

    border:none;

    border-radius:12px;

    background:#3b82f6;

    color:#fff;

    cursor:pointer;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}

.profile-btn:hover{

    background:#2563eb;

    transform:translateY(-3px);

}

.logout-btn{

    background:#ef4444;

}

.logout-btn:hover{

    background:#dc2626;

}

/* ===========================
   Footer
=========================== */

.profile-footer{

    margin-top:60px;

    padding:35px 20px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-logo img{

    width:80px;

    margin-bottom:15px;

}

.footer-logo h2{

    font-size:30px;

    margin-bottom:10px;

}

.footer-logo p{

    color:#9db7ff;

}

.footer-text{

    color:#c8d2e4;

    margin:25px 0;

    line-height:1.8;

}

.footer-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:25px;

}

.footer-btn{

    display:inline-block;

    padding:12px 24px;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.footer-btn:hover{

    background:#2563eb;

    transform:translateY(-3px);

}

.copyright{

    color:#8f9db7;

    font-size:14px;

}

/* ===========================
   Scrollbar
=========================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#0b1020;

}

::-webkit-scrollbar-thumb{

    background:#3b82f6;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#2563eb;

}

/* ===========================
   Animation
=========================== */

.profile-card,
.info-card{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
   Responsive Design
=========================== */

@media(max-width:768px){

    .profile-card{

        padding:25px;

    }

    .profile-image{

        width:120px;

        height:120px;

    }

    .profile-buttons{

        flex-direction:column;

        align-items:center;

    }

    .profile-btn{

        width:100%;

        max-width:280px;

    }

    .footer-buttons{

        flex-direction:column;

        align-items:center;

    }

    .footer-btn{

        width:100%;

        max-width:280px;

        text-align:center;

    }

}

@media(max-width:480px){

    .profile-container{

        padding:20px 12px;

    }

    .profile-card{

        padding:20px;

    }

    .profile-image{

        width:100px;

        height:100px;

    }

    .info-value{

        font-size:15px;

    }

}