*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Inter;
background:#050505;
color:white;
overflow-x:hidden;
}

/* 3D background canvas */

#bg{
position:fixed;
top:0;
left:0;
z-index:-1;
}

/* header */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:25px 10%;
position:fixed;
width:100%;
background:rgba(0,0,0,.3);
backdrop-filter:blur(10px);
z-index:100;
}

nav a{
margin-left:20px;
color:white;
text-decoration:none;
opacity:.7;
transition:.3s;
}

nav a:hover{
opacity:1;
color:#6366f1;
}

/* hero */

.hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
}

.hero h1{
font-size:70px;
}

.hero span{
color:#6366f1;
}

/* magnetic button */

.magnetic{
margin-top:30px;
padding:15px 35px;
border:none;
border-radius:40px;
background:#6366f1;
color:white;
cursor:pointer;
font-size:16px;
transition:.3s;
}

.magnetic:hover{
transform:scale(1.05);
box-shadow:0 10px 40px rgba(99,102,241,.4);
}

/* titles */

.title{
text-align:center;
font-size:40px;
margin-top:100px;
}

/* projects */

.projects{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:30px;
padding:80px 10%;
}

/* project cards */

/* ... yuqoridagi barcha CSS kodlaringiz ... */

.card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    transition: .3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: #6366f1;
}

.card h3 {
    margin-bottom: 10px;
    color: #6366f1;
}

.card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.repo-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.card a {
    text-align: center;
    padding: 10px;
    background: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

/* github profile */

.github-profile{
text-align:center;
margin-top:40px;
}

.avatar{
width:120px;
border-radius:50%;
}

.github-profile a{
display:inline-block;
margin-top:15px;
padding:10px 20px;
background:#6366f1;
border-radius:10px;
text-decoration:none;
color:white;
}

/* form */

form{
display:flex;
flex-direction:column;
width:400px;
margin:40px auto;
gap:15px;
}

input,textarea{
padding:12px;
border:none;
border-radius:10px;
background:#111;
color:white;
}

button{
padding:12px;
background:#6366f1;
border:none;
border-radius:10px;
color:white;
cursor:pointer;
}

/* custom cursor */

.cursor{
width:18px;
height:18px;
border:2px solid white;
border-radius:50%;
position:fixed;
pointer-events:none;
transform:translate(-50%,-50%);
z-index:999;
}

/* mobile responsive */

@media (max-width:768px){

.hero h1{
font-size:40px;
}

.github-activity {
    margin: 30px auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.github-activity img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.github-activity img:hover {
    transform: scale(1.02);
}

/* Mobil versiya uchun moslashtirish */
@media (max-width: 768px) {
    .github-activity img {
        width: 95%;
    }
}

form{
width:90%;
}

.projects{
padding:60px 5%;
}

}