
    /* Header Styles */
    header {
        background: linear-gradient(135deg, var(--dark-red) 0%, var(--dark-yellow) 100%);
        padding: 12px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: white;
        font-weight: bold;
        font-size: 24px;
    }

    .logo svg {
        margin-right: 8px;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 20px;
    }

    .nav-menu a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 8px 12px;
        border-radius: 20px;
        transition: background-color 0.3s;
    }

    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .nav-menu a svg {
        margin-right: 6px;
    }

    .user-menu {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .user-menu img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid white;
    }

    .logout-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .logout-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    /* Mobile menu toggle */
    .menu-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    /* Responsive design */
    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
        }

        .nav-menu {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, var(--dark-red) 0%, var(--dark-yellow) 100%);
            flex-direction: column;
            padding: 15px;
            gap: 10px;
            display: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .nav-menu.active {
            display: flex;
        }

        .user-menu {
            margin-left: auto;
            margin-right: 15px;
        }
    }
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

:root {
    --dark-red: #8B0000;
    --dark-yellow: #FF8C00;
    --light-bg: #f5f8fa;
    --border-color: #e1e8ed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive üçün media query */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
}

        :root {
            --dark-red: #8B0000;
            --dark-yellow: #FF8C00;
            --light-bg: #f5f8fa;
            --border-color: #e1e8ed;
            --primary-gradient: linear-gradient(135deg, #8B0000 0%, #FF8C00 100%);
            --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
            --hover-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
            --transition: all 0.3s ease;
        }

        body {
            background-color: var(--light-bg);
            color: #333;
            line-height: 1.6;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
        .header {
            background: var(--primary-gradient);
            color: white;
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo::before {
            content: '';
            display: inline-block;
            width: 30px;
            height: 30px;
            background: white;
            border-radius: 50%;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,7H16V9H8V7M16,15H8V13H16V15Z'/%3E%3C/svg%3E") no-repeat center;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M8,7H16V9H8V7M16,15H8V13H16V15Z'/%3E%3C/svg%3E") no-repeat center;
            background: white;
        }

        .nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        .nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 20px;
            transition: var(--transition);
        }

        .nav a:hover {
            background: rgba(255, 255, 255, 0.15);
            transform: translateY(-2px);
        }

        /* Main Content */
        .main-content {
            display: flex;
            margin-top: 30px;
            gap: 25px;
        }

        .sidebar, .right-sidebar {
            width: 25%;
            position: sticky;
            top: 90px;
            height: fit-content;
        }

        .content {
            width: 50%;
        }

        /* Card Styles */
        .card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: var(--card-shadow);
            margin-bottom: 25px;
            transition: var(--transition);
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        .card:hover {
            box-shadow: var(--hover-shadow);
            transform: translateY(-5px);
        }

        .profile-card {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .profile-card img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 15px;
            border: 4px solid #fff;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .profile-card h2 {
            margin-bottom: 5px;
            color: #333;
        }

        .profile-card p {
            color: #666;
            margin-bottom: 15px;
        }

.verified-badge {
    display: inline-block;
    background-color: #1DA1F2;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    margin-left: 5px;
    vertical-align: middle;
}


        /* Trending Section */
        .trending h3, .suggested-users h3 {
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--border-color);
            color: #444;
            font-weight: 600;
        }

        .trending ul {
            list-style: none;
        }

        .trending li {
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .trending li:hover {
            background: #f9f9f9;
            padding-left: 5px;
        }

        .trending li:last-child {
            border-bottom: none;
        }

        /* Create Post */
        .create-post {
            display: flex;
            flex-direction: column;
        }

        .create-post textarea {
            width: 100%;
            height: 120px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 15px;
            resize: none;
            margin-bottom: 15px;
            font-family: inherit;
            transition: var(--transition);
        }

        .create-post textarea:focus {
            outline: none;
            border-color: var(--dark-yellow);
            box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
        }

        .create-post button {
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            align-self: flex-end;
            transition: var(--transition);
        }

        .create-post button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(139, 0, 0, 0.3);
        }

        /* Post Styles */
        .post {
            position: relative;
            overflow: hidden;
        }

        .post-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .post-header img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
            border: 2px solid #fff;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .post-user-info h3 {
            margin-bottom: 3px;
        }

        .post-user-info span {
            color: #666;
            font-size: 0.9em;
        }

        .post-content p {
            margin-bottom: 15px;
            line-height: 1.6;
            color: #444;
        }

        .post-image {
            width: 100%;
            border-radius: 12px;
            margin-top: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .post-actions {
            display: flex;
            gap: 20px;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid var(--border-color);
        }

        .post-actions a {
            color: #657786;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .post-actions a:hover {
            color: var(--dark-red);
            transform: translateY(-2px);
        }

        /* Search Box */
        .search-box {
            display: flex;
            margin-bottom: 25px;
            position: relative;
        }

        .search-box input {
            flex: 1;
            padding: 14px 20px;
            border: 1px solid var(--border-color);
            border-radius: 30px;
            font-size: 1em;
            transition: var(--transition);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--dark-yellow);
            box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
        }

        .search-box button {
            position: absolute;
            right: 5px;
            top: 5px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            transition: var(--transition);
        }

        .search-box button:hover {
            transform: rotate(15deg) scale(1.05);
        }

        /* Suggested Users */
        .user {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            transition: var(--transition);
        }

        .user:hover {
            background: #f9f9f9;
            padding-left: 10px;
        }

        .user img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
            border: 2px solid #fff;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .user div {
            flex: 1;
        }

        .user h4 {
            margin-bottom: 3px;
        }

        .user p {
            color: #666;
            font-size: 0.9em;
        }

        .btn {
            background: var(--primary-gradient);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 0.9em;
            font-weight: 500;
            transition: var(--transition);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(139, 0, 0, 0.3);
        }

        /* Form Styling */
        .form-container {
            max-width: 450px;
            margin: 60px auto;
            background: white;
            padding: 40px;
            border-radius: 20px;
            box-shadow: var(--card-shadow);
        }

        .form-container h2 {
            text-align: center;
            margin-bottom: 25px;
            color: var(--dark-red);
            font-weight: 700;
            font-size: 28px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #444;
        }

        .form-group input {
            width: 100%;
            padding: 14px 18px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            font-size: 1em;
            transition: var(--transition);
        }

        .form-group input:focus {
            outline: none;
            border-color: var(--dark-yellow);
            box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.2);
        }

        .form-group button {
            width: 100%;
            padding: 15px;
            background: var(--primary-gradient);
            color: white;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            font-size: 1.1em;
            font-weight: 600;
            transition: var(--transition);
            margin-top: 10px;
        }

        .form-group button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
        }

        .form-footer {
            text-align: center;
            margin-top: 20px;
            color: #666;
        }

        .form-footer a {
            color: var(--dark-red);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .form-footer a:hover {
            text-decoration: underline;
            color: var(--dark-yellow);
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .card, .post, .user {
            animation: fadeIn 0.5s ease-out;
        }

        /* Responsive design */
        @media (max-width: 1200px) {
            .sidebar, .right-sidebar {
                width: 28%;
            }
            
            .content {
                width: 44%;
            }
        }

        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .sidebar, .content, .right-sidebar {
                width: 100%;
            }
            
            .sidebar, .right-sidebar {
                order: 2;
            }
            
            .content {
                order: 1;
            }
            
            .nav ul {
                gap: 15px;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 15px;
            }
            
            .nav ul {
                flex-wrap: wrap;
                justify-content: center;
            }
            
            .form-container {
                padding: 25px;
                margin: 30px auto;
            }
            
            .post-actions {
                gap: 15px;
                flex-wrap: wrap;
            }
        }

        /* Dark mode support */
        @media (prefers-color-scheme: dark) {
            :root {
                --light-bg: #121212;
                --border-color: #333;
            }
            
            body {
                background-color: #121212;
                color: #e1e1e1;
            }
            
            .card, .form-container {
                background: #1e1e1e;
                color: #e1e1e1;
            }
            
            .profile-card h2, .trending h3, .suggested-users h3 {
                color: #e1e1e1;
            }
            
            .profile-card p, .post-user-info span, .user p {
                color: #aaa;
            }
            
            .post-content p {
                color: #ddd;
            }
            
            .trending li:hover, .user:hover {
                background: #252525;
            }
            
            .search-box input, .create-post textarea, .form-group input {
                background: #252525;
                color: #e1e1e1;
                border-color: #333;
            }
        }