/* =========================================
   MASTER CSS FRAMEWORK — FULL VERSION
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* ================= ROOT VARIABLES ================= */

:root {

    /* COLORS */
    --primary-color: #2563eb;
    --success-color: #22c55e;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;

    --white-color: #ffffff;
    --black-color: #000000;

    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;

    /* SPACING SCALE */
    --space-10: 10px;
    --space-20: 20px;
    --space-30: 30px;
    --space-40: 40px;
    --space-50: 50px;
    --space-60: 60px;

    /* FONT SIZE */
    --font-12: 12px;
    --font-14: 14px;
    --font-16: 16px;
    --font-18: 18px;
    --font-20: 20px;
    --font-24: 24px;
    --font-28: 28px;
    --font-32: 32px;
    --font-36: 36px;
    --font-40: 40px;
    --font-48: 48px;
    --font-56: 56px;
    --font-60: 60px;

    /* FONT WEIGHT */
    --fw-100: 100;
    --fw-200: 200;
    --fw-300: 300;
    --fw-400: 400;
    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;
    --fw-800: 800;
    --fw-900: 900;

    /* BORDER + RADIUS */
    --border-default: 1px solid var(--gray-200);
    --radius-small: 4px;
    --radius-medium: 8px;
    --radius-large: 14px;
    --radius-full: 9999px;

    /* SHADOW */
    --shadow-default: 0 4px 6px rgba(0, 0, 0, .1);

    /* WIDTH / HEIGHT */
    --width-100: 100px;
    --width-150: 150px;
    --width-200: 200px;
    --width-250: 250px;
    --width-300: 300px;
    --width-400: 400px;
    --width-500: 500px;
    --width-600: 600px;
    --width-700: 700px;
    --width-800: 800px;
    --width-900: 900px;
    --width-full: 100%;

    --height-50: 50px;
    --height-100: 100px;
    --height-150: 150px;
    --height-200: 200px;
    --height-250: 250px;
    --height-300: 300px;
    --height-400: 400px;
    --height-500: 500px;
    --height-600: 600px;

    --max-width-100: 100px;
    --max-width-200: 200px;
    --max-width-300: 300px;
    --max-width-400: 400px;
    --max-width-500: 500px;
    --max-width-600: 600px;
    --max-width-700: 700px;
    --max-width-800: 800px;
    --max-width-900: 900px;
    --max-width-full: 100%;
    --max-width-1300: 1300px;

    --max-height-100: 100px;
    --max-height-200: 200px;
    --max-height-300: 300px;
    --max-height-400: 400px;
    --max-height-500: 500px;
    --max-height-600: 600px;
    --max-height-full: 100%;

}

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

body {
    font-family: "Poppins", sans-serif;
    flex-wrap: wrap;
    background-color: #f3f4f6;
}

h1,
h3,
h4 {
    color: #1877f2;
}

.clor {
    color: #1877f2;
}

/* ================= CURSOR ================= */
.cursor-pointer,
a,
button,
li,
label,
select {
    cursor: pointer;
}

/* ================= DISPLAY ================= */
.display-flex {
    display: flex;
}

.display-grid {
    display: grid;
}

.display-block {
    display: block;
}

.display-inline-block {
    display: inline-block;
}

.display-none {
    display: none;
}

.max-width-1300 {
    max-width: 1300px;
    margin: 0 auto;
    /* markazga joylash */
    box-sizing: border-box;
    /* padding va border hisobga olinadi */
}

/* ================= FLEX ================= */
.flex-direction-row {
    flex-direction: row;
}

.flex-direction-column {
    flex-direction: column;
}

