* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to left, #a5b5eb, #ffffff);
    color: #3e3e3e;
    text-align: center;
}
header {
    position: relative;
    height: 300px;
    overflow: hidden;
}

#pattern-canvas {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
#down-canvas {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 40px 20px;
    box-sizing: border-box;
}

.profile-wrapper {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.profile-picture {
    border-radius: 50%;
    overflow: hidden;
    width: 140px;
    height: 140px;
    border: 5px solid white;
    margin: 0 auto;
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    margin-top: 10px;
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}


.social-links {
    margin-top: 40px;
    text-align: center; /* Iconlarni markazga joylash */
    font-family: "Press Start 2P", "consolas", "sans-serif";
}

.social-icon {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #6C63FF, #7B78FF);
    padding: 14px 28px;
    margin: 12px;
    border-radius: 50px;
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    transition: all 0.4s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #5548c8, #6354e9);
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(85, 72, 200, 0.4);
}

.games {
    margin-top: 60px;
    padding: 20px;
}

.game-portfolio {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.game {
    perspective: 1000px; /* 3D effekt uchun */
}

.game img {
    width: 220px;
    height: 220px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.game img:hover {
    transform: rotateY(10deg) scale(1.5);
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.3);
}


h2 {
    font-size: 28px;
    margin-bottom: 25px;
}