.flex-wrap-enable {
    flex-wrap: wrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-start {
    justify-content: flex-start;
}

.justify-content-end {
    justify-content: flex-end;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: flex-start;
}

.align-items-end {
    align-items: flex-end;
}

.flex-center-all {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= GAP ================= */
.gap-10 {
    gap: var(--space-10);
}

.gap-20 {
    gap: var(--space-20);
}

.gap-30 {
    gap: var(--space-30);
}

.gap-40 {
    gap: var(--space-40);
}

.gap-50 {
    gap: var(--space-50);
}

.gap-60 {
    gap: var(--space-60);
}

/* ================= PADDING ================= */
.padding-10 {
    padding: var(--space-10);
}

.padding-20 {
    padding: var(--space-20);
}

.padding-30 {
    padding: var(--space-30);
}

.padding-40 {
    padding: var(--space-40);
}

.padding-50 {
    padding: var(--space-50);
}

.padding-60 {
    padding: var(--space-60);
}

/* ================= MARGIN ================= */
.margin-10 {
    margin: var(--space-10);
}

.margin-20 {
    margin: var(--space-20);
}

.margin-30 {
    margin: var(--space-30);
}

.margin-40 {
    margin: var(--space-40);
}

.margin-50 {
    margin: var(--space-50);
}

.margin-60 {
    margin: var(--space-60);
}

.margin-x-20 {
    margin-left: var(--space-20);
    margin-right: var(--space-20);
}

.margin-y-20 {
    margin-top: var(--space-20);
    margin-bottom: var(--space-20);
}

/* ================= WIDTH / HEIGHT ================= */
.width-100 {
    width: var(--width-100);
}

.width-150 {
    width: var(--width-150);
}

.width-200 {
    width: var(--width-200);
}

.width-250 {
    width: var(--width-250);
}

.width-300 {
    width: var(--width-300);
}

.width-400 {
    width: var(--width-400);
}

.width-500 {
    width: var(--width-500);
}

.width-600 {
    width: var(--width-600);
}

.width-700 {
    width: var(--width-700);
}

.width-800 {
    width: var(--width-800);
}

.width-900 {
    width: var(--width-900);
}

.width-full {
    width: var(--width-full);
}

.height-50 {
    height: var(--height-50);
}

.height-100 {
    height: var(--height-100);
}

.height-150 {
    height: var(--height-150);
}

.height-200 {
    height: var(--height-200);
}

.height-250 {
    height: var(--height-250);
}

.height-300 {
    height: var(--height-300);
}

.height-400 {
    height: var(--height-400);
}

.height-500 {
    height: var(--height-500);
}

.height-600 {
    height: var(--height-600);
}

.max-width-100 {
    max-width: var(--max-width-100);
}

.max-width-200 {
    max-width: var(--max-width-200);
}

.max-width-300 {
    max-width: var(--max-width-300);
}

.max-width-400 {
    max-width: var(--max-width-400);
}

.max-width-500 {
    max-width: var(--max-width-500);
}

.max-width-600 {
    max-width: var(--max-width-600);
}

.max-width-700 {
    max-width: var(--max-width-700);
}

.max-width-800 {
    max-width: var(--max-width-800);
}

.max-width-900 {
    max-width: var(--max-width-900);
}

.max-width-full {
    max-width: var(--max-width-full);
}

.max-height-100 {
    max-height: var(--max-height-100);
}

.max-height-200 {
    max-height: var(--max-height-200);
}

.max-height-300 {
    max-height: var(--max-height-300);
}

.max-height-400 {
    max-height: var(--max-height-400);
}

.max-height-500 {
    max-height: var(--max-height-500);
}

.max-height-600 {
    max-height: var(--max-height-600);
}

.max-height-full {
    max-height: var(--max-height-full);
}

/* ================= TEXT ================= */
.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-capitalize {
    text-transform: capitalize;
}

/* ================= FONT ================= */
.font-size-12 {
    font-size: var(--font-12);
}

.font-size-14 {
    font-size: var(--font-14);
}

.font-size-16 {
    font-size: var(--font-16);
}

.font-size-18 {
    font-size: var(--font-18);
}

.font-size-20 {
    font-size: var(--font-20);
}

.font-size-24 {
    font-size: var(--font-24);
}

.font-size-28 {
    font-size: var(--font-28);
}

.font-size-32 {
    font-size: var(--font-32);
}

.font-size-36 {
    font-size: var(--font-36);
}

.font-size-40 {
    font-size: var(--font-40);
}

.font-size-48 {
    font-size: var(--font-48);
}

.font-size-56 {
    font-size: var(--font-56);
}

.font-size-60 {
    font-size: var(--font-60);
}

.font-weight-100 {
    font-weight: var(--fw-100);
}

.font-weight-200 {
    font-weight: var(--fw-200);
}

.font-weight-300 {
    font-weight: var(--fw-300);
}

.font-weight-400 {
    font-weight: var(--fw-400);
}

.font-weight-500 {
    font-weight: var(--fw-500);
}

.font-weight-600 {
    font-weight: var(--fw-600);
}

.font-weight-700 {
    font-weight: var(--fw-700);
}

.font-weight-800 {
    font-weight: var(--fw-800);
}

.font-weight-900 {
    font-weight: var(--fw-900);
}

/* ================= COLORS ================= */
.text-color-primary {
    color: var(--primary-color);
}

.text-color-gray {
    color: var(--gray-500);
}

.text-color-white {
    color: var(--white-color);
}

.background-primary {
    background: var(--primary-color);
}

.background-success {
    background: var(--success-color);
}

.background-danger {
    background: var(--danger-color);
}

.background-gray {
    background: var(--gray-100);
}

.background-white {
    background: var(--white-color);
}

/* ================= BORDER ================= */
.border-default {
    border: var(--border-default);
}

.border-radius-small {
    border-radius: var(--radius-small);
}

.border-radius-medium {
    border-radius: var(--radius-medium);
}

.border-radius-large {
    border-radius: var(--radius-large);
}

.border-radius-full {
    border-radius: var(--radius-full);
}

/* ================= SHADOW ================= */
.box-shadow-default {
    box-shadow: var(--shadow-default);
}

/* ================= COMPONENTS ================= */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: var(--space-20);
    padding-right: var(--space-20);
}

.card-component {
    background: var(--white-color);
    border: var(--border-default);
    border-radius: var(--radius-medium);
    padding: var(--space-20);
    box-shadow: var(--shadow-default);
}

/* ================= BUTTON ================= */
.button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-medium);
    font-weight: 600;
    transition: .2s;
    cursor: pointer;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-primary:hover {
    opacity: .85;
}

/* ================= GRID ================= */
.grid-two-columns {
    grid-template-columns: repeat(2, 1fr);
}

.grid-three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.grid-four-columns {
    grid-template-columns: repeat(4, 1fr);
}

/* ================= TRANSITIONS ================= */
.transition-fast {
    transition: all .2s ease;
}

.transition-medium {
    transition: all .3s ease;
}

.transition-slow {
    transition: all .5s ease;
}

/* ================= TRANSFORM / HOVER / ACTIVE ================= */
.hover-scale:hover {
    transform: scale(1.05);
}

.hover-lift:hover {
    transform: translateY(-6px);
}

.hover-opacity:hover {
    opacity: .85;
}

.active-press:active {
    transform: scale(.96);
}

.focus-outline:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ? end lebrary */

/* ? start header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background: var(--white-color);
    box-shadow: var(--shadow-default);
    display: flex;
    /* Elementlar yonma-yon turishi uchun */
    align-items: center;
    z-index: 1000;
}

header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.input-search {
    outline: none;
    border: none;
    width: 300px;
    padding: 10px 10px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

header i {
    font-size: 25px;
    color: #1c1e21;
    display: flex;
    align-items: center;
    justify-content: center;
}

header i:hover {
    color: #26508a;
    transition: color 0.3s ease;
}

header li {
    position: relative;
    list-style: none;
    display: inline-block;
    padding: 10px 15px;
    cursor: pointer;
    transition: color 0.3s ease;
}

header li:hover {
    color: #365d94;
}

/* Nuqta effekti hover bo'lganda */
header li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 6px;
    height: 6px;
    background-color: #365d94;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

header li:hover::after {
    transform: translateX(-50%) scale(1);

}

header .menu-item {
    display: none !important;
}

header input {
    outline: none;
    border: none;
    width: 300px;

}

/* ? end header */

/* ? start sidebar */

.saidbar {
    width: 250px;
    height: 150vh;
    position: absolute;
    left: 0;
    top: 80px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
    border-top-right-radius: 20px;


    .rasim {
        border-radius: 50%;
        padding: 5px;
        border: none;
        background-color: #ffffff;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        object-fit: cover;
        cursor: pointer;
    }

    .button {
        padding: 10px 15px;
        background-color: #ffffff;
        box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.1);
    }

    .saidbar-uyinlar {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        object-fit: cover;
        cursor: pointer;

    }


    .img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        cursor: pointer;
    }


}

/* ? end sidebar */
/* ? start main */

main {
    margin-left: 250px;
    margin-top: 80px;

    .main-storias {
        width: 700px;
        background-color: #fff;
        border-radius: 15px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
        position: relative;
        align-items: center;
        gap: 25px;
        padding: 10px;

    }

    .main-store {
        display: flex;
        gap: 20px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 20px;
    }

    .main-store::-webkit-scrollbar {
        display: none;
    }

    .story-card {
        position: relative;
        flex-shrink: 0;
        width: 80px;
        height: 100px;
    }

    .story-video {
        width: 100%;
        height: 100%;
        border-radius: 15px;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
            box-shadow 0.4s,
            border 0.4s;
        border: 1px solid #eee;
    }

    .story-card:hover .story-video {
        transform: scale(1.3);
        z-index: 10;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        border: 2px solid #1877f2;
    }

    .storiy-img {
        position: absolute;
        top: -20px;
        left: 20px;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid blue;
        z-index: 20;
        pointer-events: none;
    }

    .img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        cursor: pointer;
    }

    .Creat-post {
        border: 1px solid #ccc;
        border-radius: 15px;
        padding: 20px 20px;
        gap: 10px;
    }

    .iconlar {
        font-size: 25px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 6px;
        border-radius: 10px;
        background-color: #be4a4a;

    }

    .galeriya {
        border: none;
        padding: 5px;
        border-radius: 19px;
        background-color: #ec9797;
        width: 120px;
        color: white;
        font-size: 15px;
        align-items: center;
    }

    .kemera {
        width: 130px;
        font-size: 20 px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(195, 210, 212);
    }

    .kamera-icon {
        font-size: 25px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(18, 104, 216);
    }

    .lakatsiya {
        width: 150px;
        font-size: 15px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(195, 210, 212);
    }

    .lakatsiya-icon {
        font-size: 25px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(18, 216, 77);
    }

    .gif-color {
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(55, 217, 238);
    }

    .gif {
        width: 80px;
        font-size: 15px;
        cursor: pointer;
        color: white;
        border: none;
        padding: 5px;
        border-radius: 10px;
        background-color: rgb(195, 210, 212);
    }

    .simale-icon {
        font-size: 25px;
        cursor: pointer;
        padding: 5px;
        border: none;
        border-radius: 5px;
        background-color: #ffff00;
        color: white;
    }

    .simale {
        width: 150px;
        cursor: pointer;
        background-color: rgb(241, 205, 151);
        padding: 5px;
        border-radius: 10px;
        color: white;
        font-size: 15px;
        border: none;
    }



}

/* ? end main */
/* ? start home */

.home {
    width: 700px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    border: none;
    margin-top: 30px;
    border-radius: 10px;
    position: relative;

    .most-vive {
        display: flex;
        gap: 20px;
        color: black;
        cursor: pointer;
    }



    .salom:hover {
        border-bottom: 4px solid #1877f2;
        transition: all .3s ease;
    }

    .dessigin-img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        cursor: pointer;
    }

    .home-img {
        width: 200px;
        height: 200px;
        border-radius: 5px;
        object-fit: cover;
        cursor: pointer;
    }

    .vilka-img {
        width: 250px;
        height: 400px;
        border-radius: 30px;
        object-fit: cover;
    }

    .pople-img {
        width: 400px;
        height: 200px;
        border-radius: 30px;
        position: absolute;
        top: 240px;
        object-fit: cover;
        bottom: 0px;

    }

    .like {
        object-fit: cover;
    }


}

/* ? end home */
/* ? start saidbar-right */

.saidbar-right {
    width: 350px;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 80px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 20px;

    .club-img {
        border-radius: 10px;
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .sana {
        text-align: center;
        width: 50px;
        height: 50px;
        border-radius: 10px;
        object-fit: cover;
        cursor: pointer;
        box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
        color: var(--black-color);
    }

    span {
        color: blue;
        font-weight: 800px;
    }

    .btn {
        padding: 8px 20px;
        border-radius: 10px;
        border: none;
        background-color: #12468b;
        color: white;
        margin-left: 100px;
    }

    .saidbar-img {
        width: 50px;
        height: 50px;
        border-radius: 50px;
        object-fit: cover;
        cursor: pointer;
        box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
        color: var(--black-color);
    }

    .button {
        padding: 8px 20px;
        border-radius: 10px;
        border: none;
        background-color: hsl(213, 56%, 72%);
        color: black;

    }

    .btn1 {
        padding: 8px 20px;
        border-radius: 10px;
        border: none;
        background-color: #12468b;
        color: white;
        /* margin-left: 100px; */
    }

}

.uxid {
    width: 350px;
    height: 50vh;
    position: absolute;
    right: 0;
    top: 750px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 20px;

    .plus {
        border: none;
        padding: 16px;
        border-radius: 10px;
        background-color: #12468b;
        color: white;
        cursor: pointer;
    }

    .plus:hover {
        background-color: white;
        color: #12468b;
        border: 1px solid #12468b;
        transition: all .3s ease;
    }

    .uxid-img {
        width: 100%;
        height: 150px;
        border-radius: 10px;
        object-fit: cover;
        cursor: pointer;
        box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
        color: var(--black-color);
    }

    button {
        padding: 8px 20px;
        border-radius: 10prgb(10, 33, 235);
        background-color: blue;
        color: white;

    }
}

.contact {
    width: 350px;
    height: 50vh;
    position: absolute;
    right: 0;
    top: 1090px;
    background-color: white;
    box-shadow: 0px 0px 10px rgba(12, 12, 12, 0.1);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 10px;
    bottom: 0px;

    .contact-input {
        border: none;
        outline: none;
        overflow: hidden;
        width: 150px;

    }
}

.contact-search {
    padding: 8px 10px;
    border-radius: 10px;
    width: 150px;
    box-shadow: 0px 0px 5px rgba(12, 12, 12, 0.1);
}

.contact-icon {
    border: none;
    padding: 16px;
    border-radius: 10px;
    background-color: blue;
    color: white;
    cursor: pointer;

}



.chat-user {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 5px rgba(12, 12, 12, 0.1);
}

.user-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 48px;
    height: 48px;
    background: #d1d5db;
    /* rasm bo'lmasa ko'rinadi */
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.user-text h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.online {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
}

.green-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

.more {
    font-size: 18px;
    color: #c4c4c4;
    cursor: pointer;

}

.more-icon {
    box-shadow: 0px 0px 15px rgba(12, 12, 12, 0.1);
}

.red-dot {
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(12, 12, 12, 0.1);
}




/* ================= KEYFRAMES / ANIMATION ================= */
@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop-in {
    from {
        opacity: 0;
        transform: scale(.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in .5s ease forwards;
}

.animate-slide-up {
    animation: slide-up .6s ease forwards;
}

.animate-pop-in {
    animation: pop-in .4s ease forwards;
}

/* ============================================================
   YAKUNIY VA TO'LIQ RESPONSIV TIZIM (1000px - 320px)
   ============================================================ */

/* 1. Umumiy qoidalar - Chiqib ketishni oldini olish */
* {
    box-sizing: border-box !important;
}

html,
body {
    overflow-x: hidden !important;
    /* Gorizontal skrollni butunlay o'chiramiz */
    width: 100%;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1100px) {

    /* 2. LAYOUTNI QAYTA QURISH */
    /* Ikkala sidebar va mainni bitta qatorga tizish */
    .saidbar,
    .saidbar-right,
    .uxid,
    .contact,
    main {
        position: static !important;
        /* Absolute-ni o'ldiramiz */
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        display: block !important;
    }

    /* 3. MAIN (POSTLAR) MUAMMOSINI YECHISH */
    main {
        margin-left: 0 !important;
        /* O'sha 490px dagi chapga yopishish shu yerda yo'qoladi */
        padding: 10px !important;
        margin-top: 70px !important;
        /* Header uchun joy */
    }

    .home,
    .main-storias {
        width: 100% !important;
        margin: 15px 0 !important;
    }

    /* 4. POST ICHIDAGI ABSOLUTE RASMLAR */
    .home .display-flex.gap-10 {
        flex-direction: column !important;
        /* Rasmlar ustma-ust tushadi */
    }

    .home-img,
    .vilka-img,
    .pople-img {
        width: 100% !important;
        height: auto !important;
        position: static !important;
        /* Rasmlar endi matnni yopmaydi */
        margin: 10px 0 !important;
        border-radius: 10px !important;
    }

    /* 5. LIKE, COMMENT, SHARE TUGMALARI */
    .home .display-flex {
        flex-wrap: wrap !important;
        /* Sig'masa pastga chiroyli tushadi */
        gap: 10px !important;
    }

    .home .gap-50 {
        gap: 15px !important;
        /* Ikonkalar orasini yaqinlashtiramiz */
    }

    /* 6. HEADERNI MOBILGA MOSLASH */
    header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100% !important;
        z-index: 1000;
        padding: 0 15px !important;
    }

    .input-search,
    header .menu {
        display: none !important;
        /* Joy tejash uchun yashiramiz */
    }

    header .menu-item {
        display: flex !important;
        /* Hamburger ko'rinadi */
    }
}

/* 700px dan 320px gacha bo'lgan o'ta kichik ekranlar */
@media screen and (max-width: 700px) {

    /* Storylar (Hikoyalar) */
    .main-store {
        gap: 10px !important;
        padding: 10px 5px !important;
        overflow-x: auto;
    }

    .story-card {
        min-width: 80px !important;
        height: 120px !important;
    }

    /* Create Post qismidagi tugmalar */
    .Creat-post .display-flex {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        /* 2 qatordan bo'ladi */
        gap: 8px;
    }

}